Sorry, the error message in the mail I posted before is wrong. The compiler really says:<br><br>error C2971: 'itk::Image' : template parameter 'VImageDimension' : 'dimension' : a local variable cannot be used as a non-type argument<br>
<br><br>Regards, michael<br><br>