How extract radiomic features from .mat file?
3 views (last 30 days)
Show older comments
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 Comments
Jan
on 10 Nov 2021
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.
Answers (1)
yanqi liu
on 10 Nov 2021
sir,may be upload mat file to analysis,use the data as image matrix
0 Comments
See Also
Categories
Find more on Medical Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!