Hello dear community,
I’m running this code in a jupyter notebook via Visual Studio Code:
# Packages
using Images, ImageView
# Loading image from path
img_rgb = load(img_path)
# Compound function converting img to gray then to an array of float64
img = Gray.(img_rgb) |> (s -> convert(Array{Float64},s))
# Displaying the result
imshow(img)
willing to display the matrix as an image. However, the imshow() function return a Dict in the output cell, and no image:
Dict{String, Any} with 4 entries:
"gui" => Dict{String, Any}("window"=>GtkWindowLeaf(Ptr{GObject} @0x00…
"roi" => Dict{String, Any}("redraw"=>ObserverFunction[ObserverFunctio…
"annotations" => Observable(Dict{UInt64, Any}())
"clim" => Observable(CLim{Float64}(0.0980392, 0.960784))
Any idea why ? Do I miss a package to correctly display the img ?
Thank you in advance !