How do you use 'Color Preprocessing'?
30 次查看(过去 30 天)
显示 更早的评论
How do you use 'Color Preprocessing'?
What layer should you add in the deep neural network designer app?
0 个评论
回答(2 个)
yanqi liu
2022-1-20
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');
0 个评论
Image Analyst
2022-1-20
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!