13452075openjpeg2000sourcecode
所属分类:图形图像处理
开发工具:Visual C++
文件大小:1837KB
下载次数:5
上传日期:2012-07-18 14:05:38
上 传 者:
shenyuanjun
说明: JPEG200压缩和解压的源码,可以只针对单帧图像压缩和解压缩
(JPEG200 compression and decompression of the source code, and can only to a single frame image compression and compression)
文件列表:
openjpeg2000sourcecode\OpenJPEG\codec\.cvsignore (36, 2003-11-27)
openjpeg2000sourcecode\OpenJPEG\codec\compat\getopt.c (4007, 2004-04-29)
openjpeg2000sourcecode\OpenJPEG\codec\compat\getopt.h (275, 2004-04-29)
openjpeg2000sourcecode\OpenJPEG\codec\convert.c (25373, 2004-11-15)
openjpeg2000sourcecode\OpenJPEG\codec\convert.h (1928, 2004-04-29)
openjpeg2000sourcecode\OpenJPEG\codec\image_to_j2k.c (31655, 2004-12-08)
openjpeg2000sourcecode\OpenJPEG\codec\image_to_j2k.dsp (7086, 2004-07-07)
openjpeg2000sourcecode\OpenJPEG\codec\image_to_j2k.dsw (549, 2004-01-31)
openjpeg2000sourcecode\OpenJPEG\codec\image_to_j2k.ncb (484352, 2007-03-01)
openjpeg2000sourcecode\OpenJPEG\codec\image_to_j2k.opt (48640, 2007-03-01)
openjpeg2000sourcecode\OpenJPEG\codec\image_to_j2k.plg (258, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image.c (18422, 2004-11-27)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image.dsp (6994, 2004-07-07)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image.dsw (549, 2004-01-31)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image.ncb (328704, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image.opt (48640, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image.plg (2262, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\bio.obj (9475, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\cio.obj (8552, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\dwt.obj (24423, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\fix.obj (2647, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\getopt.obj (5132, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\int.obj (6229, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\j2k.obj (80617, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\j2k_to_image.exe (413826, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\j2k_to_image.ilk (319036, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\j2k_to_image.obj (20056, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\j2k_to_image.pch (246932, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\j2k_to_image.pdb (599040, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\jp2.obj (21629, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\jpt.obj (5833, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\mct.obj (7186, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\mqc.obj (25233, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\pi.obj (17338, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\raw.obj (4300, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\t1.obj (41932, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\t2.obj (19069, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\tcd.obj (63383, 2006-09-05)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\tgt.obj (7838, 2005-03-02)
openjpeg2000sourcecode\OpenJPEG\codec\j2k_to_image___Win32_Debug\vc60.idb (82944, 2006-09-05)
... ...
List of parameters for the coder JPEG 2000 :
Date : June the 25th, 2003
Author : Yannick Verschueren
Contact : verschueren@tele.ucl.ac.be
- the option -help displays the readme.txt file on screen
- The markers COD and QCD are writed both of two in the main_header and never appear in the tile_header. The markers in the main header are : SOC SIZ COD QCD COM.
- This coder can encode mega image, a test was made on a 24000x24000 pixels color image. You need enough disk space memory (twice the original) to encode the image. (i.e. for a 1.5 Gb image you need a minimum of 3Gb of disk memory)
REMARKS :
---------
* the value of rate enter in the code line is the compression factor !
exemple :
-r 20,10,1 means quality 1 : compress 20x, quality 2 : compress 10x and quality 3 : compress 1x = lossless
* The number of resolution can be modified by the program in view to respect profile-0 conditions (Taubman, Marcelin (2002), "JPEG2000, image compression fundamentals, standards and practice", p700)
By default :
------------
* lossless
* 1 tile
* size of precinct 2^15 x 2^15 (means 1 precinct)
* size of code-block *** x ***
* Number of resolution : 6
* No SOP marker in the codestream
* No EPH marker in the codestream
* No sub-sampling in x and y direction
* No mode switch activated
* progression order : LRCP
* No index file
* No ROI upshifted
* No offset of the origin of the image
* No offset of the origin of the tiles
* Reversible DWT 5-3
Parameters :
------------
-i : source file (-i source.pnm also *.pgm, *.ppm) "required"
-o : destination file (-o dest.j2k) "required"
-r : different rates (-r 20,10,5) "optional"
-n : Number of resolution (-n 3) "optional"
-b : size of code block (-b 32,32) "optional"
-c : size of precinct (-c 128,128) "optional"
-t : size of tile (-t 512,512) "optional"
-p : progression order (-p LRCP) [LRCP, RLCP, RPCL, PCRL, CPRL] "optional"
-s : subsampling factor (-s 2,2) [-s X,Y] "optional"
-SOP : write SOP marker before each packet "optional"
-EPH : write EPH marker after each header packet "optional"
-M : mode switch (-M 3) [1= BYPASS(LAZY) 2=RESET 4=RESTART(TERMALL) 8=VSC 16=ERTERM(SEGTERM) 32=SEGMARK(SEGSYM)] "optional"
for several mode switch you have to add the value of each mode you want
ex : RESTART(4) + RESET(2) + SEGMARK(32) = -M 38
-x : Create an index file *.Idx (-x index_name.Idx) "optional"
-ROI:c=%d,U=%d : quantization indices upshifted for component c=%d [%d = 0,1,2]
with a value of U=%d [0 <= %d <= 37] (i.e. -ROI:c=0,U=25) "optional"
-d : offset of the origin of the image (-d 150,300) "optional"
-T : offset of the origin of the tiles (-T 100,75) "optional"
-I : Use the irreversible DWT 9-7 (-I) "optional"
IMPORTANT :
-----------
* subsampling bigger than 2 can produce error
The index file respect the structure below :
---------------------------------------------
Image_height Image_width
progression order
Tiles_size_X Tiles_size_Y
Components_nb
Layers_nb
decomposition_levels
Precincts_size_X Precincts_size_Y
Main_header_end_position
Codestream_size
Tile0 start_pos end_Theader end_pos
Tile1 " " "
...
TileN " " "
Tpacket_0 Tile layer res. comp. prec. start_pos end_pos
...
Tpacket_M " " " " " " "
近期下载者:
相关文件:
收藏者: