The Insight Journal logo

itkEllipseBoundaryToImageFilter

Zhao, Zheen
Duke University
The Insight Journal logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/218
New: Prefer using the following doi: https://doi.org/10.54294/p6jzm7
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 www.itk.org, 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.