public class ManyBlobs extends java.util.ArrayList<Blob>
| Modifier and Type | Method and Description |
|---|---|
ManyBlobs |
filterBlobs(double[] limits,
java.lang.String methodName,
java.lang.Object... methodparams)
Filter all blobs which feature (specified by the methodName) is higher than
the lowerLimit and lower than the upper limit.
|
ManyBlobs |
filterBlobs(double lowerLimit,
double upperLimit,
java.lang.String methodName,
java.lang.Object... methodparams)
Filter all blobs which feature (specified by the methodName) is higher than
the lowerLimit or lower than the upper limit.
|
ManyBlobs |
filterBlobs(double lowerlimit,
java.lang.String methodName,
java.lang.Object... methodparams)
Filter all blobs which feature (specified by the methodName) is higher than
the lower limit.
|
void |
findConnectedComponents()
Start the Connected Component Algorithm
|
ImagePlus |
getLabeledImage() |
Blob |
getSpecificBlob(int x,
int y)
Returns a specific
Blob which encompasses a point |
Blob |
getSpecificBlob(java.awt.Point p)
Returns a specific blob which encompasses a point
|
void |
setBackground(int val)
Mutator to modify the background target.
|
void |
setLabeledImage(ImagePlus p) |
public ManyBlobs()
public ManyBlobs(ImagePlus imp)
imp - Binary Imagepublic void setBackground(int val)
backgroundVal - : 0 or 1 (black/white respectively)public void findConnectedComponents()
Chang, A linear-time component-labeling algorithm using contour tracing technique, Computer Vision and Image Understanding, vol. 93, no. 2, pp. 206-220, 2004.public ImagePlus getLabeledImage()
public void setLabeledImage(ImagePlus p)
public Blob getSpecificBlob(int x, int y)
Blob which encompasses a pointx - x coordinate of the pointy - y coordinate of the pointpublic Blob getSpecificBlob(java.awt.Point p)
public ManyBlobs filterBlobs(double lowerLimit, double upperLimit, java.lang.String methodName, java.lang.Object... methodparams)
methodName - Getter method of the blob feature (double as return value).lowerLimit - Lower limit for the feature to filter blobs.upperLimit - Upper limit for the feature to filter blobs.public ManyBlobs filterBlobs(double[] limits, java.lang.String methodName, java.lang.Object... methodparams)
methodName - Getter method of the blob feature (double as return value).limits - First Element is the lower limit, second element is the upper limitpublic ManyBlobs filterBlobs(double lowerlimit, java.lang.String methodName, java.lang.Object... methodparams)
methodName - Getter method of the blob feature (double as return value).lowerlimit - Lower limit for the feature to filter blobs.