Documentation of 'Catalano.Imaging.Tools.HoughLine' Java class
HoughLine
Catalano.Imaging.Tools

Class HoughLine

  • All Implemented Interfaces:
    java.lang.Comparable


    public class HoughLine
    extends java.lang.Object
    implements java.lang.Comparable
    Represents line of Hough Line Transformation.
    • Constructor Summary

      Constructors 
      Constructor and Description
      HoughLine()
      Initialize a new instance of the HoughLine class.
      HoughLine(double theta, double radius, int intensity, double relativeIntensity)
      Initialize a new instance of the HoughLine class.
    • Constructor Detail

      • HoughLine

        public HoughLine()
        Initialize a new instance of the HoughLine class.
      • HoughLine

        public HoughLine(double theta,
                         double radius,
                         int intensity,
                         double relativeIntensity)
        Initialize a new instance of the HoughLine class.
        Parameters:
        theta - Angle.
        radius - Radius.
        intensity - Intensity.
        relativeIntensity - Relative intensity.
    • Method Detail

      • getRadius

        public double getRadius()
        Get Radius.
        Returns:
        Radius.
      • setRadius

        public void setRadius(double r)
        Set Radius.
        Parameters:
        r - Radius.
      • getTheta

        public double getTheta()
        Get Theta.
        Returns:
        Theta.
      • setTheta

        public void setTheta(double theta)
        Set Theta.
        Parameters:
        theta - Theta.
      • getIntensity

        public int getIntensity()
        Get Intensity.
        Returns:
        Intensity.
      • setIntensity

        public void setIntensity(int intensity)
        Set Intensity.
        Parameters:
        intensity - Intensity.
      • getRelativeIntensity

        public double getRelativeIntensity()
        Get Relative intensity.
        Returns:
        Relative intensity.
      • setRelativeIntensity

        public void setRelativeIntensity(double relativeIntensity)
        Set Relative intensity.
        Parameters:
        relativeIntensity - Relative intensity.
      • DrawLine

        public void DrawLine(FastBitmap fastBitmap,
                             int gray)
        Draw line.
        Parameters:
        fastBitmap - Image to be processed.
        gray - Gray Channel.
      • DrawLine

        public void DrawLine(FastBitmap fastBitmap,
                             int red,
                             int green,
                             int blue)
        Draw line.
        Parameters:
        fastBitmap - Image to be processed.
        red - Red Channel.
        green - Green Channel.
        blue - Blue Channel.
      • compareTo

        public int compareTo(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.