-
Notifications
You must be signed in to change notification settings - Fork 414
Does CXXNET support grey scale images? #200
Comments
A fast workaround is to convert the grayscale image into color image... If you want to use grayscale image, you can implement a new data iterator for it. Other part does not assume this. |
I made a quick and dirty version of the grayscale img iterator. ...
} |
Hi @juliandewit Could you fix your coding style and submit a PR on this? I would like to merge it into master |
Hello, In a few days I intend to make a real fork and then I hope that I can contribute. |
Thanks @juliandewit Good luck with your competition! |
Hi, @winstywang , |
Well, I found there are 3 functions of ImageAugmenter::Process(). The one which is actually called has no problem. The rest two may have problems but I'm not sure. Anyway, it seems to work. The PR is #229 |
Hi,
I used img iterator (image list) for grey images, but it gives a shape mistach error. Then I traced into the program and found LoadImage function used in ImageIterator class loads images as RGB images. Its output will always have 3 channels.
Does any data iterator supports grey scale images?
If not, will implementing such an iterator work well? or there is some other part of the project also assumes all images are RGB therefore that will not work?
The text was updated successfully, but these errors were encountered: