CN102750924A - Control method for color space three-dimensional oscilloscope - Google Patents
Control method for color space three-dimensional oscilloscope Download PDFInfo
- Publication number
- CN102750924A CN102750924A CN2011103630413A CN201110363041A CN102750924A CN 102750924 A CN102750924 A CN 102750924A CN 2011103630413 A CN2011103630413 A CN 2011103630413A CN 201110363041 A CN201110363041 A CN 201110363041A CN 102750924 A CN102750924 A CN 102750924A
- Authority
- CN
- China
- Prior art keywords
- dimensional
- model
- oscillography
- color
- numerical value
- 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
Links
Images
Abstract
The invention discloses a control method for a color space three-dimensional oscilloscope. The control method comprises obtaining integrally adjusted values input by a user or adjusted values of a specific pixel by introducing a three-dimensional oscillography model; obtaining a new three-dimensional oscillography model by adjusting the three-dimensional oscillography model according to the integrally adjusted values or the adjusted values of the specific pixel; adjusting an original image according to the new three-dimensional oscillography model, and obtaining a new image. Due to the fact that space coordinate points and colors on the three-dimensional oscillography model correspond o color values on the original image one to one, a user can achieve the aim of directly adjusting image according to adjustment of the colors on the three-dimensional oscillography model.
Description
Technical field
The present invention relates to image, field of video processing, relate in particular to the three-dimensional oscillographic control method of a kind of color space.
Background technology
Along with the appearance of nonlinear editing system, the post-production of TV programme, particularly video, treatment of picture technology have obtained significant progress.In image processing techniques, color space is a notion commonly used." color space " etymology is in " the Color Space " in west; Be called " colour gamut " again; In the color science; People have set up the multicolour model, represent a certain color with one dimension, two dimension, three-dimensional even four-dimentional space coordinate, and the Color Range that this coordinate system can define is a color space.
RGB (RGB) color space is a color space common in the computing machine, and it produces other color through the phase Calais of red, green, blue three primary colours.Wherein RGB24 uses 24 bits to represent the color of a pixel, and red, green, blue respectively accounts for 8 (each color from the superficial to the deep all have 00000000~11111111 totally 256 kinds), can obtain 256*256*256 kind color.Color space commonly used also has YUV, HSL etc.
In the process of Flame Image Process, people expect a kind of basic demand of directviewing description color of image information, so the image color oscillograph occurred.In the prior art; People can carry out the adjustment of color through the conventional vector oscillograph; But because vectorscope is an X-Y scheme, X-Y scheme can only be set up two axles in the mathematics coordinate system usually, so prior art can not be showed the distributed intelligence of pixel, the relativeness information of pixel, the gather density of pixel and the relative position between the pixel etc.; Such as, the UV polar plot can only be described U, the V two-way colour difference information in the YUV color space; The Y oscillogram can only be described the Y monochrome information in the YUV color space; RGB formation oscillograph can only be described the statistical information of the some Color Channels in the rgb color space.In a word, though traditional oscillograph can demonstrate the colouring information in the image in all its bearings, true colors distribution situation in the display image directly perceived can not be described the distribution situation of each component epigraph color in the color space simultaneously.
And in the process of amending image and adjustment, can adjust according to COLOR COMPOSITION THROUGH DISTRIBUTION in the oscillograph and displaying usually, increase saturation degree or whole increase brightness or the like such as the blue proportion of integral body increase, integral body.But in the prior art, because traditional oscillograph can not be showed the relativeness between the pixel, so can not be through colour model in the oscillograph is directly adjusted original image accordingly.Such as, what show in traditional colour model is not the distribution of color corresponding with original image, can not settle at one go to adjust in the own needed color and goes so carry out color adjustment.
In a word, in the prior art, oscillographic control method is too abstract, and the user can not adjust original image according to the colour model that oscillograph is showed intuitively.
Summary of the invention
The present invention provides a kind of color space three-dimensional oscillographic control method, through adopting three-dimensional oscillography model, lets the user do various adjustment to original image through three-dimensional oscillography model.
In order to achieve the above object, the embodiment of the invention provides a kind of color space three-dimensional oscillographic control method, may further comprise the steps:
Introduce three-dimensional oscillography model;
Obtain the color adjustment numerical value of user's input;
Color adjustment numerical value according to said user's input is adjusted said three-dimensional oscillography model, obtains new three-dimensional oscillography model;
According to said new three-dimensional oscillography model, original image is adjusted, obtain new image.
The embodiment of the invention is obtained the integral body adjustment numerical value of user's input or the adjustment numerical value of specific pixel point through introducing three-dimensional oscillography model; According to the adjustment numerical value of said whole adjustment numerical value or specific pixel point, three-dimensional oscillography model is adjusted, obtain new three-dimensional oscillography model; According to said new three-dimensional oscillography model; Original image is adjusted; Obtain new image; Because color value has one-to-one relationship on the volume coordinate point on the three-dimensional oscillography model and color and the original image, makes the user reach the purpose of direct adjustment color of image according to the adjustment to color on the three-dimensional oscillography model.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of the three-dimensional oscillographic control method of a kind of color space of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme of the embodiment of the invention is carried out clear, complete description, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope that the present invention protects.
The embodiment of the invention provides a kind of color space three-dimensional oscillographic control method, like Fig. 1, may further comprise the steps:
Sampling density according to certain is obtained raw image data, if SD image 720x576, zoom factor (8,8), if high-definition image 1920x1080, zoom factor (16,16).
Input picture generally is the YUV view data, shows the statistical information of other color spaces such as RGB or HSL if desired, need convert the view data after the convergent-divergent to relevant RGB data or HSL view data.
The model of rgb color space:
The pin coordinate during RGB model; X-axle---->R; Y-axle---->G; Z-axle---->B; Wherein, the span of RGB [0.5,0.5];
The color value of pixel is with < r, g, b>expression in the thumbnail, and the bit of pixel RGB component is respectively < Bits-r, Bits-g, Bits-b >, so, corresponds to coordinate points in the RGB model with < r ', g ', b '>expression
r′=r/(2
*Bits-r)-0.5;
g′=g/(2
*Bits-g)-0.5;
b′=b/(2
*Bits-b)-0.5;
The model of HSL color space:
The HSL coordinate system is a polar coordinate system, and on behalf of polar angle, S, H represent polar radius, L to be perpendicular to the axle on polar coordinates plane; H span [0,360], S span [0,1], L span [0.5,0.5]; The HSL value of thumbnail is with < h, s, l>expression, correspond to HSL value in the polar coordinate system model and be h ', s ', l ' >;
h′=h;
s′=s;
l′=l-0.5;
Its corresponding right-angle coordinate representation is following, X axle-->polar radius polar angle be 0 ° the axle on projection field; Z axle-->polar radius is 90 ° of projections on the axle at polar angle; Y axle-->corresponding polar L axle; Polar coordinates are the pixel of < h ', s ', l ' >, and the position in rectangular coordinate system is with < x ', y ', z '>expression, and transforming relationship is following:
x′=s′*cos(h′);
y′=l′;
z′=s′*sin(h′);
The model of YUV color space:
The YUV coordinate system is a rectangular coordinate system: X-axle---->V value, Y-axle---->Y value, Z-axle---->U value; Y span [0.5,0.5], V span [0.5,0.5], U span [0.5,0.5];
YUV color value on the thumbnail is with < v, y, u>expression, and the number of bits of pixel YUV component is respectively < Bits-y, Bits-u, Bits-v >, and the coordinate points that color corresponds to color space is with < v ', y ', u ' >
v′=v/(2
*Bits-v)-0.5;
y′=y/(2
*Bits-y)-0.5;
u′=u/(2
*Bits-r)-0.5;
The color adjustment numerical value of user's input specifically comprises whole adjustment numerical value or specific adjusted numerical value.
Corresponding three-dimensional oscillography model coordinate position and corresponding color value thereof, with < < x, y, z >, < r, g, b>> structrual description, the point of claiming this structrual description is some unit or some spirit;
The user can import whole adjustment numerical value, and there is a unified adjustment numerical value in promptly all some units;
The accent that can also comprise specific pixel point increases numerical value, the corresponding adjustment numerical value of promptly some units.
According to the color adjustment numerical value of said user input said three-dimensional oscillography model is adjusted and specifically to be comprised all pixels are adjusted, the pixel in the original image of special pixel point correspondence is adjusted according to the mapping of adjustment numerical value.
Whole adjustment is adjusted all pixels exactly according to the mapping of adjustment numerical value;
Whole adjustment comprises to be compressed spatial model, stretch or carries out deformation according to certain condition.
The adjustment of special pixel point is exactly that the pixel in the original image of special pixel point correspondence is adjusted.
The present invention is preferred:
A, whole adjustment
Obtain the adjustment numerical value of user's input; The adjustment numerical value here is positional value, corresponding < x, y, z >, x, y, z value, the i.e. positional value in < r, g, b>of promptly above-mentioned some unit; This adjustment numerical value can be x+a, y+b, z+c, also can be the funtcional relationship between a kind of x, y, the z.
If funtcional relationship is then obtained an adjustment angle of user's input, carry out formula according to the adjustment angle of obtaining again and convert, convert according to formula and carry out evolution.
Such as < 0.5,0.5, z>in the color space cube of above-mentioned RGB model axle all being become < 0.5,0.5, z/2 >, but other edge axle is constant, and the position relationship between the pixel.
According to conversion relation, obtain the latest position value of all pixels, calculate corresponding color-values according to positional value again, according to above-mentioned adjustment each corresponding pixel of some unit in the original image is carried out the color adjustment to three-dimensional oscillography model.
B, the adjustment of special pixel point
I.e. unit's adjustment.Because the pixel of the same color that in original image, obtains, all correspond in the three-dimensional oscillography model on the point, so, can adjust some special point.That is, through to some units, or certain regional some unit adjusts, to reach the purpose of some special color in the adjustment original image.
Step 104 according to said new three-dimensional oscillography model, is adjusted original image, obtains new image.
Said original image is played up and showed according to adjusted three-dimensional oscillography model, utilize video card (GPU) to create D3D equipment, state and parameter information that D3D equipment needs are set, render all some units;
Because; Rendering result be from some viewed three-dimensional models have a few, blocking before and after having, the characteristic as a result that causes observing is not clearly; We are through providing operations such as rotation, translation; Let the user can pass through input equipments such as mouse, keyboard, regulate the attitude of model, demonstrate distribution of color rendering result with obvious characteristic.
The beneficial effect that the technical scheme of the embodiment of the invention is brought is following:
The embodiment of the invention is obtained the integral body adjustment numerical value of user's input or the adjustment numerical value of specific pixel point through introducing three-dimensional oscillography model; According to the adjustment numerical value of said whole adjustment numerical value or specific pixel point, three-dimensional oscillography model is adjusted, obtain new three-dimensional oscillography model; According to said new three-dimensional oscillography model; Original image is adjusted; Obtain new image; Because color value has one-to-one relationship on the volume coordinate point on the three-dimensional oscillography model and color and the original image, makes the user reach the purpose of direct adjustment color of image according to the adjustment to color on the three-dimensional oscillography model.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform; Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. the three-dimensional oscillographic control method of color space is characterized in that, may further comprise the steps:
Introduce three-dimensional oscillography model;
Obtain the color adjustment numerical value of user's input;
Color adjustment numerical value according to said user's input is adjusted said three-dimensional oscillography model, obtains new three-dimensional oscillography model;
According to said new three-dimensional oscillography model, original image is adjusted, obtain new image.
2. method according to claim 1 is characterized in that, the color adjustment numerical value of said user's input specifically comprises whole adjustment numerical value or specific adjusted numerical value.
3. method according to claim 1 is characterized in that, said color adjustment numerical value according to said user's input is adjusted said three-dimensional oscillography model specifically and comprised:
All pixels are adjusted according to the mapping of adjustment numerical value;
Pixel in the original image that special pixel point is corresponding is adjusted.
4. like claim 1 or 3 said methods, it is characterized in that said color adjustment numerical value according to said user's input is adjusted said three-dimensional oscillography model also and comprised:
Spatial model is compressed, stretches or carries out deformation according to certain condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110363041.3A CN102750924B (en) | 2011-11-16 | A kind of control method of color space three-dimensional oscilloscope |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110363041.3A CN102750924B (en) | 2011-11-16 | A kind of control method of color space three-dimensional oscilloscope |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102750924A true CN102750924A (en) | 2012-10-24 |
CN102750924B CN102750924B (en) | 2016-12-14 |
Family
ID=
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110073411A (en) * | 2017-05-16 | 2019-07-30 | 深圳市三维人工智能科技有限公司 | A kind of color adjustment method and system of model |
WO2021120519A1 (en) * | 2019-12-19 | 2021-06-24 | 北京普源精电科技有限公司 | Color control method and apparatus for object to be displayed, measuring device, and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1032719A (en) * | 1996-07-18 | 1998-02-03 | Benetsuse Corp:Kk | Picture compression method and device therefor |
US6236406B1 (en) * | 1998-10-21 | 2001-05-22 | Sony Corporation | Three-dimensional color space display |
CN201163286Y (en) * | 2008-02-04 | 2008-12-10 | 张新国 | Stereo display conversion system of chaos circuit three-dimensional phase diagram oscillograph |
CN101635858A (en) * | 2008-07-23 | 2010-01-27 | 胜华科技股份有限公司 | Color correction method and integrated chip using same |
CN101719359A (en) * | 2008-10-09 | 2010-06-02 | 华硕电脑股份有限公司 | Method for regulating color distribution and color distribution module |
CN101866641A (en) * | 2010-03-09 | 2010-10-20 | 华映视讯(吴江)有限公司 | The color adjustment method of image |
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1032719A (en) * | 1996-07-18 | 1998-02-03 | Benetsuse Corp:Kk | Picture compression method and device therefor |
US6236406B1 (en) * | 1998-10-21 | 2001-05-22 | Sony Corporation | Three-dimensional color space display |
CN201163286Y (en) * | 2008-02-04 | 2008-12-10 | 张新国 | Stereo display conversion system of chaos circuit three-dimensional phase diagram oscillograph |
CN101635858A (en) * | 2008-07-23 | 2010-01-27 | 胜华科技股份有限公司 | Color correction method and integrated chip using same |
CN101719359A (en) * | 2008-10-09 | 2010-06-02 | 华硕电脑股份有限公司 | Method for regulating color distribution and color distribution module |
CN101866641A (en) * | 2010-03-09 | 2010-10-20 | 华映视讯(吴江)有限公司 | The color adjustment method of image |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110073411A (en) * | 2017-05-16 | 2019-07-30 | 深圳市三维人工智能科技有限公司 | A kind of color adjustment method and system of model |
CN110073411B (en) * | 2017-05-16 | 2023-06-30 | 深圳市三维人工智能科技有限公司 | Color adjustment method and system for model |
WO2021120519A1 (en) * | 2019-12-19 | 2021-06-24 | 北京普源精电科技有限公司 | Color control method and apparatus for object to be displayed, measuring device, and medium |
US11508329B2 (en) | 2019-12-19 | 2022-11-22 | Rigol Technologies, Inc. | Color control method and apparatus of a to-be-displayed object, measurement device, and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102478606B1 (en) | Image display device and method for displaying image | |
JP5909405B2 (en) | Semiconductor device | |
KR20210015959A (en) | Video signal processing method and apparatus | |
US20230370561A1 (en) | Interactive Three-Dimensional (3D) Color Histograms | |
US8319790B2 (en) | Color adjustment circuit, digital color adjustment device and multimedia apparatus using the same | |
US11301972B2 (en) | Color saturation adjustment in non-uniform color space | |
US10713765B2 (en) | Color image modification with approximation function | |
JP2006345187A (en) | Color processing method and device thereof | |
CN102739984A (en) | Method and system for realizing high-definition virtual scenery | |
CN104077792A (en) | Image processing method with cartoon effect | |
CN115083303A (en) | Method, medium and device for correcting spatial color of LED display screen under mobile visual angle | |
CN102752622B (en) | A kind of color space 3 D displaying method | |
CN107534763B (en) | Adaptive color levels interpolation method and equipment | |
CN102750925B (en) | In a kind of color oscilloscope, colour model maps the method for three-dimensional space | |
CN102750924A (en) | Control method for color space three-dimensional oscilloscope | |
JP2014093617A (en) | Color video signal processing device, processing method, and processing program | |
CN102750933A (en) | Dynamic display method of three-dimensional oscillometric model in color three-dimensional oscilloscope | |
CN110718178A (en) | Display panel and image display apparatus including the same | |
WO2018160883A1 (en) | Color saturation adjustment in non-uniform color space | |
CN102750924B (en) | A kind of control method of color space three-dimensional oscilloscope | |
CN102761754A (en) | Curve color matching method | |
CN110490945B (en) | Image color adjusting method | |
CN111192333B (en) | Image display method, image display device, and computer storage medium | |
JP2017162153A (en) | Image processing apparatus, image processing system, and program | |
CN103002294A (en) | Color adjustment system and method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161214 Termination date: 20171116 |