public class MeanShiftPeak_to_SearchLocalPeak<T extends boofcv.struct.image.ImageGray> extends java.lang.Object implements SearchLocalPeak<T>
MeanShiftPeak for SearchLocalPeak| Constructor and Description |
|---|
MeanShiftPeak_to_SearchLocalPeak(MeanShiftPeak<T> search) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPeakX()
Location of the found peak.
|
float |
getPeakY()
Location of the found peak.
|
void |
search(float x,
float y)
Initial point for the search
|
void |
setImage(T image)
Specifies the image which is to be searched
|
void |
setSearchRadius(int radius)
How far around the center it consider when searching for the peak
|
public MeanShiftPeak_to_SearchLocalPeak(MeanShiftPeak<T> search)
public void setImage(T image)
SearchLocalPeaksetImage in interface SearchLocalPeak<T extends boofcv.struct.image.ImageGray>image - input imagepublic void setSearchRadius(int radius)
SearchLocalPeaksetSearchRadius in interface SearchLocalPeak<T extends boofcv.struct.image.ImageGray>radius - Search radiuspublic void search(float x,
float y)
SearchLocalPeaksearch in interface SearchLocalPeak<T extends boofcv.struct.image.ImageGray>x - initial x-coordinatey - initial y-coordinatepublic float getPeakX()
SearchLocalPeakgetPeakX in interface SearchLocalPeak<T extends boofcv.struct.image.ImageGray>public float getPeakY()
SearchLocalPeakgetPeakY in interface SearchLocalPeak<T extends boofcv.struct.image.ImageGray>