NOT

Boolean NOT operation.

 

function call:

[out_img1]=vsg('NOT',in_img1);

 

Arguments:

in_img1 input image, 3 channel RGB, 1 channel greyscale or binary image, or DICOM image.

 

Description:

out_img1 - An image with the same dimensions as the input image. The output image values are 255 minus the in_img1 values.

 

Examples:

img1 = openimage('baboon.jpg');

h=figure;image(uint8(img1));

[out_img1]=vsg('NOT',img1);

h=figure; image(uint8(out_img1));set(h,'Name','output');axis image;
Home       Functions       Back