test_ct_utils_hu.pyΒΆ

Source: tests/CTtools/test_ct_utils_hu.py

Test ct utils hu behaviour.

test_normal_hu_conversion_round_trips_torch_values()

Verify that normal hu conversion round trips torch values.

test_normal_hu_conversion_round_trips_numpy_values()

Verify that normal hu conversion round trips numpy values.

test_normal_to_hu_does_not_hide_reconstruction_overshoot()

Verify that normal to hu does not hide reconstruction overshoot.