Hello There,<div><br></div><div><br></div><div>I&#39;m generating an image with a sphere at a specific point using</div><div>EllipseSpatialObject for the sphere, GroupSpatialObject to put the sphere in a desired place in the image and SpatialObjectToImageFilter to generate the sphere image (in fact is a mask image).</div>
<div><br></div><div>However, even if the image is not too big, the execution speed of the pipeline is really really slow.</div><div><br></div><div>The image that we generate is 256x256x136 with spacing 0.7,0.7,0.8 and the sphere generated has about 27 pixels of radius.</div>
<div><br></div><div>In debug version, the generation of the sphere costs 1700 segs, and release versions 220 seconds. Certaninly, too much time to just generate a mask image of a spheical region.</div><div><br></div><div>
Does anybody had experienced such times with the generagion of spheres? What I&#39;m doing wrong...</div><div><br></div><div>Is there any other (fastest) way to generate an spherical / elliptical mask image?</div><div><br>
</div><div>Regards &amp; Thanks</div><div><br><div><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>

</div></div>