How to display color intensity contour of gray scale image

2 次查看(过去 30 天)
Last year I used image aquisition and processing toolboxs to display the contour profile of a laser beam. Now I can only capture the color image. I forgot how to perform steps 2 and 3 (which app in image processing toolbox?) : 1) Capture imaage with Image Aquisition Toolbox, 2) convert to gray image, and 3) display contour?
Can I get some suggestions on how to get pictures 2) and 3) starting from the first picture 1)?
Seems stupid, but I am clicking on all the image processing toolbox apps and just not finding my way through the steps as I did a year ago!
Step 1) Capture Image
Step 2) Convert to gray (using image processing toolbox?)

回答(1 个)

Walter Roberson
Walter Roberson 2024-11-3
Converting to gray is rgb2gray
Displaying the image in the indicated way would probably be surf followed by a colormap call.

Community Treasure Hunt

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

Start Hunting!

Translated by