I am trying to use a Youtube video that Adam Block published a couple of years ago to use pixel math the remove reflected images from an Oiii image.  The youtube video said a Pixel math image could be downloaded, but I can't find it.  I registered with Adam Block, but can't find anything about the process he talked about in the Youtube video.  I copied the pixel math expression he presented but cannot get it to work.  I keep getting an error message saying "unresolved operator."
Below is the expression I copied, but can't figure out what I am doing wrong:
x=x();
y=y();
x0=370
y0=2190
width=1675
height=1315
iif(inrect(x0,y0,width,height),pixel(Ha_DBE->Preview01,x-x0,y-y0),$T)
Symbols: x,y,x0,y0,width,height
Can anyone help me with this.  I have good data, but need to remove some reflected distortions from my Oiii data.
Thanks,
Jim
              
                      
      
Comments
but the Ha nebulousity overwhelms the weak Oiii subs.