Using a Mask to Decrease Computation Time for SpatialObject to Image Conversions

Please use this identifier to cite or link to this publication:
This article presents an approach for decreasing the computational time for converting a sparse SpatialObject to an Image. The method is applicable for SpatialObjects which occupy less volume than the total output Image (which occurs often, especially when using TubeSpatialObjects to represent vessels). A new filter MaskedSpatialObjectToImageFilter is introduced which dramatically decreases the execution time by creating a mask of relevant pixels. The mask is computed by calling the conventional SpatialObjectToImageFilter at a lower resolution, which is significantly faster for large images. The mask is then up-sampled to control which areas are further processed.
minus 2 Files (1Mb)
There is no code review at this time.

There is no review at this time. Be the first to review this publication!

Quick Comments

Download All

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

Information more
Keywords: ITK, SpatialObject, Image, convert, fast, speed, time
Toolkits: ITK
Export citation:


Linked Publications more
N4ITK:  Nick's N3 ITK Implementation For MRI Bias Field Correction N4ITK: Nick's N3 ITK Implementation For MRI Bias Field Correction
by Tustison N., Gee J.
Exporting Contours to DICOM-RT Structure Set Exporting Contours to DICOM-RT Structure Set
by Gorthi S., Bach Cuadra M., Thiran J.

View license
Loading license...

Send a message to the author
Powered by Midas