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 个评论

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