Intensity Profiles

download notebookDownload this example as a Mathematica notebook.

Digital Image Processing defines a large number of specialized functions in order to increase your productivity in performing many common image analysis operations.


Function LineProfile is useful in obtaining details of amplitude variations in an image by returning pixel values along some arbitrary user-selected path. Here we use LineProfile to extract data values along a path defined by Line and ListPlot to plot them. The path was selected using the mouse.


This loads the example image.


This returns a graphics object showing the original image with a thin red line marking the selected path.


This displays the intensity profile along the selected path.