Issue
I have some image data like the following:
224×224×3×2 Array{Float32, 4}:
[:, :, 1, 1] =
0.117647 0.117647 0.117647 0.117647 … 0.384314 0.396078 0.403922
0.117647 0.117647 0.117647 0.117647 0.384314 0.392157 0.4
0.117647 0.117647 0.117647 0.117647 0.384314 0.388235 0.392157
0.121569 0.117647 0.121569 0.121569 0.388235 0.388235 0.388235
0.12549 0.117647 0.12549 0.129412 0.396078 0.396078 0.396078
which I was using for some ML models. I want to be able to visualize the images in a notebook.
Right now I can do ImageView.imshow
but that opens the image outside of the notebook. How can I display the image inside of the notebook?
Solution
Just do:
IJulia.display(image)
For an example:
using Images
image = [RGB(rand(N0f8,3)...) for x in 1:200, y in 1:150]
using IJulia
IJulia.display(image)
Answered By - Przemyslaw Szufel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.