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.
python -V
- Install dependencies, type below command at the directory, where "requirements.txt" file is located
pip install -r requirements.txt
- Run "RunThis_for_evaluate.py" to evaluate various regression methods:
python RunThis_for_evaluate.py
- Run "RunThis_for_conduct_inverse_GSDF.py" to conduct inverting GSDF and dump its resultants:
python RunThis_for_conduct_inverse_GSDF.py
In this case, 'partial cubic regression' is the best way for estimating inverse GSDF transfer function. TBD in details ...