Filter löschen
Filter löschen

How to obtain image size [227 227 3]?

10 Ansichten (letzte 30 Tage)
Laura Hann
Laura Hann am 24 Nov. 2017
Beantwortet: Rik am 24 Nov. 2017
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by