public class HoughLine
extends java.lang.Object
implements java.lang.Comparable
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o) |
void |
DrawLine(FastBitmap fastBitmap,
int gray)
Draw line.
|
void |
DrawLine(FastBitmap fastBitmap,
int red,
int green,
int blue)
Draw line.
|
int |
getIntensity()
Get Intensity.
|
double |
getRadius()
Get Radius.
|
double |
getRelativeIntensity()
Get Relative intensity.
|
double |
getTheta()
Get Theta.
|
void |
setIntensity(int intensity)
Set Intensity.
|
void |
setRadius(double r)
Set Radius.
|
void |
setRelativeIntensity(double relativeIntensity)
Set Relative intensity.
|
void |
setTheta(double theta)
Set Theta.
|
public HoughLine()
public HoughLine(double theta,
double radius,
int intensity,
double relativeIntensity)
theta - Angle.radius - Radius.intensity - Intensity.relativeIntensity - Relative intensity.public double getRadius()
public void setRadius(double r)
r - Radius.public double getTheta()
public void setTheta(double theta)
theta - Theta.public int getIntensity()
public void setIntensity(int intensity)
intensity - Intensity.public double getRelativeIntensity()
public void setRelativeIntensity(double relativeIntensity)
relativeIntensity - Relative intensity.public void DrawLine(FastBitmap fastBitmap, int gray)
fastBitmap - Image to be processed.gray - Gray Channel.public void DrawLine(FastBitmap fastBitmap, int red, int green, int blue)
fastBitmap - Image to be processed.red - Red Channel.green - Green Channel.blue - Blue Channel.public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable