简体   繁体   English

TIFF规范,用于16位灰度

[英]tiff specification for 16-bit grayscale

for an xray-application I need a 16-bit grayscale tiff image. 对于X射线应用程序,我需要16位灰度的tiff图像。 However, reading through the tiff specification (Revision 6.0, Final — June 3, 1992), I just found, that 4 and 8 bit are specified for grayscale images (cf Section 4). 但是,通过阅读tiff规范(修订版6.0,最终版本-1992年6月3日),我发现为灰度图像指定了4位和8位(请参阅第4节)。

Is there a newer specification and where can I get it? 有更新的规范,我在哪里可以得到? Or can someone please explain me the 16-bit grayscale specification, such that I can code it (in C/C++ and Java)? 或者有人可以向我解释16位灰度规范,以便我可以对其进行编码(使用C / C ++和Java)? Is it just setting BitsPerSample = 16 or must I do something else? 只是设置BitsPerSample = 16还是我必须做其他事情吗?

Thanks 谢谢

libtiff supports 16 bpp images. libtiff支持16 bpp图像。 Such images, produced by libtiff, are recognized by another programs, such as ImageJ - you can use it for testing. 由libtiff生成的此类图像可被其他程序(例如ImageJ)识别-您可以将其用于测试。 libtiff library is available here http://www.libtiff.org/ and can be used in C/C++ programs. libtiff库位于http://www.libtiff.org/ ,可在C / C ++程序中使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM