Package boofcv.abst.feature.detect.peak
Class MeanShiftPeak_to_SearchLocalPeak<T extends ImageGray<T>>
java.lang.Object
boofcv.abst.feature.detect.peak.MeanShiftPeak_to_SearchLocalPeak<T>
- All Implemented Interfaces:
SearchLocalPeak<T>
public class MeanShiftPeak_to_SearchLocalPeak<T extends ImageGray<T>>
extends Object
implements SearchLocalPeak<T>
Wrapper around
MeanShiftPeak for SearchLocalPeak-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetPeakX()Location of the found peak.floatgetPeakY()Location of the found peak.voidsearch(float x, float y) Initial point for the searchvoidSpecifies the image which is to be searchedvoidsetSearchRadius(int radius) How far around the center it consider when searching for the peak
-
Constructor Details
-
MeanShiftPeak_to_SearchLocalPeak
-
-
Method Details
-
setImage
Description copied from interface:SearchLocalPeakSpecifies the image which is to be searched- Specified by:
setImagein interfaceSearchLocalPeak<T extends ImageGray<T>>- Parameters:
image- input image
-
setSearchRadius
public void setSearchRadius(int radius) Description copied from interface:SearchLocalPeakHow far around the center it consider when searching for the peak- Specified by:
setSearchRadiusin interfaceSearchLocalPeak<T extends ImageGray<T>>- Parameters:
radius- Search radius
-
search
public void search(float x, float y) Description copied from interface:SearchLocalPeakInitial point for the search- Specified by:
searchin interfaceSearchLocalPeak<T extends ImageGray<T>>- Parameters:
x- initial x-coordinatey- initial y-coordinate
-
getPeakX
public float getPeakX()Description copied from interface:SearchLocalPeakLocation of the found peak. x-coordinate- Specified by:
getPeakXin interfaceSearchLocalPeak<T extends ImageGray<T>>- Returns:
- x-coordinate
-
getPeakY
public float getPeakY()Description copied from interface:SearchLocalPeakLocation of the found peak. y-coordinate- Specified by:
getPeakYin interfaceSearchLocalPeak<T extends ImageGray<T>>- Returns:
- y-coordinate
-