Invert Intensity CLP

From user's Wiki!
Jump to: navigation, search
Invert Image Intensity

General Information

  • Type: CLP
  • Category: Filtering
  • Author: Xavi Planes
  • Contributor: Xavi Planes
  • Contact:
  • Description: Invert the intensity of an image. InvertIntensityImageFilter inverts intensity of pixels by subtracting pixel value to a maximum value. The maximum value can be set with SetMaximum and defaults the maximum of input pixel type. This filter can be used to invert, for example, a binary image, a distance map, etc.



Label Type Flag / Index Default value / Channel Description
maximum double --maximum 0.0
Input Volume image index 0 input Input Volume
Output Volume image index 1 output Output Volume


Sample Data:MRI Brain

Invert Image Intensity


Source code: C++ Source code and XML description

Go back to Users