Archived issue #0032841
Visualization - add 16-bit grayscale pixel format to Image_PixMap
Description
Adding 16-bit grayscale pixel format to Image_PixMap could be useful for medical imaging applications.
Steps to reproduce
pload MODELING VISUALIZATION box b 1 2 3 #vcaps -deepColor vinit View1 vdisplay -dispMode 1 b vfit vaspects b -shadingModel UNLIT vtexture b Attachment 1 (TIF) vleft vfit
Public activity
10 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Commenter 2.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Tue Mar 1 22:34:31 2022 +0300
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap
Added Image_Format_Gray16 pixel format definition, which could be uploaded into GL_R16 texture.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Tue Mar 1 22:34:31 2022 +0300
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap
Added Image_Format_Gray16 pixel format definition, which could be uploaded into GL_R16 texture.
Branch [archived branch] has been updated forcibly by Commenter 2.
[revision removed]
[revision removed]
Attachment 1 (TIF) (20,420 bytes)
Branch [archived branch] has been updated by Commenter 2.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Tue Mar 1 23:09:07 2022 +0300
Added Image_Format_GrayF_half for completeness.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Tue Mar 1 23:09:07 2022 +0300
Added Image_Format_GrayF_half for completeness.
Branch [archived branch] has been created by Commenter 2.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Tue Mar 1 22:34:31 2022 +0300
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap
Added Image_Format_Gray16 pixel format definition, which could be uploaded into GL_R16 texture.
Added Image_Format_GrayF_half mapped to GL_R16F texture.
[revision removed]
Detailed log of new commits:
Author: Commenter 2
Date: Tue Mar 1 22:34:31 2022 +0300
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap
Added Image_Format_Gray16 pixel format definition, which could be uploaded into GL_R16 texture.
Added Image_Format_GrayF_half mapped to GL_R16F texture.
Patch is ready for review
- OCCT: branch CR32841_1.
http://jenkins-test-occt.nnov.opencascade.com/view/CR32841_1-master-KGV/
- OCCT: branch CR32841_1.
http://jenkins-test-occt.nnov.opencascade.com/view/CR32841_1-master-KGV/
The patch was reviewed
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18394.330000000256 / 18467.180000000375 [-0.39%]
Products
Total CPU difference: 11708.150000000112 / 11716.630000000077 [-0.07%]
Windows-64-VC14:
OCCT
Total CPU difference: 20348.171875 / 20359.046875 [-0.05%]
Products
Total CPU difference: 13154.5625 / 13140.734375 [+0.11%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18394.330000000256 / 18467.180000000375 [-0.39%]
Products
Total CPU difference: 11708.150000000112 / 11716.630000000077 [-0.07%]
Windows-64-VC14:
OCCT
Total CPU difference: 20348.171875 / 20359.046875 [-0.05%]
Products
Total CPU difference: 13154.5625 / 13140.734375 [+0.11%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]