Class AtScale
Perform a segmentation at a different scale, and then fit the results back to the original scale.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe interpolator to use.intsegment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds, SegmentChannelIntoObjects upstreamSegmenter) Creates anObjectCollectiongiven the segmentation-results provided by the delegate.voidsetInterpolator(Interpolator interpolator) The interpolator to use.voidsetOutlineWidth(int outlineWidth) voidsetScaleCalculator(ScaleCalculator scaleCalculator) Methods inherited from class org.anchoranalysis.image.bean.segment.object.SegmentChannelIntoObjectsUnary
getSegment, segment, setSegmentMethods inherited from class org.anchoranalysis.image.bean.segment.object.SegmentChannelIntoObjects
checkUnsupported3D, checkUnsupportedObjectMask, checkUnsupportedSeedsMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
AtScale
public AtScale()
-
-
Method Details
-
segment
public ObjectCollection segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds, SegmentChannelIntoObjects upstreamSegmenter) throws SegmentationFailedException Description copied from class:SegmentChannelIntoObjectsUnaryCreates anObjectCollectiongiven the segmentation-results provided by the delegate.- Specified by:
segmentin classSegmentChannelIntoObjectsUnary- Parameters:
channel- the channel as passed toSegmentChannelIntoObjectsUnary.segment(Channel, Optional, Optional).objectMask- the object-mask as passed toSegmentChannelIntoObjectsUnary.segment(Channel, Optional, Optional).seeds- the seeds as passed toSegmentChannelIntoObjectsUnary.segment(Channel, Optional, Optional).upstreamSegmenter- the delegate segmenter.- Returns:
- the created
ObjectCollectionthat is returned by the segmentation. - Throws:
SegmentationFailedException- if segmentation cannot complete successfully.
-
getScaleCalculator
-
setScaleCalculator
-
getOutlineWidth
public int getOutlineWidth() -
setOutlineWidth
public void setOutlineWidth(int outlineWidth) -
getInterpolator
The interpolator to use. -
setInterpolator
The interpolator to use.
-