How extract radiomic features from .mat file?
3 次查看(过去 30 天)
显示 更早的评论
Hi everyone, i'm working on an automatic segmentation algorithm.
I read dicom image and save it in a matlab variable. Once the reading is finished i have a variable with dimension n*n*n_slice.
I segment the target and then i should extract the radiomic features from that file .mat (always with dimension n*n*n_slice).
How can i do it starting from a file matlab (.mat) and not from a real image (i.e. DICOM, nrrd, nifti ....)?
Thanks
4 个评论
Jan
2021-11-10
You do not work with mat-files at all, but with the contents of these files. After load() it is not a file anymore, but an array (or a struct containing arrays). The same happens for dicom files: afert importing them, the data are available as array.
So if you have the array, you cannot distinguish if it came from a mat or dicom file. In both cases you have an array containing the intensity values of pixels. In consequence I do not understand, what the problem is and what you call "real image". If you can apply a method to data of dicom files, you should be able to use exactly the same method to data from other sources. So if you do have a specific problem, explain exactly, which problem it is. It cannot be the format of the file, if the import was successful already.
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!