CN102413271B - Image processing method and device for eliminating false contour - Google Patents

Image processing method and device for eliminating false contour Download PDF

Info

Publication number
CN102413271B
CN102413271B CN2011103714813A CN201110371481A CN102413271B CN 102413271 B CN102413271 B CN 102413271B CN 2011103714813 A CN2011103714813 A CN 2011103714813A CN 201110371481 A CN201110371481 A CN 201110371481A CN 102413271 B CN102413271 B CN 102413271B
Authority
CN
China
Prior art keywords
pixel
value
false contouring
pixel value
contouring
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
CN2011103714813A
Other languages
Chinese (zh)
Other versions
CN102413271A (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.)
Solomon Systech Shenzhen Ltd
Original Assignee
Solomon Systech Shenzhen 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 Solomon Systech Shenzhen Ltd filed Critical Solomon Systech Shenzhen Ltd
Priority to CN2011103714813A priority Critical patent/CN102413271B/en
Publication of CN102413271A publication Critical patent/CN102413271A/en
Application granted granted Critical
Publication of CN102413271B publication Critical patent/CN102413271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides an image processing method for eliminating a false contour. The method comprises the following steps of: detecting each false contour pixel point which corresponds to a certain pixel value and belongs to the false contour; and eliminating the false contour by changing the spatial distribution of the pixel values. By changing the spatial distribution of color values and generating new color values by using the vision average characteristics of human eyes, the false contour in an image is eliminated. During elimination of the false contour, details of the image cannot be lost, an additional noise is avoided, bit depth is not required to be increased, and hardware resources are greatly saved.

Description

