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

francois rousseau rousseau at unistra.fr
Tue Apr 3 15:14:09 EDT 2012


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

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


More information about the Insight-users mailing list