You'll need
    using ImageView
and then what you see will depend on the content. It looks like Images may 
have interpreted it as an RGB image; does the 3rd dimension have size 3, by 
any chance? (This is a Matlab convention.) You can use `grayim`, for example:

julia> img = grayim(rand(5,5,3))
Gray Images.Image with:
  data: 5x5x3 Array{Float64,3}
  properties:
    colorspace: Gray
    spatialorder:  x y z

Best,
--Tim

On Monday, November 30, 2015 12:49:16 PM Rivo Sarmento wrote:
> Greetings,
> 
> I'm having trouble ploting a 3 dimentional matrix in Julia. The variable is
> of the format Array{Float64,3}, and I need to visualize it in a window.
> Using the Images.jl package
> 
> image = convert(Image, MyVariable)
> 
> RGB Image with:
>   data: WidthxHeightx3 Array{Float64,3}
>   properties:
>     timedim: 0
>     colorspace: RGB
>     colordim: 3
>     spatialorder:  y x
>     pixelspacing:  1.0 1.0
> 
> 
> And if I try to view it
> 
> view(image)
> 
> ERROR: `view` has no method matching
> view(::Image{Float64,3,Array{Float64,3}})
> 
> 
> I work with R and to view the same kind of images we use a function from a
> discontinued package (the function is attached)
> 
> Question #1: What's the proper way to view this type of image.
> Question #2: I need it to be ploted or viewed in a window that can handle
> mouse iteractivity, how can I do it?
> 
> Regards

Reply via email to