當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。