Replicate peaks from graph into image

1 view (last 30 days)
Shirah
Shirah on 27 Jun 2013
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 Comments
Image Analyst
Image Analyst on 27 Jun 2013
Post some screenshots at http://snag.gy, and post some code.
Image Analyst
Image Analyst on 28 Jun 2013
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!

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!