[PD] [Gem] measuring pixel values in a region