Nothing Special   »   [go: up one dir, main page]

CN104093011B - A kind of pseudo color inhibiting method and device - Google Patents

A kind of pseudo color inhibiting method and device Download PDF

Info

Publication number
CN104093011B
CN104093011B CN201410350511.6A CN201410350511A CN104093011B CN 104093011 B CN104093011 B CN 104093011B CN 201410350511 A CN201410350511 A CN 201410350511A CN 104093011 B CN104093011 B CN 104093011B
Authority
CN
China
Prior art keywords
predeterminable area
described predeterminable
pseudo
region
colours
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
CN201410350511.6A
Other languages
Chinese (zh)
Other versions
CN104093011A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201410350511.6A priority Critical patent/CN104093011B/en
Publication of CN104093011A publication Critical patent/CN104093011A/en
Application granted granted Critical
Publication of CN104093011B publication Critical patent/CN104093011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The present invention provides a kind of pseudo color inhibiting method and device, is applied in image processing equipment, and the method includes: according to the colourity of predeterminable area, it is judged that whether described predeterminable area is colored region;Brightness according to described predeterminable area, it is judged that whether described predeterminable area is lines close quarters;If described predeterminable area had both been colored region, also it is lines close quarters, then confirms that described predeterminable area is pseudo-colours region;If described predeterminable area is pseudo-colours region, then by reducing the saturation suppression pseudo-colours of described predeterminable area.The present invention provides a kind of method utilizing limited size template suppression large area pseudo-colours so that under limited nature color loses, it is possible to substantially suppress pseudo-colours.

Description

A kind of pseudo color inhibiting method and device
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of pseudo color inhibiting method and device.
Background technology
In ISP (Image Signal Processing, picture signal processes) computing, tri-components of RGB Operation independent often destroy original proportionate relationship of tri-components of RGB, thus introduce pseudo-colours.As Dotted rectangle region shown in Fig. 1 is pseudo-colours region.Pseudo-colours is generally present in lines close quarters, Lines are the most intensive more easily produce pseudo-colours.
In theory, pseudo-colours belongs to color noise, weighs if being put on YCbCr space, and pseudo-colours can To regard the noise in Cb and Cr plane as, therefore, it can suppress with general noise reduction algorithm, such as exist Cb and Cr carries out medium filtering, mean filter and corrosion the most respectively and expands scheduling algorithm.
The effect of noise reduction algorithm is closely related with noise reduction template size.If noise reduction template is less than pseudo-colours region, Then in template, color is the most consistent with the color of template neighboring area, it is impossible to distinguish color noise, can be by Template inner region is mistaken for normal color.
Summary of the invention
In view of this, the invention provides a kind of pseudo color inhibiting method, be applied in image processing equipment, The method includes:
Colourity according to predeterminable area, it is judged that whether described predeterminable area is colored region;
Brightness according to described predeterminable area, it is judged that whether described predeterminable area is lines close quarters;
If described predeterminable area had both been colored region, also it is lines close quarters, then confirms described preset areas Territory is pseudo-colours region;
If described predeterminable area is pseudo-colours region, then the saturation by reducing described predeterminable area suppresses Pseudo-colours.
Present invention also offers a kind of pseudo-colours restraining device, be applied in image processing equipment, its feature exists In, this device includes:
Colored region judging unit, for the colourity according to predeterminable area, it is judged that whether described predeterminable area For colored region;
Lines close quarters judging unit, for the brightness according to described predeterminable area, it is judged that described default Whether region is lines close quarters;
Pseudo-colours region decision unit, if being both colored region for described predeterminable area, is also that lines are close Collection region, then confirm that described predeterminable area is pseudo-colours region;
Saturation regulation unit, if being pseudo-colours region for described predeterminable area, then described by reducing The saturation suppression pseudo-colours of predeterminable area.
The present invention provides a kind of method utilizing limited size template suppression large area pseudo-colours so that limited Under Natural color loss, it is possible to substantially suppress pseudo-colours.
Accompanying drawing explanation
Fig. 1 is the logical device implementation signal of pseudo-colours restraining device in one embodiment of the present invention Figure.
Fig. 2 is the flow chart of pseudo color inhibiting method in one embodiment of the present invention.
Fig. 3 is the flow chart of YCbCr space pseudo-colours decision method in one embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in detail.
The present invention provides a kind of pseudo-colours restraining device, illustrates below as a example by logical device realizes, But the present invention is not precluded from other implementations such as such as hardware or software etc..As it is shown in figure 1, this dress Put and run on logical device, this device include colored region judging unit, lines close quarters judging unit, Pseudo-colours region decision unit and saturation regulation unit.Meanwhile, on logical device, also operation has colourity empty Between converting unit, in follow-up detailed description of the invention, this device of cooperation is realized pseudo-colours suppression.Refer to Fig. 2, use and the running of this device comprise the following steps:
Step 101, colored region judging unit is according to the colourity of predeterminable area, it is judged that described predeterminable area Whether it is colored region;
Step 102, lines close quarters judging unit is according to the brightness of described predeterminable area, it is judged that described Whether predeterminable area is lines close quarters;
Step 103, pseudo-colours region decision unit had both been colored region at described predeterminable area, was also line During bar close quarters, then confirm that described predeterminable area is pseudo-colours region;
Step 104, saturation regulation unit is when described predeterminable area is pseudo-colours region, by reducing The saturation suppression pseudo-colours of described predeterminable area.
According to information such as the colourity of color lump in predeterminable area and brightness, the present invention judges whether this color lump is pseudo-color Territory, zone, meanwhile, adjusts suppression pseudo-colours based on saturation.Carry out in detail below by way of detailed description of the invention Describe in detail bright.
First, template size is set, such as, with 6*6 as template, in image range, utilizes this template Traveling through, the color lump each fallen in template is handled as follows as predeterminable area.
Before predeterminable area is carried out pseudo-colours suppression, it is necessary first to confirm whether this predeterminable area is pseudo- Colored region.The present invention, as a example by YCbCr space, introduces pseudo-colours regional determination method.Such as Fig. 1 institute Show, for input rgb space image, need to by the color space convert unit in logical device, After rgb space image is converted to YCbCr space image, then carry out pseudo-colours region decision.Assume YCbCr space each component Y, Cb and Cr all use 8 bits to represent.
According to color space convert formula:
R=1.164* (Y-16)+1.596* (Cr-128)
G=1.164* (Y-16)-0.813* (Cr-128)-0.392* (Cb-128)
B=1.164* (Y-16)+2.017* (Cb-128)
If R=G=B, then it represents that corresponding region is black and white region, therefore, as shown from the above formula, During Cb=128 and Cr=128, region is black and white region.
As it is shown on figure 3, based on above-mentioned theory, the colored region judging unit in logical device is according to presetting Chroma difference thr_c, it is judged that whether predeterminable area is colored region.If Cb-128 < thr_c in predeterminable area And Cr-128 < thr_c, then it is assumed that this region is black and white region, and otherwise, this region is colored region.Reason Thinking under state, thr_c answers value to be zero, to distinguish black and white region and colored region, but in real image not There is absolute black and white region, therefore, need to be according to practical situation, in rational range of error, arrange Chroma difference thr_c.
Meanwhile, that same predeterminable area is carried out lines is close for the lines close quarters judging unit in logical device Collection region decision.Basis for estimation is, the region that lines are the most intensive the most easily produces pseudo-colours, therefore, line Bar close quarters judging unit distinguishes Natural color and pseudo-colours according to the lines dense degree in predeterminable area. It practice, if Natural color region, then really do not have a large amount of lines in region.
Owing to the profile of object is mainly derived from luminance Y component, therefore, can judge to preset by Y-component Lines in region.The present invention uses whether the mean square deviation of Y exists intensive lines in judging region, it is assumed that F (Y) represents the mean square deviation of brightness Y, then lines close quarters judging unit is according to the intensive threshold of lines preset Value thr_y, it is judged that whether predeterminable area is lines close quarters.As F (the Y) < thr_y in predeterminable area Time, then this predeterminable area is non-lines close quarters, and otherwise, this region is lines close quarters.thr_y Value the same with thr_c, real image do not exists absolute smooth region without contour line, therefore, This value is set according to practical situation, to distinguish lines close quarters and non-dense region.
Pseudo-colours region decision unit in logical device is according to colored region judging unit and lines compact district The result of territory judging unit output, it is judged that whether predeterminable area is pseudo-colours region.Basis for estimation is, if Predeterminable area is not only colored region but also be lines close quarters, then this region is pseudo-colours region.
The accuracy that above-mentioned pseudo-colours judges depends on presetting chroma difference thr_c and the intensive threshold of default lines Value thr_y, thr_c and thr_y value setting the least, it is judged that result more tends to pseudo-colours, but follow-up puppet Comprehend at colored suppression and cause self-colored loss, therefore, thr_c's and thr_y to a certain extent Arrange and need to require to be configured according to actual display.
After confirming pseudo-colours region, pseudo-colours region is suppressed.As it is shown in figure 1, utilize logic Pseudo-colours is suppressed by the saturation regulation unit in device, and the RGB after output pseudo-colours suppression is empty Between image.Impacting the sense organ of people owing to saturation regulation can change pseudo-colours, saturation reduces, pseudo- Colored sense organ impact reduces;Saturation improves, and the impact of pseudo-colours sense organ improves.Therefore, the present invention passes through Reduce the saturation suppression pseudo-colours in pseudo-colours region.
The theoretical formula reducing saturation is:
R=1.164* (Y-16)+1.596* (Cr-128) * K
G=1.164* (Y-16)-0.813* (Cr-128) * K-0.392* (Cb-128) * K
B=1.164* (Y-16)+2.017* (Cb-128) * K
Wherein, 0 < K≤1, it is seen then that K value is the least, the pseudo-colours after process is closer to black and white, pseudo-colours Treatment effect the best.
In actual mechanical process, for the zones of different of image, different K values can be used.Such as, Natural color region is used bigger K value, to keep self-colored saturation as far as possible;To pseudo-colours region Use less K value, to reduce the saturation of pseudo-colours.In order to obtain more preferable display effect, also may be used According to (Cb-128), (Cr-128) and the statistical value of F (Y), the K value of zones of different is dynamically set, Make each region obtain optimal color displays, while suppression pseudo-colours, avoid Natural color as far as possible Impact, reduces self-colored loss.
The pseudo color inhibiting method adjusted based on region saturation that the present invention proposes, can effectively solve limited The template size suppression to large area pseudo-colours region, it is possible under limited nature color loses, hence it is evident that suppression Pseudo-colours.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in Within the scope of protection of the invention.

Claims (8)

1. a pseudo color inhibiting method, is applied in image processing equipment, it is characterised in that the method bag Include:
Colourity according to predeterminable area, it is judged that whether described predeterminable area is colored region;
Brightness according to described predeterminable area, it is judged that whether described predeterminable area is lines close quarters;
If described predeterminable area had both been colored region, also it is lines close quarters, then confirms described preset areas Territory is pseudo-colours region;
If described predeterminable area is pseudo-colours region, then reduce described predeterminable area according to saturation formula Saturation suppression pseudo-colours, described saturation formula is:
R=1.164* (Y-16)+1.596* (Cr-128) * K
G=1.164* (Y-16)-0.813* (Cr-128) * K-0.392* (Cb-128) * K
B=1.164* (Y-16)+2.017* (Cb-128) * K
Wherein, 0 < K≤1.
2. the method for claim 1, it is characterised in that judge whether described predeterminable area is color Territory, zone method particularly includes:
If described chromatic value and the difference of default chromatic value are less than default chroma difference, the most described predeterminable area For black and white region, otherwise, described predeterminable area is colored region.
3. the method for claim 1, it is characterised in that judge whether described predeterminable area is line Bar close quarters method particularly includes:
If described brightness value is less than presetting the intensive threshold value of lines, the most described predeterminable area is non-lines compact district Territory, otherwise, described predeterminable area is lines close quarters.
4. the method for claim 1, it is characterised in that:
Colourity according to described predeterminable area and brightness, dynamically regulation K value, reduces described predeterminable area Saturation.
5. a pseudo-colours restraining device, is applied in image processing equipment, it is characterised in that this device bag Include:
Colored region judging unit, for the colourity according to predeterminable area, it is judged that whether described predeterminable area For colored region;
Lines close quarters judging unit, for the brightness according to described predeterminable area, it is judged that described default Whether region is lines close quarters;
Pseudo-colours region decision unit, if being both colored region for described predeterminable area, is also that lines are close Collection region, then confirm that described predeterminable area is pseudo-colours region;
Saturation regulation unit, if being pseudo-colours region for described predeterminable area, then public according to saturation Formula reduces the saturation suppression pseudo-colours of described predeterminable area, and described saturation formula is:
R=1.164* (Y-16)+1.596* (Cr-128) * K
G=1.164* (Y-16)-0.813* (Cr-128) * K-0.392* (Cb-128) * K
B=1.164* (Y-16)+2.017* (Cb-128) * K
Wherein, 0 < K≤1.
6. device as claimed in claim 5, it is characterised in that described colored region judging unit judges Whether described predeterminable area is that the detailed process of colored region is:
If described chromatic value and the difference of default chromatic value are less than default chroma difference, the most described predeterminable area For black and white region, otherwise, described predeterminable area is colored region.
7. device as claimed in claim 5, it is characterised in that described lines close quarters judging unit Judge that whether described predeterminable area is that the detailed process of lines close quarters is:
If described brightness value is less than presetting the intensive threshold value of lines, the most described predeterminable area is non-lines compact district Territory, otherwise, described predeterminable area is lines close quarters.
8. device as claimed in claim 5, it is characterised in that:
Described saturation regulation unit is further used for the colourity according to described predeterminable area and brightness, dynamically Regulation K value, reduces the saturation of described predeterminable area.
CN201410350511.6A 2014-07-22 2014-07-22 A kind of pseudo color inhibiting method and device Active CN104093011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410350511.6A CN104093011B (en) 2014-07-22 2014-07-22 A kind of pseudo color inhibiting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410350511.6A CN104093011B (en) 2014-07-22 2014-07-22 A kind of pseudo color inhibiting method and device

