[Insight-users] add and remove subimages

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 1 19:28:09 EST 2009


Hi David,

By "Add" do you mean to "insert" a N-D image into a (N+1)-D image ?

or do you actually mean to perform an arithmetic addition between
the pixel values of the N-D image and the corresponding sub-region
of the (N+1)-D image ?


Do you need to do this many times ?

Would you be adding and removing always at the end ?
like a FIFO queue ? or do you plan to insert and remove
from arbitrary locations ?

... then default method that comes  to mind, will not
be an efficient way of doing this for many insertions
and deletions...

Also, please clarify if when you insert you want the new data
to replace a pre-existing region of the N+1 D image, or you
want the image to expand in extent.

Same for the removal: do you want to extract regions from
the N+1 D image and leave the original image untouched,
or do you want to also get a reduced (smaller) version of
the N+1 D image, that now is missing the N-D image that
you extracted.


   Please let us know,


            Thanks



                 Luis



--------------------------------------------------------------------------------------------
On Mon, Nov 30, 2009 at 6:40 AM, David Pastor <david.pastor at die.upm.es> wrote:
> Hello,
>
> I'd like to add an n dimensional image to a n+1 dimensional image. Also i
> would like to be able to remove selected subimages.
>
> I'm not sure if i can use TileImageFilter for that as the InputImages would
> have different dimensions.
>
> pushbackinput(4d image)
> pushbackinput(3d image)
>
> out-> 4d image
>
> is this possible? any specific layout for it? even it would be great to be
> able to set the 3d image in any point of the 4d image like an interleaving.
>
> I don't know if ExtractImageFilter could be used for the opposite either.
>
> Cheers,
> D. Pastor
> _____________________________________
> 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.html
>
> 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
>
>


More information about the Insight-users mailing list