medpy.metric.binary.volume_change_correlation#

medpy.metric.binary.volume_change_correlation(results, references)[source]#

Volume change correlation.

Computes the linear correlation of change in binary object volume between the contents of the successive binary images supplied. Measured through the Pearson product-moment correlation coefficient.

Parameters:
resultssequence of array_like

Ordered list of input data containing objects. Each array_like will be converted into binary: background where 0, object everywhere else.

referencessequence of array_like

Ordered list of input data containing objects. Each array_like will be converted into binary: background where 0, object everywhere else. The order must be the same as for results.

Returns:
rfloat

The correlation coefficient between -1 and 1.

pfloat

The two-side p value.