⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 JPEG2000实现的源码
💻
字号:
/************************************************************************/
/*      (C) Copyright 1999 by Wenjun Zeng,                              */
/*      Sharp Labs. of America.                                         */
/*      5750 NW Pacific Rim Blvd.,                                      */
/*      Camas, WA 98607.                                                */
/*      U.S.A.                                                          */
/************************************************************************/
/*      Tel. (360) 817-7516      FAx. (360) 817-8436                    */
/*      email:zengw@sharplabs.com                                       */
/*      All rights reserved by the author.                              */
/************************************************************************/ 

This is a stand-alone software package for palette-based lossless JPEG2000 
option that has been adpoted into JPEG2000 working draft. It serves as a 
pre-processing (convert color image into an index image and a color table, 
reindex the table for more efficient compression of the index image) to the 
rest of the VM.

It is intended to be used for lossless compression of images with a limited 
number (<=256) of colors such as graphic images. For this types of images, 
it often offers significant performance improvment (up to one order of 
magnitude in terms of file size) over non-palette-based JPEG2000. 
Its performance is usually better ro comparable to GIF.

To compile, type "make"

For an example of how to use this software, see the two scripts under the 
"example" directory: palette_encode and palette_decode


program description:
--------------------
ppm2index:

  convert a color image (in ppm format) to an index image and a color table 
  (with random indexing). Currently, the program is limited to only accept 
  an input ppm image  with up to 256 colors.          

reindex:

  suboptimal reindexing of color table for more efficient lossless compression
  of the index image. This version only accepts .pgx file format (for index 
  map). It will also read in the color table, reorder it correspondingly, and 
  output a new color table.                            

  For details about this reindexing scheme, see the file "reindex.ps"

index2ppm:

  reconstruct a .ppm file from the index image (in .pgx format) and the color 
  palette table 

pgm2pgx
pgx2pgm:

  utility programs, conversion between pgm format and pgx format


Additional notes:
-----------------
1) Currently, the programs are limited to only deal with 
  an image  with up to 256 colors. 
2) The final bitstream size should include the size of the color table.  





⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -