(Image processing) x and y axis graph

조회 수: 7 (최근 30일)
Daniel Kamel
Daniel Kamel 2019년 3월 9일
답변: Astha Singh 2019년 3월 13일
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.

답변 (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');
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