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

françois rousseau rousseau at unistra.fr
Wed Apr 4 03:37:29 EDT 2012


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 <mailto: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 <http://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 <mailto:rousseau at unistra.fr>
>> http://lsiit-miv.u-strasbg.fr/miv/19-ROUSSEAU-Francois.html
>>
>> _____________________________________
>> Powered by www.kitware.com <http://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 <mailto: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.fr
http://lsiit-miv.u-strasbg.fr/miv/fiche.php?id=19
--------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120404/f5d1a3b4/attachment.htm>


More information about the Insight-users mailing list