Clear Filters
Clear Filters

(Image processing) x and y axis graph

1 view (last 30 days)
Daniel Kamel
Daniel Kamel on 9 Mar 2019
Answered: Astha Singh on 13 Mar 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.

Answers (1)

Astha Singh
Astha Singh on 13 Mar 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;

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!