Hello Ricardo, Luis, and Insight-users,<br><br>you might also consider using <span style="font-family: courier new,monospace;">ConstPointer</span><br><br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">void foo(InputImageType::ConstPointer input);</span><br>

</div><br>This disallows the use of <span style="font-family: courier new,monospace;">ImageRegionIterator </span>to traverse <span style="font-family: courier new,monospace;">input</span>, forcing you to use something like<br>

<br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">itk::ImageRegionConstIterator&lt;</span><span style="font-family: courier new,monospace;">InputImageType</span><span style="font-family: courier new,monospace;">&gt; itI(</span><span style="font-family: courier new,monospace;">input</span><span style="font-family: courier new,monospace;">, region);</span><br>

</div><br>My two cents,<br><br>Frederic Perez<br>