How do you use 'Color Preprocessing'?

33 views (last 30 days)
해인 박
해인 박 on 19 Jan 2022
Answered: Image Analyst on 20 Jan 2022
How do you use 'Color Preprocessing'?
What layer should you add in the deep neural network designer app?

Answers (2)

yanqi liu
yanqi liu on 20 Jan 2022
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
Image Analyst on 20 Jan 2022
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.

Community Treasure Hunt

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

Start Hunting!