Inverse the LUT of the input image.
function call:
[out_img1]=vsg('Inverse',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
pixel values are 255 minus the input pixel values.
Example:
img = openimage('crown.jpg');
h=figure;image(uint8(img));set(h,'Name','Input
Image');
[out_img1]=vsg('Inverse',img);
h=figure;image(uint8(out_img1));set(h,'Name','Inverse');
Notes:
1. For DICOM images,
the function operates on all slices separately.
2. For