How extract radiomic features from .mat file?

3 Ansichten (letzte 30 Tage)
LORENZO MARZORATI
LORENZO MARZORATI am 9 Nov. 2021
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 Kommentare
Jan
Jan am 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.
LORENZO MARZORATI
LORENZO MARZORATI am 10 Nov. 2021
Thanks Jan for the answer.
My aim is extract radiomic features. Usually i have dicom image (CT scan for example) and dicom file of the relative ROI. Having this two (image and ROI), using Pyradiomics, i easly extract radiomic features.
Now i've to do the same things, but before extract features i did a segmentation, creating myself the ROI. In this way, as you said, i've an array (mat file) and no more dicom file.
The question is, How extract radiomic features from the array and no from dicom? Maybe always with Pyradiomics if possible.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

yanqi liu
yanqi liu am 10 Nov. 2021
sir,may be upload mat file to analysis,use the data as image matrix

Kategorien

Mehr zu Medical Physics finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by