MATLAB Answers

Overlay axis on an image

2 views (last 30 days)
Hi All,
I have the following image of an fft peak where the peak is shifed a few pixels away from the origin. To better dispaly this I was hoping I could overlay a red cross to insect the 50, 50 point of the image.
Is there an easy way to do this?

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 1 Feb 2021
Edited: KALYAN ACHARJYA on 1 Feb 2021
"To better dispaly this I was hoping I could overlay a red cross to insect the 50, 50 point of the image."
Insert the marker on the image
%After Image Show/display
hold on;
[r,c]=size(image);
plot(round(c/2),round(r/2),'r*','MarkerSize',10);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!