CN106408617A - Interactive single image material acquiring system based on YUV color space and method - Google Patents

Interactive single image material acquiring system based on YUV color space and method Download PDF

Info

Publication number
CN106408617A
CN106408617A CN201610742758.1A CN201610742758A CN106408617A CN 106408617 A CN106408617 A CN 106408617A CN 201610742758 A CN201610742758 A CN 201610742758A CN 106408617 A CN106408617 A CN 106408617A
Authority
CN
China
Prior art keywords
image
diffuse
reflectance
color space
lightness
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
CN201610742758.1A
Other languages
Chinese (zh)
Other versions
CN106408617B (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.)
Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Zhuhai Kingsoft Online Game Technology 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 Western Hills Residence Guangzhou Shi You Network Technology Co Ltd, Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Priority to CN201610742758.1A priority Critical patent/CN106408617B/en
Publication of CN106408617A publication Critical patent/CN106408617A/en
Application granted granted Critical
Publication of CN106408617B publication Critical patent/CN106408617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/001Image restoration
    • G06T5/002Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • G06T2207/20028Bilateral filtering

Abstract

The invention comprises an interactive single image material acquiring system based on YUV color space and a method. According to the method, a single flat sample material image satisfying requirements is provided for the system; highlight separation of the material image is carried out to acquire a diffuse reflection graph and a mirror reflection graph of the highlight image; the diffuse reflection graph of the highlight image acquired by a separation module is acquired, interactive calculation is carried out based on brightness of the diffuse reflection graph to acquire a normal graph; the normal graph is acquired to calculate to acquire a diffuse reflection coefficient; brightness of the mirror reflection graph is taken as a highlight coefficient, and a final highlight coefficient and a mirror reflection coefficient are acquired through re-calculation based on the highlight coefficient and parameters set by a user. The method is advantaged in that an interactive operation mode is employed, a material chartlet generated based on the single image is utilized, and problems of long material making period, high cost and low precision existing in digital construction, game making and movie and television animation fields in the prior art are solved.

Description