Publications (2)

Publication Number Publication Date
CN104093011A CN104093011A (en) 2014-10-08
CN104093011B true CN104093011B (en) 2016-09-14

Family

ID=51640688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410350511.6A Active CN104093011B (en) 2014-07-22 2014-07-22 A kind of pseudo color inhibiting method and device

Country Status (1)

Country Link
CN (1) CN104093011B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303483B (en) * 2015-05-20 2019-05-24 浙江大华技术股份有限公司 A kind of image processing method and device
CN105427261A (en) * 2015-11-27 2016-03-23 努比亚技术有限公司 Method and apparatus for removing image color noise and mobile terminal
CN108632583B (en) * 2017-03-23 2019-10-22 展讯通信(上海)有限公司 Digital image processing method and device
CN111861893B (en) * 2019-04-24 2024-04-09 浙江宇视科技有限公司 Method, system, equipment and computer medium for eliminating false color edges of image
CN112652027B (en) * 2020-12-30 2024-03-22 凌云光技术股份有限公司 Pseudo color detection method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85108044A (en) * 1985-10-21 1986-07-02 大连海运学院 Pseudocolor photosensitive material and manufacture method thereof
CN1668114A (en) * 2005-04-08 2005-09-14 杭州国芯科技有限公司 A pseudo color inhibiting method with recursive protection
CN1806449A (en) * 2004-05-27 2006-07-19 索尼株式会社 Image processing apparatus, image processing method, and computer program
JP2006211098A (en) * 2005-01-26 2006-08-10 Fujinon Corp Imaging apparatus
CN1937781A (en) * 2005-09-20 2007-03-28 恩益禧电子股份有限公司 Image processing apparatus and image processing method
CN101080023A (en) * 2006-04-14 2007-11-28 索尼株式会社 Image forming apparatus with a plurality of image forming units
CN102629466A (en) * 2012-04-11 2012-08-08 南京巨鲨显示科技有限公司 Adaptive correction method for color gray-scale image of display

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4940639B2 (en) * 2005-09-30 2012-05-30 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
KR101201672B1 (en) * 2005-12-20 2012-11-15 삼성전자주식회사 Apparatus for digital image signal processing and method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN85108044A (en) * 1985-10-21 1986-07-02 大连海运学院 Pseudocolor photosensitive material and manufacture method thereof
CN1806449A (en) * 2004-05-27 2006-07-19 索尼株式会社 Image processing apparatus, image processing method, and computer program
JP2006211098A (en) * 2005-01-26 2006-08-10 Fujinon Corp Imaging apparatus
CN1668114A (en) * 2005-04-08 2005-09-14 杭州国芯科技有限公司 A pseudo color inhibiting method with recursive protection
CN1937781A (en) * 2005-09-20 2007-03-28 恩益禧电子股份有限公司 Image processing apparatus and image processing method
CN101080023A (en) * 2006-04-14 2007-11-28 索尼株式会社 Image forming apparatus with a plurality of image forming units
CN102629466A (en) * 2012-04-11 2012-08-08 南京巨鲨显示科技有限公司 Adaptive correction method for color gray-scale image of display

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
单品描述;无;《计算机世界》;20031020;全文 *

Also Published As

Publication number Publication date
CN104093011A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104093011B (en) A kind of pseudo color inhibiting method and device
CN108876742B (en) Image color enhancement method and device
US20150332444A1 (en) Image processing device and image processing method
US9165346B2 (en) Method and apparatus for reducing image noise
JP2020107351A (en) Circuit device, electronic apparatus, and error detection method
CN111429370B (en) Underground coal mine image enhancement method, system and computer storage medium
US8737762B2 (en) Method for enhancing image edge
CN104809694B (en) Digital image processing method and device
CN109544464A (en) A kind of fire video image analysis method based on contours extract
KR20100009168A (en) Apparatus for improving sharpness of image
CN109600605B (en) Detection method of 4K ultra-high-definition video, electronic device and computer program product
CN103200410A (en) White balance control method and white balance control device
EP2953340A1 (en) Image processing device, image processing method, program, and recording medium
US20140334728A1 (en) Method and device of skin tone optimization in a color gamut mapping system
WO2013025219A1 (en) Creating a blended image
CN105631826B (en) A kind of color image saturation Enhancement Method and system
CN108124141B (en) A kind of image processing method and device
Nakajima et al. A novel color image processing scheme in HSI color space with negative image processing
KR20130012749A (en) Video enhancer and video image processing method
CN104424486A (en) Systems and methods for color recognition in computer vision systems
CN104967840A (en) Video image standard exceeding detection method and device
TW202034281A (en) Method for adjusting luminance of images and computer program product
JP2009200884A (en) Image data processor and image data processing method
JP3675704B2 (en) Contour correction device
JP5887088B2 (en) Image processing device

Legal Events

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