当前位置: 首页>>代码示例>>Java>>正文


Java Point3类代码示例

本文整理汇总了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);
}
 
开发者ID:vulovicv23,项目名称:opencv-documentscanner-android,代码行数:4,代码来源:Converters.java

示例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);
}
 
开发者ID:vulovicv23,项目名称:opencv-documentscanner-android,代码行数:4,代码来源:Converters.java

示例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);
}
 
开发者ID:daquexian,项目名称:DNNLibrary,代码行数:4,代码来源:Converters.java

示例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);
}
 
开发者ID:johnhany,项目名称:MOAAP,代码行数:4,代码来源:Converters.java

示例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);
}
 
开发者ID:vulovicv23,项目名称:opencv-documentscanner-android,代码行数:4,代码来源:Converters.java

示例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);
}
 
开发者ID:johnhany,项目名称:MOAAP,代码行数:4,代码来源:Converters.java


注:本文中的org.opencv.core.Point3类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。