Project-MONAI / tutorials

MONAI Tutorials
https://monai.io/started.html
Apache License 2.0
1.85k stars 682 forks source link

SSIM loss 3D, 1 channel #1621

Closed ramdhan1989 closed 9 months ago

ramdhan1989 commented 9 months ago

Hi, Can I use SSIM loss for 3D with 1 channel data?

thanks

KumoLiu commented 9 months ago

Sure, yes. https://github.com/Project-MONAI/MONAI/blob/abe2e3151e77fdbcad68268111aaabf1e73c3dbe/monai/losses/ssim_loss.py#L116-L124