Replicate peaks from graph into image

5 次查看(过去 30 天)
Shirah
Shirah 2013-6-27
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.
Image Analyst
Image Analyst 2013-6-28
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 个)

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by