Effacer les filtres
Effacer les filtres

How to obtain image size [227 227 3]?

10 vues (au cours des 30 derniers jours)
Laura Hann
Laura Hann le 24 Nov 2017
Réponse apportée : Rik le 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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by