Exponentiation Filters

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3227
Two simple filters are contributed to compute the exponential of an image: the first one to raise the image to the power of a constant, the other one to raise the image to the power of the values provided in another image.
minus Automatic Testing Results by Insight-Journal Dashboard on Mon Nov 22 09:49:31 2010 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 4.5
yellow This project passed all of its tests.
Click here for more details.

Go here to access the main testing dashboard.

minus Pow filter is long overdue by Dan Mueller on 2010-11-02 07:59:54 for revision #1
starstarstarstarstar expertise: 4 sensitivity: 4.5

This paper describes two new filters for raising an input image by a given power/exponent.


The complete source code, tests, and baseline output images are provided.

Open Science:

The complete source code, tests, input images, and baseline output images are provided.


I downloaded the code, compiled it, and ran it. I had some trouble getting the automated tests to run (I'm not sure I correctly configured the ITK test driver program). In the end I ran the tests manually and received the expected output.

Use of Open Source Software:

The paper proposes new filters for the ITK.

Code Quality :

The files meet the ITK coding guidelines.

Free comment :

I would much prefer that only one filter is added: itkPowImageFilter. This single filter should combine the functionality of the proposed itkPowImageFilter and itkConstantPowImageFilter. That is, the single itkPowImageFilter should support a power image, and if not provided fall back to using a constant. This is similar to say the itkFastMarchingImageFilter which expects a speed image, but if not provided uses a speed constant (default = 1.0).


Also, it would be nice to provide a SetPowImage() function to avoid the use of SetInput(1, powImage).

Comment by Gaetan Lehmann: implementation choices yellow
Hi Dan,

Thanks a lot for your review.

The filters are implemented as subclasses of UnaryFunctorImageFilter and BinaryFunctorImageFilter. I'd like to keep it that way, because it makes the implementation very easy and gives access to in place processing at no cost. It would be quite difficult to implement the two filters in a single one because of that.
It would be a very interesting feature to implement in BinaryFunctorImageFilter though, and would avoid all the recent filters with Constant in their name - Add, Divide, Multiply and Subract filters.
I agree about the SetPowImage() - I'll add it soon.


Add a new review
Quick Comments

Download All
Download Paper , View Paper
Download Source code

Statistics more
Global rating: starstarstarstarstar
Review rating: starstarstarstarstar [review]
Code rating: starstarstarstarstar
Paper Quality: plus minus

Information more
Categories: Filtering, Mathematics
Keywords: pow, filter
Toolkits: ITK, CMake
Export citation:


Linked Publications more
Diffeomorphic Demons Using ITK's Finite Difference Solver Hierarchy Diffeomorphic Demons Using ITK's Finite Difference Solver Hierarchy
by Vercauteren T., Pennec X., Perchant A., Ayache N.
Surface Meshes Incremental Decimation Framework Surface Meshes Incremental Decimation Framework
by Gelas A., Gouaillard A., Megason S.

View license
Loading license...

Send a message to the author
ISSN 2327-770X
Powered by Midas