[Olena-patches] olena: olena-2.0-791-g3193cca Fix some shortcomings in binary subsampling. This function used to memoryleak and makes an unnecessary heap memory allocation. Moreover, it makes someunnecessary assumptions about the domain of the image (only worked for 2D images with a domainstarting at (0,0)).