Package boofcv.abst.feature.detect.peak
Interface SearchLocalPeak<T extends ImageGray<T>>
- All Known Implementing Classes:
MeanShiftPeak_to_SearchLocalPeak
public interface SearchLocalPeak<T extends ImageGray<T>>
Interface for searching for local peaks near by a user specified point.
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getPeakX()
Location of the found peak.float
getPeakY()
Location of the found peak.void
search
(float x, float y) Initial point for the searchvoid
Specifies the image which is to be searchedvoid
setSearchRadius
(int radius) How far around the center it consider when searching for the peak
-
Method Details
-
setImage
Specifies the image which is to be searched- Parameters:
image
- input image
-
setSearchRadius
void setSearchRadius(int radius) How far around the center it consider when searching for the peak- Parameters:
radius
- Search radius
-
search
void search(float x, float y) Initial point for the search- Parameters:
x
- initial x-coordinatey
- initial y-coordinate
-
getPeakX
float getPeakX()Location of the found peak. x-coordinate- Returns:
- x-coordinate
-
getPeakY
float getPeakY()Location of the found peak. y-coordinate- Returns:
- y-coordinate
-