How to implement image preprocessing using imageDatastore?

2 ビュー (過去 30 日間)
Nisreen Sulayman
Nisreen Sulayman 2021 年 9 月 15 日
コメント済み: Mohammad Sami 2021 年 9 月 15 日
I want to do image preprocessing before implementing deep lerning, MATLAB dosn't accept "transformed imageDatastor":
imds: imageDatastore
imds_T = transform(imds,@(x) medfilt2(x)); %imds_T: transformed imageDatastor
I tried to apply "splitEachLabel" and I got the following error:
Undefined function 'splitEachLabel' for input arguments of type 'matlab.io.datastore.TransformedDatastore'.
What is the problem?
How to implement image preprocessing using imageDatastore?
  1 件のコメント
Mohammad Sami
Mohammad Sami 2021 年 9 月 15 日
Perhaps you can use splitEachLabel to separate your training and test datasets first, before you apply the transform.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeComputer Vision Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by