Closed MountainAndMorning closed 4 years ago
Hi, the input data for this example is binary. Maybe this a problem for the MI loss. We will check and let you know.
Thanks for your help. Look forward to your solution.
Hi, the input data for this example is binary. Maybe this a problem for the MI loss. We will check and let you know.
Hi, I run this example with two real images and still encounter an error.
Hi, could you check the range of the intensity distribution of your input data? Maybe you need to change the sigma value of the MI loss.
Hi, the input data for this example is binary. Maybe this a problem for the MI loss. We will check and let you know.
Hi, I run this example with two real images and still encounter an error.
I also met this and I found it's because the range of the distribution. For my case, my images were normalized to [0, 1], while the default sigma is 3, and thus the estimation of the marginal distribution became almost a uniform distribution. After I set sigma to 0.01, the problem seems solved.
I change the MSE loss to the MI loss in the affine_registration_3d.py example and get the error below. Any one know how to fix it.