public class Mser extends SegmentChannelIntoObjects
Constructor and Description |
---|
Mser() |
Modifier and Type | Method and Description |
---|---|
double |
getDelta() |
long |
getMaxSize() |
double |
getMaxVar() |
double |
getMinDiversity() |
long |
getMinSize() |
ObjectCollection |
segment(Channel channel,
Optional<ObjectMask> objectMask,
Optional<ObjectCollection> seeds)
Segments a channel to produce an object-collection.
|
void |
setDelta(double delta) |
void |
setMaxSize(long maxSize) |
void |
setMaxVar(double maxVar) |
void |
setMinDiversity(double minDiversity) |
void |
setMinSize(long minSize) |
checkUnsupported3D, checkUnsupportedObjectMask, checkUnsupportedSeeds
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds) throws SegmentationFailedException
SegmentChannelIntoObjects
segment
in class SegmentChannelIntoObjects
channel
- the channel to segmentobjectMask
- an object-mask that can restrict which areas of the channel are considered.seeds
- seeds that can be used to determine starting-points for segmentation regions.SegmentationFailedException
- if anything goes wrong during the segmentation.public long getMinSize()
public void setMinSize(long minSize)
public long getMaxSize()
public void setMaxSize(long maxSize)
public double getMaxVar()
public void setMaxVar(double maxVar)
public double getMinDiversity()
public void setMinDiversity(double minDiversity)
public double getDelta()
public void setDelta(double delta)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.