extract integrated intensity profiles from image (Scripts) Publisher's description
from Bernd H
improfile_integrated' computes intensity values along a line or multiline in a greyscale images
'improfile_integrated' computes intensity values along a line or multiline in a greyscale images. Parameter d gives the opportunity to integrate along thicker lines with width d.
Please note the 'known problems' section!
I : image (only grayscale)
d : thickness of line for integration
xi, yi : x-/y- coordinates of line profile
CX, CY : (center) coordinates of intensity values
C : intensity along path, single line scan (from improfile)
C_sum : integrated intensity profile of line with thickness d
% image with step in the middle, the oise free image
% image is noisy but step is clearly visible
% do a ten pixel averaging
grid on, axis tight
xlabel('lateral distance [px]');
title('comparision of single linescan and integrated line scan');
sometimes the routine fails because of the numerical method of finding
the rotated data points. An error is printed. The try it again with a
slightly different line scan.
is still not reliable, but up to my knowledge the first routine wich
extracts integrated intensity profiles under Matlab. This is a standard
tool in image analysis.
Feel free to improve it!
System Requirements:MATLAB 7.1.0 (R14SP3)
Program Release Status: New Release
Program Install Support: Install and Uninstall