I would assume simply replicating your image to RGB with repmat should work.
How to obtain image size [227 227 3]?
10 次查看(过去 30 天)
显示 更早的评论
I'm currently working on using my own images in a pretrained neural network ( https://www.mathworks.com/help/nnet/ref/alexnet.html ) and it's demanding an image size of [227 227 3]. My images are 2D binary images (227x227). How can I achieve the desired size of images?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!