In DigImage, a "blob" is defined as a connected region of an image falling entirely on one of a specific threshold. Connection may be defined either with or without diagonal connections. This option is able to locate all blobs within a window and evaluate statistics about each blob. These statistics include the area, location of the blob centroid (both area and the centroid of the volume satisfying the intensity threshold), maximum extent, rms extent and x-y correlation. All linear blob measures are given in world units.
Output is to a formatted file. Some of the data is presented in the form of comments (preceded by a # character), while the individual particle data is with one particle per line. A typical file has the following format:
# Title
# Threshold: 128; Sign: -1....
The data for each blob is written by the following statement:
WRITE(iFile,300)iBlob,nPoints,AverageInt,xwc,ywc,xww,
yww,xMin,xMax,yMin,yMax,xws,yws,Correlation
In this
iBlob An index
nPoints Number of pixels in this blob
AverageInt The mean intensity of the blob
xwc,ywc Position of the centroid of the area occupied
by the blob
xww,yww Position of the centroid weighted by intensity
excess
xMin,xMax,yMin,yMax The bounding rectangle for the blob
xws,yws The rms width and height.
Correlation The correlation coefficient of pixels within
blob (i.e. treat like a scatter plot).
Note that all the x* and y* values are in world units.
Another buffer ? More than one buffer may be processed at one time. A further buffer may be specified by responding yes (<Y>). Once all the buffers required have been entered, an answer of no (<N>) will allow DigImage to continue with the next phase of blob location.
New or Append ? If the specified file already exists, replying <N> to this question forces DigImage to start a new file; if <A> is pressed, then the existing contents are preserved and the data produced by the blob statistics is appended. If the file specified does not already exist, then the reply to this option is ignored and a new file is always created.