DICOM and Machine Learning
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi, I have a set of images of .dcm format (MRI). I would like to use some machine learning technique for data training and classification. Before I created classifier with .jpg, .png and ect image formats. Does Matlab has an option to create a classifier using .dcm images directly without conversion to other formats? Thank you,
댓글 수: 0
채택된 답변
Carl
2017년 4월 3일
Hi Nitsa, that depends on how you are working with the DICOM data. If you want to train with the image data directly from files, this usually requires you to construct an ImageDataStore. For this, you would need to convert the DCM files to another format, like JPG. You can use the 'dicomread' function to read in the image from a DCM file, and then save it afterwards as another format.
https://www.mathworks.com/help/images/ref/dicomread.html https://www.mathworks.com/help/matlab/ref/imwrite.html
However, if you are using the DICOM info and image in some other way, you can get that information with the 'dicominfo' and 'dicomread' functions, and structure your classifier however you like.
댓글 수: 1
Walter Roberson
2017년 4월 3일
I recommend PNG or TIFF, never JPEG for analysis work. JPEG is lossy which makes analysis difficult.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!