issue #622 - white text on selected background
issue #665 MeasureImageAreaOccupied needed implementation of get_measurement_images for binary images