CN102750925A - Method for mapping color model in color oscilloscope to three-dimensional space - Google Patents

Method for mapping color model in color oscilloscope to three-dimensional space Download PDF

Info

Publication number
CN102750925A
CN102750925A CN2011103631401A CN201110363140A CN102750925A CN 102750925 A CN102750925 A CN 102750925A CN 2011103631401 A CN2011103631401 A CN 2011103631401A CN 201110363140 A CN201110363140 A CN 201110363140A CN 102750925 A CN102750925 A CN 102750925A
Authority
CN
China
Prior art keywords
color
dimensional
data
object format
view data
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
CN2011103631401A
Other languages
Chinese (zh)
Other versions
CN102750925B (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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110363140.1A priority Critical patent/CN102750925B/en
Publication of CN102750925A publication Critical patent/CN102750925A/en
Application granted granted Critical
Publication of CN102750925B publication Critical patent/CN102750925B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for mapping a color model in a color oscilloscope to a three-dimensional space. By introducing a Cartesian coordinate system in the color oscilloscope, original image data is converted into target form image data; according to categories of each component in the target form image data, each coordinate axis in the Cartesian coordinate system is identified, and value area of each coordinate axis is determined according to a form of image data; a component of each pixel point in the target form image data is converted into three-dimensional data value in the Cartesian coordinate system according to a conversion algorithm; according to the three-dimensional data value, corresponding color and position of each pixel point in the Cartesian coordinate system are calculated. The color is marked at the position, a three-dimensional oscillometric model is obtained, and visual reflection of space distribution conditions of the pixel points is achieved.

Description

Colour model is mapped to three-dimensional method in a kind of color oscillograph
Technical field
The present invention relates to image, field of video processing, relate in particular to that colour model is mapped to three-dimensional method in a kind of color oscillograph.
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.But in the prior art, the conventional vector oscillograph can only be described the information of one or two components in the color space, reason be exactly vectorscope be X-Y scheme, usually X-Y scheme can only be set up two axles in the mathematics coordinate system.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.
To sum up, the process of Flame Image Process, the method that needs a kind of three dimensions to show.But,, also can't show the existing two-dimensional colour model even in the color oscillograph, introduce three dimensions.
Summary of the invention
The present invention provides that colour model is mapped to three-dimensional method in a kind of color oscillograph; Represent the various components in the color space through introducing cartesian coordinate system; Making existing colour model can convert three-dimensional model to represents; Realize the distribution situation of the color information of pixel in the true reflection image, make color of image information more directly perceived at color space, true reappearance each color of color space.
In order to achieve the above object, the embodiment of the invention provides that colour model is mapped to three-dimensional method in a kind of color oscillograph, may further comprise the steps:
Colour model is mapped to three-dimensional method in a kind of color oscillograph, may further comprise the steps:
In the color oscillograph, introduce cartesian coordinate system;
Obtain raw image data to the color oscillograph according to predefined sampling density, convert said raw image data to the object format view data;
With each coordinate axis in the cartesian coordinate system described in the classification logotype color oscillograph of each component in the said object format view data; Make in each coordinate axis and the said object format view data in the said cartesian coordinate system each component corresponding one by one, confirm the span of said each coordinate axis according to the span of each component in the said object format view data;
Each data elements in the said object format view data is converted in the said cartesian coordinate system and said data element three-dimensional data element one to one according to transfer algorithm;
In the corresponding corresponding color of station location marker of said three-dimensional data element, obtain three-dimensional oscillography model.
The embodiment of the invention is through introducing cartesian coordinate system in the color oscillograph; Obtain raw image data to the color oscillograph according to predefined sampling density, convert said raw image data to the object format view data; With each coordinate axis in the cartesian coordinate system described in the classification logotype color oscillograph of each component in the said object format view data; Make in each coordinate axis and the said object format view data in the said cartesian coordinate system each component corresponding one by one, confirm the span of said each coordinate axis according to the span of each component in the said object format view data; Each data elements in the said object format view data is converted in the said cartesian coordinate system and said data element three-dimensional data element one to one according to transfer algorithm; In the corresponding corresponding color of station location marker of said three-dimensional data element; Obtain three-dimensional oscillography model; Making existing colour model can convert three-dimensional model to represents; Realize the distribution situation of the color information of pixel in the true reflection image, make color of image information more directly perceived at color space.
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 that colour model is mapped to three-dimensional method in a kind of color oscillograph 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 that colour model is mapped to three-dimensional method in a kind of color oscillograph, comprises the introducing cartesian coordinate system, like Fig. 1, may further comprise the steps:
Step 101 is introduced cartesian coordinate system in the color oscillograph;
At first in the color oscillograph, introduce three dimensions, in three dimensions, introduce cartesian coordinate system then, be used for showing each color in the existing color space.
Step 102 is obtained raw image data, and converts object format to.
Sampling density according to certain is obtained raw image data, converts raw image data to the object format view data;
Step 1021 is confirmed sampling density.
Obtain the resolution of said original image, confirm sampling density according to the resolution of said original image;
The present invention is preferred, if SD image 720x576, zoom factor (8,8), if high-definition image 1920x1080, zoom factor (16,16).Wherein, zoom factor is the sampling density of image, and the block of pixels of 8x8 or 16x16 in the original image is represented with a pixel in the image after convergent-divergent.
Step 1022 is obtained raw image data.
Obtain raw image data according to said sampling density;
Step 1023 converts object format to.
Obtain the object format of predefined view data, convert said raw image data to the object format view data according to the object format of said predefined view data.
Input picture generally is the YUV view data, but needing the data presented form possibly be the statistical information of other color spaces such as RGB or HSL.
If input picture is the YUV view data, need to show the statistical information of other color spaces such as RGB or HSL, need convert the view data after the convergent-divergent to relevant RGB data or HSL view data;
Step 103 is set up the locus coordinate model.
According to the classification of each component in the object format view data, set up the locus coordinate model.With each coordinate axis in the said cartesian coordinate system of classification logotype of each component in the said object format view data; Make in each coordinate axis and the said object format view data in the said cartesian coordinate system each component corresponding one by one, confirm the span of said each coordinate axis according to the span of each component in the said object format view data.
The present invention is preferred:
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 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 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].
Step 104 converts view data to three-dimensional data according to transfer algorithm.
Each data elements in the said object format view data is converted in the said cartesian coordinate system and said data element three-dimensional data element one to one according to transfer algorithm;
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 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′);
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-v)-0.5。
Step 105 in the corresponding corresponding color of station location marker of three-dimensional data element, obtains three-dimensional oscillography model.
Color and position according to each data item of said three-dimensional data element is calculated said three-dimensional data element correspondence in cartesian coordinate system in the said color of said station location marker, obtain three-dimensional oscillography model.
Obtain the pixel (at present embodiment, pixel equals the data element in the claim) in the thumbnail, calculate coordinate position and corresponding color value thereof, with < < x at corresponding color space model; Y, z >, < r; G, b>structrual description, claim that the point of this structrual description is perhaps put smart for some unit;
Said original image is played up and showed according to said color space as a result, 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 three-dimensional oscillography model that obtains, project in the two dimensional image through the projection transition matrix and to show.
The beneficial effect that the technical scheme of the embodiment of the invention is brought is following:
The embodiment of the invention is obtained raw image data according to certain sampling density, converts said raw image data to the object format view data; Classification according to each component in the said object format view data identifies each coordinate axis in the said cartesian coordinate system, and confirms the span of each coordinate axis according to the form of view data; Convert the component of each pixel in the said object format view data in the said cartesian coordinate system three-dimensional data value according to transfer algorithm; According to said three-dimensional data value, calculate the color and the position of said each pixel correspondence in said cartesian coordinate system, in the said color of said station location marker; Obtain three-dimensional oscillography model; Said three-dimensional oscillograph model is showed,, 2-D data is converted into three-dimensional data and corresponds to the cartesian coordinate system relevant position through introducing cartesian coordinate system; Obtained three-dimensional oscillography model; Realized the space distribution situation of reflected image vegetarian refreshments directly perceived, and can show the relativeness information of pixel, be user-friendly to.
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. colour model is mapped to three-dimensional method in the color oscillograph, it is characterized in that, may further comprise the steps:
In the color oscillograph, introduce cartesian coordinate system;
Obtain raw image data to the color oscillograph according to predefined sampling density, convert said raw image data to the object format view data;
With each coordinate axis in the cartesian coordinate system described in the classification logotype color oscillograph of each component in the said object format view data; Make in each coordinate axis and the said object format view data in the said cartesian coordinate system each component corresponding one by one, confirm the span of said each coordinate axis according to the span of each component in the said object format view data;
Each data elements in the said object format view data is converted in the said cartesian coordinate system and said data element three-dimensional data element one to one according to transfer algorithm;
In the corresponding corresponding color of station location marker of said three-dimensional data element, obtain three-dimensional oscillography model.
2. method according to claim 1 is characterized in that, saidly obtains raw image data to the color oscillograph according to predefined sampling density, converts said raw image data to the object format view data and specifically comprises:
Obtain the resolution of said original image, confirm sampling density according to the resolution of said original image;
Obtain raw image data according to said sampling density;
Obtain the object format of predefined view data, convert said raw image data to the object format view data according to the object format of said predefined view data.
3. like claim 1 and 2 said methods, it is characterized in that said transfer algorithm is corresponding with the object format of said view data.
4. method according to claim 1 is characterized in that, and is said in the corresponding corresponding color of station location marker of said three-dimensional data element, obtains also comprising after the three-dimensional oscillography model:
Become X-Y scheme to show said three-dimensional oscillography model rendering.
CN201110363140.1A 2011-11-16 2011-11-16 In a kind of color oscilloscope, colour model maps the method for three-dimensional space Expired - Fee Related CN102750925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110363140.1A CN102750925B (en) 2011-11-16 2011-11-16 In a kind of color oscilloscope, colour model maps the method for three-dimensional space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110363140.1A CN102750925B (en) 2011-11-16 2011-11-16 In a kind of color oscilloscope, colour model maps the method for three-dimensional space

Publications (2)

Publication Number Publication Date
CN102750925A true CN102750925A (en) 2012-10-24
CN102750925B CN102750925B (en) 2016-06-15

Family

ID=47031055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110363140.1A Expired - Fee Related CN102750925B (en) 2011-11-16 2011-11-16 In a kind of color oscilloscope, colour model maps the method for three-dimensional space

Country Status (1)

Country Link
CN (1) CN102750925B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107093209A (en) * 2017-03-20 2017-08-25 北京小鸟看看科技有限公司 Image processing method, equipment and virtual reality device
CN116320346A (en) * 2023-05-17 2023-06-23 山东矩阵软件工程股份有限公司 Method for converting RGB color data of image into multidimensional data for comprehensive analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0440495A (en) * 1990-06-06 1992-02-10 Mitsubishi Electric Corp Three-dimensional oscilloscope
US6236406B1 (en) * 1998-10-21 2001-05-22 Sony Corporation Three-dimensional color space display
CN101866641A (en) * 2010-03-09 2010-10-20 华映视讯(吴江)有限公司 The color adjustment method of image
CN102075774A (en) * 2010-12-17 2011-05-25 电子科技大学 Quick adjusting method for display waveform brightness of digital three-dimension oscilloscope

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0440495A (en) * 1990-06-06 1992-02-10 Mitsubishi Electric Corp Three-dimensional oscilloscope
US6236406B1 (en) * 1998-10-21 2001-05-22 Sony Corporation Three-dimensional color space display
CN101866641A (en) * 2010-03-09 2010-10-20 华映视讯(吴江)有限公司 The color adjustment method of image
CN102075774A (en) * 2010-12-17 2011-05-25 电子科技大学 Quick adjusting method for display waveform brightness of digital three-dimension oscilloscope

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾浩叶芃王厚军向川云: "数字三维示波器波形映射技术研究", 《仪器仪表学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107093209A (en) * 2017-03-20 2017-08-25 北京小鸟看看科技有限公司 Image processing method, equipment and virtual reality device
CN116320346A (en) * 2023-05-17 2023-06-23 山东矩阵软件工程股份有限公司 Method for converting RGB color data of image into multidimensional data for comprehensive analysis
CN116320346B (en) * 2023-05-17 2023-08-29 山东矩阵软件工程股份有限公司 Method for converting RGB color data of image into multidimensional data for comprehensive analysis

