Replicate peaks from graph into image

Hello,
I have a distance plot in which maxima and minima are already detected. Maxima labelled as red asterix and minima as green.
From there, how do I plot these maxima and minima into a grayscale image.
Thank You.

댓글 수: 2

Image Analyst
Image Analyst 2013년 6월 27일
Post some screenshots at http://snag.gy, and post some code.
You can use plot() to put symbols into the overlay:
hold on;
plot(x, y, 'r*'); % x = column of the image, y = row, not vice versa!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

질문:

2013년 6월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by