CN1313977C - Compression and decompression for certificate photo - Google Patents

Compression and decompression for certificate photo Download PDF

Info

Publication number
CN1313977C
CN1313977C CNB2004100915863A CN200410091586A CN1313977C CN 1313977 C CN1313977 C CN 1313977C CN B2004100915863 A CNB2004100915863 A CN B2004100915863A CN 200410091586 A CN200410091586 A CN 200410091586A CN 1313977 C CN1313977 C CN 1313977C
Authority
CN
China
Prior art keywords
view data
certificate
compression
decompression
data
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.)
Active
Application number
CNB2004100915863A
Other languages
Chinese (zh)
Other versions
CN1779717A (en
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.)
Vimicro Corp
First Research Institute of Ministry of Public Security
Original Assignee
First Research Institute of Ministry of Public Security
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 First Research Institute of Ministry of Public Security filed Critical First Research Institute of Ministry of Public Security
Priority to CNB2004100915863A priority Critical patent/CN1313977C/en
Publication of CN1779717A publication Critical patent/CN1779717A/en
Application granted granted Critical
Publication of CN1313977C publication Critical patent/CN1313977C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to a compression and decompression method for certificate portrait photos, which provides an image compression and decompression method capable of compressing the original portrait photos of identity cards into 1K bytes and reaching the authentication effective. The method supports the compression and the decompression of the image data for an 'interested' particular zone by analyzing the image data containing human head photos. By a conformal wavelet algorithm, the present invention can store color or back and white images in a high compression ratio and can decompress the color or back and white images in high quality in order not to lose information. The present invention is suitable for storing the head photo data of an IC card holder in a card in an IC card data mode. The present invention stores the collected image data of a certificate portrait photo into the chips of second generation identity cards of residents in a compression way in order to provide the technical scheme of the compression and the decompression of portrait photos for the photo compression and decompression of second generation identity cards of residents.

Description

Compression of certificate Studio Portraits and the method that decompresses
Technical field
The present invention relates to the method that view data is handled, particularly a kind of certificate Studio Portraits compression and the method that decompresses.
Background technology
In the existing Image Compression, mainly use following three kinds of algorithm: JPEG, JPEG000 and fractal compression.JPEG and JPEG2000 method adopt first conversion (JPEG adopts discrete cosine transform, and JPEG2000 adopts wavelet transformation), quantize again, and Bian Ma mode at last is applicable to various compression of images.Usually be in 20 times the time at compression multiple, the picture quality after the compression is better, but surpasses 20 times when compression multiple, and for example bloomings such as mosaic will appear in jpeg compressed image; Though the fractal compression method can realize the vast scale compression, fractal algorithm is confined to have the image of self similarity characteristics, as natural scene images such as shore line, cloud, big trees, can obtain the compression of vast scale.Above-mentioned three kinds of algorithms most in use are not very effective for the compression effectiveness based on the identity photographs of portrait, because existing compression algorithm all is to carrying out at common rectangular image, that is to say that all images compression algorithm all is the universal compressed algorithm to the normal image design at present.
Because the restriction of memory capacity, the machine-readable photograph that People's Republic of China's second generation resident identification card chip internal need be stored, the picture format after requiring to compress are in 1KB, and compression back photograph can reach the effect of authentication.At present the original picture format of gathering of I.D. adopts known method for compressing image at present about 150KB, original photograph is compressed to the size of regulation after, the photograph after the compression can't reach the requirement of authentication, promptly prior art can't produce a desired effect.
Summary of the invention
Purpose of the present invention is to overcome the defective of prior art, and providing a kind of can be compressed to the certificate Studio Portraits in the 1K byte, and authenticates the method for the compression and the decompression of this Studio Portraits again by corresponding decompression.
For achieving the above object, certificate Studio Portraits compression of the present invention and the method that decompresses, this method is takeed on positioning unit, compression unit and output unit by input block, people the certificate Studio Portraits is compressed to the 1K byte and reduces this certificate Studio Portraits by corresponding decompression unit, and this method comprises the steps:
1) starts input block, obtain the view data of the original Studio Portraits of certificate;
2) described view data input people is takeed on positioning unit, the privileged site of discerning portrait in the view data of the original Studio Portraits of described certificate is people's shoulder portion, form a specific compression zone, the view data of described privileged site is extracted from the view data of whole portrait;
3) start compression unit, the view data in described specific compression zone is compressed, comprise the steps:
1. the view data of described privileged site is fitted the shape wavelet transformation;
2. the view data behind the described suitable shape wavelet transformation is carried out quantification treatment;
3. the result to described quantification treatment carries out arithmetic coding;
4) data after output unit is unified transition coding with the view data in background image data and described specific compression zone synthesize the compressed file of the machine-readable photograph of exportable certificate;
5) when recovering this certificate Studio Portraits again, start decompression unit, carry out the step of following decompression:
1. obtain the compressed file of the machine-readable photograph of described certificate;
2. extract the view data of background image data and described specific compression zone in the described compressed file respectively, the view data in described specific compression zone is carried out arithmetic decoding;
3. the view data behind the described arithmetic decoding being carried out inverse quantization handles;
4. described inverse quantization result is fitted the shape inverse wavelet transform;
5. the result of described suitable shape inverse wavelet transform is reverted to the view data in specific compression zone;
6. the decompressed data that the view data and the background image data in described specific compression zone synthesized the certificate Studio Portraits.
Certificate Studio Portraits compression of the present invention and the method that decompresses, wherein said arithmetic coding adopts the EZW zerotree image.
Beneficial technical effects of the present invention is: overcome the defective of prior art, provide a kind of and can reach the compression of the compressed document image that authenticates effect and the method for decompression from the original Studio Portraits of I.D..This method adopts a kind of analytical approach of the view data to the head portrait that contains the people, support the compression and the decompression of the view data of " interested " specific region, can store colour or black white image with high compression ratio, and energy high-quality decompress(ion), drop-out not, the utmost point is suitable for IC-card possessor's the head portrait data form with the IC-card data is stored in the card, be People's Republic of China's second generation resident identification card photograph compression, decompressing provides Studio Portraits compression and the technical scheme that decompresses.
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, in the hope of purpose of the present invention, feature and advantage are obtained more deep understanding.
Description of drawings
Fig. 1 is the compression process figure of certificate Studio Portraits compression of the present invention with decompression method;
Fig. 2 is the process flow diagram of compression unit among Fig. 1;
Fig. 3 is the decompression flow process figure of certificate Studio Portraits compression of the present invention with decompression method.
Embodiment
The embodiment of certificate Studio Portraits of the present invention compression and decompression method is applied on the second generation resident identification card, and the Image Data Compression that is the certificate Studio Portraits that will collect stores in the chip of second generation resident identification card to the 1K byte.
What at first, use in photograph compression and decompression is the exploitation that the people takes on the positioning unit module.According to the object that the certificate Studio Portraits itself has fix, the simple characteristics such as single of background, break through the qualification of existing commercial compressed software full figure compression, a kind of compressibility of the view data based on the specific region has been proposed.The function that the people takes on locating module is to determine the parameters such as position of compressed object before compression in image, in order to solve the possibility of Certification of Second Generation spare 4Kb chip-stored photograph, guarantees the phase tablet quality of storage simultaneously, and this can't realize in commercial algorithm.
Secondly, be the selected of compression algorithm.Wavelet algorithm commonly used all is to be limited in the rectangular area to handle, because the people in early stage takes on the positioning unit module and the people is takeed on image extracts from rectangular image, so formed erose processing region, handled the space if adopt general wavelet algorithm to waste.Therefore,, adopt suitable shape wavelet algorithm, promptly be fit to the wavelet compression algorithm of Any shape processing region at irregularly shaped zone.Facts have proved that suitable shape wavelet algorithm is the compression algorithm that has superiority most in the existing wavelet algorithm.
Below certificate Studio Portraits compression of the present invention is elaborated with the method that decompresses.
With reference to Fig. 1, in step 1, the startup input block at first obtains the view data of the original Studio Portraits of certificate and view data is imported the people take on positioning unit.In step 2, the people takes on positioning unit, and will to discern the privileged site of portrait in the certificate Studio Portraits view data be people's shoulder portion, forms a specific compression zone, and the view data of this privileged site is extracted from the view data of whole portrait.In step 3, compression unit compresses the view data in described specific compression zone.
With reference to Fig. 2, Image Data Compression comprises following four steps: in step 21, earlier the view data of privileged site is fitted the shape wavelet transformation; In step 22, the view data behind the suitable shape wavelet transformation is carried out quantification treatment; In step 23, the result of quantification treatment is carried out arithmetic coding, the mode of this arithmetic coding adopts the EZW zerotree image.In step 24, the data that background image data and specific compression area image data are carried out after the transition coding synthesize the machine-readable photograph compressed file of exportable certificate, and this compressed file will be in the 1K byte.
With reference to Fig. 1, above-mentioned exportable compressed file stores in the chip of second generation resident identification card through output unit 4.
With reference to Fig. 3, when recovering this certificate Studio Portraits again, start decompression unit, carry out the step that decompresses.In step 31, at first obtain the compressed file of the machine-readable photograph of certificate.In step 32, extract the view data of background in the compressed file and the view data in specific compression zone respectively, the data in specific compression zone are carried out arithmetic decoding.In step 33, the view data behind the arithmetic decoding is carried out inverse quantization handle.In step 34, the inverse quantization result is fitted the shape inverse wavelet transform.In step 35, the result of suitable shape inverse wavelet transform is reverted to the view data in specific compression zone.In step 36, the view data of the view data in specific compression zone and background is synthesized the decompressed data of certificate Studio Portraits, for the usefulness of this certificate Studio Portraits of authentication.
Certificate Studio Portraits compression of the present invention and decompression method applied range can be widely used in certificate management infosystems such as I.D., passport.The machine-readable photograph compression/decompression of I.D. compression system can store colour or black white image with high compression ratio, and can high-quality decompress(ion), not drop-out.The novel image analytical method that native system adopts, the method that is the specific compression zone has certain intelligence, support the specific region of " interested ", the compression of arbitrary shaped region, the utmost point is suitable for IC-card possessor's the head portrait data form with the IC-card data is stored in the card, be People's Republic of China's second generation resident identification card photograph compression, decompressing provides Studio Portraits compression and the technical scheme that decompresses.

