[Insight-users] How to build a 3D image from 2D images ?
Malsoaz James
jmalsoaz at yahoo.fr
Fri Feb 19 05:32:14 EST 2010
Thank you for this answer.
Is there any example using this class ?
Best
James
--- En date de : Jeu 18.2.10, Bill Lorensen <bill.lorensen at gmail.com> a écrit :
De: Bill Lorensen <bill.lorensen at gmail.com>
Objet: Re: [Insight-users] How to build a 3D image from 2D images ?
À: "Malsoaz James" <jmalsoaz at yahoo.fr>
Cc: insight-users at itk.org
Date: Jeudi 18 février 2010, 17h54
TileImageFilter can build a 3d image from a set of 2d images. See the last line in the comments:
/** \class TileImageFilter
* \brief Tile multiple input images into a single output image.
*
* This filter will tile multiple images using a user-specified
* layout. The tile sizes will be large enough to accommodate the
* largest image for each tile. The layout is specified with the
* SetLayout method. The layout has the same dimension as the output
* image. If all entries of the layout are positive, the tiled output
* will contain the exact number of tiles. If the layout contains a 0
* in the last dimension, the filter will compute a size that will
* accommodate all of the images. Empty tiles are filled with the
* value specified with the SetDefault value method. The input images
* must have a dimension less than or equal to the output image. The
* output image have a larger dimension than the input images. This
* filter can be used to create a volume from a series of inputs by
* specifying a layout of 1,1,0.
*/
On Thu, Feb 18, 2010 at 12:26 PM, Malsoaz James <jmalsoaz at yahoo.fr> wrote:
Hello,
I have a set of 2D images in ITK (image type = <unsigned char, 2>). I would like to create a single image in 3D (ie image type = <unsigned char, 3>).
1 ) How can I "link" the images together to form this new 3D image ?
2 ) Can I save this 3D image in a file to keep the data in memory ?
3 ) Can I display this image using any kind of software ?
Thank you for your help
Best
James
_____________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100219/608df291/attachment.htm>
More information about the Insight-users
mailing list