ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 DICOM windowing
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ElCef

4 Posts

Posted - May 16 2013 :  03:01:24  Show Profile  Reply
Hi, while showing DICOM images it could be really handy to be able to change window center/width. Is it possibile with the current release? If not would you consider it for a future release?
Thanks!

fab

1310 Posts

Posted - May 17 2013 :  06:30:38  Show Profile  Reply
Hi,
you can set IO.Params.DICOM_Range := iedrSetBlackWhite to manually adjust low and high range (not the center). Example:

ImageEnView.LegacyBitmap := false;
ImageEnView.IO.NativePixelFormat := true;
ImageEnView.IO.Params.DICOM_Range := iedrSetBlackWhite;
ImageEnView.IO.LoadFromFile('yourdicom.dcm');

Now you can change ImageEnView.IEBitmap.BlackValue and WhiteValue properties (they are already filled with values from the dicom file):

ImageEnView.IEBitmap.BlackValue := 150;
ImageEnView.Update();
Go to Top of Page

ElCef

4 Posts

Posted - May 21 2013 :  03:05:53  Show Profile  Reply
That's just what I needed. As always thank you for the prompt response.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: