[Insight-users] image region iterator

Wyke Huizinga wykehuizinga at gmail.com
Fri Nov 2 09:41:59 EDT 2012


I guess there is a multiplication of the sizes in each dimension somewhere,
since that is the number of datapoints it has to iterate over.

*Wyke Huizinga*




2012/11/2 Wyke Huizinga <wykehuizinga at gmail.com>

> Hi all,
>
> I found the problem. The size of the last dimension should not be set to 0
> but to 1.
> I cannot explain why, but maybe somebody else has an idea.
>
> Thank you for help. Next time I will post code so you can reproduce the
> error!
>
> *Wyke Huizinga*
>
>
>
>
> 2012/11/2 David Doria <daviddoria at gmail.com>
>
>> On Fri, Nov 2, 2012 at 7:41 AM, Wyke Huizinga <wykehuizinga at gmail.com>
>> wrote:
>> > ah yes,sorry.
>> >
>> > Here's the new paste: http://pastebin.com/miMz8xt0
>> >
>> > (though it is still 73 lines, but I don't know where it goes wrong, so I
>> > don't know what to put in and what to leave out)
>> >
>> > Wyke Huizinga
>>
>> Wyke,
>>
>> Closer, but there are no headers included, and you are still reading
>> an image from a file - you need to programmatically create a similar
>> image (in size/shape, the contents don't matter here) so we can
>> exactly reproduce the error.
>>
>> David
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121102/f9b1bacf/attachment.htm>


More information about the Insight-users mailing list