如何在设备上合法显示DICOM 16无符号整数支持8位无符号整数? [英] How to show legally DICOM 16 unsigned integer on the device are supporting 8 bit unsigned integer?

查看:108
本文介绍了如何在设备上合法显示DICOM 16无符号整数支持8位无符号整数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用iOS上的Medical应用程序. iOS设备仅支持GL_UNSIGNED_BYTE和GL_LUMINANCE,或者通常每个组件仅支持8位.现在我有一些灰度图像是16位无符号整数,我想显示它们.我发现我们无法显示16位无符号整数,因此我应该将它们转换为8位无符号整数.但是在Medical中,我不应该丢失数据或应该将数据丢失降至最低.

I'm working on a Medical app on iOS. The iOS devices just support GL_UNSIGNED_BYTE with GL_LUMINANCE or generally just support 8 bit per component. Now I have some grayscale images are 16 bit unsigned integer and I want to show them. I find we can't show 16 bit unsigned integer and Therefore I should convert them to 8 bit unsigned integer. But in Medical I should not loss data or should have minimum data loss.

现在,我的问题是:如何通过Medical中的合法转换将16位无符号整数转换为8位无符号整数?现在,我正在使用最简单的方法来执行此操作.只需将其划分为256:-O.其他一些商业软件正在这样做,并且正在实际使用中.

Now, my question is : how to convert 16 bit unsigned integer to 8 bit unsigned integer by a legal conversion in Medical? Now I'm using simplest way to do this. Just divide it to 256 :-O. Some other commercial softwares are doing this and they are using in action.

谢谢.

推荐答案

必须转换这些值,以便应用 Window Level 来显示它们.

You MUST convert these values in order to show them applying a Window Level.

灰度Dicom图像通常确实具有两个数据元素(Dicom字段),其中包含值WC(窗口中心,数据元素:0028,1050)和WL(窗口级别,数据元素:0028,1051).这些值定义了显示图像中包含的信息所必需的线性方程.

Grayscale Dicom images do usually have two Data Elements (Dicom fields) containing the values WC (Window Center, Data Element: 0028,1050) and WL (Window Level, Data Element: 0028,1051). These values define the linear equation necessary to display the information contained in the image.

您可以在此处.

这篇关于如何在设备上合法显示DICOM 16无符号整数支持8位无符号整数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