[Insight-users] Append multiple 2D images to one 3D image
Bill Lorensen
bill.lorensen at gmail.com
Sun Aug 30 08:36:42 EDT 2009
TileImageFilter will do it. From the comments, see the last line.
* 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 Sun, Aug 30, 2009 at 7:04 AM, Sven Olaf
Lüttmann<sven at svenluettmann.de> wrote:
> Any suggestions on that in the meanwhile!
>
> Thanks
> Sven
>
> Sven Olaf Lüttmann schrieb:
>> Hey all,
>> much thanks for your responses and apologise for the late reply.
>>
>> I don't wanna read series of DICOM images directly from a storage, i.e
>> from a hard disc or CD.
>>
>> In fact I have to read the single slices in a std::vector of itk images
>> in advance and like to take those images to generate an 3D image.
>>
>> I heard that itkResampleImageFilter is supposed to be the swiss army
>> knife in ITK :-) so can I use this one for my purpose, or does the
>> output image have to be specified over the same dimensions as the input
>> image.
>>
>> Thanks for your ideas and hints
>> Cheers
>> Sven
>>
>> BalajiR schrieb:
>>> Hello Sven,
>>>
>>> In my case, Iam using the ImageSeriesReader and the namesGenerator for
>>> reading a series of 2D DICOM files and creating a volume out of it. There is
>>> an example DicomSeriesReadImageWrite2.cxx, that illustrates this.
>>>
>>> Iam not sure if you are using DICOM files, but just thought this might be of
>>> some help.
>>>
>>> Regards,
>>> Balaji
>>>
>>>
>>>
>>> Sven Olaf Lüttmann wrote:
>>>> Dear ITK-Users,
>>>> is threre a class/filter that supports appending 2D images to one 3D
>>>> image.
>>>>
>>>> Thanks for your help.
>>>>
>>>> Cheers
>>>> Sven
>>>> _____________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.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
>>>>
>>>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.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
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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