Author |
Topic |
|
rbeaulieu
Canada
15 Posts |
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. |
|
xequte
38185 Posts |
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
|
|
|
rbeaulieu
Canada
15 Posts |
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. |
|
|
|
Topic |
|
|
|