public class ProjectiveDevice extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectiveDevice.CalibratedSettings |
static class |
ProjectiveDevice.CalibrationSettings |
static class |
ProjectiveDevice.Exception |
static class |
ProjectiveDevice.Settings |
| Modifier and Type | Field and Description |
|---|---|
opencv_core.CvMat |
additiveLight |
double |
avgColorErr |
double |
avgEpipolarErr |
double |
avgReprojErr |
opencv_core.CvMat |
cameraMatrix |
opencv_core.CvMat |
colorMixingMatrix |
String |
colorOrder |
double |
colorR2 |
opencv_core.CvMat |
distortionCoeffs |
opencv_core.CvMat |
E |
opencv_core.CvMat |
extrParams |
opencv_core.CvMat |
F |
int |
imageHeight |
int |
imageWidth |
double |
maxEpipolarErr |
double |
maxReprojErr |
opencv_core.CvMat |
R |
opencv_core.CvMat |
reprojErrs |
opencv_core.CvMat |
T |
| Constructor and Description |
|---|
ProjectiveDevice(ProjectiveDevice.Settings settings) |
ProjectiveDevice(String name) |
ProjectiveDevice(String name,
File file) |
ProjectiveDevice(String name,
opencv_core.CvFileStorage fs) |
ProjectiveDevice(String name,
String filename) |
public int imageWidth
public int imageHeight
public opencv_core.CvMat cameraMatrix
public opencv_core.CvMat distortionCoeffs
public opencv_core.CvMat extrParams
public opencv_core.CvMat reprojErrs
public double avgReprojErr
public double maxReprojErr
public opencv_core.CvMat R
public opencv_core.CvMat T
public opencv_core.CvMat E
public opencv_core.CvMat F
public double avgEpipolarErr
public double maxEpipolarErr
public String colorOrder
public opencv_core.CvMat colorMixingMatrix
public opencv_core.CvMat additiveLight
public double avgColorErr
public double colorR2
public ProjectiveDevice(String name)
public ProjectiveDevice(String name, File file) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic ProjectiveDevice(String name, String filename) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic ProjectiveDevice(String name, opencv_core.CvFileStorage fs) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic ProjectiveDevice(ProjectiveDevice.Settings settings) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic ProjectiveDevice.Settings getSettings()
public void setSettings(ProjectiveDevice.Settings settings)
public void rescale(int imageWidth,
int imageHeight)
public int[] getRGBColorOrder()
public static double[] undistort(double[] xd,
double[] k)
public double[] undistort(double... x)
public static double[] distort(double[] xu,
double[] k)
public double[] distort(double... x)
public static double[] normalize(double[] xu,
opencv_core.CvMat K)
public static double[] unnormalize(double[] xn,
opencv_core.CvMat K)
public boolean isFixedPointMaps()
public void setFixedPointMaps(boolean fixedPointMaps)
public int getMapsPyramidLevel()
public void setMapsPyramidLevel(int mapsPyramidLevel)
public opencv_core.IplImage getUndistortMap1()
public opencv_core.IplImage getUndistortMap2()
public void undistort(opencv_core.IplImage src, opencv_core.IplImage dst)
public opencv_core.IplImage undistort(opencv_core.IplImage image)
public opencv_core.IplImage getDistortMap1()
public opencv_core.IplImage getDistortMap2()
public void distort(opencv_core.IplImage src, opencv_core.IplImage dst)
public opencv_core.IplImage distort(opencv_core.IplImage image)
public opencv_core.CvMat getBackProjectionMatrix(opencv_core.CvMat n, double d, opencv_core.CvMat B)
public opencv_core.CvMat getFrontoParallelH(double[] roipts, opencv_core.CvMat n, opencv_core.CvMat H)
public opencv_core.CvMat getRectifyingHomography(ProjectiveDevice peer, opencv_core.CvMat H)
public static ProjectiveDevice[] read(String filename) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic static void write(String filename, ProjectiveDevice[]... devices)
public static void write(String filename, ProjectiveDevice... devices)
public void writeParameters(File file)
public void writeParameters(String filename)
public void writeParameters(opencv_core.CvFileStorage fs)
public void readParameters(File file) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic void readParameters(String filename) throws ProjectiveDevice.Exception
ProjectiveDevice.Exceptionpublic void readParameters(opencv_core.CvFileStorage fs) throws ProjectiveDevice.Exception
ProjectiveDevice.ExceptionCopyright © 2018. All rights reserved.