Eliminate image processing method and the device of false contouring
Technical field
The present invention relates to image and video processing technique, relate in particular to a kind of image processing method and device of eliminating " false contouring " by the spatial distribution that changes color value.
Background technology
Digital picture can be expressed as different positions dark (bit depth), is used for the application of most of consumer electronics such as 8bit/pixel (bpp), and 10bit/pixel (bpp) is used for the application of specialty.Higher position is dark can express more color, and therefore higher picture quality arranged.Yet dark in order to reduce position, the color in digital picture often will be by re-quantization, and for example, the 10bpp image will show with 8bpp.Reduce the dark color that causes smaller amounts in position.The color of smaller amounts, sometimes just can not express the zone that color continuously changes, and the mankind's vision system is can perception this successional.These zones just are broken into sectional, and between every section, color is the same, between section and section, small color distortion are arranged.Border between these sections and section, just formed so-called " false contouring " (false contour, contour artifacts, digital contour).
The generation of " false contouring " now illustrates: 8bpp represents that each pixel has the position of 8 (bit) dark, each pixel show be 0,1,2......255, may show any one of numerical value for 256.Position is dark represents same figure if reduce in digital picture, such as adopting 4bpp, each pixel be 0,1, the demonstration numerical value of 2......15 any one.Like this, the demonstration numerical value [16......31] that is represented as in 4bpp in 0,8bpp of the demonstration numerical value [0......15] in 8bpp is represented as 1 in 4bpp.For example under the 8bpp environment, certain pixel value is 0, adjacent with it is 31, but under the 4bpp environment, these two pixel values just correspond to 0 and 1, although they approach under the 4bpp environment, the color of its representative should continuously change in principle, but, because it differs far away under the 8bpp environment, so show, be but that " false contouring " (referring to a Fig. 1) is arranged.
In prior art, to the cancellation of " false contouring " mainly by adding shake (dither) or noise (referring to Fig. 2) or by level and smooth (low pass) filtering (referring to Fig. 3), realize on image.
Yet, add the mode of shake (dither) or noise easily to increase unnecessary noise on image, reduced signal to noise ratio; Smoothly the mode of (low pass) filtering dark position greater than input, position that is only applicable to export is dark, and the middle color that smothing filtering produces just can be expressed; And level and smooth (low pass) filtering meeting blurred picture, the image detail of loss high frequency.
In view of this, be necessary very much to provide a kind of image processing method of new elimination false contouring.
Summary of the invention
For solving the problems of the technologies described above, the object of the present invention is to provide a kind of image processing method of eliminating false contouring, by changing the spatial distribution of color value, the color value that utilizes the vision average characteristics of human eye to produce to make new advances is with the false contouring in removal of images.
Corresponding described method, another object of the present invention is to provide a kind of image processing apparatus of eliminating false contouring.
One of for achieving the above object, a kind of image processing method of eliminating false contouring provided by the invention, comprise the steps:
Detect the false contouring pixel of each the corresponding certain pixel value that belongs to false contouring;
Spatial distribution by changing pixel value is to eliminate false contouring.
As a further improvement on the present invention, the detection of described false contouring pixel specifically comprises the following steps:
Set a configurable judgment threshold;
Calculate each Grad of pixel to be detected;
Ask absolute value corresponding to each Grad, relatively draw maximum value;
Whether judge described maximum value less than described judgment threshold, if described pixel to be detected is the false contouring pixel; If not, described pixel to be detected is non-false contouring pixel;
As a further improvement on the present invention, described Grad comprises vertical gradient, horizontal gradient, left diagonal angle gradient and right diagonal angle gradient.
As a further improvement on the present invention, the method need to determine that one comprises described false contouring pixel neighborhood of a point, described field is divided into the first area with first color value by false contouring and has the second area of the second color value, the step that difference Step between described the first color value and the second color value is a configurable value, described " spatial distribution by changing pixel value is to eliminate false contouring " specifically comprises the steps:
Get respectively k=0 ,+Step ,-Step, put pixel value around calculating and equal the pixel number p (k) of current some pixel value;
Get respectively k=0 ,+Step ,-Step, according to formula
Figure BDA0000110644010000031
Calculate probable value corresponding to different values;
Obtain random number r at random between interval [0,1];
, according to obtained random number r and the comparison of described probable value, determine the output pixel value that will export.
As a further improvement on the present invention, the step of described ", according to obtained random number r and the comparison of described probable value, determining the output pixel that will export " is specially:
If r<p ' (0), output pixel value is input pixel value;
If p ' (0)≤r<p ' (+Step), output pixel value be input pixel value and Step and;
If other situations, output pixel value is the poor of input pixel value and Step.
One of for achieving the above object, a kind of image processing apparatus of eliminating false contouring provided by the invention, described device comprises:
The false contouring detecting unit, for detection of false contouring pixel of each the corresponding certain pixel value that goes out to belong to false contouring;
False contouring is eliminated unit, is used for passing through to change the spatial distribution of pixel value to eliminate false contouring.
As a further improvement on the present invention, described false contouring detecting unit specifically is used for:
Set a configurable judgment threshold;
Calculate each Grad of pixel to be detected;
Ask absolute value corresponding to each Grad, relatively draw maximum value;
Whether judge described maximum value less than described judgment threshold, if described pixel to be detected is the false contouring pixel; If not, described pixel to be detected is non-false contouring pixel;
As a further improvement on the present invention, described Grad comprises vertical gradient, horizontal gradient, left diagonal angle gradient and right diagonal angle gradient.
As a further improvement on the present invention, this device needs to determine that one comprises described false contouring pixel neighborhood of a point, described field is divided into the first area with first color value by false contouring and has the second area of the second color value, difference Step between described the first color value and the second color value is a configurable value, and described false contouring is eliminated unit and specifically comprised with lower unit:
The probability calculation unit, be used for getting respectively k=0 ,+Step ,-Step, put pixel value around calculating and equal the pixel number p (k) of current some pixel value;
The ratio computing unit, be used for getting respectively k=0,
Figure BDA0000110644010000051
Calculate probable value corresponding to different values according to formula;
Output unit, be used for obtaining random number r at random between interval [0,1], according to obtained random number r and the comparison of described probable value, the definite output pixel value that will export.
As a further improvement on the present invention, described output unit specifically is used for:
If r<p ' (0), output pixel value is input pixel value;
If p ' (0)≤r<p ' (+Step), output pixel value be input pixel value and Step and;
If other situations, output pixel value is the poor of input pixel value and Step.
Compared with prior art, the invention has the beneficial effects as follows: the present invention is by changing the spatial distribution of color value, utilize the vision average characteristics of human eye to produce " new color value " with the false contouring in removal of images, can not lose the details of image when eliminating false contouring, can not increase extra noise yet, and it is dark not need to increase position, and then has greatly saved hardware resource.
Description of drawings
Fig. 1 is the generation schematic diagram of false contouring in prior art.
Fig. 2 is by adding shake or noise to eliminate the schematic diagram of false contouring mode on image in prior art.
Fig. 3 eliminates the schematic diagram of false contouring mode by level and smooth (low pass) filtering in prior art.
Fig. 4 eliminates the flow chart of the image processing method of false contouring in an embodiment of the present invention.
Fig. 5 is the schematic diagram in field, false contouring place in an embodiment of the present invention.
Fig. 6 is pixel vertical gradient schematic diagram in an embodiment of the present invention.
Fig. 7 is pixel level gradient schematic diagram in an embodiment of the present invention.
Fig. 8 is the image state schematic diagram before in an embodiment of the present invention, family's profile is eliminated.
Fig. 9 is the image state schematic diagram after in an embodiment of the present invention, family's profile is eliminated.
Figure 10 eliminates the module diagram of the image processing apparatus of false contouring in an embodiment of the present invention.
Embodiment
Describe the present invention below with reference to embodiment shown in the drawings.But these execution modes do not limit the present invention, and the conversion on the structure that those of ordinary skill in the art makes according to these execution modes, method or function all is included in protection scope of the present invention.
Referring to Fig. 4, in an embodiment of the present invention, the image processing method of shown elimination false contouring comprises inspection false contouring and two steps of elimination false contouring, particularly:
The method comprises the following steps:
S1, detect false contouring pixel of each the corresponding certain pixel value that belongs to false contouring;
So each pixel to false contouring, the distribution of color that we apply based on neighborhood around it produces shake, eliminate this false contouring, so must draw by detection the position at false contouring place before eliminating false contouring, so, in the present invention, just in the zone that false contouring is arranged, just can do the processing of eliminating false contouring, inoperative in other zones.
as shown in Figure 5, at first the present invention needs to determine that one comprises described false contouring pixel neighborhood of a point, described field is divided into the first area with first color value by false contouring and has the second area of the second color value, suppose R (x, y) be pixel (x, y) neighborhood, false contouring is divided into 2 parts to this neighborhood: a part is for having the first area of the first color value c, another part is the second area with second color value c+step, (step is a configurable value, such as 1, 2 etc.), at this neighborhood R (x, y) in, the appearance color value is that the probability of c is p, and occur that color value is that the probability of c+step is 1-p.In order to eliminate or to reduce false contouring, color value should little by little change to c+step from c from top to bottom, rather than suddenly from c, changes to c+step.Yet we are any median between c and c+step not.But, human eye has the average visual characteristic of neighborhood around certain, utilize the average characteristics of human eye vision, can produce the effect of median between c and c+step,, by changing the spatial distribution of c and these two color values of c+step, utilize the vision average characteristics of human eye to produce the effect of the median between c and c+step.
So, continue referring to Fig. 4, in the present embodiment, step S1 specifically comprises the steps to realize the detection of false contouring:
S11, setting one configurable judgment threshold;
Each Grad of S12, calculating pixel to be detected;
Wherein, Grad refers to: vertical gradient, horizontal gradient, left diagonal angle gradient and right diagonal angle gradient.
For example, as shown in Figure 6 and Figure 7, vertical gradient Grad and horizontal gradient Grad X=a-d+b-e+c-f, wherein a, b, c, d, e, f are respectively the value with the directions X of 6 adjacent pixels of this pixel (x, y).
S13, ask absolute value corresponding to each Grad, relatively draw maximum value;
S14, whether judge described maximum value less than described judgment threshold, if described pixel to be detected is false contouring pixel (step S15); If not, described pixel to be detected is non-false contouring pixel (step S16).
Be formulated and be: ( x , y ) &Element; R ( x , y ) | abs ( &dtri; ( x , y ) ) < Th , Wherein:
X, y are abscissa and the ordinates of pixel (x, y), the field of R (x, y) expression pixel (x, y),
Figure BDA0000110644010000082
The expression gradient, abs represents to ask absolute value, and Th is the threshold value of the absolute value of gradient, is a configurable parameter.
S2, the spatial distribution by changing pixel value are to eliminate false contouring.In the present embodiment, the method for the elimination of false contouring is to produce some new pixel values (for example in precedent, increase some pixel values of 2,5,7,10 etc. on false contouring, it is seamlessly transitted) on false contouring.
Described step S2 specifically comprises the steps:
S21, respectively get k=0 ,+Step ,-Step, put pixel value around calculating and equal current point
p ( k ) = 8 &Sigma; ( x , y ) &Element; R ( x , y ) | abs ( &dtri; ( x , y ) ) < Th ) &delta; ( I ( x , y ) , I ( x , y ) + k )
The pixel number p (k) of pixel value;
Be shown with the calculating formula table:
Wherein, get k=0 ,+step ,-step, &delta; ( a , b ) = 1 , ifa = b 0 , otherwise
Wherein I represents input picture,
S22, respectively get k=0 ,+Step ,-Step, according to formula
p &prime; ( k ) = p ( k ) &Sigma; k = 0 , + step , - step p ( k )
Calculate probable value corresponding to different values;
In this step, suppose to calculate p (0)=a, p (step)=b, p (+step)=c
When k=0, p ' (0)=a/ (a+b+c);
When k=-step, p ' (step)=b/ (a+b+c);
When k=+step, p ' (+step)=c/ (a+b+c).
S23, obtain random number r at random between interval [0,1], preferably, random number r is equally distributed between interval [0,1].
S24, according to obtained random number r and the comparison of described probable value, determine the output pixel value that will export.
This step is specially: if r<p ' (0), output pixel value is input pixel value;
If p ' (0)≤r<p ' (+Step), output pixel value be input pixel value and Step and;
If other situations, output pixel value is the poor of input pixel value and Step.
Be formulated and be: O ( x , y ) = I ( x , y ) , ifr < p &prime; ( 0 ) I ( x , y ) + step , if p &prime; ( 0 ) &le; r < p &prime; ( + step ) I ( x , y ) - step , otherwise
Wherein, O (x, y) is the pixel value of output.
See also Fig. 8 and shown in Figure 9, Fig. 8 is the state of image before eliminating, and Fig. 9 is the state of image after eliminating.Spatial distribution by changing false contouring (namely produce between two pixel values (color value) new pixel value go forward side by side line output), to have reached the elimination purpose of false contouring.
Next, introduce the device of eliminating false contouring in an embodiment of the present invention in connection with Figure 10, it comprises with lower unit:
False contouring detecting unit 10, for detection of false contouring pixel of each the corresponding certain pixel value that goes out to belong to false contouring;
So each pixel to false contouring, the distribution of color that we apply based on neighborhood around it produces shake, eliminate this false contouring, so must draw by detection the position at false contouring place before eliminating false contouring, so, in the present invention, just in the zone that false contouring is arranged, just can do the processing of eliminating false contouring, inoperative in other zones.
as shown in Figure 5, at first the present invention needs to determine that one comprises described false contouring pixel neighborhood of a point, described field is divided into the first area with first color value by false contouring and has the second area of the second color value, suppose R (x, y) be pixel (x, y) neighborhood, false contouring is divided into 2 parts to this neighborhood: a part is for having the first area of the first color value c, another part is the second area with second color value c+step, (step is a configurable value, such as 1, 2 etc.), at this neighborhood R (x, y) in, the appearance color value is that the probability of c is p, and occur that color value is that the probability of c+step is 1-p.In order to eliminate or to reduce false contouring, color value should little by little change to c+step from c from top to bottom, rather than suddenly from c, changes to c+step.Yet we are any median between c and c+step not.But, human eye has the average visual characteristic of neighborhood around certain, utilize the average characteristics of human eye vision, can produce the effect of median between c and c+step,, by changing the spatial distribution of c and these two color values of c+step, utilize the vision average characteristics of human eye to produce the effect of the median between c and c+step.
So in the present embodiment, false contouring detecting unit 10 specifically is used for:
Set a configurable judgment threshold;
Calculate each Grad of pixel to be detected;
Wherein, Grad refers to: vertical gradient, horizontal gradient, left diagonal angle gradient and right diagonal angle gradient.
For example, as shown in Figure 6 and Figure 7, vertical gradient Grad and horizontal gradient Grad X=a-d+b-e+c-f, wherein a, b, c, d, e, f are respectively the value with the directions X of 6 adjacent pixels of this pixel (x, y).
Ask absolute value corresponding to each Grad, relatively draw maximum value;
Whether judge described maximum value less than described judgment threshold, if described pixel to be detected is the false contouring pixel; If not, described pixel to be detected is non-false contouring pixel.
Be formulated and be: ( x , y ) &Element; R ( x , y ) | abs ( &dtri; ( x , y ) ) < Th , Wherein:
X, y are abscissa and the ordinates of pixel (x, y), the field of R (x, y) expression pixel (x, y),
Figure BDA0000110644010000112
The expression gradient, abs represents to ask absolute value, and Th is the threshold value of the absolute value of gradient, is a configurable parameter.
False contouring is eliminated unit 20, is used for passing through to change the spatial distribution of pixel value to eliminate false contouring.In the present embodiment, the method for the elimination of false contouring is to produce some new pixel values (for example in precedent, increase some pixel values of 2,5,7,10 etc. on false contouring, it is seamlessly transitted) on false contouring.
False contouring is eliminated unit 20 and is comprised that specifically following each unit realizes the elimination of false contouring:
At first, probability calculation unit 201, be used for getting respectively k=0 ,+Step ,-Step, put pixel value around calculating and equal the pixel number p (k) of current some pixel value;
Be shown with the calculating formula table: p ( k ) = &Sigma; ( x , y ) &Element; R ( x , y ) | abs ( &dtri; ( x , y ) ) < Th ) &delta; ( I ( x , y ) , I ( x , y ) + k )
Wherein, get k=0 ,+step ,-step,
&delta; ( a , b ) = 1 , ifa = b 0 , otherwise
Wherein I represents input picture (pixel value),
Moreover, ratio computing unit 202, this element be used for getting respectively k=0 ,+Step ,-Step,
According to formula
Figure BDA0000110644010000123
Calculate probable value corresponding to different values;
Suppose to calculate p (0)=a, p (step)=b, p (+step)=c
When k=0, p ' (0)=a/ (a+b+c);
When k=-step, p ' (step)=b/ (a+b+c);
When k=+step, p ' (+step)=c/ (a+b+c).
Output unit 203, be used for obtaining random number r at random between interval [0,1], preferably, random number r is equally distributed between interval [0,1].
, according to obtained random number r and the comparison of described probable value, determine the output pixel value that will export.
Wherein, if r<p ' (0), output pixel value is input pixel value;
If p ' (0)≤r<p ' (+Step), output pixel value be input pixel value and Step and;
If other situations, output pixel value is the poor of input pixel value and Step.
Be formulated and be: O ( x , y ) = I ( x , y ) , ifr < p &prime; ( 0 ) I ( x , y ) + step , if p &prime; ( 0 ) &le; r < p &prime; ( + step ) I ( x , y ) - step , otherwise
Wherein, O (x, y) is the pixel value of output.
Compared with prior art, the invention has the beneficial effects as follows: adaptivity: just in the zone that false contouring is arranged, just can do the processing of eliminating false contouring, inoperative in other zones; Therefore, not only can eliminate false contouring, and can not lose the details of image, also can not increase extra noise (particularly at flat site); Moreover the present invention does not need to increase that position is dark just can eliminate false contouring; This can save hardware resource greatly.
Device embodiments described above is only schematic, wherein said unit as the separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills in the situation that do not pay creative work, namely can understand and implement.
, for the convenience of describing, be divided into various unit with function while describing above device and describe respectively.Certainly, can realize the function of each unit in same or a plurality of softwares and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each execution mode of the application or execution mode.
Device embodiments described above is only schematic, wherein said unit as the separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills in the situation that do not pay creative work, namely can understand and implement.
The application can be used in numerous general or special purpose computingasystem environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can put into practice the application in distributed computing environment (DCE), in these distributed computing environment (DCE), by the teleprocessing equipment that is connected by communication network, be executed the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Be to be understood that, although this specification is described according to execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should make specification as a whole, technical scheme in each execution mode also can, through appropriate combination, form other execution modes that it will be appreciated by those skilled in the art that.
Above listed a series of detailed description is only illustrating for feasibility execution mode of the present invention; they are not in order to limit the scope of the invention, all disengaging within equivalent execution mode that skill spirit of the present invention does or change all should be included in protection scope of the present invention.

