[Insight-users] Create image types in run time

David Pastor david.pastor at die.upm.es
Mon Feb 23 07:37:50 EST 2009


Hello,

I'm trying to write a program to create images automatically from an own description and i need to pass the dimension of the image as a parameter of the application so the template will be instantiated in run time which is not feasible.

Is there anyway to work with a variable dimension? it seems that i need to rewrite the whole code for each dimension. The problem will be fixed if there is a generic itk::Image pointer for any dimension...

cheers
david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090223/9a069266/attachment.htm>


More information about the Insight-users mailing list