Replicate peaks from graph into image

2 vues (au cours des 30 derniers jours)
Shirah
Shirah le 27 Juin 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 commentaires
Image Analyst
Image Analyst le 27 Juin 2013
Post some screenshots at http://snag.gy, and post some code.
Image Analyst
Image Analyst le 28 Juin 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!

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by