The images that will be loaded have to be segmentation images. This means that you have to load a binary file where the pixel is equal to 1 if it correspond to a lesion or equal to 0 in the other case. For the moment the binary caracteristic of the image is not verify and in the statistics computation all the pixels which are greater or equal to 1 are considerated.