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?

采纳的回答

Rik
Rik 2017-11-24
I would assume simply replicating your image to RGB with repmat should work.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by