<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying to use
DeformableRegistration6.cxx(B-spline) and DeformableRegistration2.cxx(demons) in
my application.</FONT></DIV>
<DIV><FONT face=Arial size=2>The problem is that the above examples didn't work
if I </FONT><FONT face=Arial size=2>use itk::image <float,3> to
store a 2D image (256X256X1 with 1X1X1.5mm). The
DeformableRegistration2.cxx's pipeline didn't throw any exception but the
program still crashed. The DeformableRegistration6.cxx throwed
an exception like this ""itk::ERROR: RecursiveGaussianImageFilter(02CA8B60): The
number of pixels along direction 2 is less than 4. This filter requires a
minimum of four pixels along the dimension to be processed."}" .</FONT></DIV>
<DIV><FONT face=Arial size=2>I can definitely sure that the
image<>::xxxType::index, size, spacings were stored correct
information.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can someone help me?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks.</FONT></DIV></DIV></BODY></HTML>