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

List:       insight-users
Subject:    Re: [ITK-users] [ITK]  combining N images
From:       Arnaud Gelas <arnaudgelas () gmail ! com>
Date:       2014-08-22 6:58:34
Message-ID: CAK3qF+_htTdda3=N7LQD2ESBFSKvL__sh8Lb8P9-AG+p0Zjg-Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Brad,

Thanks for the link! It helped me to get on track...
In the end, it was not that complicated to do all in one filter (let me
know if anyone is interested).

Arnaud


On Wed, Aug 20, 2014 at 6:53 PM, Bradley Lowekamp <brad@lowekamp.net> wrote:

> This may be of some use:
>
>
> https://github.com/blowekamp/itkStreamingSinc/blob/master/include/itkBoundingRegionImageSinc.h
>
> On Aug 20, 2014, at 11:51 AM, Arnaud Gelas <arnaudgelas@gmail.com> wrote:
>
> Hi,
>
> I do not want to add images, it is more something like pasting but I do
> not know in advance what would be the output image size, but it would be at
> least the bounding box of all images...
>
> Arnaud
>
> On Wednesday, August 20, 2014, Mordig, Maximilian Oliver <
> maximilian_oliver.mordig@roche.com> wrote:
>
>> Once you have resampled all images, you can use the itk AddFilter.
>>
>>
>> On Wed, Aug 20, 2014 at 4:28 PM, Arnaud Gelas <arnaudgelas@gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I am trying to combine N images together into a single image of the same
>>> dimension.
>>>
>>> These N images have the same direction, but can have different origin,
>>> start index, spacing, size (there is no overlap). Then gaps in between
>>> images would be filled with a given constant value.
>>>
>>> Is there such a filter? or assuming I have already resampled all images
>>> to a common ground, is there a filter to do this?
>>>
>>> Thanks,
>>> Arnaud
>>>
>>> _____________________________________
>>> 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
>>> Community@itk.org
>>> http://public.kitware.com/mailman/listinfo/community
>>>
>>>
>>  _____________________________________
> 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
> Community@itk.org
> http://public.kitware.com/mailman/listinfo/community
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi Brad,<div><br></div><div>Thanks for the link! It helped me to get \
on track...</div><div>In the end, it was not that complicated to do all in one filter \
(let me know if anyone is interested).</div><div><br>

</div><div>Arnaud  </div></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Wed, Aug 20, 2014 at 6:53 PM, Bradley Lowekamp <span \
dir="ltr">&lt;<a href="mailto:brad@lowekamp.net" \
target="_blank">brad@lowekamp.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="auto"><div>This may be of some \
use:</div><div><br></div><div><span><a \
href="https://github.com/blowekamp/itkStreamingSinc/blob/master/include/itkBoundingRegionImageSinc.h" \
target="_blank">https://github.com/blowekamp/itkStreamingSinc/blob/master/include/itkBoundingRegionImageSinc.h</a></span></div>


<div><div class="h5"><div><br>On Aug 20, 2014, at 11:51 AM, Arnaud Gelas &lt;<a \
href="mailto:arnaudgelas@gmail.com" target="_blank">arnaudgelas@gmail.com</a>&gt; \
wrote:<br><br></div><blockquote type="cite"><div>Hi,<br><br>

I do not want to add images, it is more something like pasting but I do not know in \
advance what would be the output image size, but it would be at least the bounding \
box of all images...<div><br></div><div>Arnaud</div> <div><br>On Wednesday, August \
20, 2014, Mordig, Maximilian Oliver &lt;<a \
href="mailto:maximilian_oliver.mordig@roche.com" \
target="_blank">maximilian_oliver.mordig@roche.com</a>&gt; wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">


<div dir="ltr">Once you have resampled all images, you can use the itk \
AddFilter.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug \
20, 2014 at 4:28 PM, Arnaud Gelas <span \
dir="ltr">&lt;<a>arnaudgelas@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">







<p>Hi all,</p>
<p>I am trying to combine N images together into a single image of the same \
dimension.<br></p> <p>These N images have the same direction, but can have different \
origin, start index, spacing, size (there is no overlap). Then gaps in between images \
would be filled with a given constant value.</p> <p>Is there such a filter? or \
assuming I have already resampled all images to a common ground, is there a filter to \
do this?</p> <p>Thanks,<br>Arnaud</p></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> <br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" \
target="_blank">http://www.kitware.com/products/protraining.php</a><br> <br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" \
target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br> <br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" \
target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br> \
<br>_______________________________________________<br> Community mailing list<br>
<a>Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" \
target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br> \
<br></blockquote></div><br></div> </blockquote></div>
</div></blockquote><blockquote \
type="cite"><div><span>_____________________________________</span><br><span>Powered \
by <a href="http://www.kitware.com" \
target="_blank">www.kitware.com</a></span><br><span></span><br><span>Visit other \
Kitware open-source projects at</span><br>

<span><a href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Kitware \
offers ITK Training Courses, for more information visit:</span><br>

<span><a href="http://www.kitware.com/products/protraining.php" \
target="_blank">http://www.kitware.com/products/protraining.php</a></span><br><span></span><br><span>Please \
keep messages on-topic and check the ITK FAQ at:</span><br>

<span><a href="http://www.itk.org/Wiki/ITK_FAQ" \
target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a></span><br><span></span><br><span>Follow \
this link to subscribe/unsubscribe:</span><br><span><a \
href="http://public.kitware.com/mailman/listinfo/insight-users" \
target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a></span><br>


</div></blockquote><blockquote \
type="cite"><div><span>_______________________________________________</span><br><span>Community \
mailing list</span><br><span><a href="mailto:Community@itk.org" \
target="_blank">Community@itk.org</a></span><br>

<span><a href="http://public.kitware.com/mailman/listinfo/community" \
target="_blank">http://public.kitware.com/mailman/listinfo/community</a></span><br></div></blockquote></div></div></div></blockquote></div><br></div>




_____________________________________
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