xcp_d.utils.qcmetrics.coverage
- xcp_d.utils.qcmetrics.coverage(input1, input2)[source]
Estimate the coverage between two masks.
- Parameters:
input1/input2 (
numpy.ndarray
) – Numpy arrays to compare. Can be any type but will be converted into binary: False where 0, True everywhere else.- Returns:
cov – Coverage between two images.
- Return type: