ASCON icon indicating copy to clipboard operation
ASCON copied to clipboard

Adjustment of the image

Open wangsc97 opened this issue 1 year ago • 2 comments

How to adjust the window width and position of the resulting image after training?

wangsc97 avatar Apr 23 '24 12:04 wangsc97

I use min-max normalization (max=2000HU,min=-1000HU) during training. After training you can use pred_clip=torch.clip(pred*3000-1000,-160,240) to clip the image into the abdominal window of [-160,240]HU.

hao1635 avatar Apr 24 '24 14:04 hao1635

Thank you, but if I want to use my own dataset like chest, CTA and so on. How do I go about modifying min-max normalization and pred_clip=torch.clip?

wangsc97 avatar Apr 25 '24 02:04 wangsc97