Sorry for the late reply Dominik.<div><br></div><div>That feature sounds great. Please do send or point me to the patch and I will commit it. If possible, prepare the patch with git, so you keep credit in the log.</div><div>

<br></div><div>thanks,<br clear="all">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">On Sat, May 28, 2011 at 6:41 AM, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I am appending multiple image blocks using vtkImageAppend. I need to<br>
use PreserveExtents = 1. My image blocks are overlapping and in some<br>
cases undesired overwriting takes place, e.g. when one of the blocks<br>
needed to be rotated/resampled. I am aware I could by hand create a<br>
target canvas of appropriate size and use vtkImageMathematics with<br>
proper masks, but that's just so much more coding and likely also much<br>
performance overhead. What I have done is added concept of<br>
transparency to the said vtkImageAppend, such that copying the data<br>
only takes place if the value is not declared transparent (integer) or<br>
does not lie within a range declared as transparent (floating).<br>
<br>
I was wondering if this could be merged with the current development<br>
version. If yes, I can provide a (very simple) patch along with a test<br>
data.<br>
<br>
Best regards,<br>
Dominik<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>