CN102932581B - Image processing circuit and image processing method - Google Patents

Image processing circuit and image processing method Download PDF

Info

Publication number
CN102932581B
CN102932581B CN201110225703.0A CN201110225703A CN102932581B CN 102932581 B CN102932581 B CN 102932581B CN 201110225703 A CN201110225703 A CN 201110225703A CN 102932581 B CN102932581 B CN 102932581B
Authority
CN
China
Prior art keywords
absolute error
frequency absolute
block
high frequency
low frequency
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
CN201110225703.0A
Other languages
Chinese (zh)
Other versions
CN102932581A (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.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN201110225703.0A priority Critical patent/CN102932581B/en
Publication of CN102932581A publication Critical patent/CN102932581A/en
Application granted granted Critical
Publication of CN102932581B publication Critical patent/CN102932581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A kind of image processing circuit and image processing method.Image processing circuit comprises block matching unit, multiplexer, moderator and motion compensation circuit.Block matching unit according to the reference block of the current block of current picture and reference picture calculate high frequency absolute error and and low frequency absolute error and.Moderator according to arbitration rules control multiplexer optionally export high frequency absolute error and or low frequency absolute error and, arbitration rules are relevant to the scene characteristics of current picture.The high frequency absolute error that motion compensation circuit exports according to multiplexer and or low frequency absolute error and carry out motion compensation.

Description

Image processing circuit and image processing method
Technical field
The present invention relates to a kind of image processing circuit and image processing method, and in particular to a kind of can according to high frequency absolute error and or low frequency absolute error and carry out image processing circuit and the image processing method of motion compensation.
Background technology
Please refer to Fig. 1, Fig. 1 illustrates the schematic diagram into mobile estimation and motion compensating device.Mobile estimation and motion compensation (MotionEstimateandMotionCompensation, MEMC) device 1 comprise mobile estimation engine 11 and motion compensation circuit 12.Mobile estimation engine 11 carries out mobile estimating according to current picture and reference picture, makes motion compensation circuit go out to compensate picture according to the interpolation of mobile estimating result.
Mobile estimation engine 11 comprises block matching unit (BlockMatchingUnit) 111.Current picture can be cut into equal-sized block by block matching unit (BlockMatchingUnit) 111, and each block has corresponding region of search in reference picture.The low frequency absolute error that block matching unit 111 can calculate current block and reference block with to find out the block the most similar to oneself in region of search.
Referring to Fig. 1, Fig. 2, Fig. 3 and Fig. 4, Fig. 2 illustrates the schematic diagram into reference picture, and Fig. 3 is the schematic diagram of current picture, and Fig. 4 illustrates the schematic diagram into interpolation image.But, when broadcasting pictures occur flicker scene time, block matching unit 111 namely cannot according to low frequency absolute error with find out the block the most similar to oneself.For example, the regional area 21 of Fig. 2 and the regional area 31 of Fig. 3 are such as car light.Regional area 21 is complete dark, and regional area 31 is entirely bright.Because regional area 31 is excessive with the pixel difference value of regional area 21, therefore block matching unit 111 namely cannot according to low frequency absolute error with find out the block the most similar to oneself.Thus, motion compensation circuit 12 can cause motion compensation circuit 12 interpolation to go out interpolation image as Fig. 4 illustrates because the block comparison of block matching unit 111 is incorrect.Wherein regional area 41 corresponds to regional area 31 and regional area 21.And regional area 41 can cause shape to produce distortion because block comparison is incorrect.
Summary of the invention
The present invention relates to a kind of image processing circuit and image processing method, can be that flicker or object move and correctly find out the block the most similar to oneself correctly to carry out motion compensation according to regional area.
According to the present invention, a kind of image processing circuit is proposed.Image processing circuit comprises block matching unit (BlockMatchingUnit), multiplexer, moderator and motion compensation circuit.Block matching unit according to the reference block of the current block of current picture and reference picture calculate high frequency absolute error and (SumofAbsoluteDifference, SAD) and low frequency absolute error and.Moderator according to arbitration rules control multiplexer optionally export high frequency absolute error and or low frequency absolute error and, arbitration rules are relevant to the scene characteristics of current picture.The high frequency absolute error that motion compensation circuit exports according to multiplexer and or low frequency absolute error and carry out motion compensation.
According to the present invention, a kind of image processing method is proposed.Image processing method comprises: according to the reference block of the current block of current picture and reference picture calculate high frequency absolute error and (SumofAbsoluteDifference, SAD) and low frequency absolute error and; According to arbitration rules optionally export high frequency absolute error and or low frequency absolute error and, arbitration rules are relevant to the scene characteristics of current picture; And according to high frequency absolute error and or low frequency absolute error and carry out motion compensation.
In order to have better understanding to above-mentioned and other aspect of the present invention, preferred embodiment cited below particularly, and coordinating accompanying drawing, being described in detail below:
Accompanying drawing explanation
Fig. 1 illustrates the schematic diagram into mobile estimation and motion compensating device.
Fig. 2 illustrates the schematic diagram into reference picture.
Fig. 3 is the schematic diagram of current picture.
Fig. 4 illustrates the schematic diagram into interpolation image.
Fig. 5 illustrates the schematic diagram into a kind of image processing circuit according to the first embodiment.
Fig. 6 illustrates the flow chart into the image processing method according to the first embodiment.
[main element symbol description]
10:
1: mobile estimation and motion compensating device
5: image processing circuit
11,51: mobile estimation engine
12,52: motion compensation circuit
21,31,41: regional area
53: multiplexer
54: moderator
61 ~ 63: step
511,111: block matching unit
20:
Embodiment
First embodiment
Illustrate the schematic diagram into a kind of image processing circuit according to the first embodiment referring to Fig. 5 and Fig. 6, Fig. 5, Fig. 6 illustrates the flow chart into the image processing method according to the first embodiment.Image processing circuit 5 comprises mobile estimation engine 51, motion compensation circuit 52, multiplexer 53 and moderator 54, and mobile estimation engine 51 also comprises block matching unit (BlockMatchingUnit) 511.Image processing method can be applied to image processing circuit 5 and comprise the steps:
First as shown at step 61, block matching unit 511 exports high frequency absolute error and (SumofAbsoluteDifference, SAD) AC_SAD and low frequency absolute error and DC_SAD according to the reference block of the current block of current picture and reference picture.Block matching unit 511 is according to the pixel value of current block with the pixel value of reference block calculate low frequency absolute error and DC_SAD.Low frequency absolute error and the displacement that (x, y) is current block and reference block, and a block has N × N number of pixel.
High frequency absolute error and two kinds of account forms can be had.The first account form by block matching unit 511 according to low frequency absolute error and DC_SAD and direct current difference value DC diffcalculate high frequency absolute error and AC_SAD.High frequency absolute error and AC_SAD=|DC_SAD-DC diff|.The second account form is by the pixel value of block matching unit 511 according to current block the average pixel value DC of current block avg1, reference block pixel value and the average pixel value DC of reference block avg2calculate high frequency absolute error and AC_SAD.High frequency absolute error and AC _ SAD = Σ i = 0 N - 1 Σ j = 0 N - 1 | | f i , j t - D C avg 1 | - | f i + x , j + y t - 1 - D C avg 2 | | .
Then, as shown in step 62, moderator 54 controls multiplexer 53 according to arbitration rules and optionally exports high frequency absolute error and AC_SAD or low frequency absolute error and DC_SAD, and arbitration rules are relevant to the scene characteristics of current picture.Then as shown at step 63, the high frequency absolute error that exports according to multiplexer 53 of motion compensation circuit 52 and AC_SAD or low frequency absolute error and DC_SAD carry out motion compensation.
When regional area is for flicker (flash), motion compensation circuit 52 correctly can carry out motion compensation according to high frequency absolute error and AC_SAD.On the contrary, when regional area be object move time, motion compensation circuit 52 correctly can carry out motion compensation according to low frequency absolute error and DC_SAD.Thus, move no matter regional area is flicker or object, mobile image processing circuit 5 correctly can carry out motion compensation.
Aforementioned current picture also comprises the several adjacent block adjacent with current block, and aforementioned arbitration rules such as comprise adjacent block arbitration rules.If adjacent block arbitration rules are multiplexer 53, corresponding adjacent block exports high frequency absolute error and AC_SAD, then the corresponding block at present of multiplexer 53 exports high frequency absolute error and AC_SAD, if multiplexer 53 corresponding adjacent block output low frequency absolute error and DC_SAD, then multiplexer 53 is to should block output low frequency absolute error and DC_SAD at present.
Second embodiment
Second embodiment and the first embodiment main difference part are that the arbitration rules of the second embodiment comprise difference arbitration rules.If difference arbitration rules are difference arbitration rules when the difference of high frequency absolute error and AC_SAD and low frequency absolute error and DC_SAD is greater than difference threshold value, the corresponding block at present of multiplexer 53 exports high frequency absolute error and AC_SAD.This is because when regional area is for flicker, high frequency absolute error and AC_SAD are very little, and low frequency absolute error and DC_SAD are very large, so motion compensation circuit 52 correctly can carry out motion compensation according to high frequency absolute error and AC_SAD.
On the contrary, if when the difference that difference arbitration rules are high frequency absolute error and AC_SAD and low frequency absolute error and DC_SAD is not more than difference threshold value, then multiplexer 53 corresponding block output low frequency absolute error and DC_SAD at present.
This is because when regional area be object move time, high frequency absolute error and AC_SAD are very little, and low frequency absolute error and DC_SAD are also very little, so motion compensation circuit 52 correctly can carry out motion compensation according to low frequency absolute error and DC_SAD.
3rd embodiment
3rd embodiment and the first embodiment main difference part are that the arbitration rules of the 3rd embodiment also comprise difference arbitration rules.Moderator 51 controls multiplexer 53 according to adjacent block arbitration rules, adjacent block weighted value, difference arbitration rules and difference weighted value and optionally exports high frequency absolute error and AC_SAD or low frequency absolute error and DC_SAD.In other words, moderator 51 can control multiplexer 53 according to the combination of multiple arbitration rules and optionally export high frequency absolute error and AC_SAD or low frequency absolute error and DC_SAD, correctly carries out motion compensation for motion compensation circuit 52.
In sum, although the present invention is with preferred embodiment openly as above, so itself and be not used to limit the present invention.Those skilled in the art without departing from the spirit and scope of the present invention, when being used for a variety of modifications and variations.Therefore, protection scope of the present invention is when being as the criterion depending on the appended claims person of defining.

Claims (10)

1. an image processing circuit, comprising:
One block matching unit (BlockMatchingUnit), according to a current block of a current picture and a reference block of a reference picture calculate a high frequency absolute error and (SumofAbsoluteDifference, SAD) and a low frequency absolute error and;
One multiplexer;
One moderator, according to arbitration rules control this multiplexer optionally export this high frequency absolute error and or this low frequency absolute error and, these arbitration rules are relevant to the scene characteristics of this current picture; And
One motion compensation circuit, this high frequency absolute error exported according to this multiplexer and or this low frequency absolute error and carry out a motion compensation, wherein
These arbitration rules comprise difference arbitration rules, these difference arbitration rules be if these difference arbitration rules this high frequency absolute error and with this low frequency absolute error and difference be greater than a difference threshold value time, this multiplexer to should at present block export this high frequency absolute error and, if this high frequency absolute error and with this low frequency absolute error and difference be not more than this difference threshold value time, then this multiplexer to should at present block export this low frequency absolute error and.
2. image processing circuit as claimed in claim 1, wherein this current picture also comprises the adjacent multiple adjacent block of current block with this, these arbitration rules also comprise adjacent block arbitration rules, if these adjacent block arbitration rules for this multiplexer these adjacent block corresponding export this high frequency absolute error and, then this multiplexer to should at present block export this high frequency absolute error and, if this multiplexer these adjacent block corresponding export this low frequency absolute error and, then this multiplexer to should at present block export this low frequency absolute error and, wherein
This moderator according to these adjacent block arbitration rules, an adjacent block weighted value, these difference arbitration rules and a difference weighted value control this multiplexer optionally export this high frequency absolute error and or this low frequency absolute error and.
3. image processing circuit as claimed in claim 1, wherein this block matching unit according to this low frequency absolute error of calculated for pixel values of the pixel value of this current block and this reference block with.
4. image processing circuit as claimed in claim 1, wherein this block matching unit according to this low frequency absolute error and and a direct current difference value calculate this high frequency absolute error and.
5. image processing circuit as claimed in claim 1, wherein this block matching unit according to the average pixel value of the pixel value of this current block, the average pixel value of this current block, the pixel value of this reference block and this reference block calculate this high frequency absolute error and.
6. an image processing method, comprising:
According to a current block of a current picture and a reference block of a reference picture calculate a high frequency absolute error and (SumofAbsoluteDifference, SAD) and a low frequency absolute error and;
According to arbitration rules optionally export this high frequency absolute error and or this low frequency absolute error and, these arbitration rules are relevant to the scene characteristics of this current picture; And
According to this high frequency absolute error and or this low frequency absolute error and carry out a motion compensation, wherein
These arbitration rules comprise difference arbitration rules, these difference arbitration rules be if these difference arbitration rules this high frequency absolute error and with this low frequency absolute error and difference be greater than a difference threshold value time, to should at present block export this high frequency absolute error and, if this high frequency absolute error and with this low frequency absolute error and difference be not more than this difference threshold value time, then to should at present block export this low frequency absolute error and.
7. image processing method as claimed in claim 6, wherein this current picture also comprises the adjacent multiple adjacent block of current block with this, these arbitration rules also comprise adjacent block arbitration rules, if these adjacent block arbitration rules for these adjacent block corresponding export this high frequency absolute error and, then to should at present block export this high frequency absolute error and, if these adjacent block corresponding export this low frequency absolute error and, then to should at present block export this low frequency absolute error with, wherein
According to these arbitration rules optionally export this high frequency absolute error and or this low frequency absolute error and step be according to these adjacent block arbitration rules, an adjacent block weighted value, these difference arbitration rules and a difference weighted value optionally export this high frequency absolute error and or this low frequency absolute error and.
8. image processing method as claimed in claim 6, wherein this calculation procedure according to this low frequency absolute error of calculated for pixel values of the pixel value of this current block and this reference block with.
9. image processing method as claimed in claim 6, wherein this calculation procedure according to this low frequency absolute error and and a direct current difference value calculate this high frequency absolute error and.
10. image processing method as claimed in claim 6, wherein this calculation procedure according to the average pixel value of the pixel value of this current block, the average pixel value of this current block, the pixel value of this reference block and this reference block calculate this high frequency absolute error and.
CN201110225703.0A 2011-08-08 2011-08-08 Image processing circuit and image processing method Active CN102932581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110225703.0A CN102932581B (en) 2011-08-08 2011-08-08 Image processing circuit and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110225703.0A CN102932581B (en) 2011-08-08 2011-08-08 Image processing circuit and image processing method

Publications (2)

Publication Number Publication Date
CN102932581A CN102932581A (en) 2013-02-13
CN102932581B true CN102932581B (en) 2016-03-30

Family

ID=47647271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110225703.0A Active CN102932581B (en) 2011-08-08 2011-08-08 Image processing circuit and image processing method

Country Status (1)

Country Link
CN (1) CN102932581B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257756A (en) * 2020-09-25 2022-03-29 瑞昱半导体股份有限公司 Video processing method for correcting motion vector

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025827A (en) * 2006-02-21 2007-08-29 华晶科技股份有限公司 Dynamic image processing method
CN101309407A (en) * 2007-05-14 2008-11-19 奇景光电股份有限公司 Movement estimating method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222604B (en) * 2007-04-04 2010-06-09 晨星半导体股份有限公司 Operation mobile estimation value and method for estimating mobile vector of image
US20090244388A1 (en) * 2008-03-27 2009-10-01 Siou-Shen Lin Motion estimation method and related apparatus for determining target motion vector according to motion of neighboring image blocks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025827A (en) * 2006-02-21 2007-08-29 华晶科技股份有限公司 Dynamic image processing method
CN101309407A (en) * 2007-05-14 2008-11-19 奇景光电股份有限公司 Movement estimating method

Also Published As

Publication number Publication date
CN102932581A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN103475828B (en) A kind of dead pixel points of images bearing calibration and imageing sensor
CN110248110B (en) Shooting parameter setting method, setting device, terminal equipment and readable storage medium
US10521920B2 (en) Reducing textured IR patterns in stereoscopic depth sensor imaging
US20120321184A1 (en) Video acquisition with processing based on ancillary data
US10334270B2 (en) Method and device for processing images
CN103402098A (en) Video frame interpolation method based on image interpolation
CN104809716A (en) Method and equipment for determining image offset
JP2011135429A (en) Image processing apparatus, image display apparatus, and image processing method
CN106954004B (en) Screen sharing method and device
CN102893601B (en) Motion vector refinement device and method and apparatus for processing of video signals and method
US9277231B2 (en) Picture coding apparatus, picture coding program, picture decoding apparatus, and picture decoding program
CN103747269B (en) A kind of wave filter interpolation method and wave filter
CN102932581B (en) Image processing circuit and image processing method
US20120274845A1 (en) Image processing device and method, and program
EP2961169A1 (en) Method and device for processing images
CN111861940A (en) Image toning enhancement method based on condition continuous adjustment
US8934733B2 (en) Method, apparatus, and non-transitory computer readable medium for enhancing image contrast
CN102857790A (en) Digital video static frame detection method based on time domain check
CN105007472A (en) Photo display method and device
CN102456229B (en) Electronic system and scar image repairing method
CN108647620B (en) Gamma transform-based illumination normalization method for weber face
CN202931463U (en) Characteristic block based video image stabilization device
CN110717862B (en) Contrast enhancement method based on dynamic range compression and electronic device thereof
US8923643B2 (en) Image processing circuit and image processing method
CN110971858B (en) Frame rate up-conversion device and operation method thereof

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