久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

使用 OpenCV 進行橢圓檢測

Ellipse detection with OpenCV(使用 OpenCV 進行橢圓檢測)
本文介紹了使用 OpenCV 進行橢圓檢測的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我想使用 OpenCV for Android 檢測橢圓,使用 OpenCV 2.4.1 包中包含的 Tutorial 2-Basic 作為起點.請注意,我的橢圓將是一個完美的 Photoshop 橢圓.

I would like to detect ellipses with OpenCV for Android, using the Tutorial 2-Basic included with OpenCV 2.4.1 package as a starting point. Note that my ellipse would be a perfect-photoshop one.

據我了解,使用HoughCircles"只會找到完美(或左右)的圓圈,因此會忽略橢圓.

From what I understand, using the "HoughCircles" will only find perfect (or so) circles, thus leaving ellipses out.

任何幫助將不勝感激,因為我是 OpenCV 的初學者

Any help would be much appreciated as I am a total beginner at OpenCV

這是我迄今為止嘗試過的

This is what I've tried so far

    case Sample2NativeCamera.VIEW_MODE_CANNY: (ignore the Canny mode...)

        capture.retrieve(mGray, Highgui.CV_CAP_ANDROID_GREY_FRAME);
        Imgproc.HoughCircles(mGray, mCircles, Imgproc.CV_HOUGH_GRADIENT, 1, 20);
        Log.d("Ellipse Points", " X " + mCircles.get(1,1)[0] + mCircles.get(1, 1)[1]);

        break;

如果您認為任何更多信息可能有用,請告訴我.

If you think any more info could be useful, please let me know.

推薦答案

您的問題的一個可能解決方案類似于此線程 Detection of圖片上的硬幣(和適合的橢圓) .

One possible solution to your problem is similar to this thread Detection of coins (and fit ellipses) on an image .

你應該看看opencv的函數fitEllipse.

You should take a look a opencv's function fitEllipse.

這篇關于使用 OpenCV 進行橢圓檢測的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數據庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 一区 | 久久中文字幕一区 | 亚洲精品成人在线 | 亚洲精品www久久久久久广东 | 午夜精品久久久久久久 | 亚洲精品电影在线观看 | 免费一区在线观看 | 日韩一区二区三区视频 | 免费黄色的视频 | 91久久精 | 欧美日韩在线一区二区 | 一区二区三区中文字幕 | 久热精品在线播放 | 毛片网站在线观看 | 日韩三级电影一区二区 | 亚洲狠狠 | 欧美老少妇一级特黄一片 | 日韩精品在线看 | 999久久久久久久久6666 | 成人在线观看中文字幕 | 在线一区 | 91精品久久久 | 欧美性精品 | 久久国产传媒 | 国产精品中文在线 | 久久人人网 | 毛片区| 欧美成视频在线观看 | 国产成人久久精品 | 午夜三区 | 日韩视频区| 美国一级黄色片 | 亚洲视频在线一区 | 91精品国产一区二区在线观看 | 亚洲欧美日韩国产综合 | 中文字幕高清在线 | 精品国产欧美一区二区 | 成人免费久久 | 国产精品免费一区二区三区 | 欧美日韩在线视频观看 | 日韩福利|