RGB Image downsampling, cross filtering now works