Ejemplo n.º 1
0
def seg_fr_variation_f_score(seg1, seg2, merge_score=False, split_score=False,
	alpha=0.5, split0=True):
	'''Computes the Variation of Information F Score for a segmentation w/ foreground restriction'''
	seg1, seg2 = data_prep.foreground_restriction(seg1, seg2)
	return seg_variation_f_score(seg1, seg2, merge_score, split_score, alpha, split0)
Ejemplo n.º 2
0
def seg_fr_variation_information(seg1, seg2, merge_error=False, split_error=False, split0=True):
	'''Computes the Variation of Information for a segmentation w/ foreground restriction'''
	seg1, seg2 = data_prep.foreground_restriction(seg1, seg2)
	return seg_variation_information(seg1, seg2, merge_error, split_error, split0)
Ejemplo n.º 3
0
def seg_fr_rand_error(seg1, seg2, merge_error=False, split_error=False, split0=True):
	'''Computes the Rand Error for a segmentation w/ foreground restriction'''
	seg1, seg2 = data_prep.foreground_restriction(seg1, seg2)
	return seg_rand_error(seg1, seg2, merge_error, split_error, split0)