A kind of interactive single image material based on YUV color space obtain system and Method
Technical field
The present invention relates to a kind of obtain system and method based on the interactive single image material of YUV color space, belong to Area of computer graphics.
Background technology
Material acquisition methods and the reconstruction in virtual scene are the important subject of computer graphicss.In the past More than ten years in, research worker proposes many processing methods and develops corresponding system, and for example, the BTF of Bonn university is (double To texture function) obtain system.But such system exists, and system building complexity, data acquisition time length, data volume be big, data pressure The shortcomings of contracting time is long, thus material obtains system and still fails to enter practical stage.
In recent years, obtain, using single image, the attention that material appearance obtains industrial quarters and research worker, and develop Many moneys materials obtains and editing system.For example, image, utilization are edited in industrial quarters technical staff using Photoshop CrazyBump calculates Normal figure etc..In research field, Microsoft Research, Asia have developed a interactive mode material and obtains system System AppGen.On the basis of correlational study, the present invention have developed a kind of interactive single image material based on YUV color space Acquisition system.
YUV is a kind of colour coding method being adopted by eurovision system, is PAL and SECAM simulation color TV The color space that standard adopts.In modern color television system, generally adopt three pipe colour cameras or colored CCD camera Carry out capture, then the colour picture signal obtaining through color separation, obtain RGB after amplification correction respectively, then through matrixing Circuit obtains luminance signal Y and two colour difference signal B-Y (i.e. U), R-Y (i.e. V), and last transmitting terminal is by brightness and aberration three Signal is encoded respectively, is sent with same channel.The method for expressing of this color is exactly so-called YUV color space table Show.Luminance signal Y of YUV and carrier chrominance signal U, V are detached.If only Y-signal component is without U, V component, then this The image that sample represents is exactly black and white gray level image.Color television adopts yuv space precisely in order to solving technicolo with luminance signal Y Depending on the compatibling problem of machine and black and white television, make black and white television also can receive colour TV signal.
Bilateral filtering [1] (Bilateral filter) is a kind of nonlinear filtering method, is the space with reference to image Adjacency and a kind of compromise of pixel value similarity, consider spatial information (si) and grey similarity simultaneously, reach guarantor's side denoising Purpose.There is simple, non-iterative, local.
List of references:
[1]Yang Q.,Wang S.,N.Real-time specular highlight removal using bilateral filtering.Computer Vision–ECCV 2010.Springer,2010,87-100.
Content of the invention
For the subsidy of prior art, the technical method of the present invention is based on YUV color space it is only necessary to single image can be given birth to Become more real texturing, including diffuse-reflectance coefficient figure, specularity factor figure, normal direction figure and high backscatter extinction logarithmic ratio figure.
Technical scheme includes a kind of interactive single image material acquisition system based on YUV color space, It is characterized in that, this system includes:Preparation module is for providing, for system, the single width flat sample texture map picture that meets the requirements, right Texture map picture is parsed, and obtains light source direction and viewpoint direction;Separation module, for separating to texture map image height light, obtains High light image, also obtains diffuse-reflectance figure and the mirror reflection figure of bloom image further;Normal direction module, obtains described splitting die The diffuse-reflectance figure of the high light image that block obtains, interacts formula based on the lightness of diffuse-reflectance figure and is calculated normal direction figure;Unrestrained anti- Penetrate coefficient module, be calculated diffuse-reflectance coefficient for obtaining described normal direction figure;Coefficients calculation block, for by direct reflection figure Lightness as high backscatter extinction logarithmic ratio, based on the parameter of high backscatter extinction logarithmic ratio and user setup, recalculate further and obtain final bloom Coefficient and specularity factor.
System is obtained according to the interactive single image material of described YUV color space, described preparation module is also wrapped Include:For obtaining satisfactory single width flat sample texture map picture, parsing obtains the rgb value of material image pixel, further By rgb value I (x) of certain pixel x be expressed as diffuse-reflectance and direct reflection and, wherein
I (x)=Id(x)+Is(x),
Diffuse-reflectance is Id(x)=ρd(x)Sd(x)=ρd(x) Dot (N (x), L),
Mirror reflection is Is(x)=ρs(x)Ss(x)=ρs(x) pow (Dot (N (x), H), g (x)) Dot (N (x), L), its Middle g (x) is high backscatter extinction logarithmic ratio, and H=(L+V)/| L+V |, wherein L are light source direction, and V is viewpoint direction.
System is obtained according to the interactive single image material of described YUV color space, described separation module also wraps Include:Default submodule, the high photo threshold for arranging when pixel is screened is configured, and this high photo threshold can carry out self-defined Setting;Filter submodule, for filtering to each pixel practicality bilateral filtering of texture map picture, is not higher than including rejecting Preset the pixel of high photo threshold, the pixel meeting bloom threshold requirement is carried out respectively obtaining diffuse-reflectance figure and mirror image Reflectogram.
System is obtained according to the interactive single image material of described YUV color space, described normal direction module is also Including:Transform subblock, for being converted to YUV color space to the diffuse-reflectance figure of material pixel from RGB color, and obtains The lightness Y of YUV color space;Interactive computing submodule, for calculating maximum MaxY and minimum M inY of lightness Y, Change in depth scope empirical value DepthRange, the lightness Y to diffuse-reflectance image according to User Defined setting further Carry out secondary calculating, its meter obtains final lightness, computing formula is Y=(Y-MinY)/(MaxY-MinY) * DepthRange, Wherein change in depth scope empirical value can arrange scope is 0-255;Normal direction figure calculating sub module, for obtaining described interactive computing The final lightness that submodule secondary calculating obtains, is calculated normal direction figure according to lightness Y to diffuse-reflectance figure further.
Interactive single image material according to described YUV color space obtains system, described diffuse-reflectance coefficient module Block also includes:For using ρd(x)=IdX ()/Dot (N (x), L) is calculated diffuse-reflectance coefficient.
Interactive single image material according to described YUV color space obtains system, described diffuse-reflectance coefficient module Block also includes:Interim submodule, for being converted to the conversion formula of YUV color space according to RGB color, calculates minute surface anti- Penetrate the lightness G of figure, using G as high backscatter extinction logarithmic ratio temporarily, and calculate maximum MaxG and the minima of high backscatter extinction logarithmic ratio temporarily MinG;Interaction submodule, for the bloom excursion empirical value GlossinessRange according to user input, using g (x) =(g (x)-MinG)/(MaxG-MinG) * GlossinessRange is calculated finally high backscatter extinction logarithmic ratio, using ρs(x)=Is (x)/pow(Dot(ND(x),H),g(x))/Dot(ND(x), L) it is calculated specularity factor, wherein GlossinessRange can input range be 0-255.
Also a kind of interactive single image material acquisition methods based on YUV color space of technical scheme, its It is characterised by, the method includes:There is provided, for system, the single width flat sample texture map picture that meets the requirements, texture map picture is solved Analysis, obtains light source direction and viewpoint direction;Texture map image height light is separated, obtains high light image, also obtain bloom figure further The diffuse-reflectance figure of picture and mirror reflection figure;Obtain the diffuse-reflectance figure of the high light image that described separation module obtains, based on diffuse-reflectance The lightness of figure interacts formula and is calculated normal direction figure;Obtain described normal direction figure and be calculated diffuse-reflectance coefficient;Minute surface is anti- The lightness penetrating figure, as high backscatter extinction logarithmic ratio, based on the parameter of high backscatter extinction logarithmic ratio and user setup, is recalculated further and is obtained finally High backscatter extinction logarithmic ratio and specularity factor.
Further, the method also includes:
For obtaining satisfactory single width flat sample texture map picture, parsing obtains the rgb value of material image pixel, enters One step by rgb value I (x) of certain pixel x be expressed as diffuse-reflectance and direct reflection and, wherein I (x)=Id(x)+Is(x), Diffuse-reflectance is Id(x)=ρd(x)Sd(x)=ρdX () Dot (N (x), L), mirror reflection is Is(x)=ρs(x)Ss(x)=ρs(x) Pow (Dot (N (x), H), g (x)) Dot (N (x), L), wherein g (x) are high backscatter extinction logarithmic ratio, and H=(L+V)/| L+V |, wherein L are light Source direction, V is viewpoint direction.
Further, the method also includes:The high photo threshold arranging when pixel is screened is configured, and this high photo threshold is permissible Carry out self-defined setting;Each pixel practicality bilateral filtering of texture map picture is filtered, not higher than default including rejecting The pixel of high photo threshold, the pixel meeting bloom threshold requirement is carried out respectively obtaining diffuse-reflectance figure and mirror reflection Figure.
Further, the method also includes:Transform subblock, for the diffuse-reflectance figure of material pixel from RGB color Be converted to YUV color space, and obtain the lightness Y of YUV color space;Interactive computing submodule, for calculating lightness Y's Maximum MaxY and minimum M inY, the change in depth scope empirical value according to User Defined setting further DepthRange, carries out secondary calculating to the lightness Y of diffuse-reflectance image, and its meter obtains final lightness, and computing formula is Y= (Y-MinY) it is 0-255 that/(MaxY-MinY) * DepthRange, wherein change in depth scope empirical value can arrange scope;Normal direction Figure calculating sub module, for obtaining the final lightness that described interactive computing submodule secondary calculating obtains, further according to bright Brightness Y is calculated normal direction figure to diffuse-reflectance figure.
Further, the method also includes:Using ρd(x)=IdX ()/Dot (N (x), L) is calculated diffuse-reflectance coefficient.
Further, the method also includes:Be converted to the conversion formula of YUV color space according to RGB color, calculate mirror The lightness G of face reflectogram, using G as high backscatter extinction logarithmic ratio temporarily, and calculates maximum MaxG and the minimum of high backscatter extinction logarithmic ratio temporarily Value MinG;According to the bloom excursion empirical value GlossinessRange of user input, using g (x)=(g (x)-MinG)/ (MaxG-MinG) * GlossinessRange is calculated finally high backscatter extinction logarithmic ratio, using ρs(x)=Is(x)/pow(Dot(ND (x),H),g(x))/Dot(ND(x), L) it is calculated specularity factor, wherein GlossinessRange can input range be 0-255.
Brief description
Fig. 1 show the population structure block diagram of the system according to embodiment of the present invention;
Fig. 2 show the overall flow figure according to embodiment of the present invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair The present invention is described in detail.The interactive single image material of the YUV color space of the present invention obtains system and is used for singly belonging to Graph and image processing field.
Fig. 1 show the population structure block diagram of the system according to embodiment of the present invention;Preparation module, for carrying for system For the single width that meets the requirements flat sample texture map picture, texture map picture is parsed, obtain light source direction and viewpoint direction;Separate Module, for separating to texture map image height light, obtains high light image, also obtains diffuse-reflectance figure and the mirror image of bloom image further Reflectogram;Normal direction module, obtains the diffuse-reflectance figure of the high light image that described separation module obtains, bright based on diffuse-reflectance figure Degree interacts formula and is calculated normal direction figure;Diffuse-reflectance coefficient module, is calculated diffuse-reflectance system for obtaining described normal direction figure Number;Coefficients calculation block, with using the lightness of direct reflection figure as high backscatter extinction logarithmic ratio, based on high backscatter extinction logarithmic ratio and user setup Parameter, recalculates further and obtains finally high backscatter extinction logarithmic ratio and specularity factor.
Fig. 2 show the overall flow figure according to embodiment of the present invention.Its implementing procedure including step S201~ S205, including:
S201, prepares material picture and carries out checking filtration, the system inputs as single width flat sample texture map picture. The I (x) of Blinn-x be represented by diffuse-reflectance and direct reflection and,
I (x)=Id(x)+Is(x).
Wherein,
Id(x)=ρd(x)Sd(x)=ρd(x)Dot(N(x),L)
Is(x)=ρs(x)Ss(x)=ρs(x) pow (Dot (N (x), H), g (x)) Dot (N (x), L),
G (x) is high backscatter extinction logarithmic ratio, and (L is light source direction to H=(L+V)/| L+V |, and V is viewpoint direction, and this report supposes often The L of individual pixel x, V all same).
Therefore, the system can be described as, and the pictures giving flat sample material are it is assumed that light source direction L and viewpoint Direction V is it is known that calculate normal vector N (x), diffuse-reflectance coefficient ρd(x), specularity factor ρs(x), high backscatter extinction logarithmic ratio g (x).
S202, carries out bloom and separates, obtain diffuse-reflectance and mirror reflection figure, the bloom based on single image separates to picture Method has a lot.More simple empirical method can also be adopted in actual applications, for example, the pixel value with bloom be obtained Threshold value is set to 235, i.e. I (x)>235 expression blooms.The system is based on bilateral filtering (Bilateral Filterin) using a kind of Bloom separation method.
S203, the lightness using diffuse-reflectance figure calculates normal direction figure, and the color space of image is that coded system is varied, Wherein most commonly seen is RGB color.The system will study calculating normal direction figure on YUV color space.YUV color space Middle Y represents lightness (Luminance), that is, grey decision-making;U and V is used for representing colourity (Chrominance), i.e. description figure The color of picture, saturation.As follows from the linear transformation formula of RGB color to YUV color space:
Y=0.299R+0.587G+0.114B,
U=-0.147R-0.298G+0.437B,
V=0.615R-0.515G-0.100B.
The feature of YUV color space is that lightness Y and carrier chrominance signal U, V are detached, if only Y-signal component, The image representing is exactly black and white gray level image.Therefore, to adopt the lightness Y in YUV color space to replace traditional bright for the system Secretly (brightness) intrinsic figure.In addition, for improving computational efficiency, we will directly utilize lightness Y to calculate normal direction in actual applications Figure.
For improving the precision of normal direction figure, the system devises a kind of interactive mode and calculates normal direction drawing method using lightness.Base This step is as follows:
(1) maximum MaxY, minimum M inY of image lightness Y are calculated;
(2) utilize change in depth scope empirical value DepthRange (0~255) of user input, according to below equation weight New calculating image lightness Y,
Y=(Y-MinY)/(MaxY-MinY) * DepthRange.
The ultimate principle of the method is to customer satisfaction system interval range by image lightness uniform zoom, thus revised law To the change of figure, when DepthRange value is larger, normal direction excursion is larger, and otherwise, normal direction excursion is less.
S204 calculates diffuse-reflectance coefficient, and its computing formula is:ρd(x)=Id(x)/Dot(N(x),L).
S205, calculates high backscatter extinction logarithmic ratio and specularity factor, and the system is stronger according to direct reflection, high backscatter extinction logarithmic ratio bigger this One feature, devises a kind of interactive mode bloom generation method.
(1) conversion formula according to RGB to YUV, the lightness calculating direct reflection figure is as high backscatter extinction logarithmic ratio g (x), and counts Calculate maximum MaxG, minimum M inG;
(2) utilize bloom excursion empirical value GlossinessRange (0~255) of user input, according to following public affairs Formula recalculates high backscatter extinction logarithmic ratio, specularity factor,
G (x)=(g (x)-MinG)/(MaxG-MinG) * GlossinessRange,
ρs(x)=Is(x)/pow(Dot(ND(x),H),g(x))/Dot(ND(x),L).
True finally by the diffuse-reflectance coefficient obtained by step S204 and step S205, mirror reflection coefficient and high backscatter extinction logarithmic ratio Recognize final image material.
The above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as It reaches the technique effect of the present invention with identical means, all should belong to protection scope of the present invention.Protection model in the present invention In enclosing, its technical scheme and/or embodiment can have various different modifications and variations.

