public class HoughLineTransformation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected float |
centerX |
protected float |
centerY |
protected int |
doubleHeight |
protected int |
height |
protected int[][] |
houghArray |
protected int |
houghHeight |
protected int |
numPoints |
protected int |
width |
| Constructor and Description |
|---|
HoughLineTransformation()
Initialize a new instance of the HoughLineTransformation class.
|
HoughLineTransformation(int minIntensity)
Initialize a new instance of the HoughLineTransformation class.
|
HoughLineTransformation(int minIntensity,
int maxIntensity)
Initialize a new instance of the HoughLineTransformation class.
|
HoughLineTransformation(int minIntensity,
int maxIntensity,
boolean sort)
Initialize a new instance of the HoughLineTransformation class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEdgePoints(java.util.ArrayList<IntPoint> edgePoints) |
FastBitmap |
getHoughArrayImage() |
int |
getIntensity()
Get Intensity.
|
java.util.ArrayList<HoughLine> |
getLines() |
int |
getRadius()
Get Radius.
|
int |
getStepsPerDegree() |
void |
ProcessImage(FastBitmap fastBitmap)
Process Image.
|
void |
setIntensity(int intensity)
Set Intensity.
|
void |
setRadius(int radius)
Set Radius.
|
void |
setStepsPerDegree(int stepsPerDegree) |
protected int width
protected int height
protected int[][] houghArray
protected float centerX
protected float centerY
protected int houghHeight
protected int doubleHeight
protected int numPoints
public HoughLineTransformation()
public HoughLineTransformation(int minIntensity)
minIntensity - Minimum intensity.public HoughLineTransformation(int minIntensity,
int maxIntensity)
minIntensity - Minimum intensity.maxIntensity - Minimum intensity.public HoughLineTransformation(int minIntensity,
int maxIntensity,
boolean sort)
minIntensity - Minimum intensity.maxIntensity - Minimum intensity.sort - Sort Hough lines per intensity.public int getRadius()
public void setRadius(int radius)
radius - Radius.public int getIntensity()
public void setIntensity(int intensity)
intensity - Intensity.public int getStepsPerDegree()
public void setStepsPerDegree(int stepsPerDegree)
public void ProcessImage(FastBitmap fastBitmap)
fastBitmap - Image to be processed.public void addEdgePoints(java.util.ArrayList<IntPoint> edgePoints)
public java.util.ArrayList<HoughLine> getLines()
public FastBitmap getHoughArrayImage()