Framework for Image Processing on the GPU