How do you use 'Color Preprocessing'?
显示 更早的评论
How do you use 'Color Preprocessing'?
What layer should you add in the deep neural network designer app?
回答(2 个)
yanqi liu
2022-1-20
0 个投票
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
2022-1-20
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!