It would help if you pasted your code. I think you might have a small bug that you overlooked. -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-EllipsoidInteriorExteriorSpatialFunction-tp7587522p7587523.html Sent from the ITK Insight Users mailing list archive at Nabble.com.