Also Published As

Publication number Publication date
CN102750925B (en) 2016-06-15

Similar Documents

Publication Publication Date Title
US20230370561A1 (en) Interactive Three-Dimensional (3D) Color Histograms
Chen National Taiwan University
Hanbury Constructing cylindrical coordinate colour spaces
CN103503032A (en) Texturing in graphics hardware
US8274567B2 (en) Image processing method, apparatus and system
US20010028738A1 (en) Processing image data
JP2004259270A5 (en)
CN108550157B (en) Non-shielding processing method for teaching blackboard writing
US11301972B2 (en) Color saturation adjustment in non-uniform color space
JP2006345187A (en) Color processing method and device thereof
CN102752622B (en) A kind of color space 3 D displaying method
CN102750925A (en) Method for mapping color model in color oscilloscope to three-dimensional space
CN205281405U (en) Image recognition system based on augmented reality
CN103489427B (en) YUV converts the method and system that RGB and RGB converts YUV to
US9973742B2 (en) Methods and apparatus for preparation of casual stereoscopic video
JP4399505B2 (en) Color material amount calculation device, color material amount calculation method, rendering system, color material amount calculation program, and recording medium
CN102750933B (en) The dynamic display method of three-dimensional oscillography model in a kind of color three-dimensional oscilloscope
CN107534763A (en) Adaptive color levels interpolation method and equipment
CN101686334A (en) Method and device for acquiring three-dimensional image scene
CN108022204A (en) A kind of method that cylinder panorama video is converted to spherical panoramic video
US7855802B2 (en) Time-efficient generation of color look-up table
WO2018160883A1 (en) Color saturation adjustment in non-uniform color space
Kaur et al. Case Study of Color Model of Image Processing
CN102750924B (en) A kind of control method of color space three-dimensional oscilloscope
Marcu et al. Three-dimensional histogram visualization in different color spaces and applications

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: 20160615

Termination date: 20161116