The class ImageStatistics can currently extract statistics from grayscale images after applying a binary image mask.
This should be extended to allow for multi-label image masks: statistics should be generated for each label in the masking image. The user of the class should then be able to retrieve statistics and histogram information for specific labels, or for all labels.
The interface of the module should be backwards compatible, i.e. calling "GetStatistics()" and "GetHistogram()" in the same way as before should still produce the same results.