或许你可以使用splitEachLabel单独训练和测试数据集,在你应用变换。
如何实现图像预处理使用imageDatastore ?
4视图(30天)
显示旧的评论
之前我想做图像预处理实现深度学习一些,MATLAB并不接受“转换imageDatastor”:
imd: imageDatastore
imds_T =变换(imd, @ (x) medfilt2 (x));% imds_T: imageDatastor转换
我试图运用“splitEachLabel”,我得到了以下错误:
未定义的函数“splitEachLabel”“matlab.io.datastore.TransformedDatastore”类型的输入参数。
这个问题是什么?
如何实现图像预处理使用imageDatastore ?