Deep-Learning
Deep-Learning copied to clipboard
Use Grayscale Images Instead of RGB
Priya,
Excellent work. How could I feed grayscale images instead of using RGB? My cameras do not produce RBG images, so I shall not train with RGB images. I thought maybe you have a tip on how to change the neural network to use one channel images instead.
You can use concatenation function to convert your one channel images to 3 channel. For example, if IG is your gray-scale image. In Matlab, you can do I=cat(3,IG,IG,IG).