[ITK Community] [ITK community] PasteImageFilter
Bill Lorensen
bill.lorensen at gmail.com
Thu Feb 20 07:52:51 EST 2014
Another example, this one using TileImageFilter:
http://itk.org/Wiki/ITK/Examples/ImageProcessing/TileImageFilter_CreateVolume
On Thu, Feb 20, 2014 at 7:37 AM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> Hi Arjun,
>
>>
>> I get the following error even just after I instantiate my PasteImageFilterType3D::pointer object.
>>
>> myfile.cpp:2216:1: required from here
>> /home/arjun/MIIA/SimpleITK-debug/ITK/Modules/Filtering/ImageGrid/include/itkPasteImageFilter.hxx:159:3: error: no matching function for call to 'itk::ImageRegion<2u>::SetIndex(itk::PasteImageFilter<itk::Image<double, 3u>, itk::Image<double, 2u>, itk::Image<double, 3u> >::InputImageIndexType&)'
>>
>
> It looks like a 3D index is being passed into a 2D ImageRegion (the
> first template argument to PasteImageFilter [1] is TInputImage), which
> is not going to compile.
>
> Hope this helps,
> Matt
>
> [1] http://www.itk.org/Doxygen310/html/classitk_1_1PasteImageFilter.html
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
--
Unpaid intern in BillsBasement at noware dot com
More information about the Community
mailing list