I would like to test 3D warping of volumes based on the example:<br><br>BSplineWarping2.cxx<br><br>I was told that:<br><br>brainweb1e1a10f20.mha<br>brainweb1e1a10f20.raw<br><br>from:<br><br><a href="http://public.kitware.com/pub/itk/Data/BrainWeb/BrainPart1.tgz" target="_blank">http://public.kitware.com/pub/itk/Data/BrainWeb/BrainPart1.tgz</a><br>
<br>contains a 3D volume of a brain. I have found some warp parameters in the file:<br><br>InsightToolkit-3.12.0\Examples\Data\BSplineDisplacements2.txt<br><br>I then call the 3D warping application with:<br><br>BSplineDisplacements2.txt<br>
brainweb1e1a10f20.mha<br>brainweb1e1a10f20.mha<br>brainweb1e1a10f20_deformed.mha<br> brainweb1e1a10f20_deformed_field.mhd<br><br>The application runs for some time and prints:<br><br>0.879992<br>0.889992<br>0.899992<br>0.909992<br>
0.919992<br>0.929992<br>0.939992<br>0.949992<br>0.959992<br>0.969992<br>0.979992<br>0.989992<br>0.999991<br>1<br><br><br>The files:<br><br>brainweb1e1a10f20_deformed.mha (approx 7MB)<br>brainweb1e1a10f20_deformed_field.raw (approx. 83 MB)<br>
<br>Are produced. But how are 3D volume warping results visualized?<br><br>Should I just extract each frame from eg. "brainweb1e1a10f20_deformed.mha and create eg difference images between each frame in the before and after volume?<br>