Example Name
|
ITK Classes Demonstrated
|
Description
|
Skeletonize/thin an image |
BinaryThinningImageFilter |
|
Scale an image |
ScaleTransform |
|
Resample (stretch or compress) an RGB image |
VectorResampleImageFilter |
Upsample, downsample, resize
|
Resample (stretch or compress) a segmented image |
LabelImageGaussianInterpolateImageFunction |
Upsample, downsample, resize
|
Compute the mutual information between two image |
MutualInformationImageToImageFilter |
|
Sharpen an image |
LaplacianSharpeningImageFilter |
|
Pixel-wise division of two images |
DivideImageFilter |
Divide images
|
Compute a distance map from objects in a binary image |
ApproximateSignedDistanceMapImageFilter |
|
Compute a distance map from objects in a binary image |
SignedDanielssonDistanceMapImageFilter |
|
Compute a distance map from objects in a binary image |
SignedMaurerDistanceMapImageFilter |
|
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 |
|
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 |
|
Pad an image by wrapping |
WrapPadImageFilter |
|
IntensityWindowingImageFilter |
IntensityWindowingImageFilter |
Apply a linear intensity transform from a specified input range to a specified output range.
|
Shrink an image |
ShrinkImageFilter |
Downsample an image
|
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/channel 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/channel 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 |
|
Stack multiple 2D images into a 3D image |
TileImageFilter |
|
Tile multiple images side by side |
TileImageFilter |
|
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 but clamp to the output value range |
ClampImageFilter |
|
Linearly interpolate a position in an image |
LinearInterpolateImageFunction |
|
HammingWindowFunction |
HammingWindowFunction |
|
Run an image filter on a region of an image |
PasteImageFIlter |
This example uses the RequestedRegion of a filter to process a subset of an image.
|