public class Watershed_to_ImageSegmentation<T extends boofcv.struct.image.ImageBase> extends java.lang.Object implements ImageSegmentation<T>
WatershedVincentSoille1991 for ImageSegmentation. Watershed regions
and small regions are merged together. When merging regions a preference is given to regions which are the
most similar in color intensity.| Constructor and Description |
|---|
Watershed_to_ImageSegmentation(WatershedVincentSoille1991 alg,
int minimumSize,
boofcv.struct.ConnectRule rule) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.ImageType<T> |
getImageType() |
boofcv.struct.ConnectRule |
getRule() |
int |
getTotalSegments() |
void |
segment(T input,
boofcv.struct.image.ImageSInt32 output) |
void |
setImageType(boofcv.struct.image.ImageType<T> imageType) |
public Watershed_to_ImageSegmentation(WatershedVincentSoille1991 alg, int minimumSize, boofcv.struct.ConnectRule rule)
public void segment(T input, boofcv.struct.image.ImageSInt32 output)
segment in interface ImageSegmentation<T extends boofcv.struct.image.ImageBase>public int getTotalSegments()
getTotalSegments in interface ImageSegmentation<T extends boofcv.struct.image.ImageBase>public boofcv.struct.ConnectRule getRule()
getRule in interface ImageSegmentation<T extends boofcv.struct.image.ImageBase>public boofcv.struct.image.ImageType<T> getImageType()
getImageType in interface ImageSegmentation<T extends boofcv.struct.image.ImageBase>public void setImageType(boofcv.struct.image.ImageType<T> imageType)