Claims (12)

1. a kind of interactive single image material acquisition system based on YUV color space is it is characterised in that this system includes:
Preparation module, for providing, for system, the single width flat sample texture map picture that meets the requirements, parses to texture map picture, obtains Take light source direction and viewpoint direction;
Separation module, for separating to texture map image height light, obtains high light image, also obtains the diffuse-reflectance of bloom image further Figure and mirror reflection figure;
Normal direction module, obtains the diffuse-reflectance figure of the high light image that described separation module obtains, the lightness based on diffuse-reflectance figure The formula of interacting is calculated normal direction figure;
Diffuse-reflectance coefficient module, is calculated diffuse-reflectance coefficient for obtaining described normal direction figure;
Coefficients calculation block, for using the lightness of direct reflection figure as high backscatter extinction logarithmic ratio, based on high backscatter extinction logarithmic ratio and user setup Parameter, recalculate further and obtain finally high backscatter extinction logarithmic ratio and specularity factor.
2. the interactive single image material of YUV color space according to claim 1 obtain system it is characterised in that Described preparation module also includes:
For obtaining satisfactory single width flat sample texture map picture, parsing obtains the rgb value of material image pixel, further By certain pixelRgb valueBe expressed as diffuse-reflectance and direct reflection and, wherein
,
Diffuse-reflectance is,
Mirror reflection is,
WhereinFor high backscatter extinction logarithmic ratio,, wherein L is light source direction, and V is viewpoint direction.
3. the interactive single image material of YUV color space according to claim 1 obtain system it is characterised in that Described separation module also includes:
Default submodule, the high photo threshold for arranging when pixel is screened is configured, and this high photo threshold can be made by oneself Justice setting;
Filter submodule, for filtering to each pixel practicality bilateral filtering of texture map picture, is not higher than including rejecting Preset the pixel of high photo threshold, the pixel meeting bloom threshold requirement is carried out respectively obtaining diffuse-reflectance figure and mirror image Reflectogram.
4. the interactive single image material of YUV color space according to claim 1 obtain system it is characterised in that Described normal direction module also includes:
Transform subblock, for being converted to YUV color space to the diffuse-reflectance figure of material pixel from RGB color, and obtains The lightness Y of YUV color space;
Interactive computing submodule, for calculating maximum MaxY and minimum M inY of lightness Y, makes by oneself according to user further The change in depth scope empirical value DepthRange of justice setting, carries out secondary calculating to the lightness Y of diffuse-reflectance image, it is counted To final lightness, computing formula is
,
Wherein change in depth scope empirical value can arrange scope is 0-255;
Normal direction figure calculating sub module, for obtaining the final lightness that described interactive computing submodule secondary calculating obtains, enters one Step is calculated normal direction figure according to lightness Y to diffuse-reflectance figure.
5. the interactive single image material of YUV color space according to claim 1 obtain system it is characterised in that Described diffuse-reflectance coefficient module also includes:
For usingIt is calculated diffuse-reflectance coefficient.
6. the interactive single image material of YUV color space according to claim 1 obtain system it is characterised in that Described diffuse-reflectance coefficient module also includes:
Interim submodule, for being converted to the conversion formula of YUV color space according to RGB color, calculates direct reflection figure Lightness G, using G as high backscatter extinction logarithmic ratio temporarily, and calculate maximum MaxG and minimum M inG of high backscatter extinction logarithmic ratio temporarily;
Interaction submodule, for the bloom excursion empirical value GlossinessRange according to user input, uses
It is calculated finally high backscatter extinction logarithmic ratio, use
It is calculated specularity factor, wherein GlossinessRange can input range be 0-255.
7. a kind of interactive single image material acquisition methods based on YUV color space are it is characterised in that the method includes:
There is provided for system and meet the requirements single width flat sample texture map picture, texture map picture is parsed, obtain light source direction and Viewpoint direction;
Texture map image height light is separated, obtains high light image, also obtain diffuse-reflectance figure and the mirror reflection of bloom image further Figure;
Obtain the diffuse-reflectance figure of the high light image that described separation module obtains, formula meter is interacted based on the lightness of diffuse-reflectance figure Calculation obtains normal direction figure;
Obtain described normal direction figure and be calculated diffuse-reflectance coefficient;
Using the lightness of direct reflection figure as high backscatter extinction logarithmic ratio, based on the parameter of high backscatter extinction logarithmic ratio and user setup, further again It is calculated finally high backscatter extinction logarithmic ratio and specularity factor.
8. the interactive single image material acquisition methods based on YUV color space according to claim 7, its feature exists In the method also includes:
For obtaining satisfactory single width flat sample texture map picture, parsing obtains the rgb value of material image pixel, further By certain pixelRgb valueBe expressed as diffuse-reflectance and direct reflection and, wherein
,
Diffuse-reflectance is,
Mirror reflection is,
WhereinFor high backscatter extinction logarithmic ratio,, wherein L is light source direction, and V is viewpoint direction.
9. the interactive single image material acquisition methods based on YUV color space according to claim 7, its feature exists In the method also includes:
The high photo threshold arranging when pixel is screened is configured, and this high photo threshold can carry out self-defined setting;
Each pixel practicality bilateral filtering of texture map picture is filtered, including the picture rejecting not higher than default high photo threshold Vegetarian refreshments, the pixel meeting bloom threshold requirement is carried out respectively obtaining diffuse-reflectance figure and mirror reflection figure.
10. the interactive single image material acquisition methods based on YUV color space according to claim 7, its feature It is, the method also includes:
Transform subblock, for being converted to YUV color space to the diffuse-reflectance figure of material pixel from RGB color, and obtains The lightness Y of YUV color space;
Interactive computing submodule, for calculating maximum MaxY and minimum M inY of lightness Y, makes by oneself according to user further The change in depth scope empirical value DepthRange of justice setting, carries out secondary calculating to the lightness Y of diffuse-reflectance image, it is counted To final lightness, computing formula is
,
Wherein change in depth scope empirical value can arrange scope is 0-255;
Normal direction figure calculating sub module, for obtaining the final lightness that described interactive computing submodule secondary calculating obtains, enters one Step is calculated normal direction figure according to lightness Y to diffuse-reflectance figure.
11. the interactive single image material acquisition methods based on YUV color space according to claim 7, its feature It is, the method also includes:
UseIt is calculated diffuse-reflectance coefficient.
12. the interactive single image material acquisition methods based on YUV color space according to claim 7, its feature It is, the method also includes:
Be converted to the conversion formula of YUV color space according to RGB color, calculate the lightness G of direct reflection figure, G is made For high backscatter extinction logarithmic ratio temporarily, and calculate maximum MaxG and minimum M inG of high backscatter extinction logarithmic ratio temporarily;
According to the bloom excursion empirical value GlossinessRange of user input, use
It is calculated finally high backscatter extinction logarithmic ratio, use
It is calculated specularity factor, wherein GlossinessRange can input range be 0-255.
CN201610742758.1A 2016-08-26 2016-08-26 Interactive single image material obtaining system and method based on YUV color space Active CN106408617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610742758.1A CN106408617B (en) 2016-08-26 2016-08-26 Interactive single image material obtaining system and method based on YUV color space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610742758.1A CN106408617B (en) 2016-08-26 2016-08-26 Interactive single image material obtaining system and method based on YUV color space

