intensityFeatures
Description
Examples
Compute Intensity Features for Computed Tomography (CT) Image
Import a computed tomography (CT) image volume and the corresponding ROI mask volume from the IBSI validation data set [1][2][3] as medicalVolume
objects.
unzip("CTImageMaskNIfTI.zip") data = medicalVolume("CT_image.nii.gz"); roi = medicalVolume("CT_mask.nii.gz");
Visualize a slice of the CT image volume and the corresponding ROI.
figure
imshowpair(data.Voxels(:,:,20),roi.Voxels(:,:,20),"montage")
Create a radiomics
object, using the CT image volume and ROI mask volume, with default preprocessing options.
R = radiomics(data,roi)
R = radiomics with properties: Data: [1x1 medicalVolume] ROILabel: [1x1 medicalVolume] Resample: 1 Resegment: 1 Discretize: 1 DiscretizeIVH: 1 ResampledVoxelSpacing: 1 DataResampleMethod: 'linear' MaskResampleMethod: 'linear' ResegmentationRange: [] ExcludeOutliers: 1 DiscreteBinSizeOrBinNumber: [] DiscreteMethod: 'FixedBinNumber' DiscreteIVHBinSizeOrBinNumber: [] DiscreteIVHMethod: 'FixedBinNumber'
Compute the local intensity features of the ROI in the 2D-resampled CT image volume.
I = intensityFeatures(R,Type="LocalIntensity",SubType="2D")
I=1×3 table
LabelID LocalIntensityPeak2D GlobalIntensityPeak2D
_______ ____________________ _____________________
"1" 71.689 78.084
[1] Vallières, Martin, Carolyn R. Freeman, Sonia R. Skamene, and Issam El Naqa. “A Radiomics Model from Joint FDG-PET and MRI Texture Features for the Prediction of Lung Metastases in Soft-Tissue Sarcomas of the Extremities.” The Cancer Imaging Archive, 2015. https://doi.org/10.7937/K9/TCIA.2015.7GO2GSKS.
[2] Vallières, M, C R Freeman, S R Skamene, and I El Naqa. “A Radiomics Model from Joint FDG-PET and MRI Texture Features for the Prediction of Lung Metastases in Soft-Tissue Sarcomas of the Extremities.” Physics in Medicine and Biology 60, no. 14 (July 7, 2015): 5471–96. https://doi.org/10.1088/0031-9155/60/14/5471.
[3] Clark, Kenneth, Bruce Vendt, Kirk Smith, John Freymann, Justin Kirby, Paul Koppel, Stephen Moore, et al. “The Cancer Imaging Archive (TCIA): Maintaining and Operating a Public Information Repository.” Journal of Digital Imaging 26, no. 6 (December 2013): 1045–57. https://doi.org/10.1007/s10278-013-9622-7.
Input Arguments
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: intensityFeatures(R,Type="LocalIntensity",SubType="2D")
computes the local intensity features on 2D resampled data.
Type
— Category of intensity features
"all"
(default) | "LocalIntensity"
| "IntensityBasedStatistics"
| "IntensityHistogram"
| "IntensityVolumeHistogram"
Category of intensity features to compute, specified as one of these options.
"LocalIntensity"
"IntensityBasedStatistics"
"IntensityHistogram"
"IntensityVolumeHistogram"
"all"
If you specify "all"
, the function computes every
category of intensity features. For more information on which specific intensity
features each category includes, see IBSI Standard and Radiomics Function Feature Correspondences.
Data Types: char
| string
SubType
— Resampling from which to compute intensity features
"3D"
(default) | "2D"
| "all"
Resampling from which to compute intensity features, specified as one of these options.
"2D"
— Computes features from the 2D resampled volume."3D"
— Computes features from the 3D resampled volume."all"
— Computes features for both options.
When you 2D-resample the volume, the function makes the voxel spacing along the x- and y-dimensions isotropic, but the voxel spacing along the z-dimension is the same as in the input volume. When you 3D-resample the volume, the function makes the voxel spacing along all three spatial dimensions isotropic.
Data Types: char
| string
Output Arguments
I
— Intensity features
table
Intensity features, returned as a table. The first column in I
is
LabelID
. The subsequent columns are the intensity features. For
more details on which intensity features are computed in each Type
and SubType
, see IBSI Standard and Radiomics Function Feature Correspondences.
Version History
Introduced in R2023b
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)