(Image processing) x and y axis graph

1 Ansicht (letzte 30 Tage)
Daniel Kamel
Daniel Kamel am 9 Mär. 2019
Beantwortet: Astha Singh am 13 Mär. 2019
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.

Antworten (1)

Astha Singh
Astha Singh am 13 Mär. 2019
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;

Community Treasure Hunt

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

Start Hunting!

Translated by