[ITK-users] Interpolation grid

Elisabeth Pfaehler <[email protected]> Thu, 21 Jun 2018 12:02:58 +0200
Newsgroups gmane.comp.lib.itk.user
Message-ID <CAH3FpKbAVF_6P7Nf_woO+4VguOB5x7BxB2t3-K3-VBgwLfU1sg@mail.gmail.com>
--===============1595741212==
Content-Type: multipart/alternative; boundary="000000000000c47a1d056f240598"

--000000000000c47a1d056f240598
Content-Type: text/plain; charset="UTF-8"

Dear all,

I have one question:

I have an image and a corresponding mask with a label marking a tumor
region.
I interpolate now both images using tri-linear interpolation. For aligning
mask and image, I set in both cases the output origin to the origin of the
original image.
So far, everything is very fine. But now, I have the task to align the
interpolated image grid of both image and mask so that the grid centers
correspond for image and mask. I do not know if I was very clear with what
I want to do, but is there any way to align interpolated image grids to the
grid center and not the origin using ITK?

Thanks a lot for your help,

Elli

--000000000000c47a1d056f240598
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Dear all,</div><div><br></div><div>I have one questio=
n:</div><div><br></div><div>I have an image and a corresponding mask with a=
 label marking a tumor region.</div><div>I interpolate now both images usin=
g tri-linear interpolation. For aligning mask and image, I set in both case=
s the output origin to the origin of the original image.</div><div>So far, =
everything is very fine. But now, I have the task to align the interpolated=
 image grid of both image and mask so that the grid centers correspond for =
image and mask. I do not know if I was very clear with what I want to do, b=
ut is there any way to align interpolated image grids to the grid center an=
d not the origin using ITK?</div><div><br></div><div>Thanks a lot for your =
help,</div><div><br></div><div>Elli<br></div><div><br></div></div>

--000000000000c47a1d056f240598--

--===============1595741212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there!
________________________________
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:
https://itk.org/mailman/listinfo/insight-users

--===============1595741212==--