Hi, <br><br>I have several questions regarding b-spline deformable registration. I&#39;ve just started to learn C++. I might have overlooked something crucial while I skimmed through the source code. <br><br>B-spline Registration<br>
<br>1. In the multi-resolution b-spline registration (I am particularly referring to DeformbleRegistration6 in the examples), how do I find out the level of pyramid the registration has undergone? (i.e. The registration was performed hierarchically using multi-resolution scheme. How many levels of hierarchy were there?)<br>
<br>2. How do I manipulate the code to change number of level? <br><br>3. How do I get the deformation vector field as an output in the DeformableResgistratio6 example? <br><br>I execute the code in MatLab. <br><br>I put: system(&#39;deform6.exe A.png B.png C.png Dafter.png Dbefore.png vector.jpg&#39;);<br>
<br>The rest of them worked fine, except for the vector.jpg part. I have tried a few different file types (e..g png, jpg, hdr, etc.), none of them work. <br><br>I keep getting the similar error message like the following:<br>
<br>itk::ExceptionObject (0144E7D4) <br>Location: &quot;void __thiscall itk::JPEGImageIO::Write(const void *)&quot;  <br>File: ..\..\src\Code\IO\itkJPEGImageIO.cxx <br>Line: 465 <br>Description: itk::ERROR: JPEGImageIO(0195C3D8): JPEG supports unsigned char/int only <br>
 <br><br>Thank you,<br><br>Stephen<br><br>