public class MeanShiftGaussianPeak<T extends ImageSingleBand> extends MeanShiftPeak<T>
MeanShiftPeak which uses a gaussian kernel. The sigma is specified by the radius.| Modifier and Type | Field and Description |
|---|---|
protected Kernel2D_F32 |
kernel |
convergenceTol, image, interpolate, maxIterations, peakX, peakY, radius, width, x0, y0| Constructor and Description |
|---|
MeanShiftGaussianPeak(int maxIterations,
float convergenceTol,
int radius,
Class<T> imageType)
Configures search.
|
| Modifier and Type | Method and Description |
|---|---|
void |
search(float cx,
float cy)
Performs a mean-shift search center at the specified coordinates
|
void |
setRadius(int radius) |
getPeakX, getPeakY, setImage, setRegionprotected Kernel2D_F32 kernel
public MeanShiftGaussianPeak(int maxIterations,
float convergenceTol,
int radius,
Class<T> imageType)
maxIterations - Maximum number of iterations. Try 10convergenceTol - Convergence tolerance. Try 1e-3radius - Search radius. Application dependent.public void setRadius(int radius)
setRadius in class MeanShiftPeak<T extends ImageSingleBand>public void search(float cx,
float cy)
search in class MeanShiftPeak<T extends ImageSingleBand>Copyright © 2013. All Rights Reserved.