Claims (6)

1. an image processing method of eliminating false contouring, is characterized in that, it comprises the steps:
Detect the false contouring pixel of each the corresponding certain pixel value that belongs to false contouring;
Spatial distribution by changing pixel value is to eliminate false contouring;
The detection of described false contouring pixel specifically comprises the following steps:
Set a configurable judgment threshold;
Calculate each Grad of pixel to be detected;
Ask absolute value corresponding to each Grad, relatively draw maximum value;
Whether judge described maximum value less than described judgment threshold, if described pixel to be detected is the false contouring pixel; If not, described pixel to be detected is non-false contouring pixel;
The image processing method of this elimination false contouring also needs to determine that one comprises described false contouring pixel neighborhood of a point, described neighborhood is divided into the first area with first color value by false contouring and has the second area of the second color value, the step that difference Step between described the first color value and the second color value is a configurable value, described " spatial distribution by changing pixel value is to eliminate false contouring " specifically comprises the steps:
Get respectively k=0 ,+Step ,-Step, put pixel value around calculating and equal the pixel number p (k) of current some pixel value;
Get respectively k=0 ,+Step ,-Step, calculate probable value corresponding to different values according to formula;
Obtain random number r at random between interval [0,1];
, according to obtained random number r and the comparison of described probable value, determine the output pixel value that will export.
2. method according to claim 1, is characterized in that, described Grad comprises vertical gradient, horizontal gradient, left diagonal angle gradient and right diagonal angle gradient.
3. method according to claim 1, is characterized in that, the step of described ", according to obtained random number r and the comparison of described probable value, determining the output pixel that will export " is specially:
If r<p ' (0), output pixel value is input pixel value;
If p ' (0)<=r<p ' (+Step), output pixel value be input pixel value and Step and;
If other situations, output pixel value is the poor of input pixel value and Step.
4. an image processing apparatus of eliminating false contouring, is characterized in that, described device comprises:
The false contouring detecting unit, for detection of false contouring pixel of each the corresponding certain pixel value that goes out to belong to false contouring;
False contouring is eliminated unit, is used for passing through to change the spatial distribution of pixel value to eliminate false contouring;
Described false contouring detecting unit specifically is used for:
Set a configurable judgment threshold;
Calculate each Grad of pixel to be detected;
Ask absolute value corresponding to each Grad, relatively draw maximum value;
Whether judge described maximum value less than described judgment threshold, if described pixel to be detected is the false contouring pixel; If not, described pixel to be detected is non-false contouring pixel;
The image processing apparatus of this elimination false contouring also needs to determine that one comprises described false contouring pixel neighborhood of a point, described neighborhood is divided into the first area with first color value by false contouring and has the second area of the second color value, difference Step between described the first color value and the second color value is a configurable value, and described false contouring is eliminated unit and specifically comprised with lower unit:
The probability calculation unit, be used for getting respectively k=0 ,+Step ,-Step, put pixel value around calculating and equal the pixel number p (k) of current some pixel value;
The ratio computing unit, be used for getting respectively k=0 ,+Step ,-Step, according to formula
Figure 826214DEST_PATH_IMAGE002
Calculate probable value corresponding to different values;
Output unit, be used for obtaining random number r at random between interval [0,1], according to obtained random number r and the comparison of described probable value, the definite output pixel value that will export.
5. device according to claim 4, is characterized in that, described Grad comprises vertical gradient, horizontal gradient, left diagonal angle gradient and right diagonal angle gradient.
6. device according to claim 4, is characterized in that, described output unit specifically is used for:
If r<p ' (0), output pixel value is input pixel value;
If p ' (0)<=r<p ' (+Step), output pixel value be input pixel value and Step and;
If other situations, output pixel value is the poor of input pixel value and Step.
CN2011103714813A 2011-11-21 2011-11-21 Image processing method and device for eliminating false contour Active CN102413271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103714813A CN102413271B (en) 2011-11-21 2011-11-21 Image processing method and device for eliminating false contour

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103714813A CN102413271B (en) 2011-11-21 2011-11-21 Image processing method and device for eliminating false contour

