The variable "value" in "procedure TDicomImageExt.DisplayImage" should be "integer" not "word".
The cast "word(lBuff16[i])" in "procedure TDicomImageExt.Scale16to8bit" shoud be "integer(lBuff16[i])".
It's because there some images that come whit negatives values and if whe use "word" the image is rendered in white color.
This project is helping me a lot. tks. =)
Thank you for your help, Eder, I will fix soon the bug and post the new release (with multilingual support completed).
The new release is up to date.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.