1. An image signal processor comprising: statistics collection logic comprising: a pixel weighting mask configured to: receive a first representation of a pixel, wherein the first representation of the pixel comprises a luma and chroma representation of the pixel; and output a pixel weighting value based at least partly on first and second chroma components of the luma and chroma representation of the pixel; and accumulation logic configured to: receive a second representation of the pixel or the first representation of the pixel; receive the pixel weighting value; weight the second representation of the pixel or the first representation of the pixel using the pixel weighting value to obtain a weighted pixel value; and add the weighted pixel value to a statistics count; wherein the pixel weighting mask comprises a two-dimensional weighting map, wherein the two-dimensional weighting map comprises a table indexed by a first index value and a second index value, wherein the first index value is based at least partly on the first chroma component and wherein the second index value is based at least partly on the second chroma component.