public class SegmentSlic_PlF32 extends SegmentSlic<boofcv.struct.image.Planar<boofcv.struct.image.GrayF32>>
SegmentSlic.Cluster, SegmentSlic.ClusterDistance, SegmentSlic.PixelBORDER, clusters, connectRule, gridInterval, imageType, input, pixels, segment| Constructor and Description |
|---|
SegmentSlic_PlF32(int numberOfRegions,
float m,
int totalIterations,
boofcv.struct.ConnectRule connectRule,
int numBands) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColor(float[] color,
int index,
float weight)
Performs a weighted add to the cluster's color at the specified pixel in the image
|
float |
colorDistance(float[] color,
int index)
Euclidean Squared distance away that the pixel is from the provided color
|
float |
getIntensity(int x,
int y)
Intensity of the pixel at the specified location
|
void |
setColor(float[] color,
int x,
int y)
Sets the cluster's to the pixel color at that location
|
assignLabelsToPixels, computeClusterDistance, getClusters, getConnectRule, getImageType, getRegionMemberCount, gradient, initalize, initializeClusters, perturbCenter, process, updateClusterspublic SegmentSlic_PlF32(int numberOfRegions,
float m,
int totalIterations,
boofcv.struct.ConnectRule connectRule,
int numBands)
public void setColor(float[] color,
int x,
int y)
SegmentSlicsetColor in class SegmentSlic<boofcv.struct.image.Planar<boofcv.struct.image.GrayF32>>public void addColor(float[] color,
int index,
float weight)
SegmentSlicaddColor in class SegmentSlic<boofcv.struct.image.Planar<boofcv.struct.image.GrayF32>>public float colorDistance(float[] color,
int index)
SegmentSliccolorDistance in class SegmentSlic<boofcv.struct.image.Planar<boofcv.struct.image.GrayF32>>public float getIntensity(int x,
int y)
SegmentSlicgetIntensity in class SegmentSlic<boofcv.struct.image.Planar<boofcv.struct.image.GrayF32>>