Draw lines in image
2 次查看(过去 30 天)
显示 更早的评论
hello How I convert the 2.png 3.png 4.png 6.png
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168531/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168532/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168534/image.png)
convert to be like the 22.png
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168535/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168537/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168538/image.png)
that the lines intersect each othe such a way that these lines also toch maximum whote pixels
2 个评论
Rik
2017-10-21
You need to explain what you want more clearly, because right now I don't understand what you mean, so I can't help you. Please edit your question or answer in a comment.
Image Analyst
2017-10-21
How are you determining the angles of the red lines? It does not look like you are simply fitting a few of the pixels at the end of the curve to a line with polyfit(). So how are you setting those angles?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!