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