How do you use 'Color Preprocessing'?
Show older comments
How do you use 'Color Preprocessing'?
What layer should you add in the deep neural network designer app?
Answers (2)
yanqi liu
on 20 Jan 2022
0 votes
yes,sir,may be use it in data loader and input layer,such as
use alexnet,we get the inputSize is 227x227x3,so we use augmentedImageDatastore to make data to this dimension
augmentedImageDatastore(inputSize(1:2),yourData,'ColorPreprocessing','gray2rgb');
Image Analyst
on 20 Jan 2022
0 votes
Some networks, such as Alexnet, are already set up to process color images. There is nothing you need to do other than resize your images to the size that the network requires.
Sorry, it's been a while since I used the network designer to design a custom network of my own design so I suggest you just read the documentation.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!