Hello everyone,<br><br>I am a new user in ITK. When we define itk::Image<>, we need the image dimension and pixel type.<br>For me, I just want to read some images, including 2D and 3D.<br>So I want to previously get the image dimension and pixel type information dynamically. Like this, I can deal with the image as a regular way, no matter what dimension and what pixel type it is. My image processing algorithm is realized based on template, so it can be used for 2D, 3D. <br>
Can anyone give me some suggestions for this. <br>Thanks in advance.<br>Weidong<br>ECN<br>