CN101014135A - Preprocessing method for image flow data and compression and decompression method - Google Patents

Preprocessing method for image flow data and compression and decompression method Download PDF

Info

Publication number
CN101014135A
CN101014135A CN 200610062466 CN200610062466A CN101014135A CN 101014135 A CN101014135 A CN 101014135A CN 200610062466 CN200610062466 CN 200610062466 CN 200610062466 A CN200610062466 A CN 200610062466A CN 101014135 A CN101014135 A CN 101014135A
Authority
CN
China
Prior art keywords
data
image
compression
cfa
color attribute
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.)
Pending
Application number
CN 200610062466
Other languages
Chinese (zh)
Inventor
钮旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200610062466 priority Critical patent/CN101014135A/en
Publication of CN101014135A publication Critical patent/CN101014135A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

The invention discloses one image flow data compression and decompression method, wherein, the former comprises the following steps: a, receiving sensor output image data; b, sorting the sensor output image data on color property; c, processing compression on sorted image data. The latter method comprises the following steps: a, processing decompression on received compressed image data to get image data on color property sorting; b, re-sorting the decompressed color to get original CFA form; c, getting RGB color image on CFA decoding operations.

Description

Preprocess method and compression and decompression method to image flow data
Technical field
The present invention relates to preprocess method and the compression and the decompression method of image flow data, be particularly suitable for the compression and the decompression of image flow data in the digital camera.
Background technology
Image flow data compression at present all is after obtaining visual image it to be carried out data compression process.As digital gamma camera, the most employing of the color image sensor that uses in digital camera is called pattra leaves color filter array (Bayer Color Filter Array as shown in Figure 1, abbreviation CFA) form, the primary colours that adopt mostly are the RGB three primary colors, also have to adopt to subtract the formula three primary colors, but structure is identical.
The compression method of above-mentioned image flow data is docile and obedient preface and is comprised the steps:
The first step, the data process CFA decoding that transducer is exported form 24 common RGB chromatic imagies.Common image compression is carried out at data at this moment.
Second step, convert 24 RGB chromatic imagies to yuv format, and form 16 brightness/color component image in 4: 2: 2 mode.
The 3rd goes on foot, the pictorial data that converts yuv format to is compressed.
There is following deficiency in the compression method of above-mentioned pictorial data:
1), the described first step can significantly increase data volume with the data of transducer output through CFA decoding formation chromatic image.As, a width of cloth pixel is that data volume became the 3n byte after the original picture information via CFA decoding of n byte formed 24 chromatic imagies.Increase because of this operation causes data volume, cause data processing cost to increase, waste very much resource and energy, and the visuality of image is optional in this stage.
2) because the pictorial data that forms by second step has become the 2n byte, and wherein the n byte is a luminance component, the n byte is a color component.The pictorial data of this form reduced the data volume of n byte than 24 RGB color image datas, thereby sacrificed 50% color information of image.
3) data compression in the 3rd step is to carry out at every images (2n byte) data of having sacrificed after 50% the color information.
In sum, above-mentioned prior art had not only been wasted resource and energy, but also had been reduced the quality of reduction back image, was necessary to improve.
Summary of the invention
Purpose of the present invention is intended to overcome above-mentioned the deficiencies in the prior art, proposes a kind of method and simply, has not only saved cost, but also can guarantee the compression and the decompression method of the image flow data of image quality.
Realize the technical scheme of above-mentioned purpose:
A kind of preprocess method to image flow data is docile and obedient preface and is comprised the steps:
Step 1: the data of the image of receiving sensor output;
Step 2: the data of the image of transducer output are sorted out arrangement by its color attribute.
A kind of compression method to image flow data is docile and obedient preface and is comprised the steps:
Step 1: the data of the image of receiving sensor output;
Step 2: the data of the image of transducer output are sorted out arrangement by its color attribute;
Step 3: the data of step 2 being sorted out the image after arranging are compressed processing.
A kind of decompression method to image flow data is docile and obedient preface and is comprised the steps:
Step 1: the image compression data that receive are decompressed, obtain sorting out the data of the image of arranging by color attribute;
Step 2: the data of sorting out the image of the compression of arranging by color attribute after step 1 decompressed rearrange into original CFA form;
Step 3: the original CFA format pattern data that step 2 is obtained obtain the RGB chromatic image by the CFA decode operation.
Adopt technique scheme, beneficial technical effects of the present invention is:
1) to the preprocess method of image flow data: by sorting out arrangement by its color attribute from the data that transducer obtains, can be used for the image spectrum analysis,, digital image processing field such as image data analysis, pictorial data statistics.
2) to the compression method of image flow data: the data that obtain from transducer are sorted out arrangement by its color attribute, this operates the increase that only influences the ordering of data (n byte) and do not cause data volume, directly the n byte data spirogram image data of sorting out after arranging is compressed processing then, thereby be the operation of minimum data amount, do not need CFA decode operation (the present invention is placed on the back of decompressing with CFA decoding) and the color space transformation that does not need to add to operate, pictorial data before compression without any loss.Therefore, compression method of the present invention is simple, has both saved cost, has avoided the waste of resource and energy, has guaranteed image quality again.
3) to the decompression method of image flow data: the decompression operation that only need carry out the n byte data, and then will rearrange into original CFA form by the data that color attribute is arranged, carry out as can obtain the RGB chromatic image behind the CFA decode operation, and colour at this moment is 24.Image quality after the reduction remains unchanged.
In sum, this method will be with the operand of common image compression method 1/2 and cancellation the RGB-because of adopting conventional method to adopt the minimum operation cost of YUV conversion, obtain and keep image still to have the performance of 24 colours.
Description of drawings
Fig. 1 is a kind of pattern formation of pattra leaves color filter array.
To be the data that will obtain from transducer sort out pattern formation after the arrangement by its color attribute to Fig. 2.
Fig. 3 is a kind of compression method flow chart to image flow data.
Fig. 4 is a kind of decompression method flow chart to image flow data.
Embodiment
A kind of compression method to image flow data in conjunction with Fig. 2 and Fig. 3, is docile and obedient preface and is comprised the steps:
Step 1: the data of the image of receiving sensor output, as, the data of image can be Gr, R, B, Gb (also can be their complementary color);
Step 2: the data of the image of transducer output are sorted out arrangement by its color attribute, as, with each images data of transducer output by its color attribute be classified into Gr, R respectively, B, Gb arrange;
Step 3: the data of step 2 being sorted out the image after arranging are compressed processing.
To after the above-mentioned compression that receives to the decompression method of image flow data, be docile and obedient preface and comprise the steps:
Step 1: the data to the image of the compression that receives decompress, and obtain sorting out by color attribute the data (Gr, R, B and Gb) of the image of arranging;
Step 2: sorting out arrangement (Gr, R, B and Gb) pictorial data by color attribute and rearrange into original CFA form after step 1 decompressed;
Step 3: the original CFA format pattern data that step 2 is obtained obtain the RGB chromatic image by the CFA decode operation.

Claims (3)

1, a kind of preprocess method to image flow data is docile and obedient preface and is comprised the steps:
Step 1: the data of the image of receiving sensor output;
Step 2: the data of the image of transducer output are sorted out arrangement by its color attribute.
2, a kind of compression method to image flow data is docile and obedient preface and is comprised the steps:
Step 1: the data of the image of receiving sensor output;
Step 2: the data of the image of transducer output are sorted out arrangement by its color attribute;
Step 3: the data of step 2 being sorted out the image after arranging are compressed processing.
3, a kind of decompression method to image flow data is docile and obedient preface and is comprised the steps:
Step 1: the data to the image of the compression of sort out arranging by color attribute that receives decompress, and obtain sorting out by color attribute the data of the image of arranging;
Step 2: the data of sorting out the image of arranging by color attribute after step 1 decompressed rearrange into original CFA form;
Step 3: the original CFA format pattern data that step 2 is obtained obtain the RGB chromatic image by the CFA decode operation.
CN 200610062466 2006-09-04 2006-09-04 Preprocessing method for image flow data and compression and decompression method Pending CN101014135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610062466 CN101014135A (en) 2006-09-04 2006-09-04 Preprocessing method for image flow data and compression and decompression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610062466 CN101014135A (en) 2006-09-04 2006-09-04 Preprocessing method for image flow data and compression and decompression method

Publications (1)

Publication Number Publication Date
CN101014135A true CN101014135A (en) 2007-08-08

Family

ID=38701383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610062466 Pending CN101014135A (en) 2006-09-04 2006-09-04 Preprocessing method for image flow data and compression and decompression method

Country Status (1)

Country Link
CN (1) CN101014135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557520B (en) * 2008-04-07 2011-08-24 安奇逻辑股份有限公司 Dynamic image processing device, dynamic image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557520B (en) * 2008-04-07 2011-08-24 安奇逻辑股份有限公司 Dynamic image processing device, dynamic image processing method

Similar Documents

Publication Publication Date Title
US11671550B2 (en) Method and device for color gamut mapping
CN110785989B (en) Method and apparatus for gamut mapping
RU2008134468A (en) PREPARATION OF IMAGE DATA FOR IMPROVED COMPRESSION
US6069972A (en) Global white point detection and white balance for color images
EP2675149B1 (en) Cell-based compression of digital images
CN102356635A (en) Video acquisition and processing systems
US11741585B2 (en) Method and device for obtaining a second image from a first image when the dynamic range of the luminance of the first image is greater than the dynamic range of the luminance of the second image
CN102812705A (en) Image encoder and image decoder
CN110741623B (en) Method and apparatus for gamut mapping
US20090066820A1 (en) Filtering optimization via implicit bayer grid subsampling
CN106464923A (en) Method and device for signaling in a bitstream a picture/video format of an LDR picture and a picture/video format of a decoded HDR picture obtained from said LDR picture and an illumination picture
CN101355634B (en) Method and system for regulating image chromaticity
CN1210943C (en) Method and apparatus for colour picture digital processing and compressing
WO2001084851A1 (en) Image signal processing method, image signal processing device, and image signal processing system
CN102511166B (en) The vision signal minimizing the crosstalk between luminance signal and color difference signal produces equipment and method
Lukac et al. Single-sensor camera image compression
US20070188514A1 (en) Method and system for performing interleaved to planar transformation operations in a mobile terminal having a video display
EP1028595A2 (en) Improvements in or relating to digital cameras
CN103747222A (en) Method and apparatus for suppressing color artifact of image
WO2016184762A1 (en) Method and device for processing color image data representing colors of a color gamut.
CN102957919A (en) Digital image brightness enhancement method
US20040263663A1 (en) Digital camera image controller apparatus for a mobile phone
CN101014135A (en) Preprocessing method for image flow data and compression and decompression method
JP2010232954A (en) Image processing apparatus and image processing program
US20040240563A1 (en) Video preprocessor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070808