NOT_CVIP

not_cvip() - Performs logical NOT operation on input image.

Contents

SYNTAX

Z = not_cvip(X)

Input parameter includes:

Output parameter includes:

DESCRIPTION

This function performs bitwise NOT on each element in array X and returns the result of bitwise NOT operation in the corresponding element of the output array Z.

Z is an array of type uint8 or uint16 depending upon the input X.

REFERENCE

1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.

EXAMPLE

% Read image

 X = imread('Cam.bmp');

% Call function

 S = not_cvip(X);

% Display input image

 figure;imshow(X);title('Input image');

% Display output images

 figure;imshow(S,[]);title('Output image');

CREDITS

Author: Deependra Mishra, March 2017
Copyright © 2017-2018 Scott E Umbaugh
For updates visit CVIP Toolbox Website