public class ManyBlobs extends ArrayList<Blob>
modCount| Constructor and Description |
|---|
ManyBlobs() |
ManyBlobs(ij.ImagePlus binaryImage) |
| Modifier and Type | Method and Description |
|---|---|
ManyBlobs |
filterBlobs(double[] limits,
String methodName,
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,
String methodName,
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,
String methodName,
Object... methodparams)
Filter all blobs which feature (specified by the methodName) is higher than
the lower limit.
|
void |
findConnectedComponents()
Start the Connected Component Algorithm
|
Blob |
getBlobByLabel(int id) |
ij.ImagePlus |
getLabeledImage() |
Blob |
getSpecificBlob(int x,
int y)
Returns a specific
Blob which encompasses a point |
Blob |
getSpecificBlob(Point p)
Returns a specific blob which encompasses a point
|
void |
setBackground(int val)
Mutator to modify the background target.
|
void |
setLabeledImage(ij.ImagePlus p) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic ManyBlobs()
public ManyBlobs(ij.ImagePlus binaryImage)
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 ij.ImagePlus getLabeledImage()
public void setLabeledImage(ij.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(Point p)
public Blob getBlobByLabel(int id)
public ManyBlobs filterBlobs(double lowerLimit, double upperLimit, String methodName, 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, String methodName, 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 limitNoSuchMethodExceptionpublic ManyBlobs filterBlobs(double lowerlimit, String methodName, Object... methodparams)
methodName - Getter method of the blob feature (double as return value).lowerlimit - Lower limit for the feature to filter blobs.NoSuchMethodExceptionCopyright © 2015. All rights reserved.