(Image processing) x and y axis graph

1 次查看(过去 30 天)
Hello everyone,
(I can use MATLAB or python)
I'm really struggling in this one so I'd be really grateful if anyone could help me, I have an image with 2 red lines(that intersect), I know there are methods that can give us a new image with only objects colored in a particular color using image processing(in my case red) so my question is, is there an algorithm or method that can show me the x and y axis graph in the photo(doesn't matter if it's on the bottom left of the photo or where the 2 lines intersect) so I could write some lines of code to be able to get the angle between the 2 lines?
Please and thank you.
Daniel.

回答(1 个)

Astha Singh
Astha Singh 2019-3-13
If you just want to display the x-ticks and y-ticks in your image, you can set the 'axis' as on, followed by 'imshow'
I = imread('pout.tif');
imshow(I)
axis on;

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by