Draws intensity profiles of an already displayed image
[x,y,hprofile,vprofile]=imxprofile(matrix[,option,xscale,yscale,zscale,maximal_luminance])
If a color image is displayed, it's internally converted to a gray one to display intensity profiles.
This image should be displayed before invoquing imxprofile.
Default=0.
Default=1.
Default=1.
The default setting is to calculate a value such that the maximal value of the image will be displayed at a quarter of the image.
This is an improved version of improfile: it's supposed to be more intuitive and pleasant.
The function draws the values of pixels on a line and a row. It can draw profiles on the image and in separate windows.
People interested in determining the radius w of a laser beam (in order to calculate its beam waist for example) can try option=2.
http://siptoolbox.sourceforge.net