public class LineImageOps
extends java.lang.Object
| Constructor and Description |
|---|
LineImageOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAddInside(int width,
int height,
georegression.struct.point.Point2D_F32 a,
java.util.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(java.util.List<georegression.struct.line.LineSegment2D_F32> lines,
float thresholdAngle,
float thresholdDist) |
static void |
pruneClutteredGrids(MatrixOfList<georegression.struct.line.LineSegment2D_F32> lines,
int threshold) |
static java.util.List<georegression.struct.line.LineParametric2D_F32> |
pruneRelativeIntensity(java.util.List<georegression.struct.line.LineParametric2D_F32> lines,
float[] intensity,
float fraction) |
static java.util.List<georegression.struct.line.LineParametric2D_F32> |
pruneSimilarLines(java.util.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(java.util.List<georegression.struct.line.LineSegment2D_F32> lines,
float threshold) |
public static java.util.List<georegression.struct.line.LineParametric2D_F32> pruneRelativeIntensity(java.util.List<georegression.struct.line.LineParametric2D_F32> lines,
float[] intensity,
float fraction)
public static java.util.List<georegression.struct.line.LineParametric2D_F32> pruneSimilarLines(java.util.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(java.util.List<georegression.struct.line.LineSegment2D_F32> lines,
float threshold)
public static void mergeSimilar(java.util.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,
java.util.List<georegression.struct.point.Point2D_F32> inside)
public static georegression.struct.point.Point2D_F32 computePoint(georegression.struct.line.LineParametric2D_F32 l,
double t)