Claims (2)

1. a certificate Studio Portraits compresses and the method that decompresses, this method is takeed on positioning unit, compression unit and output unit by input block, people the certificate Studio Portraits is compressed to the 1K byte and authenticates this certificate Studio Portraits again by corresponding decompression unit, it is characterized in that this method comprises the steps:
1) starts input block, obtain the view data of the original Studio Portraits of certificate;
2) described view data input people is takeed on positioning unit, the privileged site of discerning portrait in the view data of the original Studio Portraits of described certificate is people's shoulder portion, form a specific compression zone, the view data of described privileged site is extracted from the view data of whole portrait;
3) start compression unit, the view data in described specific compression zone is compressed, comprise the steps:
1. the view data of described privileged site is fitted the shape wavelet transformation;
2. the view data behind the described suitable shape wavelet transformation is carried out quantification treatment;
3. the result to described quantification treatment carries out arithmetic coding;
4) data after output unit carries out transition coding with the view data in background image data and described specific compression zone synthesize the compressed file of the machine-readable photograph of exportable certificate;
5) when authenticating this certificate Studio Portraits again, start decompression unit, carry out the step of following decompression:
1. obtain the compressed file of the machine-readable photograph of described certificate;
2. extract the view data of background image data and described specific compression zone in the described compressed file respectively, the view data in described specific compression zone is carried out arithmetic decoding;
3. the view data behind the described arithmetic decoding being carried out inverse quantization handles;
4. described inverse quantization result is fitted the shape inverse wavelet transform;
5. the result of described suitable shape inverse wavelet transform is reverted to the view data in specific compression zone;
6. the decompressed data that the view data and the background image data in described specific compression zone synthesized the certificate Studio Portraits.
2. certificate Studio Portraits compression according to claim 1 and the method that decompresses, wherein said arithmetic coding adopts the EZW zerotree image.
CNB2004100915863A 2004-11-19 2004-11-19 Compression and decompression for certificate photo Active CN1313977C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100915863A CN1313977C (en) 2004-11-19 2004-11-19 Compression and decompression for certificate photo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100915863A CN1313977C (en) 2004-11-19 2004-11-19 Compression and decompression for certificate photo

