File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ using ImageFiltering.Models
35
35
@test Array (img_smoothed_cu) ≈ img_smoothed
36
36
37
37
# 3D Gray
38
- img = restrict (testimage (" mri" ), (1 , 2 ))
38
+ img = Gray .( restrict (testimage (" mri" ), (1 , 2 ) ))
39
39
img_noisy = img .+ 0.05 randn (MersenneTwister (0 ), size (img))
40
40
img_smoothed = solve_ROF_PD (img_noisy, 0.02 , 20 )
41
41
@test ndims (img_smoothed) == 3
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ using ImageFiltering.Models
23
23
@test assess_ssim (img_smoothed, img) > 0.90
24
24
25
25
# 3D Gray
26
- img = restrict (testimage (" mri" ), (1 , 2 ))
26
+ img = Gray .( restrict (testimage (" mri" ), (1 , 2 ) ))
27
27
img_noisy = img .+ 0.05 randn (MersenneTwister (0 ), size (img))
28
28
img_smoothed = solve_ROF_PD (img_noisy, 0.02 , 20 )
29
29
@test ndims (img_smoothed) == 3
You can’t perform that action at this time.
0 commit comments