1. A method for generating local image statistics of image data comprising: receiving input pixels of a block of the image data; determining luminance values associated with the input pixels of the block of the image data; and generating a local image statistic using the luminance values associated with the block of the image data or red, green, or blue subpixels of the block of the image data, or a combination thereof.