[Insight-users] Inputs do not occupy the same physical space!

Hui Tang tanghui.seu at gmail.com
Wed Apr 4 03:40:10 EDT 2012


TI also have this problem, but I do not even got half voxel difference in
origin

I tried to simply read one image, and write that image, and during writing
the origin is slightly changed.........................................

On Wed, Apr 4, 2012 at 9:37 AM, françois rousseau <rousseau at unistra.fr>wrote:

> **
> I understand the usefulness of this checking.
>
> However, im my case, images have same direction, same spacing, same size,
> but a slightly different origin (half a voxel).
>
>
> On 04/03/2012 10:23 PM, Bradley Lowekamp wrote:
>
> If you add two images with different spacing, direction and orientation,
> what do you expect the output image information to be?
>
>  Brad
>
>  On Apr 3, 2012, at 3:14 PM, francois rousseau wrote:
>
>  I understand the hack, but I don't think that's a long-term solution.
>
>  (I don't want to modify these image properties - and I don't think that
> it should be necessary)
>
>  françois
>
>
>
>  On Apr 3, 2012, at 6:38 PM, Hui Tang wrote:
>
> What I did is set one of the input image as reference image, copy the
> original point of that reference image to the other inputs.
> anotherImage->SetOrigin(referenceImage->GetOrigin() );
> And then run your codes
> On Tue, Apr 3, 2012 at 5:28 PM, francois rousseau <rousseau at unistra.fr>wrote:
>
>> Hi everyone,
>>
>> is there a way to disable this checking condition in ITK filters?
>>
>> (basically, for my application, I know that the images do not share
>> exactly the same physical space but I want to perform pixelwise computation
>> (subtraction, etc.))
>>
>> thank you very much
>> François
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>
>
>   --
> ---------------------------
> Francois Rousseau
> LSIIT
> Pôle API
> Boulevard Sébastien Brant
> F-67400 ILLKIRCH
> tel : +33 3 68 85 44 89
> email : rousseau at unistra.fr
> http://lsiit-miv.u-strasbg.fr/miv/19-ROUSSEAU-Francois.html
>
>   _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>  ========================================================
>
> Bradley Lowekamp
>
> Medical Science and Computing for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
>
>
>
>
> --
> --------------------------------
> Francois Rousseau
> LSIIT
> Pôle API
> Boulevard Sébastien Brant
> F-67400 ILLKIRCH
> tel : +33 3 68 85 44 89
> email: rousseau at unistra.frhttp://lsiit-miv.u-strasbg.fr/miv/fiche.php?id=19
> --------------------------------
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120404/0d0a9b31/attachment.htm>


More information about the Insight-users mailing list