public class SegmentMeanShiftSearchGray<T extends boofcv.struct.image.ImageGray> extends SegmentMeanShiftSearch<T>
Implementation of SegmentMeanShiftSearch for gray-scale images
| Modifier and Type | Field and Description |
|---|---|
protected org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F32> |
history |
protected boofcv.alg.interpolate.InterpolatePixelS<T> |
interpolate |
protected float |
meanGray |
convergenceTol, image, maxColorDistanceSq, maxIterations, modeColor, modeLocation, modeMemberCount, modeX, modeY, pixelToMode, quickMode, radiusX, radiusY, spacialTable, weightTable, widthX, widthY| Constructor and Description |
|---|
SegmentMeanShiftSearchGray(int maxIterations,
float convergenceTol,
boofcv.alg.interpolate.InterpolatePixelS<T> interpolate,
int radiusX,
int radiusY,
float maxColorDistance,
boolean fast) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
findPeak(float cx,
float cy,
float gray)
Uses mean-shift to find the peak.
|
boofcv.struct.image.ImageType<T> |
getImageType() |
void |
process(T image)
Performs mean-shift clustering on the input image
|
distanceSq, getModeColor, getModeLocation, getPixelToRegion, getRegionMemberCount, weightprotected boofcv.alg.interpolate.InterpolatePixelS<T extends boofcv.struct.image.ImageGray> interpolate
protected float meanGray
protected org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_F32> history
public SegmentMeanShiftSearchGray(int maxIterations,
float convergenceTol,
boofcv.alg.interpolate.InterpolatePixelS<T> interpolate,
int radiusX,
int radiusY,
float maxColorDistance,
boolean fast)
public void process(T image)
process in class SegmentMeanShiftSearch<T extends boofcv.struct.image.ImageGray>image - Input imagepublic boofcv.struct.image.ImageType<T> getImageType()
getImageType in class SegmentMeanShiftSearch<T extends boofcv.struct.image.ImageGray>protected void findPeak(float cx,
float cy,
float gray)
gray - The color value which mean-shift is trying to find a region which minimises it