• <i id='81wkG'><tr id='81wkG'><dt id='81wkG'><q id='81wkG'><span id='81wkG'><b id='81wkG'><form id='81wkG'><ins id='81wkG'></ins><ul id='81wkG'></ul><sub id='81wkG'></sub></form><legend id='81wkG'></legend><bdo id='81wkG'><pre id='81wkG'><center id='81wkG'></center></pre></bdo></b><th id='81wkG'></th></span></q></dt></tr></i><div id='81wkG'><tfoot id='81wkG'></tfoot><dl id='81wkG'><fieldset id='81wkG'></fieldset></dl></div>

      <legend id='81wkG'><style id='81wkG'><dir id='81wkG'><q id='81wkG'></q></dir></style></legend>

      <small id='81wkG'></small><noframes id='81wkG'>

    1. <tfoot id='81wkG'></tfoot>

        <bdo id='81wkG'></bdo><ul id='81wkG'></ul>

        来自点数组列表的java圆识别

        java circle recognition from an arraylist of points(来自点数组列表的java圆识别)
        <i id='1UN7G'><tr id='1UN7G'><dt id='1UN7G'><q id='1UN7G'><span id='1UN7G'><b id='1UN7G'><form id='1UN7G'><ins id='1UN7G'></ins><ul id='1UN7G'></ul><sub id='1UN7G'></sub></form><legend id='1UN7G'></legend><bdo id='1UN7G'><pre id='1UN7G'><center id='1UN7G'></center></pre></bdo></b><th id='1UN7G'></th></span></q></dt></tr></i><div id='1UN7G'><tfoot id='1UN7G'></tfoot><dl id='1UN7G'><fieldset id='1UN7G'></fieldset></dl></div>
            <tbody id='1UN7G'></tbody>

            • <small id='1UN7G'></small><noframes id='1UN7G'>

            • <legend id='1UN7G'><style id='1UN7G'><dir id='1UN7G'><q id='1UN7G'></q></dir></style></legend>

                <bdo id='1UN7G'></bdo><ul id='1UN7G'></ul>
                <tfoot id='1UN7G'></tfoot>
                • 本文介绍了来自点数组列表的java圆识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我目前有一个来自画布上的手绘点的数组列表.我想知道是否有一个简单的算法来检测该形状是否代表一个圆圈.我已经对此进行了一些研究,我指出的主要项目是霍夫变换或位图图像,但这两者似乎都有点过头了我需要它的顶部.任何指向算法或实现的指针都会非常有帮助.

                  I currently have an arraylist of points from a freehand drawing on a canvas. I was wondering if there is a simple algorithm to detect if that shape represents a circle.I have already researched this a little and the main items I am pointed at are either the Hough transform or having bitmap images but both of these seem a little over the top for what I need it for. Any pointers to algorithms or implementation would be very helpful.

                  提前感谢sansom,

                  thanks in advance sansoms,

                  推荐答案

                  如果你不知道用户想要画什么(例如,圆、椭圆、直线或矩形),你可以使用一些基本的优化算法来找到与手绘点最匹配的形状.

                  If you do not know what the user wanted to draw (e.g., a circle, an ellipse, a line, or a rectangle), you could use some basic optimization algorithm to find the shape best matching the hand-drawn points.

                  • 对于每个基本形状(椭圆形、矩形、三角形、直线等),创建该形状的随机实例并测量误差 w.r.t.给定点
                  • (单独)优化每个形状,直到获得与给定点最匹配的椭圆、与点最匹配的矩形、最佳三角形等.
                  • 选择误差最小的形状并绘制它

                  这篇关于来自点数组列表的java圆识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  <legend id='n7Jkk'><style id='n7Jkk'><dir id='n7Jkk'><q id='n7Jkk'></q></dir></style></legend>
                    <tbody id='n7Jkk'></tbody>
                  <tfoot id='n7Jkk'></tfoot>

                • <i id='n7Jkk'><tr id='n7Jkk'><dt id='n7Jkk'><q id='n7Jkk'><span id='n7Jkk'><b id='n7Jkk'><form id='n7Jkk'><ins id='n7Jkk'></ins><ul id='n7Jkk'></ul><sub id='n7Jkk'></sub></form><legend id='n7Jkk'></legend><bdo id='n7Jkk'><pre id='n7Jkk'><center id='n7Jkk'></center></pre></bdo></b><th id='n7Jkk'></th></span></q></dt></tr></i><div id='n7Jkk'><tfoot id='n7Jkk'></tfoot><dl id='n7Jkk'><fieldset id='n7Jkk'></fieldset></dl></div>

                        • <small id='n7Jkk'></small><noframes id='n7Jkk'>

                            <bdo id='n7Jkk'></bdo><ul id='n7Jkk'></ul>