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
3535 @test Array (img_smoothed_cu) ≈ img_smoothed
3636
3737 # 3D Gray
38- img = restrict (testimage (" mri" ), (1 , 2 ))
38+ img = Gray .( restrict (testimage (" mri" ), (1 , 2 ) ))
3939 img_noisy = img .+ 0.05 randn (MersenneTwister (0 ), size (img))
4040 img_smoothed = solve_ROF_PD (img_noisy, 0.02 , 20 )
4141 @test ndims (img_smoothed) == 3
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ using ImageFiltering.Models
2323 @test assess_ssim (img_smoothed, img) > 0.90
2424
2525 # 3D Gray
26- img = restrict (testimage (" mri" ), (1 , 2 ))
26+ img = Gray .( restrict (testimage (" mri" ), (1 , 2 ) ))
2727 img_noisy = img .+ 0.05 randn (MersenneTwister (0 ), size (img))
2828 img_smoothed = solve_ROF_PD (img_noisy, 0.02 , 20 )
2929 @test ndims (img_smoothed) == 3
You can’t perform that action at this time.
0 commit comments