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