lindawangg / COVID-Net

COVID-Net Open Source Initiative
Other
1.15k stars 480 forks source link

Out-of-Sample filtering and transformation #32

Closed cmateutss closed 4 years ago

cmateutss commented 4 years ago

Hello, and thank you for sharing this great project.

I am testing the net on out-of-sample data, some known COVID or non-COVID images and having some troubles. These are my questions to the community if anybody could help:

jamesrenhoulee commented 4 years ago

I believe by default cv2.imread() without specifying a flag will automatically load it as a 3-channel colour image, even if you are loading in a grayscale image. Each channel in the image will just be a copy of the grayscale image.

cmateutss commented 4 years ago

I believe by default cv2.imread() without specifying a flag will automatically load it as a 3-channel colour image, even if you are loading in a grayscale image. Each channel in the image will just be a copy of the grayscale image.

Yes, now I see you are right. Thank you for your reply!