[Insight-users] Region of interest image filter

Pietro Nardelli pie.nardelli at gmail.com
Fri May 18 11:59:46 EDT 2012


It says: vector subscript out of range. Perhaps it is a Slicer problem.

Thank you for yor help!

P.

2012/5/18 David Doria <daviddoria at gmail.com>:
> On Fri, May 18, 2012 at 11:51 AM, Pietro Nardelli
> <pie.nardelli at gmail.com> wrote:
>> I was using this code:
>>
>> typedef float InputPixelType;
>> typedef float OutputPixelType;
>>
>> typedef itk::Image< InputPixelType, 3 > InputImageType;
>> typedef itk::Image< OutputPixelType, 3 > OutputImageType;
>> ...
>> OutputImageType::IndexType start;
>> start[0]=...
>> start[1]=...
>> start[2]=...
>> OutputImageType::SizeType size;
>> size[0]=...
>> size[1]=...
>> size[2]=...
>>
>> Is it correct? I also point out that I'm trying to use it in Slicer.
>>
>> Thank you,
>>
>> Pietro
>
> Looks fine to me. Did it not work? Sorry, I don't know anything about Slicer.
>
> David


More information about the Insight-users mailing list