本文整理匯總了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);
}