How to display color intensity contour of gray scale image

17 views (last 30 days)
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?)

Answers (1)

Walter Roberson
Walter Roberson on 3 Nov 2024 at 23:38
Converting to gray is rgb2gray
Displaying the image in the indicated way would probably be surf followed by a colormap call.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!