Publications (2)

Publication Number Publication Date
CN1779717A CN1779717A (en) 2006-05-31
CN1313977C true CN1313977C (en) 2007-05-02

Family

ID=36770034

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100915863A Active CN1313977C (en) 2004-11-19 2004-11-19 Compression and decompression for certificate photo

Country Status (1)

Country Link
CN (1) CN1313977C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986930A (en) * 2014-06-03 2014-08-13 华中科技大学 Registration picture image compression method suitable for small-capacity information carrier
CN107277114B (en) * 2017-05-26 2019-12-10 中国地质大学(武汉) fractal compression and decompression method and system for vector contour line elements

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1216381A (en) * 1997-11-04 1999-05-12 湖南省公安厅第十四处 ID card making technology using no negative card
CN1307309A (en) * 2000-02-02 2001-08-08 北京科瑞奇技术开发有限公司 Portable recognizer for intelligent anti-fake magnetic card type ID cards
JP2004229101A (en) * 2003-01-24 2004-08-12 Nec Access Technica Ltd Image encoding system and its method
US6798901B1 (en) * 1999-10-01 2004-09-28 Intel Corporation Method of compressing a color image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1216381A (en) * 1997-11-04 1999-05-12 湖南省公安厅第十四处 ID card making technology using no negative card
US6798901B1 (en) * 1999-10-01 2004-09-28 Intel Corporation Method of compressing a color image
CN1307309A (en) * 2000-02-02 2001-08-08 北京科瑞奇技术开发有限公司 Portable recognizer for intelligent anti-fake magnetic card type ID cards
JP2004229101A (en) * 2003-01-24 2004-08-12 Nec Access Technica Ltd Image encoding system and its method

Also Published As

Publication number Publication date
CN1779717A (en) 2006-05-31

Similar Documents

Publication Publication Date Title
Kee et al. Digital image authentication from JPEG headers
Abdelwahab et al. A discrete wavelet transform based technique for image data hiding
US10110907B2 (en) Method and system for optimized delta encoding
Xuan et al. Reversible data hiding using integer wavelet transform and companding technique
Xuan et al. Reversible data hiding based on wavelet spread spectrum
US6298166B1 (en) Image transformations in the compressed domain
CN101911114B (en) Rotational transcoding for JPEG or other coding standards
US7194128B1 (en) Data compression using principal components transformation
WO2006044802A2 (en) System and method for lossless data hiding using the integer wavelet transform
CN100336381C (en) Method for capturing of real-time image
US6686955B1 (en) Lightweight image manipulation for maximizing the capacity of digital photo storage media
CN1313977C (en) Compression and decompression for certificate photo
US20020036801A1 (en) Digital image processing device and digital camera using this device
US20210037182A1 (en) Electronic device for compressing image by using compression attribute generated in image acquisition procedure using image sensor, and operating method thereof
US20020021751A1 (en) System for documenting events
CN1317886C (en) Computer pick-up head for implementing specific effect processing of dynamic image and method thereof
US20040141655A1 (en) Method and apparatus for image processing
CN102547281A (en) Joint photographic experts group (JPEG) image compression concurrency control method based on digital signal processor (DSP)
Tian et al. Authentication and copyright protection watermarking scheme for H. 264 based on visual saliency and secret sharing
Iida et al. Robust image identification for double-compressed and resized JPEG images
JPH10308943A (en) Image processing unit and image processing method
CN113808225B (en) Lossless coding method for image
Cheung et al. A novel multiwavelet-based integer transform for lossless image coding
Zhao et al. A Comparison of Lossless Compression Methods for Palmprint Images.
Cai et al. Lossless image compression with tree coding of magnitude levels

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20081212

Address after: No. 1, South Road, capital gymnasium, Beijing, Haidian District: 100044

Co-patentee after: Beijing Vimicro Co., Ltd.

Patentee after: The first Research Institute of the Ministry of public security

Address before: Beijing 2808 mailbox 20 sub box zip code: 100044

Patentee before: The First Research Institute of Ministry of Public Security