put methods for computing image of measures from label image into the LabelImage class