public class LineImageOps extends Object
| Constructor and Description |
|---|
LineImageOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAddInside(int width,
int height,
georegression.struct.point.Point2D_F32 a,
List<georegression.struct.point.Point2D_F32> inside) |
static georegression.struct.point.Point2D_F32 |
computePoint(georegression.struct.line.LineParametric2D_F32 l,
double t) |
static georegression.struct.line.LineSegment2D_F32 |
convert(georegression.struct.line.LineParametric2D_F32 l,
int width,
int height)
Find the point in which the line intersects the image border and create a line segment at those points
|
static void |
mergeSimilar(List<georegression.struct.line.LineSegment2D_F32> lines,
float thresholdAngle,
float thresholdDist) |
static void |
pruneClutteredGrids(MatrixOfList<georegression.struct.line.LineSegment2D_F32> lines,
int threshold) |
static List<georegression.struct.line.LineParametric2D_F32> |
pruneRelativeIntensity(List<georegression.struct.line.LineParametric2D_F32> lines,
float[] intensity,
float fraction) |
static List<georegression.struct.line.LineParametric2D_F32> |
pruneSimilarLines(List<georegression.struct.line.LineParametric2D_F32> lines,
float[] intensity,
float toleranceAngle,
float toleranceDist,
int imgWidth,
int imgHeight)
Prunes similar looking lines, but keeps the lines with the most intensity.
|
static void |
pruneSmall(List<georegression.struct.line.LineSegment2D_F32> lines,
float threshold) |
public static List<georegression.struct.line.LineParametric2D_F32> pruneRelativeIntensity(List<georegression.struct.line.LineParametric2D_F32> lines, float[] intensity, float fraction)
public static List<georegression.struct.line.LineParametric2D_F32> pruneSimilarLines(List<georegression.struct.line.LineParametric2D_F32> lines, float[] intensity, float toleranceAngle, float toleranceDist, int imgWidth, int imgHeight)
lines - intensity - toleranceAngle - public static void pruneClutteredGrids(MatrixOfList<georegression.struct.line.LineSegment2D_F32> lines, int threshold)
public static void pruneSmall(List<georegression.struct.line.LineSegment2D_F32> lines, float threshold)
public static void mergeSimilar(List<georegression.struct.line.LineSegment2D_F32> lines, float thresholdAngle, float thresholdDist)
public static georegression.struct.line.LineSegment2D_F32 convert(georegression.struct.line.LineParametric2D_F32 l,
int width,
int height)
public static void checkAddInside(int width,
int height,
georegression.struct.point.Point2D_F32 a,
List<georegression.struct.point.Point2D_F32> inside)
public static georegression.struct.point.Point2D_F32 computePoint(georegression.struct.line.LineParametric2D_F32 l,
double t)
Copyright © 2013. All Rights Reserved.