The Insight Journal logo


Zhao, Zheen
Duke University
The Insight Journal logo

Please use this identifier to cite or link to this publication:
New: Prefer using the following doi:
Submitted by Zheen Zhao on 2006-07-10T18:18:23Z.

The current conversion from an ellipse spatial object to an image using SpatialObjectToImageFilter filter could cost minutes because the filter traverses all pixels in the output image. This delay is quite noticeable during applications such as human-machine interface. This document describes a contribution to the Insight Toolkit ITK, which implements what we call an itk::EllipseBoundaryToImageFilter. This is a derived from SpatialObjectToImageFilter. It marks the output image by setting the pixels along the boundary of the input ellipse to the InsideValue and the OutsideValue elsewhere. This filter is fast because it traverses the boundary only. This paper is accompanied with the source code.