How do you use 'Color Preprocessing'?

25 ビュー (過去 30 日間)
해인 박
해인 박 2022 年 1 月 19 日
回答済み: Image Analyst 2022 年 1 月 20 日
How do you use 'Color Preprocessing'?
What layer should you add in the deep neural network designer app?

回答 (2 件)

yanqi liu
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');

Image Analyst
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.

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by