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 Type
    Method
    Description
    float
    Location of the found peak.
    float
    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
  • Method Details

    • setImage

      void setImage(T image)
      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-coordinate
      y - 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