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: xavier.planes@upf.edu
  • 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.

Usage

Parameters

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

Examples

Sample Data:MRI Brain

Invert Image Intensity

Development

Source code: C++ Source code and XML description

Go back to Users