Package one.empty3.feature
Class HoughTransform
java.lang.Object
one.empty3.io.ProcessFile
one.empty3.feature.HoughTransform
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected intprotected intprotected int[][]protected intstatic final intprotected intprotected intFields inherited from class one.empty3.io.ProcessFile
bean, maxRes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoint(int x, int y) voidaddPoints(BufferedImage image) intgetLines(int threshold) voidbooleanMethods inherited from class one.empty3.io.ProcessFile
addSource, getOutputDirectory, getSource, getStackItem, isImage, processMem, setMaxRes, setOutputDirectory, setProperty, setStack
-
Field Details
-
NUM_LINES
public static final int NUM_LINES- See Also:
-
width
protected int width -
height
protected int height -
houghArray
protected int[][] houghArray -
centerX
protected float centerX -
centerY
protected float centerY -
houghHeight
protected int houghHeight -
doubleHeight
protected int doubleHeight -
numPoints
protected int numPoints
-
-
Constructor Details
-
HoughTransform
public HoughTransform()
-
-
Method Details
-
process
- Overrides:
processin classProcessFile
-
initialise
public void initialise() -
addPoints
-
addPoint
public void addPoint(int x, int y) -
getLines
-
getHighestValue
public int getHighestValue() -
getHoughArrayImage
-