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
 FMX: DICOM_Range := iedrSetBlackWhite
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

rbeaulieu

Canada
15 Posts

Posted - Mar 09 2020 :  22:41:33  Show Profile  Reply
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.

xequte

38185 Posts

Posted - Mar 11 2020 :  15:33:55  Show Profile  Reply
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
Go to Top of Page

rbeaulieu

Canada
15 Posts

Posted - Mar 11 2020 :  16:08:48  Show Profile  Reply
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: