Documentation of 'Catalano.Math.Geometry.KCurvature' Java class
KCurvature
Catalano.Math.Geometry

Class KCurvature



  • public class KCurvature
    extends java.lang.Object
    K-curvatures algorithm for local contour extrema detection.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int k 
      DoubleRange theta 
    • Constructor Summary

      Constructors 
      Constructor and Description
      KCurvature(int k, DoubleRange theta)
      Initializes a new instance of the KCurvature class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<IntPoint> FindPeaks(java.util.List<IntPoint> contour)
      Finds local extremum points in the contour.
      int getK()
      Gets the number K of previous and posterior points to consider when find local extremum points.
      int getSuppression()
      Gets the suppression radius to use during non-minimum suppression.
      DoubleRange getTheta()
      Gets the theta angle range (in degrees) used to define extremum points.
      void setK(int k)
      Sets the number K of previous and posterior points to consider when find local extremum points.
      void setSuppression(int suppression)
      Sets the suppression radius to use during non-minimum suppression.
      void setTheta(DoubleRange theta)
      Sets the theta angle range (in degrees) used to define extremum points.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KCurvature

        public KCurvature(int k,
                          DoubleRange theta)
        Initializes a new instance of the KCurvature class.
        Parameters:
        k - K.
        theta - Theta.
    • Method Detail

      • getK

        public int getK()
        Gets the number K of previous and posterior points to consider when find local extremum points.
        Returns:
        Number of previous and posterior points.
      • setK

        public void setK(int k)
        Sets the number K of previous and posterior points to consider when find local extremum points.
        Parameters:
        k - Number of previous and posterior points.
      • getTheta

        public DoubleRange getTheta()
        Gets the theta angle range (in degrees) used to define extremum points.
        Returns:
        Theta angle.
      • setTheta

        public void setTheta(DoubleRange theta)
        Sets the theta angle range (in degrees) used to define extremum points.
        Parameters:
        theta - Theta angle.
      • getSuppression

        public int getSuppression()
        Gets the suppression radius to use during non-minimum suppression.
        Returns:
        Suppression radius.
      • setSuppression

        public void setSuppression(int suppression)
        Sets the suppression radius to use during non-minimum suppression.
        Parameters:
        suppression - Suppression radius.
      • FindPeaks

        public java.util.List<IntPoint> FindPeaks(java.util.List<IntPoint> contour)
        Finds local extremum points in the contour.
        Parameters:
        contour - A list of integer points defining the contour.
        Returns:
        Peaks.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.