Package one.empty3.feature
Class HoughTransformOutput
- java.lang.Object
-
- one.empty3.feature.HoughTransformOutput
-
public class HoughTransformOutput extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HoughTransformOutput()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
map(double valueCoord1, double startCoord1, double endCoord1, double startCoord2, double endCoord2)
static java.awt.image.BufferedImage
scaledSobelResult(double[][] sobelTotal)
static void
superimposeCircles(java.util.List<one.empty3.feature.CircleHit> hits, double[][] sobelTotal, java.io.File out)
static void
superimposeCircles(java.util.List<one.empty3.feature.CircleHit> hits, java.awt.image.BufferedImage in, java.io.File out)
static void
writeImage(double[][] imgArray, java.io.File outFile)
static void
writeImage(double[][] sobelArray, java.io.File outFile, int threshold)
static void
writeImage(int[][] imgArray, java.io.File outFile)
static void
writeImage(java.awt.image.BufferedImage image, java.io.File outFile)
-
-
-
Method Detail
-
writeImage
public static void writeImage(int[][] imgArray, java.io.File outFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
writeImage
public static void writeImage(double[][] imgArray, java.io.File outFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
writeImage
public static void writeImage(java.awt.image.BufferedImage image, java.io.File outFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
writeImage
public static void writeImage(double[][] sobelArray, java.io.File outFile, int threshold) throws java.lang.Exception
- Throws:
java.lang.Exception
-
superimposeCircles
public static void superimposeCircles(java.util.List<one.empty3.feature.CircleHit> hits, java.awt.image.BufferedImage in, java.io.File out)
-
superimposeCircles
public static void superimposeCircles(java.util.List<one.empty3.feature.CircleHit> hits, double[][] sobelTotal, java.io.File out) throws java.lang.Exception
- Throws:
java.lang.Exception
-
scaledSobelResult
public static java.awt.image.BufferedImage scaledSobelResult(double[][] sobelTotal)
-
map
public static double map(double valueCoord1, double startCoord1, double endCoord1, double startCoord2, double endCoord2)
-
-