Hi all,<br><br>in the following code excerpt, the last line seems to be crucial. Without it, the resulting image has bufferedRegion=[0,0,0] which breaks subsequent filters. Can someone explain why is the last line required?<br>

<br><span style="font-family: courier new,monospace;">addFilter-&gt;SetInput1(logic.masks);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">addFilter-&gt;SetInput2(mask);</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">addFilter-&gt;InPlaceOn();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">addFilter-&gt;Update(); //logic.masks.bufferedRegion==0, other things OK</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">logic.masks=addFilter-&gt;GetOutput(); //logic.masks.bufferedRegion&gt;0 (everything OK)</span><br><br>
Regards,<br>
Dženan<br>