Publications (2)

Publication Number Publication Date
CN106408617A true CN106408617A (en) 2017-02-15
CN106408617B CN106408617B (en) 2020-03-31

Family

ID=58003461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610742758.1A Active CN106408617B (en) 2016-08-26 2016-08-26 Interactive single image material obtaining system and method based on YUV color space

Country Status (1)

Country Link
CN (1) CN106408617B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146264A (en) * 2017-04-28 2017-09-08 南京大学 A kind of method for extracting material surface geometry and illumination physical attribute

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852393A (en) * 2006-04-14 2006-10-25 浙江大学 Single-colour image area colour displacing method for virtual displaying system
CN101146233A (en) * 2007-09-26 2008-03-19 东南大学 A computing and image correction method for light source color
CN102663741A (en) * 2012-03-22 2012-09-12 北京佳泰信业技术有限公司 Method for carrying out visual stereo perception enhancement on color digit image and system thereof
CN103236069A (en) * 2013-04-22 2013-08-07 中山大学 Implementation method and implementation device of self-adaptive edge guiding colorization
CN103440674A (en) * 2013-06-13 2013-12-11 厦门美图网科技有限公司 Method for rapidly generating crayon special effect of digital image
CN104463858A (en) * 2014-11-28 2015-03-25 中国航空无线电电子研究所 Projection color self-adaption correction method
CN105574920A (en) * 2016-01-28 2016-05-11 网易(杭州)网络有限公司 Texture map generating method, texture map generating device, texture synthesizing method and texture synthesizing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852393A (en) * 2006-04-14 2006-10-25 浙江大学 Single-colour image area colour displacing method for virtual displaying system
CN101146233A (en) * 2007-09-26 2008-03-19 东南大学 A computing and image correction method for light source color
CN102663741A (en) * 2012-03-22 2012-09-12 北京佳泰信业技术有限公司 Method for carrying out visual stereo perception enhancement on color digit image and system thereof
CN103236069A (en) * 2013-04-22 2013-08-07 中山大学 Implementation method and implementation device of self-adaptive edge guiding colorization
CN103440674A (en) * 2013-06-13 2013-12-11 厦门美图网科技有限公司 Method for rapidly generating crayon special effect of digital image
CN104463858A (en) * 2014-11-28 2015-03-25 中国航空无线电电子研究所 Projection color self-adaption correction method
CN105574920A (en) * 2016-01-28 2016-05-11 网易(杭州)网络有限公司 Texture map generating method, texture map generating device, texture synthesizing method and texture synthesizing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闫维忠等: "煤矿压风设备三维可视化实时监控预警系统的实现", 《煤炭与化工》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146264A (en) * 2017-04-28 2017-09-08 南京大学 A kind of method for extracting material surface geometry and illumination physical attribute
CN107146264B (en) * 2017-04-28 2019-05-31 南京大学 A method of extracting material surface geometry and illumination physical attribute

