marking a pixel on an image
9 views (last 30 days)
Show older comments
hello, I am working with hyperspectral images.After certain calculations on latitude longitude values i got back the pixel values.Now i want to mark those pixels on the image.Can you please help me??
Thank you!! Ekta Shah
0 Comments
Answers (1)
Image Analyst
on 8 Apr 2012
Use
hold on;
plot(longitude, latitude, 'r+', 'MarkerSize', 5, 'LineWidth', 3);
or other parameters in plot() to get it looking the way you want.
(longitude, latitude) are the (x,y) values (i.e., column, row) values of your image.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!