Closed einzigsue closed 6 years ago
@einzigsue Thanks for pointing out. Would you like to make a patch for that?
Hi Chiyuan,
I briefly tried last night but my fix doesn’t work yet. I tried to replace the type Image with current type ImageMeta but the simple replacement does not work well. I guess I need to look up how ImageMeta differs from the deprecated Image type before I make any further patch. Do you have any suggestions?
Which version of Images.jl was the example using? I just start to look into Julia so fairly new to all the packages but if I know the version I can lookup the document figure out the difference.
Cheers Yue
Sent from my iPhone
On 1 Feb 2018, at 04:43, Chiyuan Zhang notifications@github.com wrote:
@einzigsue Thanks for pointing out. Would you like to make a patch for that?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I haven't been following the latest development of ImageMeta for a while. Basically what the original code does is to load an imagefile from the disk and extract the content as a standard Julia Array with numerical values representing the RGB pixel values.
Something that might need careful treatment is weather the image is oriented WxH or HxW, and how the channels are ordered (RGB or BGR), etc.
Any ideas what can I use instead Image type? Thanks for all sugestions
Image
with AbstractArray
. It uses FileIO.jl
to read the images (according to Image.jl
).However, I personally would prefer to handle the IO with PyPlot.jl
and directly treat images as Array{Float}
.
The type Image is not available any more in the Image.jl module. Can the function definition in image-classifier.jl be updated?
Cheers Yue