问题标签 [straight-line-detection]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - How to identify lines, starting point and ending point of each line in a floor plan using opencv?
I am creating a tool to generate 3d model of a house by analyzing its floor plan. Up to now i was able to isolate all the wall of a floor plan.
Isolated Walls :-
Then I tried applying hough transformation to identify lines and its corresponding coordinates. But the problem is identified lines are all vertical lines.
After drawing all the detected lines into the floor plan :-
After reducing number of lines drawn to the image :-
You can clearly see that all the lines are vertical.
What i actually want is to identify all the lines and each of its starting point and ending point.
opencv - 找出给定边缘(canny 或 sobel)图像中直线和曲线的数量
我已经尝试过直线霍夫算法,但它只检测图像的最外层框架(大部分时间为正方形)。所有内部信息都被忽略了。
我实际上想计算(存储结果)给定边缘图像中的直线和曲线。
我遇到了傅立叶系数的概念,这对我有帮助吗?因为我看到了它的应用。他们提到了图像分析,特别是形状。
c# - 从点的集合中检测弧线和线段
我正准备创建一个程序来从点 (x,y) 的集合中检测弧线和线段,这些点 (x,y) 通常会创建一个封闭的多边形。我只是不知道从哪里开始。也许有人知道“准备好”图书馆(可以付费)为我做这样的思考?或者可能是一些相对容易实现的算法命题?我正在寻找任何建议。
python - 如何对绿地/草地中的白线进行图像分割
正如标题所述,我正在尝试进行图像分割,以期进行“车道”检测。这是我要测试的示例图像。
这是我的第一次编码尝试,基本上是在网上找到的。
这是输出。
有点接近,但不是我想要的。任何提示或有用的建议?