Publications (2)

Publication Number Publication Date
CN102413271A CN102413271A (en) 2012-04-11
CN102413271B true CN102413271B (en) 2013-11-13

Family

ID=45915092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103714813A Active CN102413271B (en) 2011-11-21 2011-11-21 Image processing method and device for eliminating false contour

Country Status (1)

Country Link
CN (1) CN102413271B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470292A (en) * 2015-08-20 2017-03-01 联咏科技股份有限公司 Image processing apparatus and image processing method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470293B (en) * 2015-08-20 2019-07-09 联咏科技股份有限公司 Image processing apparatus and image processing method
CN106530503B (en) * 2016-09-30 2019-03-22 江苏洁电新能源科技有限公司 Reservation charging method with automatic identification function
TWI727784B (en) * 2020-05-05 2021-05-11 瑞昱半導體股份有限公司 Debanding method for image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1405748A (en) * 2001-08-03 2003-03-26 株式会社半导体能源研究所 Display apparatus and its driving method
US6958760B1 (en) * 1999-11-06 2005-10-25 Samsung Electronics, Co., Ltd. False contour correction apparatus in image display system and false contour correction method
CN101197916A (en) * 2006-12-05 2008-06-11 安凯(广州)软件技术有限公司 Edge crispening color interpolation method based on gradient
CN101452573A (en) * 2007-12-04 2009-06-10 比亚迪股份有限公司 Image edge enhancing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1936589A1 (en) * 2006-12-20 2008-06-25 Deutsche Thomson-Brandt Gmbh Method and appartus for processing video pictures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6958760B1 (en) * 1999-11-06 2005-10-25 Samsung Electronics, Co., Ltd. False contour correction apparatus in image display system and false contour correction method
CN1405748A (en) * 2001-08-03 2003-03-26 株式会社半导体能源研究所 Display apparatus and its driving method
CN101197916A (en) * 2006-12-05 2008-06-11 安凯(广州)软件技术有限公司 Edge crispening color interpolation method based on gradient
CN101452573A (en) * 2007-12-04 2009-06-10 比亚迪股份有限公司 Image edge enhancing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470292A (en) * 2015-08-20 2017-03-01 联咏科技股份有限公司 Image processing apparatus and image processing method
CN106470292B (en) * 2015-08-20 2019-08-27 联咏科技股份有限公司 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
CN102413271A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
US10638060B2 (en) Color correction of RGBIR sensor stream based on resolution recovery of RGB and IR channels
US10015371B2 (en) Electronic device and image tracking method thereof
US9824430B2 (en) Method and apparatus for adjusting image brightness
US20140267351A1 (en) Monochromatic edge geometry reconstruction through achromatic guidance
CN102413271B (en) Image processing method and device for eliminating false contour
US11521327B2 (en) Detection target positioning device, detection target positioning method, and sight tracking device
US20120230601A1 (en) Image processing apparatus, image processing method, and program
CN103888689A (en) Image collection method and device
CN102821230A (en) Image processing apparatus, image processing method
CN104284192A (en) Image processing device and image processing method
CN104094312A (en) Control of video processing algorithms based on measured perceptual quality characteristics
CN102831579B (en) Text enhancement method and device, text extraction method and device
US20180114296A1 (en) Systems and methods for image enhancement
EP2879091A1 (en) Method and device for estimating disparity associated with views of a scene acquired with a plenoptic camera
CN101796566B (en) Image processing device, image processing method
CN103237158A (en) Image processing method, image acquisition system and image processor
US9779486B2 (en) Image processing apparatus and image processing method
CN103020908A (en) Image denoising method and device
WO2020028123A1 (en) Directional scaling systems and methods
CN101237523A (en) Main edge detection method and noise reduction method and device based on this method
CN103258318B (en) A kind of image noise reduction disposal route and system
US9154671B2 (en) Image processing apparatus, image processing method, and program
Le Moan et al. Evaluating the multi-Scale iCID metric
CN111918061B (en) Coding block dividing method and device, storage medium and electronic equipment
CN101453559A (en) Noise detection method and apparatus for video signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SOLOMON-SYSTECH (SHENZHEN) CO., LTD.

Free format text: FORMER OWNER: SUZHOU XITU SHIDING MICROELECTRONICS CO., LTD.

Effective date: 20130829

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 215021 SUZHOU, JIANGSU PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20130829

Address after: 518057, No. six building, No. two Shenzhen Software Park, central science and technology zone, Nanshan District hi tech Zone, Shenzhen, Guangdong, two

Applicant after: Solomon Systech (Shenzhen) Limited

Address before: Suzhou City, Jiangsu Province, Suzhou Industrial Park 215021 Xinghu Street No. 328 Creative Industry Park 2-B702 unit

Applicant before: Suzhou Xitu Shiding Microelectronics Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant