Skip to content

Commit ceca894

Browse files
authored
Update README.md
1 parent 36d9cf0 commit ceca894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ ms_ssim_val = ms_ssim( X, Y, data_range=1, size_average=False ) #(N,)
6363

6464
### 3. Enable nonnegative_ssim
6565

66-
For ssim, it is recommended to set `nonnegative_ssim=True` to avoid negative results. However, the option is set to `False` to get consistent results as tensorflow and skimage.
66+
For ssim, it is recommended to set `nonnegative_ssim=True` to avoid negative results. This option is set to `False` by default to get consistent results as tensorflow and skimage.
6767

68-
For ms-ssim, this option is forced to be True to avoid NaN results.
68+
For ms-ssim, there is no nonnegative_ssim option and the ssim reponses is forced to be non-negative to avoid NaN results.
6969

7070

7171
# Tests and Examples

0 commit comments

Comments
 (0)