niftynet.evaluation.region_properties module

class niftynet.evaluation.region_properties.RegionProperties(seg, img, measures, num_neighbors=24, threshold=0, pixdim=[1, 1, 1])

Bases: object

centre_of_mass()
compactness()
header_str()
kurtosis_()
max_()
mean_()
median_()
min_()
quantile_25()
quantile_75()
sav()
skewness_()
std_()
surface

this provides a decorator to cache function outputs to avoid repeating some heavy function computations

to_string(fmt='{:4f}')
volume

this provides a decorator to cache function outputs to avoid repeating some heavy function computations

weighted_mean_()