[Insight-users] AffineTransform not working with a segmented volume(but works with the original volume!)

Juliette Deniau juliette.deniau at yahoo.fr
Tue Aug 25 04:39:15 EDT 2009


Hi, 
I would like to scale a volume using itk::AffineTransform. When I use an original volume (such BrainPart1Brain\brainweb1e1a10f20.mha) the code is working fine but when I use a volume which is the result of segmentation of the original volume, the results are not correct. 
Could some one explain me what’s I’m doing wrong? 
I attach the code. 
in this code I use an identity transform for a purpose of diagnostic but still not working with the segmented volume. 
  
Thanks 
Regards 
Juliette  


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090825/de3a7e8e/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: VolumeScalingwithAffineTransform.cpp
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090825/de3a7e8e/attachment.asc>


More information about the Insight-users mailing list