public class HoughLineSegments extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HoughLineSegments.HoughResult |
static class |
HoughLineSegments.Line |
Constructor and Description |
---|
HoughLineSegments() |
Modifier and Type | Method and Description |
---|---|
static void |
extendLine(Point first,
Point last,
Dimension imageSize) |
static HoughLineSegments.HoughResult |
hough(ij.process.ImageProcessor bw,
List<Double> thetas) |
static List<HoughLineSegments.Line> |
houghGlobalLines(ij.process.ImageProcessor BW,
List<Double> thetas,
List<Double> rhos,
List<Point> peaks,
double minLength,
Dimension imageSize,
JIPipeProgressInfo progressInfo) |
static List<HoughLineSegments.Line> |
houghLineSegments(ij.process.ImageProcessor BW,
List<Double> thetas,
List<Double> rhos,
List<Point> peaks,
double fillGap,
double minLength,
boolean fastMode,
JIPipeProgressInfo progressInfo) |
static List<Point> |
houghPeaks(ij.process.FloatProcessor H,
int numPeaks,
double threshold,
int[] neighborhoodSize,
JIPipeProgressInfo progressInfo)
Implementation of Hough Peaks
|
public static List<HoughLineSegments.Line> houghLineSegments(ij.process.ImageProcessor BW, List<Double> thetas, List<Double> rhos, List<Point> peaks, double fillGap, double minLength, boolean fastMode, JIPipeProgressInfo progressInfo)
public static List<HoughLineSegments.Line> houghGlobalLines(ij.process.ImageProcessor BW, List<Double> thetas, List<Double> rhos, List<Point> peaks, double minLength, Dimension imageSize, JIPipeProgressInfo progressInfo)
public static List<Point> houghPeaks(ij.process.FloatProcessor H, int numPeaks, double threshold, int[] neighborhoodSize, JIPipeProgressInfo progressInfo)
H
- Hough Array (generated by the hough function)numPeaks
- number of peaksthreshold
- the threshold (if less than 0, it's 0.5 * MAX(H))neighborhoodSize
- neighborhood size. array with length 2. defaults to [height / 50, width / 50] if null. must be positive odd integers.public static HoughLineSegments.HoughResult hough(ij.process.ImageProcessor bw, List<Double> thetas)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.