本文整理汇总了Java中org.opencv.core.Point3类的典型用法代码示例。如果您正苦于以下问题:Java Point3类的具体用法?Java Point3怎么用?Java Point3使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Point3类属于org.opencv.core包,在下文中一共展示了Point3类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createExternalCornersModel
import org.opencv.core.Point3; //导入依赖的package包/类
private void createExternalCornersModel() {
this.externalCorners = new MatOfPoint2f(
new Point(cornerOfOneImage.get(cornerOfOneImage.rows() - width, 0)[0], cornerOfOneImage.get(cornerOfOneImage.rows() - width, 0)[1]),
new Point(cornerOfOneImage.get(0, 0)[0], cornerOfOneImage.get(0, 0)[1]),
new Point(cornerOfOneImage.get(width - 1, 0)[0], cornerOfOneImage.get(width - 1, 0)[1]),
new Point(cornerOfOneImage.get(cornerOfOneImage.rows() - 1, 0)[0], cornerOfOneImage.get(cornerOfOneImage.rows() - 1, 0)[1]));
this.externalCornersModel = new MatOfPoint3f(
new Point3(0, (height - 1)*100, 0),
new Point3(0, 0, 0),
new Point3((width - 1)*100, 0, 0),
new Point3((width - 1)*100, (height - 1)*100, 0));
}
开发者ID:PawelTypiak,项目名称:Checkerboard-IMU-Comparator,代码行数:13,代码来源:CheckerboardPatternComputingInitializer.java
示例2: vector_Point3i_to_Mat
import org.opencv.core.Point3; //导入依赖的package包/类
public static Mat vector_Point3i_to_Mat(List<Point3> pts) {
return vector_Point3_to_Mat(pts, CvType.CV_32S);
}
示例3: vector_Point3f_to_Mat
import org.opencv.core.Point3; //导入依赖的package包/类
public static Mat vector_Point3f_to_Mat(List<Point3> pts) {
return vector_Point3_to_Mat(pts, CvType.CV_32F);
}
示例4: Mat_to_vector_Point3d
import org.opencv.core.Point3; //导入依赖的package包/类
public static void Mat_to_vector_Point3d(Mat m, List<Point3> pts) {
Mat_to_vector_Point3(m, pts);
}
示例5: Mat_to_vector_Point3i
import org.opencv.core.Point3; //导入依赖的package包/类
public static void Mat_to_vector_Point3i(Mat m, List<Point3> pts) {
Mat_to_vector_Point3(m, pts);
}
示例6: Mat_to_vector_Point3f
import org.opencv.core.Point3; //导入依赖的package包/类
public static void Mat_to_vector_Point3f(Mat m, List<Point3> pts) {
Mat_to_vector_Point3(m, pts);
}
示例7: vector_Point3d_to_Mat
import org.opencv.core.Point3; //导入依赖的package包/类
public static Mat vector_Point3d_to_Mat(List<Point3> pts) {
return vector_Point3_to_Mat(pts, CvType.CV_64F);
}