Measures pixel values in region of interest for RGB images