WORKS! the trick is to vtkCastImage to deep copy input image, and operate on that copy

this is strange, the original image is there...