Left To Right wash function (once a white pixel is found, all pixels to
its right are also set to white).
function call:
[out_img1]=vsg('B2TWash',in_img1);
Arguments:
in_img1
input image, 3 channel
Description:
out_img1
– An image which has dimensions the same as the input image. The output
image will be set to white from the location of each white pixel in the
input image and right of that pixel.
Example:
img = openimage('crown.jpg');
h=figure;image(uint8(img));set(h,'Name','Input
Image');
[out_img1]=vsg('L2RWash',img);
h=figure;imagesc((out_img1(:,:,1)));colormap(gray);set(h,'Name','L2RWash');
Notes:
1. For DICOM images,
the function operates on all slices separately.
2. For