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 CenterFile Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by