Skip to content

Miscellaneous collection of code snippets for diverse purposes

Notifications You must be signed in to change notification settings

FlorianMF/snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

misc collection of code

Radiomics feature extraction: radiomics_extraction.py

This function allows to extract features according to the radiomics library. Input are the 2D/3D image and mask in the SimpleITK data format as well as the arguments defining whether the features are to be extracter for some slices or for the volume directly. One can define which features shall be extracted and save them to csv and/or json files.

Combination of SimpleITK and numpy: simpleitk_numpy_image.py

This class allows to work with an SimpleITK like a numpy array. All SimpleITK functions can still be used and the most common numpy functions as well. This makes life with SimpleITK images much easier.

Stretch contrast of 16-bit images to a range [0, 255] : stretch_contrast_bw.py

Create a database in SQLite3: sqlite_database.py

table creation, insertion, reading, updating and removal of entries

About

Miscellaneous collection of code snippets for diverse purposes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages