[Insight-users] Image template with a variable argument.
René Sánchez Martín
reny at ctm.ulpgc.es
Thu Feb 23 06:26:20 EST 2006
Hi all,
I have designed a filter that inherits from ImageToImageFilter and the
output image is the following:
Image<Vector<int,K>>
K used to be a constant passed through a template, but right now I
need to pass it to the test program from command line. Of course, the
compiler tell me that K must be constant. I could pass the variable
through a Set method, but I want my class to inherit from
ImageToImageFilter. Any suggestion to cope with that?
Thanks in advance.
Rene Sanchez
More information about the Insight-users
mailing list