how to load multiple .dicom files in matlab?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
this is my code and i want to operate with .dicom files not an images (.jpeg, png). how can i change it ?
acually i need a code for classifiction on medical image.
net=alexnet
imds = imageDatastore('D:\lung dataset-Labeled', ...
'IncludeSubfolders',true, ...
'LabelSource','foldernames');
[imdsTrain,imdsValidation] = splitEachLabel(imds,0.7);
%===================================================
augmenter = imageDataAugmenter( ...
'RandRotation',[-20,20], ...
'RandXReflection',1,...
'RandYReflection',1,...
'RandXTranslation',[-3 3], ...
'RandYTranslation',[-3 3]);
%augimdsTrain = augmentedImageDatastore([224 224],imdsTrain,'DataAugmentation',augmenter);
%augimdsValidation = augmentedImageDatastore([224 224],imdsValidation,'DataAugmentation',augmenter);
augimdsTrain = augmentedImageDatastore([227 227],imdsTrain);
augimdsValidation = augmentedImageDatastore([227 227],imdsValidation);
.
.
.
uncompleted code.!!!!!
0 Kommentare
Antworten (1)
Prateek Rai
am 18 Jun. 2020
Bearbeitet: Prateek Rai
am 18 Jun. 2020
As per my understanding, you are able to construct a classification code for operating on images but not able to operate with dicom files. To read dicom files you can use “dicomread” function available in MATLAB (Image Processing Toolbox).
You can refer to the following MATLAB documentation link for more information on how to use dicomread function to read dicom files.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!