public class LensCalibration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LensCalibration.LensModel |
static class |
LensCalibration.Pattern |
Constructor and Description |
---|
LensCalibration(LensCalibration.LensModel lensModel,
LensCalibration.Pattern pattern,
int patternWidth,
int patternHeight,
double objectSize,
long applyDelayMs) |
Modifier and Type | Method and Description |
---|---|
Mat |
apply(Mat mat) |
boolean |
calibrate() |
void |
close() |
Mat |
getCameraMatrix() |
Mat |
getDistortionCoefficients() |
int |
getPatternFoundCount() |
boolean |
isCalibrated() |
public LensCalibration(LensCalibration.LensModel lensModel, LensCalibration.Pattern pattern, int patternWidth, int patternHeight, double objectSize, long applyDelayMs)
public void close()
public Mat apply(Mat mat)
public boolean calibrate()
public int getPatternFoundCount()
public boolean isCalibrated()
public Mat getCameraMatrix()
public Mat getDistortionCoefficients()