[ITK-users] Fwd: [ITK] 3D registration with level set motion

Samuel Gerber <[email protected]>
Newsgroups gmane.comp.lib.itk.user
Message-ID <CAJjw+_ZhHJk4zoed1=HgMEXBnarEMaa5U-Z1ZOeLFDMHJ2FhCA@mail.gmail.com>
Hi Marie,

The registration is done in physical space not the image domain, a detailed
description is in Section 3.3 in the itk sotware guide ( https://itk.org/
ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html#x26-990003.1 ).

Each image has a mapping from the image domain, i.e your voxel space where
you can index individual pixels, to physical space. If those mappings map
the images into physical space in a way that results in no overlap between
the images you will get the exception you are seeing. The physical space is
determined by:

"One important consequence of this fact is that having the correct image
origin, image pixel size, and image direction is fundamental for the
success of the registration process in ITK, since we need this information
to compute the exact location of each pixel lattice in the physical space;
we must make sure that the correct values for the origin, spacing, and
direction of all fixed, moving and virtual images are provided."

So you might want to check those values for the images you are registering.

-Sam




On Thu, Aug 3, 2017 at 10:18 AM, CocoM <[email protected]> wrote:

> I think this works fine now, I had a format problem, thanks. But when
> registering two images of different size I get the exception "Inputs do not
> occupy the same physical space!". If I go on anyway the registration
> process
> ends normally, but the metric value is huge and never decreases (1e+308).
> Plus the output is entirely black. One of my images has 42 slices, the
> other
> one has 43. Maybe that's why?
>
>
>
> --
> View this message in context: http://itk-insight-users.22837
> 40.n2.nabble.com/3D-registration-with-level-set-motion-
> tp7590137p7590141.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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://public.kitware.com/mailman/listinfo/insight-users
> _______________________________________________
> Community mailing list
> [email protected]
> http://public.kitware.com/mailman/listinfo/community
>



-- 
Samuel Gerber
R&D Engineer
Kitware, Inc.



-- 
Samuel Gerber
R&D Engineer
Kitware, Inc.

_____________________________________
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://public.kitware.com/mailman/listinfo/insight-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.