CN103997647A - Wide-dynamic-range image compression method - Google Patents
Wide-dynamic-range image compression method Download PDFInfo
- Publication number
- CN103997647A CN103997647A CN201410077717.6A CN201410077717A CN103997647A CN 103997647 A CN103997647 A CN 103997647A CN 201410077717 A CN201410077717 A CN 201410077717A CN 103997647 A CN103997647 A CN 103997647A
- Authority
- CN
- China
- Prior art keywords
- image
- data
- bit depth
- wide
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention relates to an image compression technology, in particular to a wide-dynamic-range image compression method. The wide-dynamic-range image compression method mainly solves the technical problems that in the image compression process in the prior art, image texture or brightness information is lost through being limited by the bit depth, the rebuilding of wide-dynamic-range images cannot be completed, and the like. According to the wide-dynamic-range image compression method, the brightness information and the texture information of the images are separated, two groups of image data after the bit depth reduction are obtained, and then, the brightness information and the texture information of the images are respectively compressed.
Description
Technical field
The present invention relates to a kind of Image Compression, especially relate to a kind of wide dynamic images compression method.
Background technology
Dynamic range refers to the brightness ratio of the brightest and dark-part of image, and token image is obtained the adaptive capacity of equipment to scenery brightness.Wide dynamic images (Wide Dynamic Range Image) refers to and in the large scene of light and shade contrast, can accurately reflect scenery details by the image with wide brightness span.
Image compression refers to and ensureing, under the prerequisite of reconstructed image quality, to remove the redundant information in original image, goes the as far as possible intactly object of image information of expression thereby reach by the least possible data.
At present, the compression method generally using, for example JPEG(Joint Photographic Experts Groups) in coding method, input data and output data are 8 (bit), and image comprises at most 256 tonal gradations.For more than 8 view data, conventionally adopt after the most-significant byte or least-significant byte that intercepts view data, the image of 8 bit depth is carried out to data compression again.This compression method is to lose texture information (intercepting most-significant byte) or lose monochrome information (intercepting least-significant byte) for cost realizes, and cannot complete the reconstruction of wide dynamic images.
Summary of the invention
The present invention is to provide a kind of wide dynamic images compression method, and it is mainly to solve in prior art existing image compression process, is subject to bit depth restriction and loses image texture or monochrome information, cannot complete the technical problem of the reconstruction etc. of wide dynamic images.
Above-mentioned technical problem of the present invention is mainly solved by following technical proposals:
A kind of wide dynamic images compression method of the present invention, described method comprises:
A. raw image data is divided into many subregions taking m × n pixel as unit, wherein m, n are positive integer;
B. calculate the average of image pixel in each m × n region, and intercept the high p position of this average as the monochrome information of initial data image, p is the bit depth that positive integer and p are less than original image, and acquisition bit depth is that p, data amount check are initial data 1/ (the image luminance information data of m × n);
C. in each m × n region, initial data is multiplied by scale factor s=2
tafter, wherein t is natural number and t < p, calculates the ratio of income value and the high p bit data of step 2 gained pixel average, and this ratio is carried out obtaining bit depth than the image texture information of initial data bit depth little (p-t) after rounding operation;
D. utilize common compression algorithm, for example standard JPEG compressed encoding, the monochrome information data to image and image texture data are compressed respectively.
The present invention has the method that has adopted difference memory image monochrome information and texture information, and image keeps original dynamic range in compression process, improves the quality of image compression, and computational methods are simple, and operation time is short, compression ratio high.
Brief description of the drawings
Accompanying drawing 1 is a kind of schematic diagram of the present invention.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment 1: a kind of wide dynamic images compression method of this example, as Fig. 1, step is:
A. be 1920 × 1080 by a width resolution, bit depth is the raw image data of 12, taking adjacent 2 × 2 pixels as a sub regions, is divided into into 960 × 540 sub regions;
B. calculate the average of image pixel in each 2 × 2 regions, and intercept high 7 monochrome informations as initial data image of this average, obtaining bit depth is the image luminance information data that 7, data amount check are 960 × 540;
C. in each 2 × 2 regions, initial data is multiplied by scale factor s=2
2after, calculating the ratio of income value and high 7 bit data of step b gained pixel average, it is the image texture information of 7 that this ratio is carried out obtaining after rounding operation the degree of depth;
D. utilize common compression algorithm, for example standard JPEG compressed encoding, the monochrome information data to image and image texture data are compressed respectively.
Embodiment 2: a kind of wide dynamic images compression method of this example, as Fig. 1, step is:
A. be 2048 × 1536 by a width resolution, bit depth is the raw image data of 14, taking adjacent 4 × 3 pixels as a sub regions, is divided into into 512 × 512 sub regions;
B. calculate the average of image pixel in each 4 × 3 regions, and intercept the most-significant byte of this average as the monochrome information of initial data image, obtaining bit depth is the image luminance information data that 8, data amount check are 512 × 512;
C. in each 4 × 3 regions, initial data is multiplied by scale factor s=2
2after, calculating the ratio of income value and step b gained pixel average most-significant byte data, it is the image texture information of 8 that this ratio is carried out obtaining after rounding operation the degree of depth;
D. utilize common compression algorithm, for example standard JPEG compressed encoding, the monochrome information data to image and image texture data are compressed respectively.
The foregoing is only specific embodiments of the invention, but architectural feature of the present invention is not limited to this, any those skilled in the art is in the field of the invention, and the variation of doing or modification are all encompassed among the scope of the claims of the present invention.
Claims (1)
1. a wide dynamic images compression method, is characterized in that described method comprises:
A. raw image data is divided into many subregions taking m × n pixel as unit, wherein m, n are positive integer;
B. calculate the average of image pixel in each m × n region, and intercept the high p position of this average as the monochrome information of initial data image, p is the bit depth that positive integer and p are less than original image, and acquisition bit depth is that p, data amount check are initial data 1/ (the image luminance information data of m × n);
C. in each m × n region, initial data is multiplied by scale factor s=2
tafter, wherein t is natural number and t < p, calculates the ratio of income value and the high p bit data of step b gained pixel average, and this ratio is carried out obtaining bit depth than the image texture information of initial data bit depth little (p-t) after rounding operation;
D. utilize common compression algorithm, for example standard JPEG compressed encoding, the monochrome information data to image and image texture data are compressed respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410077717.6A CN103997647B (en) | 2014-03-05 | 2014-03-05 | A kind of wide dynamic images compression method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410077717.6A CN103997647B (en) | 2014-03-05 | 2014-03-05 | A kind of wide dynamic images compression method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103997647A true CN103997647A (en) | 2014-08-20 |
CN103997647B CN103997647B (en) | 2018-02-06 |
Family
ID=51311633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410077717.6A Expired - Fee Related CN103997647B (en) | 2014-03-05 | 2014-03-05 | A kind of wide dynamic images compression method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103997647B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112233313A (en) * | 2020-10-19 | 2021-01-15 | 中国工商银行股份有限公司 | Paper money identification method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070165925A1 (en) * | 2005-11-24 | 2007-07-19 | Medison Co., Ltd. | Image processing system and method of enhancing the quality of an ultrasound image |
CN101622878A (en) * | 2007-01-10 | 2010-01-06 | 汤姆逊许可公司 | Video encoding method and video decoding method for enabling bit depth scalability |
CN103177429A (en) * | 2013-04-16 | 2013-06-26 | 南京理工大学 | FPGA (field programmable gate array)-based infrared image detail enhancing system and method |
CN103530896A (en) * | 2013-09-25 | 2014-01-22 | 电子科技大学 | Image compression and detail enhancement method for infrared image |
-
2014
- 2014-03-05 CN CN201410077717.6A patent/CN103997647B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070165925A1 (en) * | 2005-11-24 | 2007-07-19 | Medison Co., Ltd. | Image processing system and method of enhancing the quality of an ultrasound image |
CN101622878A (en) * | 2007-01-10 | 2010-01-06 | 汤姆逊许可公司 | Video encoding method and video decoding method for enabling bit depth scalability |
CN103177429A (en) * | 2013-04-16 | 2013-06-26 | 南京理工大学 | FPGA (field programmable gate array)-based infrared image detail enhancing system and method |
CN103530896A (en) * | 2013-09-25 | 2014-01-22 | 电子科技大学 | Image compression and detail enhancement method for infrared image |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112233313A (en) * | 2020-10-19 | 2021-01-15 | 中国工商银行股份有限公司 | Paper money identification method, device and equipment |
CN112233313B (en) * | 2020-10-19 | 2022-06-21 | 中国工商银行股份有限公司 | Paper money identification method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN103997647B (en) | 2018-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9736455B2 (en) | Method and apparatus for downscaling depth data for view plus depth data compression | |
US20150312593A1 (en) | Compression of light field images | |
KR20210050186A (en) | Apparatus and method for performing artificial intelligence encoding and artificial intelligence decoding of image | |
CN105933708B (en) | A kind of method and apparatus of data compression and decompression | |
RU2013152741A (en) | METHOD AND DEVICE FOR GENERATING AN IMAGE CODING SIGNAL | |
US20170243323A1 (en) | Method of and apparatus for processing a frame | |
CN103916669A (en) | High dynamic range image compression method and device | |
CN103778900B (en) | A kind of image processing method and system | |
CN110717868B (en) | Video high dynamic range inverse tone mapping model construction and mapping method and device | |
CN106464887A (en) | Image decoding method and device therefor, and image encoding method and device therefor | |
KR20180072548A (en) | Encoding and decoding of image data | |
CN110557637A (en) | Apparatus for encoding image, apparatus for decoding image, and image sensor | |
EP3343446A1 (en) | Method and apparatus for encoding and decoding lists of pixels | |
CN103700121A (en) | Method and device for compressing composite image | |
CN103763564A (en) | Depth image coding method based on edge lossless compression | |
CN103763558A (en) | Texture image compression method based on image similarities | |
CN112887722B (en) | Lossless image compression method | |
WO2021174959A1 (en) | Systems and methods for processing infrared data | |
US11600026B2 (en) | Data processing systems | |
CN104902207A (en) | High speed signal collection method | |
CN103997647A (en) | Wide-dynamic-range image compression method | |
CN104954749B (en) | A kind of information recording method | |
CN103297703A (en) | Multispectral image acquisition method | |
CN110087085A (en) | Image processing apparatus | |
CN104883573A (en) | Signal high-efficient processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180206 |