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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 DICOM windowing

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ElCef Posted - May 16 2013 : 03:01:24
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!
2   L A T E S T    R E P L I E S    (Newest First)
ElCef Posted - May 21 2013 : 03:05:53
That's just what I needed. As always thank you for the prompt response.
fab Posted - May 17 2013 : 06:30:38
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();