[Insight-users] How to get a progess from an iterator?
lynx.abraxas at freenet.de
lynx.abraxas at freenet.de
Tue Dec 15 15:44:59 EST 2009
On 14/12/09 12:13:34, Luis Ibanez wrote:
> Hi Lynx,
>
> About your first question:
>
> The compiler can figure out uninitialized variable in the heap.
> but can't check for initialized elements of arrays since this is
> a run-time behavior.
>
> for that purpose, you need to use Valgrind.
>
OK. I'll have a look at valgirnd if it can save me from loosing so much time
on debuging again...
> About your second question:
>
> If the shape of your neighborhood is consistent across
> dimensions, it is usually possible to initialize the elements
> by using a for-loops.
>
> What is the pattern shape of the neighborhood that you
> want to use ?
I just want a (ND) ball neighborhood as in the example.
Many thanks for all the help.
Lynx
More information about the Insight-users
mailing list