Also Published As

Publication number Publication date
CN106408617B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN104618700B (en) Enhanced display method for color high dynamic range image
CN107516319B (en) High-precision simple interactive matting method, storage device and terminal
TW201243771A (en) Method for color feature extraction
CN106570850B (en) A kind of image interfusion method
EP2627069B1 (en) Method and wireless handheld device for determining image hue
CN104581103B (en) A kind of image processing method and device
CN106375316B (en) A kind of method of video image processing and equipment
WO2017152402A1 (en) Image processing method and apparatus for terminal, and terminal
CN105681775A (en) White balance method and device
CN109618173A (en) Video-frequency compression method, device and computer readable storage medium
CN107592517A (en) A kind of method and device of colour of skin processing
CN110248242A (en) A kind of image procossing and live broadcasting method, device, equipment and storage medium
CN110378848A (en) A kind of image defogging method based on derivative figure convergence strategy
CN106408617A (en) Interactive single image material acquiring system based on YUV color space and method
CN108205795A (en) Face image processing process and system during a kind of live streaming
CN111292279A (en) Polarization image visualization method based on color image fusion
KR101513931B1 (en) Auto-correction method of composition and image apparatus with the same technique
US10728510B2 (en) Dynamic chroma key for video background replacement
CN106887024B (en) The processing method and processing system of photo
CN106331663B (en) A kind of interaction material acquisition system and method for portable equipment
CN107452039A (en) Compress the method and device of RGB color
CN112837248B (en) Video stream denoising method and system
CN109862419B (en) Intelligent digital laser television interaction method and system
CN105160329B (en) A kind of tooth recognition methods, system and camera terminal based on YUV color spaces
Harbi H et al. Face Detection using RGB Model

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