Establishes the local mode values for parts of an image LOBACK
The user may also supply some indication of the number of pixels that must be used to create the pixel value histogram. This value may be supplied as a number pixels around the given co-ordinates (ie, an area), or alternatively the number of contiguous data points believed to be present in the object at the image location specified. The latter method is intended specifically for use with RGASP’s IMAGES or IRAF’s FOCAS output files.
All co-ordinates are read from the ASCII text file given in the parameter INFILE. The selection of the number of pixels to be used in constructing the histogram is defined by the user, subject to a lower limit of 1024 pixels (32x32).
If two columns are present then these are taken as representing the image co-ordinates required for the regions of the image to be considered. Co-ordinates are in the Current coordinate system of the NDF. If there is a third column, it represents the area, in pixels, of a square centred on the co-ordinates (but see the documentation for the parameters THIRD and WIDTH below).
-1 to indicate that the application should automatically assign a filter radius to apply to the histogram.
0 to indicate that the histogram should not be smoothed.
0 to indicate the radius of the Gaussian filter to use. Values greater than LOB__SFLIM (see include file) are not allowed. The value returned is that employed. Units counts.
Reads the data stored in text file COORDS (in co-ordinates of the Current frame of P2) and determines the background count value within a 64x64 pixel area surrounding each of those locations. The histogram generated to do this will not be smoothed. The output will be into text file BACKS.DAT. Since THIRD is true, the third column represents the number of pixels thought to make up the object.
Determines the background count value within a 35x35 pixel area surrounding each of the locations identified in COORDS.DAT. The histogram generated to do this will be smoothed using a Gaussian 4 counts wide. The output will be into text file OUTPUT.DAT. Since THIRD is false, the third column represent the lower limit of pixels to be taken from the image to make up the histogram.
The user may easily abolish the 32x32 pixel filter lower size limit by modifying the WIDTH parameter entry in the LOBACK.IFL file. This action is only recommended for use with very flat images.