Hi, I've been using SpatialObjectToImageFilter for a while to create synthetic images and have been upset with the run time. For 10 ellipse objects (3d) the run time is 1 minute, for 20 objects it's around 5 minutes. Everything is compiled in release mode, and the rest of the kit runs as expected. <br>
<br>I found an email on the emailing list where Dan Mueller suggests using MaskedSpatialObjectToImageFilter <br><a href="http://itk-users.7.n7.nabble.com/SpatialObjectToImageFilter-slow-td27261.html">http://itk-users.7.n7.nabble.com/SpatialObjectToImageFilter-slow-td27261.html</a><br>
Unfortunately the code does not compile; some typedefs are not defined, and some variables are not declared. I tried fixing them and got it to compile but when I tried running the example I got a blank image. Do you have any suggestions?<br clear="all">
<br>Thanks, <br>Cagatay <br><br><br>-- <br><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cemal Cagatay Bilgin</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Life Sciences Division</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Lawrence Berkeley National Lab</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MS977, One Cyclotron Road</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Berkeley, CA 94720, USA</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: ccbilgin</span><a href="mailto:hchang@lbl.gov" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">@lbl.gov</a>