MattesMutualInformation corner case spacing error #1491
Labels
status:Backlog
Postponed without a fixed deadline
type:Bug
Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Description
corner case error in ITK's MattesMutualInformation metric when both images are all zeros, then the internal data structure (Image) has the reported invalid size
Steps to Reproduce
Expected behavior
Evaluation of Mutual Information Metric
Actual behavior
Reproducibility
100%
Versions
Environment
Ubuntu 18.04, python 3.7, SimpleITK 1.1.0, numpy 1.17.2
Additional Information
Changing metric e.g. SetMetricAsCorrelation() does not throw error -> therefore must be the MattesMutualInformation metric
Initializing image with np.random.rand(100,100,100) does not throw error -> therefore must be the corner case where inputs are zero
The text was updated successfully, but these errors were encountered: