如何手动解码JPEG无损,非分层,一阶预测 [英] How to decode manually JPEG Lossless, Non-Hierarchical, First-Order Prediction

查看:153
本文介绍了如何手动解码JPEG无损,非分层,一阶预测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用JavaScript和HTML5自己创建一个DICOM查看器。我正在研究这个项目最近几天,现在我成功地解析了我需要的所有文本信息,我也可以正确地读取和显示未压缩的灰度和RGB图像。现在我正在尝试显示所谓的JPEG无损,非分层,一阶预测类型的图像(在DICOM文件中,它使用传输语法唯一标识:1.2.840.10008.1.2.4.70)但我我被卡住了。我想手动读取图像的像素数据并从中构建图像。没有关于如何在DICOM文档中存储这些位的实际信息,我真的试图在互联网上找到这种JPEG的良好描述,但没有成功。你能给我一些建议,说明我必须阅读什么来解决我的问题。谢谢大家:)

I'm trying to create a DICOM viewer on my own, using only JavaScript and HTML5. I'm working on this project for the last few days and now I successfully parse all textual information I need and I can also correctly read and display uncompressed Grayscale and RGB images. Now I'm trying to display the so called "JPEG Lossless, Nonhierarchical, First- Order Prediction" type of image (in the DICOM file, it is enumarated with the Transfer Syntax Unique Identification: 1.2.840.10008.1.2.4.70) but I'm stuck. I want to read the Pixel Data of the image manually and build the image out of it. There is no actual information on how the bits are stored in the DICOM documentation and I really tried to find a good description of this kind of JPEG on the internet but with no success. Can you give me some advice on what exactly I have to read to solve my problem. Thank you all :)

推荐答案

查看此文档,可能会引导您进入正确的方向
JPEG无损编解码器

Check this document, probably it leads you into the right direction JPEG Lossless Codec

还有一些可能有用的链接:
dclunie jpeg来源

There are also some more links which may help: dclunie jpeg sources

这篇关于如何手动解码JPEG无损,非分层,一阶预测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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