A computer implemented method for assessing the performance of one or more segmentation algorithms by executing code in a computer, the method comprising: receiving an image of at least one tissue sample; performing segmentation on the image; creating two or more image partitions around the segmentation boundaries of the image; creating, in each of the two or more image partitions, one or more of a foreground object and a background object; computing a texture metric in each of the two or more image partitions; and comparing the texture metrics in the two or more image partitions to produce an output that is utilizable as a measure of segmentation stability, wherein the texture metric is: a background texture metric computed by (i) obtaining a background mask by complementing a foreground object mask, and (ii) multiplying the original image with the background mask and computing an average energy in the background; or a band texture metric computed by (i) dilating a foreground object mask; (ii) subtracting the dilated mask from the foreground object mask to create a foreground object band; and (iii) calculating a band texture metric for each image as an energy of the foreground object band for each foreground object averaged across the image; or a background ratio texture metric computed by (i) dilating a foreground object mask; (ii) obtaining an original background and a dilated background by complementing the foreground object mask and the dilated foreground object mask; and (iii) computing a background ratio texture metric for each image as an energy of a ratio of the original background divided by the dilated background. receiving an image of at least one tissue sample; performing segmentation on the image; creating two or more image partitions around the segmentation boundaries of the image; creating, in each of the two or more image partitions, one or more of a foreground object and a background object; computing a texture metric in each of the two or more image partitions; and comparing the texture metrics in the two or more image partitions to produce an output that is utilizable as a measure of segmentation stability, wherein the texture metric is: a background texture metric computed by (i) obtaining a background mask by complementing a foreground object mask, and (ii) multiplying the original image with the background mask and computing an average energy in the background; or a band texture metric computed by (i) dilating a foreground object mask; (ii) subtracting the dilated mask from the foreground object mask to create a foreground object band; and (iii) calculating a band texture metric for each image as an energy of the foreground object band for each foreground object averaged across the image; or a background ratio texture metric computed by (i) dilating a foreground object mask; (ii) obtaining an original background and a dilated background by complementing the foreground object mask and the dilated foreground object mask; and (iii) computing a background ratio texture metric for each image as an energy of a ratio of the original background divided by the dilated background. a background texture metric computed by (i) obtaining a background mask by complementing a foreground object mask, and (ii) multiplying the original image with the background mask and computing an average energy in the background; or a band texture metric computed by (i) dilating a foreground object mask; (ii) subtracting the dilated mask from the foreground object mask to create a foreground object band; and (iii) calculating a band texture metric for each image as an energy of the foreground object band for each foreground object averaged across the image; or a background ratio texture metric computed by (i) dilating a foreground object mask; (ii) obtaining an original background and a dilated background by complementing the foreground object mask and the dilated foreground object mask; and (iii) computing a background ratio texture metric for each image as an energy of a ratio of the original background divided by the dilated background.