Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.01 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.01 KB

inverse GSDF

In order to invert GSDF image to original Dicom image, GSDF's transfer function have been regressed through various method: Linear regression, and Non-linear regresstions such as Cubic, and Spline.

How to run

  1. Install python 3.9 or later, then assure its version via below command line
python -V
  1. Install dependencies, type below command at the directory, where "requirements.txt" file is located
pip install -r requirements.txt
  1. Run "RunThis_for_evaluate.py" to evaluate various regression methods:
python RunThis_for_evaluate.py
  1. Run "RunThis_for_conduct_inverse_GSDF.py" to conduct inverting GSDF and dump its resultants:
python RunThis_for_conduct_inverse_GSDF.py

Description

In this case, 'partial cubic regression' is the best way for estimating inverse GSDF transfer function. MRSE TBD in details ...