Tests/src/Tests.jl

changeset 69
14a42aa4601a
parent 57
d3688b3c7c4e
--- a/Tests/src/Tests.jl	Mon Dec 22 14:15:53 2025 -0500
+++ b/Tests/src/Tests.jl	Mon Dec 22 14:23:18 2025 -0500
@@ -11,6 +11,7 @@
 # Dependencies
 using Printf
 using FileIO
+using ImageCore # We don't use ImageCore, but Julia is fiddly and fails if don't import ImageCore
 using ColorTypes: Gray
 # ColorVectorSpace is only needed to ensure that conversions
 # between different ColorTypes are defined.
@@ -78,7 +79,7 @@
     params = params ⬿ (save_prefix = save_prefix * "denoise_" * params.image_name,)
 
     # Load image and add noise
-    b = Float64.(Gray.(TestImages.testimage(params.image_name)))
+    b = Float64.(Gray{Float64}.(TestImages.testimage(params.image_name)))
     b_noisy = b .+ params.noise_level.*randn(size(b)...)
 
     # Launch (background) visualiser

mercurial