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 autoequalization after load

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
gorchi Posted - Mar 23 2012 : 03:21:41
Hi,
one question regarding loading DICOM files. Is there a setting that would enable some equalization (auto brightness or something like this) so that after loading some DICOM's the image would not look too dark or to bright? Comparing the same Dicom in IrfanView, the image there looks much much better than in the demo (Dicom viewer) just downloaded from Your site...

Regards,
Goran
4   L A T E S T    R E P L I E S    (Newest First)
gorchi Posted - Mar 26 2012 : 03:48:54
Thank You Fabrizio! I sent Nigel one such "dark DICOM" in e-mail in september 2011 and since I can't afford testing the new IE I've tested these dicom's using demo DICOM viewer. Unfortunately there is no difference between my current version 3.11 and 4.1 :( Also the idea in 3.11 does not work either. I'll try to find some computer where I can try Your suggestion in the next days.
fab Posted - Mar 23 2012 : 11:47:04
Yes, StretchValues exists since version 4.
Anyway you can leave only AutoCalcBWValues(), but remember to set ZoomFilter=rfNone. In this case the pixel stretching is only "visual" (it is not a changement of the raw pixels).
gorchi Posted - Mar 23 2012 : 03:44:20
Thank You Fabrizio! StretchValues is new to ImageEn 4?
fab Posted - Mar 23 2012 : 03:37:42
Hi,
you should call AutoCalcBWValues() (which automatically adjusts TIEBitmap.WhiteValue and BlackValue), and StretchValues() to make then changes permanent. Example:
ImageEnView1.IEBitmap.AutoCalcBWValues();
ImageEnView1.IEBitmap.StretchValues();
ImageEnView1.Update();