org.opencv.imgproc.Imgproc.minAreaRect_0()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(8.6k)|赞(0)|评价(0)|浏览(339)

本文整理了Java中org.opencv.imgproc.Imgproc.minAreaRect_0()方法的一些代码示例,展示了Imgproc.minAreaRect_0()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Imgproc.minAreaRect_0()方法的具体详情如下:
包路径:org.opencv.imgproc.Imgproc
类名称:Imgproc
方法名:minAreaRect_0

Imgproc.minAreaRect_0介绍

暂无

代码示例

代码示例来源:origin: DuckDeck/AndroidDemo

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: kongqw/OpenCVForAndroid

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: KePeng1019/SmartPaperScan

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: InnoFang/Android-Code-Demos

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: raulh82vlc/Image-Detection-Samples

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: farkam135/GoIV

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: leadrien/opencv_native_androidstudio

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: tz28/Chinese-number-gestures-recognition

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: imistyrain/EasyPR4Android

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: akshika47/OpencvAndroid

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: hschott/Camdroid

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: nroduit/Weasis

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: ctodobom/OpenCV-3.1.0-Android

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: SOFTPOWER1991/OpenCVCheck

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: SouvDc/face-detection

  1. public static RotatedRect minAreaRect(MatOfPoint2f points)
  2. {
  3. Mat points_mat = points;
  4. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  5. return retVal;
  6. }

代码示例来源:origin: abhn/marvel

  1. /**
  2. * <p>Finds a rotated rectangle of the minimum area enclosing the input 2D point
  3. * set.</p>
  4. *
  5. * <p>The function calculates and returns the minimum-area bounding rectangle
  6. * (possibly rotated) for a specified point set. See the OpenCV sample
  7. * <code>minarea.cpp</code>.
  8. * Developer should keep in mind that the returned rotatedRect can contain
  9. * negative indices when data is close the the containing Mat element boundary.</p>
  10. *
  11. * @param points Input vector of 2D points, stored in:
  12. * <ul>
  13. * <li> <code>std.vector<></code> or <code>Mat</code> (C++ interface)
  14. * <li> <code>CvSeq*</code> or <code>CvMat*</code> (C interface)
  15. * <li> Nx2 numpy array (Python interface)
  16. * </ul>
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#minarearect">org.opencv.imgproc.Imgproc.minAreaRect</a>
  19. */
  20. public static RotatedRect minAreaRect(MatOfPoint2f points)
  21. {
  22. Mat points_mat = points;
  23. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  24. return retVal;
  25. }

代码示例来源:origin: ytai/IOIOPlotter

  1. /**
  2. * <p>Finds a rotated rectangle of the minimum area enclosing the input 2D point
  3. * set.</p>
  4. *
  5. * <p>The function calculates and returns the minimum-area bounding rectangle
  6. * (possibly rotated) for a specified point set. See the OpenCV sample
  7. * <code>minarea.cpp</code>.
  8. * Developer should keep in mind that the returned rotatedRect can contain
  9. * negative indices when data is close the the containing Mat element boundary.</p>
  10. *
  11. * @param points Input vector of 2D points, stored in:
  12. * <ul>
  13. * <li> <code>std.vector<></code> or <code>Mat</code> (C++ interface)
  14. * <li> <code>CvSeq*</code> or <code>CvMat*</code> (C interface)
  15. * <li> Nx2 numpy array (Python interface)
  16. * </ul>
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#minarearect">org.opencv.imgproc.Imgproc.minAreaRect</a>
  19. */
  20. public static RotatedRect minAreaRect(MatOfPoint2f points)
  21. {
  22. Mat points_mat = points;
  23. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  24. return retVal;
  25. }

代码示例来源:origin: nu.pattern/opencv

  1. /**
  2. * <p>Finds a rotated rectangle of the minimum area enclosing the input 2D point
  3. * set.</p>
  4. *
  5. * <p>The function calculates and returns the minimum-area bounding rectangle
  6. * (possibly rotated) for a specified point set. See the OpenCV sample
  7. * <code>minarea.cpp</code>.
  8. * Developer should keep in mind that the returned rotatedRect can contain
  9. * negative indices when data is close the the containing Mat element boundary.</p>
  10. *
  11. * @param points Input vector of 2D points, stored in:
  12. * <ul>
  13. * <li> <code>std.vector<></code> or <code>Mat</code> (C++ interface)
  14. * <li> <code>CvSeq*</code> or <code>CvMat*</code> (C interface)
  15. * <li> Nx2 numpy array (Python interface)
  16. * </ul>
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#minarearect">org.opencv.imgproc.Imgproc.minAreaRect</a>
  19. */
  20. public static RotatedRect minAreaRect(MatOfPoint2f points)
  21. {
  22. Mat points_mat = points;
  23. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  24. return retVal;
  25. }

代码示例来源:origin: com.sikulix/sikulixapi

  1. /**
  2. * <p>Finds a rotated rectangle of the minimum area enclosing the input 2D point
  3. * set.</p>
  4. *
  5. * <p>The function calculates and returns the minimum-area bounding rectangle
  6. * (possibly rotated) for a specified point set. See the OpenCV sample
  7. * <code>minarea.cpp</code>.
  8. * Developer should keep in mind that the returned rotatedRect can contain
  9. * negative indices when data is close the the containing Mat element boundary.</p>
  10. *
  11. * @param points Input vector of 2D points, stored in:
  12. * <ul>
  13. * <li> <code>std.vector<></code> or <code>Mat</code> (C++ interface)
  14. * <li> <code>CvSeq*</code> or <code>CvMat*</code> (C interface)
  15. * <li> Nx2 numpy array (Python interface)
  16. * </ul>
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#minarearect">org.opencv.imgproc.Imgproc.minAreaRect</a>
  19. */
  20. public static RotatedRect minAreaRect(MatOfPoint2f points)
  21. {
  22. Mat points_mat = points;
  23. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  24. return retVal;
  25. }

代码示例来源:origin: jtsky/EasyPR_Android

  1. /**
  2. * <p>Finds a rotated rectangle of the minimum area enclosing the input 2D point
  3. * set.</p>
  4. *
  5. * <p>The function calculates and returns the minimum-area bounding rectangle
  6. * (possibly rotated) for a specified point set. See the OpenCV sample
  7. * <code>minarea.cpp</code>.
  8. * Developer should keep in mind that the returned rotatedRect can contain
  9. * negative indices when data is close the the containing Mat element boundary.</p>
  10. *
  11. * @param points Input vector of 2D points, stored in:
  12. * <ul>
  13. * <li> <code>std.vector<></code> or <code>Mat</code> (C++ interface)
  14. * <li> <code>CvSeq*</code> or <code>CvMat*</code> (C interface)
  15. * <li> Nx2 numpy array (Python interface)
  16. * </ul>
  17. *
  18. * @see <a href="http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#minarearect">org.opencv.imgproc.Imgproc.minAreaRect</a>
  19. */
  20. public static RotatedRect minAreaRect(MatOfPoint2f points)
  21. {
  22. Mat points_mat = points;
  23. RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj));
  24. return retVal;
  25. }

相关文章

Imgproc类方法