Pixel summation along the line.
function call:
[out_img1]=vsg('L2RSum',in_img1);
Arguments:
in_img1
input image, 3 channel
Description:
out_img1
– An image which has dimensions the same as the input image. This is the
running integral on each row, starting from the left, normalised by the
image width. Only the right most column of the output image is used to
store the sum totals.
Example:
img = openimage('crown.jpg');
[out_img1]=vsg('L2RSum',img);
h=figure;imagesc((out_img1(:,:,1)));colormap(gray);
Notes:
1. For DICOM images,
the function operates on all slices separately.
2. For