Learn R Programming

⚠️There's a newer version (1.7.2) of this package.Take me there.

Radiomics Image Analysis (RIA)

Radiomics Image Analysis (RIA) package was developed to facilitate radiomic analysis of medical images. RIA can calculate hundreds of different statistics on both 2D and 3D images. RIA supports analysis of DICOM, NIfTI, nrrd and npy (numpy arrays saved in python) images. Almost all calculations are vectorized and therefore are super-efficient. The package is developed by Márton Kolossváry a medical doctor not an engineer, therefore all functionalities of the software package are developed in a way that can be learnt by non-professionals. RIA is constantly updated with new functionalities and wrap-around functions to make the calculation of radiomic metrics even simpler.

Its as easy as 1, 2, 3

RIA allows users to take control of each and every aspect of radiomic analysis using specific functions. However, for most users 3 lines of simple code: one loading the data and one calculating the statistics, and one exporting the results is enough:

#Load the data by providing the location of the DICOM, NIfTI or nrrd file(s)
DICOM <- load_dicom(filename = "C:/Image/")

#Calculate first-order, GLCM, GLRLM and geometry based statistics
DICOM <- radiomics_all(DICOM, equal_prob = "both")

#Save output to csv
save_RIA(DICOM, save_to = "C:/Test/", save_name = "My_first_radiomics", group_name = "Case")

These three simple lines of code result in thousands of radiomic parameters calculated for the given image! For a more detailed introduction to RIA please read the vignette. If you wish to better understand Radiomics I would suggest reading “Cardiac Computed Tomography Radiomics: A Comprehensive Review on Radiomic Techniques” and “Radiomic Features Are Superior to Conventional Quantitative Computed Tomographic Metrics to Identify Coronary Plaques With Napkin-Ring Sign” which describes the calculation and each statistic in detail in the supplementary files.

Copy Link

Version

Install

install.packages('RIA')

Monthly Downloads

333

Version

1.6.1

License

AGPL-3

Maintainer

Marton Kolossvary

Last Published

April 4th, 2023

Functions in RIA (1.6.1)

save_RIA

Export radiomics calculations of RIA image to csv
glrlm_stat

GLRLM-based statistics
load_npy

Loads npy files to RIA image format
radiomics_all

Calculates all radiomic statistics on supplied RIA_image
load_nrrd

Loads nrrd images to RIA image format
glrlm

Creates gray-level run length matrix from RIA image
glrlm_stat_all

Aggregates GLRLM-based statistics based-on supplied function
load_nifti

Loads NIfTI images to RIA image format
load_dicom

Loads DICOM images to RIA image format
glrlm_all

Creates gray-level run length matrix of all possible directions of a RIA image
first_order

Calculates first-order statistical metrics for RIA_image
geometry

Calculates geometry-based parameters of RIA image
DICOM_codes

rda containing DICOM header codes to include in RIA_image object
NRS

RIA_image object of a plaque with the napkin-ring sign
glcm_stat

Calculates GLCM-based statistics
glcm

Creates gray-level co-occurrence matrix of RIA image
glcm_stat_all

Aggregates GLCM-based statistics based-on supplied function
Non_NRS

RIA_image object of a plaque without the napkin-ring sign
glcm_all

Creates gray-level co-occurrence matrix of all possible directions of a RIA image
discretize

Discretizes RIA image to a given number of bins