public final class ExtentedImgproc
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BRESENHAM
Bresenham method for lines (fast)
|
static int |
EXACT
Exactly tracking fraction of pixels
|
static int |
SCALING
Original method based on increasing scaling factors
|
Modifier and Type | Method and Description |
---|---|
static org.opencv.core.Mat |
axisAlignedHoughTransform(org.opencv.core.Mat input,
double fromTheta,
double toTheta,
int thetaRes)
This is a specialized and modified version of the Hough transformation.
|
static org.opencv.core.Mat |
axisAlignedHoughTransform(org.opencv.core.Mat input,
double fromTheta,
double toTheta,
int thetaRes,
int mode)
This is a specialized and modified version of the Hough transformation.
|
static void |
normalize(org.opencv.core.Mat input,
double newMin,
double newMax)
Normalize all channels of the input image to the given range
|
public static final int BRESENHAM
public static final int EXACT
public static final int SCALING
public static org.opencv.core.Mat axisAlignedHoughTransform(org.opencv.core.Mat input, double fromTheta, double toTheta, int thetaRes)
SCALING
line
representation is used.input
- input imagefromTheta
- minimal value for theta in radianstoTheta
- maximal value for theta in radiansthetaRes
- number of quantization steps for thetapublic static void normalize(org.opencv.core.Mat input, double newMin, double newMax)
input
- input imagenewMin
- new minimumnewMax
- new maximumpublic static org.opencv.core.Mat axisAlignedHoughTransform(org.opencv.core.Mat input, double fromTheta, double toTheta, int thetaRes, int mode)