boofcv.abst.feature.detect.peak
Class MeanShiftPeak_to_SearchLocalPeak<T extends ImageGray>
- 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> extends java.lang.Object implements SearchLocalPeak<T>
Wrapper aroundMeanShiftPeakforSearchLocalPeak
-
-
Constructor Summary
Constructors Constructor and Description MeanShiftPeak_to_SearchLocalPeak(MeanShiftPeak<T> search)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description floatgetPeakX()Location of the found peak.floatgetPeakY()Location of the found peak.voidsearch(float x, float y)Initial point for the searchvoidsetImage(T image)Specifies the image which is to be searchedvoidsetSearchRadius(int radius)How far around the center it consider when searching for the peak
-
-
-
Constructor Detail
-
MeanShiftPeak_to_SearchLocalPeak
public MeanShiftPeak_to_SearchLocalPeak(MeanShiftPeak<T> search)
-
-
Method Detail
-
setImage
public void setImage(T image)
Description copied from interface:SearchLocalPeakSpecifies the image which is to be searched- Specified by:
setImagein interfaceSearchLocalPeak<T extends ImageGray>- 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>- 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>- 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>- 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>- Returns:
- y-coordinate
-
-
DataMelt 3.0 © DataMelt by jWork.ORG