ModulusImageFilter

Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/144
ModulusImageFilter is a simple image filter to compute the modulus (x % dividend) pixel-wise.
Data
minus 2 Files (156Kb)
Code
minus Automatic Testing Results by Insight-Journal Dashboard on Wed Nov 23 13:28:06 2005 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 5
yellow This project passed all of its tests.
Click here for more details.

Go here to access the main testing dashboard.

Reviews
minus Quick addition to itk unary image filters by Bill Lorensen on 01-30-2006 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 5
yellow
Summary:
An itk UnaryImageFilter that computes the modulus of an image.

Evidence:
The figures in the paper illustrate the technique. A test is also provided with both input and output images.

Open Science:
All the code is present.

Reproducibility:
I downloaded the code. It compiled on both Visual Studio 7 and Borland.
I had to edit the CMakeLists.txt file to add ${EXECUTABLE_OUTPUT_PATH} to the ADD_TEST command so that I could run the tests with ctest.

ADD_TEST(Modulus ${EXECUTABLE_OUTPUT_PATH}/modulus ${CMAKE_SOURCE_DIR}/Spots.png out.png distance.png)
ADD_TEST(CompareImage ${EXECUTABLE_OUTPUT_PATH}/ImageCompare out.png ${CMAKE_SOURCE_DIR}/modulus.png)


Use of Open Source Software:
The author used CMake and itk.

Open Source Contributions:
All source and test code was provided.

Code Quality:
Programming style conforms to itk style. Name of class and methods are acceptable. A PrintSelf method is provided.

Suggestions for future work:
Before adding to itk, the operator== and operator!= methods should be added to the Functor. This corresponds to recent changes in itk. Also, the test should be modified to use the itk testing framework before adding to itk. This work can be done by the itk Shepard for this code.

Comment by Gaetan Lehmann: method names comments yellow
I would be pleased to see a good english speaker rename the class and methods to something which seems better to an english reader. I'm just not good enough in english to say if what I choose is correct.

Gaetan
minus Small simple contribution, only small extenstion suggested. by Jim Miller on 01-27-2006 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 5
yellow
Summary:
Unary functor filter to perform the modulus operator per pixel.


Use of Open Source Software:
This is subclass of UnaryFunctorImageFilter

Code Quality:
Visual inspection of the code looks fine.


Suggestions for future work:
Should probably use the ConceptChecking facilities to ensure the input image type is integral.
Add a new review
Quick Comments


Resources
backyellow
Download All

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

Information more
backyellow
Categories: Filtering
Keywords: Modulus, UnaryFunctorImageFilter
Toolkits: ITK (moved into the toolkit), CMake
Export citation:

Share
backyellow
Share

Linked Publications more
backyellow
Anisotropic Fast Marching in ITK Anisotropic Fast Marching in ITK
by Mirebeau J.
ITK in Biomedical Research and Commercial Applications ITK in Biomedical Research and Commercial Applications
by McCormick M., Aylward S., Johnson H., Lowekamp B.

View license
Loading license...

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