@Deprecated public class LabelingView<L extends Comparable<L>> extends IterableRandomAccessibleInterval<LabelingType<L>> implements Labeling<L>, SubIntervalIterable<LabelingType<L>>
| Modifier and Type | Field and Description |
|---|---|
protected LabelingROIStrategy<L,? extends Labeling<L>> |
m_strategy
Deprecated.
|
sourceInterval| Constructor and Description |
|---|
LabelingView(RandomAccessibleInterval<LabelingType<L>> in,
LabelingFactory<L> fac)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Labeling<L> |
copy()
Deprecated.
Copy method
|
Cursor<LabelingType<L>> |
cursor()
Deprecated.
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
Cursor<LabelingType<L>> |
cursor(Interval interval)
Deprecated.
|
<LL extends Comparable<LL>> |
factory()
Deprecated.
Factory
|
long |
getArea(L label)
Deprecated.
Return the area or suitable N-d analog of the labeled object
|
boolean |
getExtents(L label,
long[] minExtents,
long[] maxExtents)
Deprecated.
find the coordinates of the bounding box around the given label.
|
IterableRegionOfInterest |
getIterableRegionOfInterest(L label)
Deprecated.
Get a ROI that represents the pixels with the given label
|
Collection<L> |
getLabels()
Deprecated.
Find all labels in the space
|
boolean |
getRasterStart(L label,
long[] start)
Deprecated.
Find the first pixel in a raster scan of the object with the given label.
|
RegionOfInterest |
getRegionOfInterest(L label)
Deprecated.
Get a region of interest optimized to determine point membership
|
Cursor<LabelingType<L>> |
localizingCursor()
Deprecated.
Returns a
RealLocalizable Iterator that calculates its
location at each iteration step. |
Cursor<LabelingType<L>> |
localizingCursor(Interval interval)
Deprecated.
|
Object |
subIntervalIterationOrder(Interval interval)
Deprecated.
Returns the iteration order given the interval.
|
boolean |
supportsOptimizedCursor(Interval interval)
Deprecated.
|
create, firstElement, iterationOrder, iterator, randomAccess, randomAccess, sizedimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAt, getAt, getAt, randomAccess, randomAccessfirstElement, iterationOrder, sizeforEach, iterator, spliteratordimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionsprotected LabelingROIStrategy<L extends Comparable<L>,? extends Labeling<L extends Comparable<L>>> m_strategy
public LabelingView(RandomAccessibleInterval<LabelingType<L>> in, LabelingFactory<L> fac)
in - the RandomAccessibleInterval to be wrappedfac - factory to create a new Labelingpublic boolean getExtents(L label, long[] minExtents, long[] maxExtents)
LabelinggetExtents in interface Labeling<L extends Comparable<L>>label - - find pixels with this labelpublic boolean getRasterStart(L label, long[] start)
LabelinggetRasterStart in interface Labeling<L extends Comparable<L>>public long getArea(L label)
LabelinggetArea in interface Labeling<L extends Comparable<L>>label - - label for object in questionpublic Collection<L> getLabels()
LabelinggetLabels in interface Labeling<L extends Comparable<L>>public Cursor<LabelingType<L>> cursor()
IterableRealInterval
Returns a RealCursor that iterates with optimal speed without
calculating the location at each iteration step. Localization is
performed on demand.
Use this where localization is required rarely/ not for each iteration.
cursor in interface IterableInterval<LabelingType<L extends Comparable<L>>>cursor in interface IterableRealInterval<LabelingType<L extends Comparable<L>>>cursor in class IterableRandomAccessibleInterval<LabelingType<L extends Comparable<L>>>public Cursor<LabelingType<L>> localizingCursor()
IterableRealInterval
Returns a RealLocalizable Iterator that calculates its
location at each iteration step. That is, localization is performed with
optimal speed.
Use this where localization is required often/ for each iteration.
localizingCursor in interface IterableInterval<LabelingType<L extends Comparable<L>>>localizingCursor in interface IterableRealInterval<LabelingType<L extends Comparable<L>>>localizingCursor in class IterableRandomAccessibleInterval<LabelingType<L extends Comparable<L>>>public RegionOfInterest getRegionOfInterest(L label)
LabelinggetRegionOfInterest in interface Labeling<L extends Comparable<L>>label - The ROI will represent the area labeled with this labelpublic IterableRegionOfInterest getIterableRegionOfInterest(L label)
LabelinggetIterableRegionOfInterest in interface Labeling<L extends Comparable<L>>public Labeling<L> copy()
Labelingcopy in interface Labeling<L extends Comparable<L>>public <LL extends Comparable<LL>> LabelingFactory<LL> factory()
Labelingfactory in interface Labeling<L extends Comparable<L>>public boolean supportsOptimizedCursor(Interval interval)
SubIntervalIterablesupportsOptimizedCursor in interface SubIntervalIterable<LabelingType<L extends Comparable<L>>>interval - to be checkedCursor can be optimized given the
Intervalpublic Object subIntervalIterationOrder(Interval interval)
SubIntervalIterablesubIntervalIterationOrder in interface SubIntervalIterable<LabelingType<L extends Comparable<L>>>interval - Interval over which to iterateIterableRealIntervalpublic Cursor<LabelingType<L>> cursor(Interval interval)
SubIntervalIterablecursor in interface SubIntervalIterable<LabelingType<L extends Comparable<L>>>interval - Interval over which to iterateCursorpublic Cursor<LabelingType<L>> localizingCursor(Interval interval)
SubIntervalIterablelocalizingCursor in interface SubIntervalIterable<LabelingType<L extends Comparable<L>>>interval - Interval over which to iterateCursorCopyright © 2015–2022 ImgLib2. All rights reserved.