NAME

subrect_of_change -- find rectangle bounding changes

PROTOTYPE

unitptr subrect_of_change( int iDx, int iDy, float fTol, char *tOpt, unitptr uHost)

ARGUMENTS

int iDx
image width
int iDy
image height
float fTol
detection threshhold (0..255)
char *tOpt
option string
unitptr uHost
host unit

INTERFACE:

X_in[iDx*iDy]:
input image (packed field)
CTL_in[0]:
detection threshhold (initialized by argument parameter fTol
X_out[iDx*iDy]:
output image (packed field)
Y_out[4]:
lower left corner (xll,yll) and size (width,height) of bounding rectangle
Z_out[2]:
center (xll+0.5*width,yll+0.5*height) of bounding rectangle.

DESCRIPTION:

Compares all input pixel values with the corresponding current output values and sets restriction to rectangle that bounds all those pixel locations for which the values have changed by more than fTol. The output is then updated within the rectangle region.

FILE

/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/nst_pixel.c