MATLAB: Plotting a profile for a line on an image

Image Processing ToolboxMATLABplotprofile

Dear all
I have an x-ray image (in the .tif format) of an object and I would like to draw a line across a part of the image and then plot the profile. I can do this step by step on ImageJ but I was wondering if I could do this in Matlab.
Thank you

Best Answer

Use improfile(). If you want me to post a demo, let me know.
Related Question