Example Name
|
ITK Classes Demonstrated
|
Description
|
Sharpen an image |
LaplacianSharpeningImageFilter |
|
Pixel-wise division of two images |
DivideImageFilter |
Divide images
|
Compute a distance map from objects in a binary image |
ApproximateSignedDistanceMapImageFilter |
|
Multiply a kernel with an image at a particular location |
NeighborhoodOperatorImageFunction |
|
Scale all pixels so that their sum is a specified constant |
NormalizeToConstantImageFilter |
|
RegionalMinimaImageFilter |
RegionalMinimaImageFilter |
|
RegionalMaximaImageFilter |
RegionalMaximaImageFilter |
|
Find zero crossings in a signed image |
ZeroCrossingImageFilter |
|
Construct a multiresolution pyramid from an image |
RecursiveMultiResolutionPyramidImageFilter |
|
Add a constant to every pixel in an image |
AddImageFilter |
|
Subtract a constant from every pixel in an image |
SubtractImageFilter |
|
Square every pixel in an image |
SquareImageFilter |
|
Upsampling an image |
BSplineInterpolateImageFunction ResampleImageFilter |
Interpolate missing pixels in order to upsample an image. Note this only works on scalar images.
|
Flip an image over specified axes |
FlipImageFilter |
|
Apply a transformation to the magnitude of vector valued image pixels |
VectorRescaleIntensityImageFilter |
|
Apply a kernel to every pixel in an image |
NeighborhoodOperatorImageFilter |
|
Apply a kernel to every pixel in an image that is non-zero in a mask |
MaskNeighborhoodOperatorImageFilter |
|
Compute the Laplacian of an image |
LaplacianImageFilter |
Input image type must be double or float
|
Pad an image with a constant value |
ConstantPadImageFilter |
|
IntensityWindowingImageFilter |
IntensityWindowingImageFilter |
Apply a linear intensity transform from a specified input range to a specified output range.
|
Shrink an image |
ShrinkImageFilter |
Downsample an image
|
Normalized correlation |
NormalizedCorrelationImageFilter |
|
Multiply every pixel in an image by a constant |
MultiplyImageFilter |
|
Compute the squared difference of corresponding pixels in two images |
SquaredDifferenceImageFilter |
|
Compute the absolute value of the difference of corresponding pixels in two images |
AbsoluteValueDifferenceImageFilter |
|
Add a constant to every pixel without duplicating the image in memory (an accessor) |
AddPixelAccessor |
|
ValuedRegionalMaximaImageFilter |
ValuedRegionalMaximaImageFilter |
|
ValuedRegionalMinimaImageFilter |
ValuedRegionalMinimaImageFilter |
|
Pixel wise compare two input images and set the output pixel to their max |
MaximumImageFilter |
|
Pixel wise compare two input images and set the output pixel to their min |
MinimumImageFilter |
|
Binary AND two images |
AndImageFilter |
|
Binary OR two images |
OrImageFilter |
|
Binary XOR (exclusive OR) two images |
XorImageFilter |
|
Invert an image using the Binary Not operation |
BinaryNotImageFilter |
|
Compose a vector image (with 3 components) from three scalar images |
ComposeImageFilter |
|
Extract a component of an itkImage with pixels with multiple components |
NthElementImageAdaptor |
Use built in functionality to extract a component of an itkImage with CovariantVector components. Note this does not work for itkVectorImages - see VectorIndexSelectionCastImageFilter instead.
|
Present an image by first performing an operation |
ImageAdaptor |
A demonstration of how to present an image pixel as a function of the pixel. In this example the functionality of NthElementImageAdaptor is demonstrated.
|
Process the nth component/element of a vector image |
NthElementImageAdaptor |
|
Convolve an image with a kernel |
ConvolutionImageFilter |
Convolution.
|
Crop an image by specifying the region to keep |
ExtractImageFilter |
|
Crop an image by specifying the region to throw away |
CropImageFilter |
|
Compute the absolute value of an image |
AbsImageFilter |
magnitude
|
Invert an image |
InvertIntensityImageFilter |
|
Apply a mask to an image |
MaskImageFilter |
|
Apply the inverse of a mask to an image |
MaskNegatedImageFilter |
|
Pass image pixels through a sigmoid function |
SigmoidImageFilter |
The qualitative description of how Alpha and Beta affect the function from the ITK Software Guide and the associated images would be nice to add to the doxygen.
|
Threshold an image |
ThresholdImageFilter |
The result is the original image but with the values below (or above) the threshold "clamped" to an output value.
|
Threshold an image |
BinaryThresholdImageFilter |
The result is a binary image (inside the threshold region or outside the threshold region).
|
Apply a custom operation to each pixel in an image |
UnaryFunctorImageFilter |
Perform a custom operation on every pixel in an image. This example rotates the vector-valued pixels by 90 degrees.
|
Apply a predefined operation to corresponding pixels in two images |
BinaryFunctorImageFilter |
|
Apply a custom operation to corresponding pixels in two images |
BinaryFunctorImageFilter |
This example computes the squared difference between corresponding pixels.
|
Find the minimum and maximum value (and the position of the value) in an image |
MinimumMaximumImageCalculator |
|
Add two images together |
AddImageFilter |
|
Subtract two images |
SubtractImageFilter |
|
Paste a part of one image into another image |
PasteImageFilter |
|
Stack multiple 2D images into a 3D image |
TileImageFilter |
|
Tile multiple images side by side |
TileImageFilter |
|
Multiply two images together |
MultiplyImageFilter |
|
Extract a portion of an image (region of interest) |
RegionOfInterestImageFilter |
|
Rescale the intensity values of an image to a specified range |
RescaleIntensityImageFilter |
|
Normalize an image |
NormalizeImageFilter |
|
Cast an image from one type to another |
CastImageFilter |
|
Switch the axes of an image |
PermuteAxesImageFilter |
|
Linearly interpolate a position in an image |
LinearInterpolateImageFunction |
|
HammingWindowFunction |
HammingWindowFunction |
|