Fixed the luminance histogram for color images.
Started implementation of region selection.