ITK
6.0.0
Insight Toolkit
|
#include <itkPowImageFilter.h>
Computes the powers of 2 images.
This class is templated over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
The output of the pow function will be cast to the pixel type of the output image.
The total operation over one pixel will be
The pow function can be applied to two images with the following:
Additionally, this filter can be used to raise every pixel of an image to a power of a constant by using