[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    Re: [ITK-users] Merge N slices
From:       Arnaud Gelas <arnaudgelas () gmail ! com>
Date:       2015-12-03 13:29:53
Message-ID: 566043D1.4040104 () gmail ! com
[Download RAW message or body]

Hi Dominik,

I do not have access anymore to this code...

Anyway, In my case the orientation of all images were the same...

In your case, since it is really generic problem, I would recommend 
computing first the final image origin, orientation, spacing, and so on, 
allocating and fill the buffer.

On the ith image, you iterate compute the world location of the pixel, 
from that you compute the corresponding index location on the final 
image, then set the pixel...

HTH
Arnaud

On 03.12.2015 14:22, dominik.hofer@gmail.com wrote:
> Dear Arnaud Gelas,
> 
> I'm working on merging some slice volumes together into one volume (they do not \
> overlap, are not parallel and have spacing in between slices) and I came across \
> your thread where you write that you have found a solution for this. My question is \
> if you would be so kind to share it. :) 
> Link to thread: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-combining-N-images-tp7586088p7586104.html
>  
> Cheers,
> Dominik
> 
> _____________________________________
> Sent from http://itk-insight-users.2283740.n2.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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic