CN106412503A - Image processing method and apparatus - Google Patents

Image processing method and apparatus Download PDF

Info

Publication number
CN106412503A
CN106412503A CN201610848886.4A CN201610848886A CN106412503A CN 106412503 A CN106412503 A CN 106412503A CN 201610848886 A CN201610848886 A CN 201610848886A CN 106412503 A CN106412503 A CN 106412503A
Authority
CN
China
Prior art keywords
field picture
image
parameter
coded quantization
quantization coefficient
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
Application number
CN201610848886.4A
Other languages
Chinese (zh)
Other versions
CN106412503B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610848886.4A priority Critical patent/CN106412503B/en
Publication of CN106412503A publication Critical patent/CN106412503A/en
Application granted granted Critical
Publication of CN106412503B publication Critical patent/CN106412503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Embodiments of the present invention provide an image processing method and apparatus. According to the image processing method, an image quality parameter corresponding to an (i+1)th frame of image is acquired by using a code quantization parameter of the (i+1)th frame of image and a mean value of code quantization parameters of i frames of image including the first frame of image to the ith frame of image, a parameter for image processing of the (i+1)th frame of image is configured by using the image quality parameter, and image processing is performed on the (i+1)th frame of image by using the configured parameter. The image processing parameter required by each frame of image is adjusted, and lost content of the frame of image in coding is reduced in an early stage of image processing, so that the image distortion degree caused by coding is lowered, and the subjective visual quality of the video is improved.

Description

Image processing method and device
Technical field
The present embodiments relate to image processing techniquess, more particularly, to a kind of image processing method and device.
Background technology
In video monitoring and consumer video product scope, the requirement more and more higher to picture quality for the user.Carry in bandwidth In the case of limited by rising, how to lift video subjective visual quality becomes the problem needing to solve.
Prior art provides the method that the following two kinds lifts video subjective visual quality:Method one, image processing apparatus By arrange encoder bit rate adjust picture signal process (Image Signal Processor, referred to as:ISP) the parameter of module With coded quantization coefficient (Quantisation Parameter, referred to as:QP);Method two, image processing apparatus are according to residing field Scape adjustment ISP module parameter and coding QP.Wherein, the size of coding QP determines that encode damages the extent of damage and compression ratio, compiles The code bigger coding of QP damage that the extent of damage is bigger, compression ratio is also higher.
In said method one, encoder bit rate can not reflect the image fault degree that coding leads to, and image fault degree is used for Distortion level before and after expression image procossing.In complex scene and simple scenario, because scene differs greatly, lead to equally encode Under code check, difference on effect is larger, such as Indoor Video scene and outdoor square scene, and wherein, Indoor Video scene is relatively outdoor wide Field scene is simpler, and therefore under identical encoder bit rate, the encoding efficiency of outdoor square scene can be substantially poor than interior, and impact regards Frequency subjective visual quality;In said method two, though different scenes can be distinguished, same scene is contained by different time sections Moving object has differences, and for example, in red light and green light, the quantity variance of the car of motion is larger at same crossing, therefore, figure The parameter of coding QP and ISP module even if as processing meanss correctly judge scene, is adjusted according to scene, but video subjective vision Quality is still poor.
Content of the invention
The embodiment of the present invention provides a kind of image processing method and device, to lift video subjective visual quality.
In a first aspect, the embodiment of the present invention provides a kind of image processing method, including:Obtain the coding of i+1 two field picture Quantization parameter and the coded quantization Coefficient Mean of the common i two field picture of the 1st two field picture to the i-th two field picture, i is more than default frame number T, should The coded quantization Coefficient Mean of i two field picture is that the coded quantization coefficient according to the 1st two field picture to the i-th two field picture obtains;Root According to the coded quantization coefficient of i+1 two field picture and the coded quantization Coefficient Mean of i two field picture, obtain i+1 two field picture and correspond to Image quality parameter;Using the corresponding image quality parameter of i+1 two field picture, configuration is carried out at image to i+1 two field picture Reason desired parameters;Using the parameter after configuration, image procossing is carried out to i+1 two field picture.
The embodiment of the present invention passes through coded quantization coefficient and common i of the 1st two field picture to the i-th two field picture of i+1 two field picture The coded quantization Coefficient Mean of two field picture, obtains the corresponding image quality parameter of i+1 two field picture, and using this picture quality ginseng Number configuration carries out the parameter of image procossing to i+1 two field picture, using the parameter after configuration, i+1 two field picture is carried out at image Reason, by the adjustment to the Image Processing parameter needed for every two field picture, to reduce this two field picture in image procossing early stage and to compile Lost content during code, thus reducing the image fault degree that coding leads to, realizes the lifting of video subjective visual quality.
In a kind of possible design, above-mentioned according to the coded quantization coefficient of i+1 two field picture and the coding of i two field picture Quantization parameter average, obtains the corresponding image quality parameter of i+1 two field picture, can include:Coding according to i+1 two field picture The coded quantization Coefficient Mean of quantization parameter and i two field picture, obtains the image fault degree of i+1 two field picture, this image fault Degree can be used for the distortion level before and after expression image procossing;According to the image fault degree of i+1 two field picture, obtain i+1 frame figure As corresponding image quality parameter, wherein, image fault degree is prestored with the corresponding relation of image quality parameter.
In a kind of possible design, above-mentioned according to the coded quantization coefficient of i+1 two field picture and the coding of i two field picture Quantization parameter average, obtains the image fault degree of i+1 two field picture, can include:Volume by the first weighted value and i two field picture The product of code amount Coefficient Mean, and the coded quantization coefficient of i+1 two field picture and the product addition of the second weighted value, obtain the 1 two field picture to the common i+1 two field picture of i+1 two field picture coded quantization Coefficient Mean, wherein, the first weighted value and the second weight Value sum is 1, and, the first weighted value and the second weighted value are all between 0~1;By the 3rd weighted value and i+1 two field picture The product of coded quantization Coefficient Mean, and the image fault degree of the i-th two field picture and the product addition of the 4th weighted value, obtain i-th+ The image fault degree of 1 two field picture, wherein, the 3rd weighted value and the 4th weighted value sum are 1, and, the 3rd weighted value and the 4th is weighed Weight values are all between 0~1.
In a kind of possible design, above-mentioned image quality parameter can at least include the combination in any of following parameter:Go horse Match gram parameter, sharpening parameter and digital noise reduction parameters etc..
In a kind of possible design, after the above-mentioned parameter using after configuring carries out image procossing to i+1 two field picture, This image processing method can also include:Whether detection user inputs the predetermined registration operation for exiting;If user input is detected For the predetermined registration operation exiting, then exit image procossing;Or, if being not detected by user input for the predetermined registration operation exiting, The then step of the coded quantization coefficient of execution acquisition i-th+2 two field picture.
The embodiment of the present invention by detect user whether input judge whether for the predetermined registration operation exiting also next Two field picture needs to do image procossing:When detect user input for exit predetermined registration operation when, exit image procossing;When not examining Measure user input for exit predetermined registration operation when, then continue executing with image procossing, with prevent image procossing enter endless loop, Ensure smoothly terminating of image procossing.
In a kind of possible design, the above-mentioned image procossing that exits can include:Deinitialization is carried out to i+1 two field picture The parameter of image procossing.
Second aspect, the embodiment of the present invention provides a kind of image processing apparatus, including:Software processing module, image procossing Module and coding module.Wherein, coding module is used for reporting the coded quantization coefficient of i+1 two field picture to software processing module. Software processing module is used for obtaining the coded quantization coefficient of i+1 two field picture from coding module, and obtains the 1st two field picture to i-th The coded quantization Coefficient Mean of the common i two field picture of two field picture, i is more than default frame number T, the coded quantization coefficient of this i two field picture Average is that the coded quantization coefficient according to the 1st two field picture to the i-th two field picture obtains;Coded quantization according to i+1 two field picture The coded quantization Coefficient Mean of coefficient and i two field picture, obtains the corresponding image quality parameter of i+1 two field picture;Using i+1 The corresponding image quality parameter of two field picture, configuration carries out image processing module and the coding mould of image procossing to i+1 two field picture Block desired parameters.Parameter after image processing module is used for using configuration carries out image procossing to i+1 two field picture.In addition, compiling Parameter after code module can be also used for using configuration encodes to i+1 two field picture.
Based on same inventive concept, the scheme in being designed with the method for first aspect due to the principle of this device solve problem Corresponding, the enforcement of therefore this device may refer to the enforcement of method, repeats no more in place of repetition.
The third aspect, the embodiment of the present invention provides a kind of image processing apparatus.This image processing apparatus includes:For storing The memorizer of executable instruction and processor.Wherein, this processor is used for executing executable instruction, to execute as in first aspect Method described in any one.
Fourth aspect, a kind of non-volatile computer of the embodiment of the present invention offer one or more programs of storage is readable to be deposited Storage media.One or more of programs include instructing, and described instruction makes at described image when being executed by image processing apparatus Scheme in method design as any one of first aspect for the standby execution of reason device, repeats no more in place of repetition.
These and other aspects of the invention can more straightforward in the description of following (multiple) embodiment.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing do one simply introduce it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is application scenarios schematic diagram of the present invention;
Fig. 2 is video capture device internal structure schematic diagram;
Fig. 3 is the flow chart of image processing method embodiment one of the present invention;
Fig. 4 is the flow chart of image processing method embodiment two of the present invention;
Fig. 5 is the flow chart of image processing method embodiment three of the present invention;
Fig. 6 is the structural representation of image processing apparatus embodiment one of the present invention;
Fig. 7 is the structural representation of image processing apparatus embodiment two of the present invention;
Fig. 8 is the structural representation of image processing apparatus embodiment three of the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Term " first " in the specification and claims of the embodiment of the present invention, " second " etc. are similar for distinguishing Object, without for describing specific order or precedence.It should be appreciated that such data using is in the appropriate case Can exchange, so that embodiments of the invention described herein for example can be with addition to those of diagram or description here Order implement.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover non-exclusive bag Contain, for example, contain what process, method, system, product or the equipment of series of steps or unit were not necessarily limited to clearly to list Those steps or unit, but may include clearly not listing or intrinsic for these processes, method, product or equipment Other steps or unit.
Fig. 1 is application scenarios schematic diagram of the present invention.As shown in figure 1, video capture device, for example, web camera, motion DV (Digital Video, referred to as:DV) etc., when gathering against a scene capture, the content change quilt in scene Record in video capture device.
Fig. 2 is video capture device internal structure schematic diagram.With reference to Fig. 2, video capture device 20 passes through imageing sensor In the 21 photosensitive scenes that will be taken, content switchs to image, and incoming for image ISP module 22 is carried out image procossing;ISP module 22 After optimization processing image, send into coding module 23 and be compressed encoding, the image storage after process to memorizer 25 or is sent to The terminal units such as other equipment, such as computer or mobile phone.Wherein, the effect of optimization processing is mainly by the color of image, right Than degree, Edge texture, noise etc. process visual experience is more preferable.In addition, coding module 23 can determine the present image distortion factor, And the present image distortion factor is reported software processing module 24;Software processing module 24, according to the present image distortion factor, adjusts ISP The parameter of module 22 and coding module 23 is so that the picture quality of entirety reaches most preferably.
In structure shown in Fig. 2, it will be understood by those skilled in the art that ISP module 22, coding module 23 and software processes The function of module 24 specifically can be realized by the processor in video acquisition device.
Fig. 3 is the flow chart of image processing method embodiment one of the present invention.The embodiment of the present invention provides a kind of image procossing Method, this image processing method can be executed by image processing apparatus, and this image processing apparatus can pass through hardware and/or software Mode realize;And, this image processing apparatus can be independently arranged it is also possible to be integrated in such as web camera, motion DV etc. In video capture device.As shown in figure 3, the image processing method of the present embodiment includes:
Step 301, the coded quantization coefficient obtaining i+1 two field picture and the common i frame figure of the 1st two field picture to the i-th two field picture The coded quantization Coefficient Mean of picture, i is more than default frame number T, and the coded quantization Coefficient Mean of this i two field picture is according to the 1st frame Image is to the coded quantization coefficient acquisition of the i-th two field picture.
Wherein, the value of default frame number T can be any number between 50 to 250, including 50 and 250 two values.In advance If the corresponding adjustment time of frame number T can be between 2 seconds to 5 seconds, including 2 seconds and 5 seconds.
When i is less than default frame number T, image procossing is not done to image.This stage corresponds to above-mentioned adjustment time, during this adjustment Between be to ensure that the initial parameter of ISP module 22, coding module 23 and software processing module 24 in Fig. 2 and its own is default When being worth inconsistent, can take over seamlessly as respective preset value.
The size of coded quantization coefficient is controlled by encoder bit rate.Under current preset encoder bit rate, when actual coding code When rate is higher than current preset encoder bit rate, increase coded quantization coefficient, actual coding code check can decline;When actual coding code check is low When current preset encoder bit rate, reduce coded quantization coefficient, actual coding code check can rise, thus ensureing actual coding code check Suitable with current preset encoder bit rate.
For example, when i is equal to default frame number T, the coded quantization Coefficient Mean of T-1 two field picture is 1 to T-1 two field picture Coded quantization coefficient average.
In addition, the coded quantization coefficient of each two field picture is known, therefore, can direct access i+1 two field picture volume Code quantization parameter.
For example, " the present image distortion factor is reported software processing module 24 by coding module 23 " mentioned above, here, It will be appreciated by those skilled in the art that obtaining the present image distortion factor, i.e. i+1 for software processing module 24 from coding module 23 The coded quantization coefficient of two field picture and the coded quantization Coefficient Mean of i two field picture.
The coded quantization Coefficient Mean of step 302, the coded quantization coefficient according to i+1 two field picture and i two field picture, obtains Obtain the corresponding image quality parameter of i+1 two field picture.
Wherein, this image quality parameter can at least include the combination in any of following parameter:Code check, demosaicing (Demosaic) parameter, sharpening (Sharpen) parameter and digital noise reduction (NR) parameter, etc..Further, digital noise reduction parameter Two-dimensional digital noise reduction (2DNR) parameter and 3-dimensional digital noise reduction (3DNR) parameter etc. can be included.
The direct or indirect corresponding relation of coded quantization coefficient, coded quantization Coefficient Mean and image quality parameter is permissible Pre-set, and be stored in image processing apparatus.Therefore, in the coded quantization coefficient of i+1 two field picture and i two field picture After coded quantization Coefficient Mean determines, corresponding i+1 two field picture pair can be found in the corresponding relation of default setting The image quality parameter answered.
Under normal circumstances, the principle of image quality parameter setting is:Get over hour in coded quantization coefficient, protect before picture coding The details stayed is more, and edge is more natural so that the code check of coding is fully used in picture quality lifting;In coded quantization coefficient relatively When big, suitably reduce the small details such as leaveves, ground texture before picture coding, slightly strengthen image border, saving code check makes Must encode that side effect is less, the image obtaining seems more natural.
Exemplarily, demosaicing parameter and sharpening parameter tune up and the slight details of image may be made to become obvious, but with The code check hypograph distortion factor increases;Demosaicing parameter and sharpening parameter are turned down and image detail may be led to fog, even disappear Lose, but reduce with the code check hypograph distortion factor;Tuning up of digital noise reduction parameter, will make image blur, lose with code check hypograph True degree reduces.
Step 303, adopt the corresponding image quality parameter of i+1 two field picture, configuration i+1 two field picture is carried out at image The required parameter of reason.
Wherein, i+1 two field picture is carried out the parameter needed for image procossing can also include macro-block level Rate Control parameter, Frame level code Rate Control parameter, code rate distortion optimization (Rate-Distortion Optimization, referred to as:RDO) control phase Close block pattern tendentiousness parameter etc., to adjust image block size tendency, the distribution of macroblock coding quantization parameter etc., to be inclined to protection The effect of zones of different, reaches visual experience maximum revenue.
Step 304, using configuration after parameter image procossing is carried out to i+1 two field picture.
Wherein, image procossing can include demosaicing process, Edge contrast, two-dimensional digital noise reduction process, 3-dimensional digital Noise reduction process and coded treatment etc..
When code check one timing, according to conventional images processing scheme, when moving object content increases, lossy coding leads to figure As counter productive, such as bulk, partial content are lost, moving object hangover, have a strong impact on picture quality effect;And this reality The image processing method rule applying example passes through the content that the minimizing of front-end image signal processing module will necessarily be encoded losing, and reduces figure Image distortion degree, improves general image effect.
The present embodiment, by coded quantization coefficient and the common i frame figure of the 1st two field picture to the i-th two field picture of i+1 two field picture The coded quantization Coefficient Mean of picture, is obtained the corresponding image quality parameter of i+1 two field picture, and is joined using this image quality parameter Put the parameter that i+1 two field picture is carried out with image procossing, using the parameter after configuration, image procossing carried out to i+1 two field picture, With by the adjustment to the Image Processing parameter needed for every two field picture, when image procossing early stage reduces this two field picture in coding Lost content, thus reducing the image fault degree that coding leads to, realizes the lifting of video subjective visual quality.
Fig. 4 is the flow chart of image processing method embodiment two of the present invention.As shown in figure 4, the base in embodiment illustrated in fig. 3 On plinth, the coded quantization coefficient according to i+1 two field picture and the coded quantization Coefficient Mean of i two field picture, obtain i+1 frame figure As corresponding image quality parameter, can specifically include:
The coded quantization Coefficient Mean of step 3021, the coded quantization coefficient according to i+1 two field picture and i two field picture, Obtain the image fault degree of i+1 two field picture, this image fault degree is used for representing the distortion level before and after image procossing.
In a kind of implementation, this step can include:Will be equal with the coded quantization coefficient of i two field picture for the first weighted value The product of value, with the coded quantization coefficient of i+1 two field picture and the product addition of the second weighted value, acquisition the 1st two field picture to i-th The coded quantization Coefficient Mean of the common i+1 two field picture of+1 two field picture, wherein, the first weighted value and the second weighted value sum are 1, And, the first weighted value and the second weighted value are all between 0~1;Coded quantization system by the 3rd weighted value and i+1 two field picture The product of number average, with the image fault degree of the i-th two field picture and the product addition of the 4th weighted value, obtains i+1 two field picture Image fault degree, wherein, the 3rd weighted value and the 4th weighted value sum are 1, and, the 3rd weighted value and the 4th weighted value all between Between 0~1.
Set the first weighted value as α, the second weighted value is 1- α, the coded quantization Coefficient Mean of i two field picture isThe The coded quantization coefficient of i+1 two field picture is QPi+1, then the 1st two field picture to the common i+1 two field picture of i+1 two field picture coded quantization Coefficient MeanFor:
Set the 3rd weighted value as β, the 4th weighted value is 1- β, the image fault degree of the i-th two field picture is QPTi, then i+1 The image fault degree QPT of two field picturei+1For:
Step 3022, the image fault degree according to i+1 two field picture, obtain i+1 two field picture corresponding picture quality ginseng Number, wherein, image fault degree is prestored with the corresponding relation of image quality parameter.
This embodiment, on the one hand, common to the i-th two field picture by the coded quantization coefficient and the 1st two field picture of i+1 two field picture The coded quantization Coefficient Mean of i two field picture, obtains the corresponding image quality parameter of i+1 two field picture, and adopts this image matter Amount increment configures the parameter needed for the corresponding image procossing of i+1 two field picture, carries out image procossing to i+1 two field picture, with logical Cross the adjustment to the Image Processing parameter needed for every two field picture, lost when image procossing early stage reduces this two field picture in coding The content lost, thus reducing the image fault degree that coding leads to, realizes the lifting of video subjective visual quality;On the other hand, also By multilamellar smoothed code quantization parameter average, it is to avoid quick adjustment Image Processing parameter leads to new coding negative issue, and Ensure to improve compression rates under same image effect, save transmission bandwidth and storage device space.
Fig. 5 is the flow chart of image processing method embodiment three of the present invention.As shown in figure 5, implementing shown in Fig. 3 or Fig. 4 (illustrate here) on the basis of example, after the step 304, image processing method can also include taking Fig. 3 as a example:
Whether step 501, detection user input the predetermined registration operation for exiting.
If user input is detected for the predetermined registration operation that exits, execution step 502, exit image procossing.
Alternatively, exit image procossing can include:Deinitialization carries out the parameter of image procossing to i+1 two field picture.
Or, if being not detected by the predetermined registration operation that user input is used for exiting, execution step 301, now, step 301 It is specially the coded quantization coefficient of acquisition i-th+2 two field picture and the coded quantization Coefficient Mean of i+1 two field picture.
This embodiment provides a kind of implementation terminating image processing method, is used for moving back by detecting whether user inputs The predetermined registration operation going out is judging whether that also next two field picture needs to do image procossing:When user input is detected for exiting During predetermined registration operation, exit image procossing;When be not detected by user input for exit predetermined registration operation when, then continue executing with image Process, to prevent image procossing from entering endless loop it is ensured that smoothly the terminating of image procossing.
Fig. 6 is the structural representation of image processing apparatus embodiment one of the present invention.As shown in fig. 6, this image processing apparatus 60 include:Software processing module 61, image processing module 62 and coding module 63.
This coding module 63, for reporting the coded quantization coefficient of i+1 two field picture to software processing module 61.
This software processing module 61, for obtaining the coded quantization coefficient of i+1 two field picture from coding module 63, and obtains The coded quantization Coefficient Mean of the common i two field picture of the 1st two field picture to the i-th two field picture, i is more than default frame number T, this i two field picture Coded quantization Coefficient Mean be to be obtained according to the coded quantization coefficient of the 1st two field picture to the i-th two field picture;According to i+1 frame The coded quantization coefficient of image and the coded quantization Coefficient Mean of i two field picture, obtain the corresponding picture quality of i+1 two field picture Parameter;Using the corresponding image quality parameter of i+1 two field picture, configuration is carried out at the image of image procossing to i+1 two field picture Reason module 62 and coding module 63 desired parameters.
This image processing module 62, for carrying out image procossing using the parameter after configuration to i+1 two field picture.
This coding module 63, the parameter after being also used for configuring encodes to i+1 two field picture.
The image processing apparatus of the present embodiment, can be used for executing the technical scheme of embodiment of the method shown in Fig. 3, its realization Principle is similar with technique effect, and here is omitted.
In a kind of implementation, software processing module 61 is for the above-mentioned coded quantization coefficient according to i+1 two field picture And the coded quantization Coefficient Mean of i two field picture, when obtaining the corresponding image quality parameter of i+1 two field picture, can be specifically for: Coded quantization coefficient according to i+1 two field picture and the coded quantization Coefficient Mean of i two field picture, obtain i+1 two field picture Image fault degree, this image fault degree is used for representing the distortion level before and after image procossing;Image according to i+1 two field picture loses True degree, obtains the corresponding image quality parameter of i+1 two field picture, and wherein, image fault degree is corresponding with image quality parameter to close System prestores.
Alternatively, software processing module 61 is for the above-mentioned coded quantization coefficient according to i+1 two field picture and i frame figure The coded quantization Coefficient Mean of picture, the image fault obtaining i+1 two field picture is when spending, can be specifically for:By the first weighted value and i The product of the coded quantization Coefficient Mean of individual two field picture, with the coded quantization coefficient of i+1 two field picture and taking advantage of of the second weighted value Long-pending addition, obtains the 1st two field picture to the coded quantization Coefficient Mean of the common i+1 two field picture of i+1 two field picture, wherein, the first power Weight values and the second weighted value sum are 1, and, the first weighted value and the second weighted value are all between 0~1;By the 3rd weighted value With the product of the coded quantization Coefficient Mean of i+1 two field picture, with the image fault degree of the i-th two field picture and taking advantage of of the 4th weighted value The long-pending image fault degree being added, obtaining i+1 two field picture, wherein, the 3rd weighted value and the 4th weighted value sum are 1, and, the 3rd Weighted value and the 4th weighted value are all between 0~1.
It should be noted that, above-mentioned image quality parameter can at least include the combination in any of following parameter:Demosaicing parameter, Sharpen parameter and digital noise reduction parameters etc..Wherein, digital noise reduction parameter can include two-dimensional digital noise reduction (2DNR) parameter and three Dimension word noise reduction (3DNR) parameter etc..
The image processing apparatus of the present embodiment, can be used for executing the technical scheme of embodiment of the method shown in Fig. 4, its realization Principle is similar with technique effect, and here is omitted.
Fig. 7 is the structural representation of image processing apparatus embodiment two of the present invention.As shown in fig. 7, in structure shown in Fig. 6 On the basis of, image processing apparatus 70 can also include:Detection module 71.
Wherein, detection module 71 can be used for detecting whether user inputs the predetermined registration operation for exiting;If user is detected Input the predetermined registration operation for exiting, then triggering image processing apparatus 70 exit image procossing;Or, if it is defeated to be not detected by user Enter the predetermined registration operation for exiting, then triggering coding module 63 executes the volume reporting the i-th+2 two field picture to software processing module 61 The step of code quantization parameter.
Further, software processing module 61 can be also used for:When image processing apparatus 70 exit image procossing, go just Beginningization carries out the parameter of image procossing to i+1 two field picture.
The image processing apparatus of the present embodiment, can be used for executing the technical scheme of embodiment of the method shown in Fig. 5, its realization Principle is similar with technique effect, and here is omitted.
Fig. 8 is the structural representation of image processing apparatus embodiment three of the present invention.With reference to Fig. 8, this image processing apparatus 80 Including processor 810, transceiver 820, bus 830 and memorizer 840.
Processor 810, transceiver 820 and memorizer 840 are connected with each other by bus 830;Bus 830 can be peripheral hardware Component connection standard (Peripheral Component Interconnect, referred to as:PCI) bus or extension industrial standard knot Structure (Extended Industry Standard Architecture, referred to as:EISA) bus etc..Bus 830 can be divided into ground Location bus, data/address bus, controlling bus etc..For ease of representing, only represented with a thick line in Fig. 8, it is not intended that only one Root bus or a type of bus.
Transceiver 820 correspondence needs to have the module receiving or sending data function, for by image processing apparatus 80 even It is connected to other-end equipment, such as computer or mobile phone.
Memorizer 840 is used for depositing program etc..Specifically, program can include program code, and this program code includes counting Calculation machine operational order.Memorizer 840 can be by any kind of volatibility or non-volatile memory device or combinations thereof Realization, such as static RAM (Static Random Access Memory, referred to as:SRAM), electric erasable can be compiled Journey read only memory (Electrically Erasable Programmable Read-Only Memory, referred to as: EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, referred to as: EPROM), programmable read only memory (Programmable Red-Only Memory, referred to as:PROM), read only memory (Read-Only Memory, referred to as:ROM), magnetic memory, flash memory, disk or CD.
Processor 810 executes the application program that memorizer 840 is deposited, and realizes as above image processing method.
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by image processing apparatus Computing device when so that image processing apparatus are able to carry out above-mentioned corresponding image processing method.
It should be understood that disclosed equipment and method in several embodiments provided herein, can be passed through it Its mode is realized.For example, apparatus embodiments described above are only schematically, for example, described unit or module Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or module Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or The coupling each other discussing or direct-coupling or communication connection can be by some interfaces, the indirect coupling of equipment or module Close or communicate to connect, can be electrical, mechanical or other forms.
The described module illustrating as separating component can be or may not be physically separate, show as module The part showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On NE.The mesh to realize this embodiment scheme for some or all of module therein can be selected according to the actual needs 's.
One of ordinary skill in the art will appreciate that:The all or part of step realizing above-mentioned each method embodiment can be led to Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, executes the step including above-mentioned each method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above only in order to technical scheme to be described, is not intended to limit;To the greatest extent Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (12)

1. a kind of image processing method is it is characterised in that include:
Obtain the coded quantization coefficient of i+1 two field picture and the 1st two field picture to the coded quantization of the common i two field picture of the i-th two field picture Coefficient Mean, i is more than default frame number T, and the coded quantization Coefficient Mean of described i two field picture is to the i-th frame according to the 1st two field picture The coded quantization coefficient of image obtains;
Coded quantization coefficient according to described i+1 two field picture and the coded quantization Coefficient Mean of described i two field picture, obtain institute State the corresponding image quality parameter of i+1 two field picture;
Using the corresponding image quality parameter of described i+1 two field picture, configuration carries out image procossing institute to described i+1 two field picture Need parameter;
Using the parameter after configuration, image procossing is carried out to i+1 two field picture.
2. method according to claim 1 is it is characterised in that the described coded quantization system according to described i+1 two field picture The coded quantization Coefficient Mean of several and described i two field picture, obtains the corresponding image quality parameter of described i+1 two field picture, bag Include:
Coded quantization coefficient according to described i+1 two field picture and the coded quantization Coefficient Mean of described i two field picture, obtain institute State the image fault degree of i+1 two field picture, the described image distortion factor is used for representing the distortion level before and after image procossing;
According to the image fault degree of described i+1 two field picture, obtain the corresponding image quality parameter of described i+1 two field picture, its In, the described image distortion factor is prestored with the corresponding relation of described image mass parameter.
3. method according to claim 2 is it is characterised in that the described coded quantization system according to described i+1 two field picture The coded quantization Coefficient Mean of several and described i two field picture, obtains the image fault degree of described i+1 two field picture, including:
By the product of the first weighted value and the coded quantization Coefficient Mean of described i two field picture, the volume with described i+1 two field picture Code quantization parameter and the product addition of the second weighted value, obtain the 1st two field picture to the volume of the common i+1 two field picture of i+1 two field picture Code amount Coefficient Mean, wherein, described first weighted value and described second weighted value sum are 1, and, described first weighted value and Described second weighted value is all between 0~1;
By the product of the 3rd weighted value and the coded quantization Coefficient Mean of described i+1 two field picture, the figure with described i-th two field picture Image distortion degree and the product addition of the 4th weighted value, obtain the image fault degree of described i+1 two field picture, wherein, the described 3rd Weighted value and described 4th weighted value sum are 1, and, described 3rd weighted value and described 4th weighted value all between 0~1 it Between.
4. the method according to any one of claim 1-3 it is characterised in that described image mass parameter at least include with The combination in any of lower parameter:
Demosaicing Demosaic parameter, sharpening Sharpen parameter and digital noise reduction NR parameter.
5. the method according to any one of claim 1-4 is it is characterised in that the described parameter using after configuring is to described After i+1 two field picture carries out image procossing, methods described also includes:
Whether detection user inputs the predetermined registration operation for exiting;
If user input is detected for the predetermined registration operation exiting, exiting described image and processing;
Or, if being not detected by user input for the predetermined registration operation exiting, the coded quantization of execution acquisition i-th+2 two field picture The step of coefficient.
6. method according to claim 5 is it is characterised in that the described described image that exits processes inclusion:
Deinitialization carries out the parameter of image procossing to described i+1 two field picture.
7. a kind of image processing apparatus are it is characterised in that include:Software processing module, image processing module and coding module, its In,
Described coding module, for reporting the coded quantization coefficient of i+1 two field picture to described software processing module;
Described software processing module, for obtaining the coded quantization coefficient of i+1 two field picture from described coding module, and obtains the The coded quantization Coefficient Mean of the common i two field picture of 1 two field picture to the i-th two field picture, i is more than default frame number T, described i two field picture Coded quantization Coefficient Mean be to be obtained according to the coded quantization coefficient of the 1st two field picture to the i-th two field picture;According to described i-th+ The coded quantization coefficient of 1 two field picture and the coded quantization Coefficient Mean of described i two field picture, obtain described i+1 two field picture pair The image quality parameter answered;Using the corresponding image quality parameter of described i+1 two field picture, configuration is to described i+1 two field picture Carry out the described image processing module of image procossing and described coding module desired parameters;
Described image processing module, for carrying out image procossing using the parameter after configuration to described i+1 two field picture;
Described coding module, the parameter after being also used for configuring encodes to described i+1 two field picture.
8. device according to claim 7 it is characterised in that described software processing module for described according to described The coded quantization coefficient of i+1 two field picture and the coded quantization Coefficient Mean of described i two field picture, obtain described i+1 two field picture During corresponding image quality parameter, specifically for:
Coded quantization coefficient according to described i+1 two field picture and the coded quantization Coefficient Mean of described i two field picture, obtain institute State the image fault degree of i+1 two field picture, the described image distortion factor is used for representing the distortion level before and after image procossing;
According to the image fault degree of described i+1 two field picture, obtain the corresponding image quality parameter of described i+1 two field picture, its In, the described image distortion factor is prestored with the corresponding relation of described image mass parameter.
9. device according to claim 8 it is characterised in that described software processing module for described according to described The coded quantization coefficient of i+1 two field picture and the coded quantization Coefficient Mean of described i two field picture, obtain described i+1 two field picture Image fault when spending, specifically for:
By the product of the first weighted value and the coded quantization Coefficient Mean of described i two field picture, the volume with described i+1 two field picture Code quantization parameter and the product addition of the second weighted value, obtain the 1st two field picture to the volume of the common i+1 two field picture of i+1 two field picture Code amount Coefficient Mean, wherein, described first weighted value and described second weighted value sum are 1, and, described first weighted value and Described second weighted value is all between 0~1;
By the product of the 3rd weighted value and the coded quantization Coefficient Mean of described i+1 two field picture, the figure with described i-th two field picture Image distortion degree and the product addition of the 4th weighted value, obtain the image fault degree of described i+1 two field picture, wherein, the described 3rd Weighted value and described 4th weighted value sum are 1, and, described 3rd weighted value and described 4th weighted value all between 0~1 it Between.
10. the device according to any one of claim 7-9 is it is characterised in that described image mass parameter at least includes The combination in any of following parameter:
Demosaicing Demosaic parameter, sharpening Sharpen parameter and digital noise reduction NR parameter.
11. devices according to any one of claim 7-10 are it is characterised in that described device also includes:
Detection module, for detecting whether user inputs the predetermined registration operation for exiting;If user input is detected to be used for exiting Predetermined registration operation, then triggering described device exit image procossing;Or, if being not detected by user input for the default behaviour exiting Make, then trigger the step that described coding module executes the coded quantization coefficient reporting the i-th+2 two field picture to described software processing module Suddenly.
12. devices according to claim 11 are it is characterised in that described software processing module is additionally operable to:In described device When exiting described image process, deinitialization carries out the parameter of image procossing to described i+1 two field picture.
CN201610848886.4A 2016-09-23 2016-09-23 Image processing method and device Active CN106412503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610848886.4A CN106412503B (en) 2016-09-23 2016-09-23 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610848886.4A CN106412503B (en) 2016-09-23 2016-09-23 Image processing method and device

Publications (2)

Publication Number Publication Date
CN106412503A true CN106412503A (en) 2017-02-15
CN106412503B CN106412503B (en) 2019-09-03

Family

ID=57997020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610848886.4A Active CN106412503B (en) 2016-09-23 2016-09-23 Image processing method and device

Country Status (1)

Country Link
CN (1) CN106412503B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111566584A (en) * 2019-06-28 2020-08-21 深圳市大疆创新科技有限公司 Image processing method and device and unmanned aerial vehicle
CN113259666A (en) * 2021-05-14 2021-08-13 安谋科技(中国)有限公司 Electronic device, image processing method thereof, system on chip, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332576A (en) * 2000-09-29 2002-01-23 深圳市中兴通讯股份有限公司 Quantization and code stream control method for image compressing transmission
US20020024999A1 (en) * 2000-08-11 2002-02-28 Noboru Yamaguchi Video encoding apparatus and method and recording medium storing programs for executing the method
CN101466035A (en) * 2007-12-21 2009-06-24 深圳市融合视讯科技有限公司 Method for distributing video image set bit based on H.264
CN103281530A (en) * 2013-05-07 2013-09-04 西安电子科技大学 HEVC (High Efficiency Video Coding) rate control method based on rate distortion optimization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020024999A1 (en) * 2000-08-11 2002-02-28 Noboru Yamaguchi Video encoding apparatus and method and recording medium storing programs for executing the method
CN1332576A (en) * 2000-09-29 2002-01-23 深圳市中兴通讯股份有限公司 Quantization and code stream control method for image compressing transmission
CN101466035A (en) * 2007-12-21 2009-06-24 深圳市融合视讯科技有限公司 Method for distributing video image set bit based on H.264
CN103281530A (en) * 2013-05-07 2013-09-04 西安电子科技大学 HEVC (High Efficiency Video Coding) rate control method based on rate distortion optimization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111566584A (en) * 2019-06-28 2020-08-21 深圳市大疆创新科技有限公司 Image processing method and device and unmanned aerial vehicle
CN113259666A (en) * 2021-05-14 2021-08-13 安谋科技(中国)有限公司 Electronic device, image processing method thereof, system on chip, and medium
CN113259666B (en) * 2021-05-14 2022-12-16 安谋科技(中国)有限公司 Electronic device, image processing method thereof, system on chip, and medium

Also Published As

Publication number Publication date
CN106412503B (en) 2019-09-03

Similar Documents

Publication Publication Date Title
US11134277B2 (en) Deblocking filtering control
CN104023241B (en) The method for video coding and video coding apparatus of intraframe predictive coding
CN104394278B (en) Method, device and mobile terminal for regulating screen brightness
RU2461977C2 (en) Compression and decompression of images
US9414066B2 (en) Deblocking filtering
US8013909B2 (en) Method and apparatus for adjusting exposure in digital imaging
CN109905711A (en) A kind of processing method of image, system and terminal device
CN105516720A (en) Self-adaptive control method for code stream of surveillance camera
EP1790171A2 (en) Method and apparatus for rapid video frame and field coding
CN107872669B (en) Video code rate treating method and apparatus
CN102257531A (en) High dynamic range image combining
CN101371589A (en) Adaptive filtering to enhance video encoder performance
CN106162184A (en) A kind of data block coding method and device
CN109936744A (en) Video coding processing method, device and the application with Video coding function
CN106412503A (en) Image processing method and apparatus
CN105474176A (en) Allocating resources of a processor executing multiple media data processing components having a configurable complexity
WO2023159965A1 (en) Visual perception-based rate control method and device
CN114866772A (en) Coding method, coding device and electronic equipment
CN101006463A (en) Video processor comprising a sharpness enhancer
CN106384366A (en) Image calibration method and device
CN104093022B (en) A kind of Rate-distortion optimization method and device
CN110381287A (en) Multifunctional network control platform
US20230108722A1 (en) Allocating bit rate between video streams using machine learning
CN115984083B (en) Electronic device and image processing method of electronic device
CN103281536A (en) Deblocking filter method and device capable of being compatible with AVS (Audio Video coding Standard) and H.264

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