Documentation for ToolBox
This module is inherited from DataSet class and allows for high-level functionality while working with the raw imaging data.
convert_to_nrrd(self, export_path, region_of_interest='all', image_type=<class 'numpy.int16'>)
Convert DICOM dataset to the volume (NRRD) format.
| Parameters: |
|
|---|
extract_features(self, params_file, loggenabled=False)
Extract PyRadiomic features from the dataset.
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_dataset_description(self, parameter_list=['Modality', 'SliceThickness', 'PixelSpacing', 'SeriesDate', 'Manufacturer'])
Get specified metadata from the DICOM files of the dataset.
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_jpegs(self, export_path)
Convert each slice of nnrd containing ROI to JPEG image. Quick and convienient way to check your ROIs after conversion.
| Parameters: |
|
|---|
get_quality_checks(self, qc_parameters={'specific_modality': '', 'thickness_range': [], 'scan_length_range': [], 'axial_res': [], 'spacing_range': [], 'kernels_list': []}, verbosity=False)
Perform a basic quality check for the data. If one of the quality checked parameters is not passed, the correspondig check is not to be performed.
| Parameters: |
|
|---|
| Returns: |
|
|---|
pre_process(self, ref_img_path=None, save_path=None, z_score=False, norm_coeff=None, hist_match=False, hist_equalize=False, binning=False, percentile_scaling=False, corr_bias_field=False, subcateneus_fat=False, fat_value=None, reshape=False, to_shape=None, window_filtering_params=None, verbosity=False, visualize=False)
Pre-process the images.
| Parameters: |
|
|---|