[Insight-users] SpatialObjectToImageFilter run time

Cagatay Bilgin bilgincc at gmail.com
Tue Feb 5 21:20:20 EST 2013


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.

I found an email on the emailing list where Dan Mueller suggests using
MaskedSpatialObjectToImageFilter
http://itk-users.7.n7.nabble.com/SpatialObjectToImageFilter-slow-td27261.html
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?

Thanks,
Cagatay


-- 
Cemal Cagatay Bilgin
Life Sciences Division
Lawrence Berkeley National Lab
MS977, One Cyclotron Road
Berkeley, CA 94720, USA
Email: ccbilgin at lbl.gov <hchang at lbl.gov>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130205/9ee9bea1/attachment.htm>


More information about the Insight-users mailing list