Implemented sampling functions for monochromatic images