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
 FMX: DICOM_Range := iedrSetBlackWhite

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
rbeaulieu Posted - Mar 09 2020 : 22:41:33
Hi,

I try to reproduce Black and White value adjustment in the FMX beta, when I use the code below, the image display is totally black when DICOM_Range = iedrSetBlackWhite.

ImageEnView1.IO.Params.NativePixelFormat := True;
ImageEnView1.IO.Params.DICOM_Range := iedrSetBlackWhite;
ImageEnView1.IO.LoadFromFile('C:\Voximage\CT_Chest.dcm');

Anything works fine in VCL version and I can set the WW and WC in the MouseMove Event.

So, in FMX beta version, when DICOM_Range is set to iedrAdjust, the image display correctly with default window width and center, but we can't still set the black and white values.

Any suggestion ?

Regards.
2   L A T E S T    R E P L I E S    (Newest First)
rbeaulieu Posted - Mar 11 2020 : 16:08:48
Thank you, Nigel,

I will do a side-by-side debug into code to see where we note the difference in sub result.

Régent.

Regards.
xequte Posted - Mar 11 2020 : 15:33:55
Hi Regent

NativePixelFormat is not fully tested in the FMX version, and there are likely to be some issues due to it using ie32RGB as its internal bitmap format.

I'll need to look into this one later. You might want to step through the code to see if there's a workaround.

Nigel
Xequte Software
www.imageen.com