这是我的代码,我想经营.dicom文件不是一个图像(jpeg, png)。我怎么能改变它吗?
说我需要一个代码classifiction医学图像。
网= alexnet
imd = imageDatastore (D: \肺dataset-Labeled,…
“IncludeSubfolders”,真的,…
“LabelSource”、“foldernames”);
[imdsTrain, imdsValidation] = splitEachLabel (imd, 0.7);
% = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
增量= imageDataAugmenter (…
“RandRotation”, -20年,20,…
“RandXReflection”, 1,…
“RandYReflection”, 1,…
“RandXTranslation”, [3 3],……
“RandYTranslation”, [3 3]);
% augimdsTrain = augmentedImageDatastore ((224 224)、imdsTrain DataAugmentation,增压器);
% augimdsValidation = augmentedImageDatastore ((224 224)、imdsValidation DataAugmentation,增压器);
augimdsTrain = augmentedImageDatastore ([227 - 227], imdsTrain);
augimdsValidation = augmentedImageDatastore ([227 - 227], imdsValidation);
。
。
。
未完成的代码。! ! ! ! !