means for segmentation calculated for every image