CN102750925B - In a kind of color oscilloscope, colour model maps the method for three-dimensional space - Google Patents

In a kind of color oscilloscope, colour model maps the method for three-dimensional space Download PDF

Info

Publication number
CN102750925B
CN102750925B CN201110363140.1A CN201110363140A CN102750925B CN 102750925 B CN102750925 B CN 102750925B CN 201110363140 A CN201110363140 A CN 201110363140A CN 102750925 B CN102750925 B CN 102750925B
Authority
CN
China
Prior art keywords
color
view data
target form
dimensional
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.)
Expired - Fee Related
Application number
CN201110363140.1A
Other languages
Chinese (zh)
Other versions
CN102750925A (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

Abstract

The present invention discloses colour model in a kind of color oscilloscope and maps the method for three-dimensional space, by introducing Descartes's system of coordinates in color oscilloscope, described raw image data converts target form view data to; Classification according to each component in described target form view data, identifies each coordinate axis in described Descartes's system of coordinates, and determines the span of each coordinate axis according to the form of view data; The component of each pixel in described target form view data is converted to according to transfer algorithm three dimension data values in described Descartes's system of coordinates; According to described three dimension data values, calculate each pixel described color corresponding in described Descartes's system of coordinates and position, in color described in described station location marker, obtain three-dimensional oscillography model, it is achieved that the space distribution situation of reflection pixel directly perceived.

Description

In a kind of color oscilloscope, colour model maps the method for three-dimensional space
Technical field
The present invention relates to image, field of video processing, particularly relate to colour model in a kind of color oscilloscope and map the method for three-dimensional space.
Background technology
Along with the appearance of non-linear editor's system, the process technology of the post-production of Television programme, particularly video, image obtains significant progress. In the image processing arts, color space is a conventional concept. " color space " one etymology in " ColorSpace " in west, also known as work " colour gamut ", in chromatology, people establish multicolour model, with a dimension, two dimension, three-dimensional even four-dimentional space coordinate represent a certain color, the Color Range that this kind of coordinate system can define and color space.
RGB (red turquoise) color space is color space common in computer, and it produces other color by the phase Calais of red, green, blue three primary colours. Wherein RGB24 uses the color of 24 bit bit representations pixel, and red, green, blue respectively accounts for 8 (each colors from the superficial to the deep all have 00000000~11,111,111 256 kinds) totally, it is possible to obtain 256*256*256 kind color. Conventional color space also has YUV, HSL etc.
In the process of image procossing, it is desirable to the basic demand of a kind of directviewing description image color information, so image color oscilloscope has occurred. But in prior art, traditional vector oscilloscope device can only describe the information of one or two components in color space, reason is exactly vector oscilloscope device is two dimension figure, and two dimension figure can only set up two in mathematical coordinates system axle usually. Such as, UV vector diagram can only describe U, V two-way aberration information in YUV color space; Y oscillogram can only describe the Y brightness information in YUV color space; RGB queue oscilloscope can only describe the Statistical information of a certain Color Channel in rgb color space;In a word, although traditional oscilloscope can demonstrate the colouring information image from all respects, but can not intuitively show true colors distribution situation in image, the distribution situation of color of image on each component in color space can not be described simultaneously.
To sum up, the process of image procossing, it is necessary to a kind of method that three-dimensional space is shown. But, even if introducing three-dimensional space in color oscilloscope, also existing two dimension colour model cannot be shown.
Summary of the invention
The present invention provides colour model in a kind of color oscilloscope to map the method for three-dimensional space, the various components in color space are represented by introducing Descartes's system of coordinates, make existing colour model can convert three-dimensional model to represent, realize the distribution situation of color information at color space of pixel in true reflection image, make the image color information more directly perceived, true reappearance each color of color space.
In order to achieve the above object, embodiments provide colour model in a kind of color oscilloscope and map the method for three-dimensional space, comprise the following steps:
In color oscilloscope, colour model maps a method for three-dimensional space, comprises the following steps:
Color oscilloscope is introduced Descartes's system of coordinates;
Obtain raw image data to color oscilloscope according to the sampling density set in advance, described raw image data is converted to target form view data;
By each coordinate axis in Descartes's system of coordinates described in the classification logotype color oscilloscope of each component in described target form view data, make each coordinate axis in described Descartes's system of coordinates and each component one_to_one corresponding in described target form view data, determine the span of each coordinate axis described according to the span of each component in described target form view data;
By each data element in described target form view data according to transfer algorithm convert in described Descartes's system of coordinates with described data element three-dimensional data elements one to one;
In the color that the station location marker that described three-dimensional data elements is corresponding is corresponding, obtain three-dimensional oscillography model.
The embodiment of the present invention by introducing Descartes's system of coordinates in color oscilloscope; Obtain raw image data to color oscilloscope according to the sampling density set in advance, described raw image data is converted to target form view data; By each coordinate axis in Descartes's system of coordinates described in the classification logotype color oscilloscope of each component in described target form view data, make each coordinate axis in described Descartes's system of coordinates and each component one_to_one corresponding in described target form view data, determine the span of each coordinate axis described according to the span of each component in described target form view data; By each data element in described target form view data according to transfer algorithm convert in described Descartes's system of coordinates with described data element three-dimensional data elements one to one; In the color that the station location marker that described three-dimensional data elements is corresponding is corresponding, obtain three-dimensional oscillography model, make existing colour model can convert three-dimensional model to represent, the color information realizing pixel in true reflection image, in the distribution situation of color space, makes image color information more directly perceived.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schema of the method that colour model maps three-dimensional space in a kind of color oscilloscope of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme of the embodiment of the present invention is carried out clear, complete description, it is clear that described embodiment is a part of embodiment of the present invention, instead of whole embodiments. Based on the embodiment in the present invention, other embodiments all that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belong to the scope of protection of the invention.
The embodiment of the present invention provides colour model in a kind of color oscilloscope to map the method for three-dimensional space, comprises and introduces Descartes's system of coordinates, such as Fig. 1, comprises the following steps:
Step 101, introduces Descartes's system of coordinates in color oscilloscope;
First in color oscilloscope, introduce three-dimensional space, then introduce Descartes's system of coordinates in three dimensions, be used for each color shown in existing color space.
Step 102, obtains raw image data, and converts target form to.
Obtain raw image data according to certain sampling density, raw image data is converted to target form view data;
Step 1021, it is determined that sampling density.
Obtain the resolving power of described original image, determine sampling density according to the resolving power of described original image;
The present invention is preferred, if SD image 720x576, the factor (8,8) is put in contracting, if high-definition image 1920x1080, the factor (16,16) is put in contracting. Wherein, the sampling density of the factor and image is put in contracting, and the block of pixels of 8x8 or 16x16 in original image, represents with a pixel in image after the zooming.
Step 1022, obtains raw image data.
Raw image data is obtained according to described sampling density;
Step 1023, converts target form to.
Obtain the target form of view data set in advance, according to the target form of the described view data set in advance to described raw image data converted target form view data.
Input picture is generally YUV image data, but the data layout needing display may be the Statistical information of other color spaces such as RGB or HSL.
If input picture is YUV image data, it is necessary to the Statistical information of other color spaces such as display RGB or HSL, it is necessary to the view data after contracting is put converts relevant RGB data or HSL view data to;
Step 103, sets up locus coordinate model.
Classification according to each component in target form view data, sets up locus coordinate model. By each coordinate axis in Descartes's system of coordinates described in the classification logotype of each component in described target form view data, make each coordinate axis in described Descartes's system of coordinates and each component one_to_one corresponding in described target form view data, determine the span of each coordinate axis described according to the span of each component in described target form view data.
The present invention is preferred:
The model of rgb color space:
Pin coordinate during RGB model; X-axle----> R; Y-axle----> G; Z-axle----> B; Wherein, the span [-0.5,0.5] of RGB;
The model of HSL color space:
HSL system of coordinates is polar coordinates systems, the axle that H represents angle, pole, S represents polar radius, L is perpendicular to polar coordinates plane; H span [0,360], S span [0,1], L span [-0.5,0.5];
The model of YUV color space:
YUV system of coordinates is 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 dimension data according to transfer algorithm.
By each data element in described target form view data according to transfer algorithm convert in described Descartes's system of coordinates with described data element three-dimensional data elements one to one;
In thumbnail, the color value of pixel represents with<r, g, b>, and the bit position of pixel RGB component is respectively<Bits-r, Bits-g, Bits-b>, so, corresponds to coordinate point in RGB model and represents with<r ', g ', b '>
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 represents with<h, s, l>, and corresponding to the HSL value in polar coordinates system model is<h ', s ', l '>;
H '=h;
S '=s;
L '=l-0.5;
The right-angle coordinate representation of its correspondence is as follows, X-axis--the projection field of > polar radius on the axle that angle, pole is 0 °; Z axle--> polar radius is the projection on 90 ° of axles at angle, pole; The corresponding polar L axle of Y-axis-->; Polar coordinates are the pixel of<h ', s ', l '>, and the position in rectangular coordinate system represents with<x ', y ', z '>, and transforming relationship is as follows:
X '=s ' * cos (h ');
Y '=l ';
Z '=s ' * sin (h ');
YUV color value on thumbnail represents with<v, y, u>, and the number of bits of pixel YUV component is respectively<Bits-y, Bits-u, Bits-v>, and the coordinate point 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 color that the station location marker that three-dimensional data elements is corresponding is corresponding, obtains three-dimensional oscillography model.
Each data item according to described three-dimensional data elements calculates described three-dimensional data elements color corresponding in Descartes's system of coordinates and position, in color described in described station location marker, obtains three-dimensional oscillography model.
Obtain the pixel in thumbnail (at the present embodiment, pixel equals the data element in claim), calculate the color value of the coordinate position at corresponding color space model and correspondence thereof, with<<x, y, z>,<r, g, b>>structure description, the point claiming this kind of structure to describe for some unit or is put smart;
According to described result color space described original image played up and show, 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 is from the institute that a certain angle is observed three-dimensional model a little, blocking before and after having, the result feature observed is caused not to be very obvious, we are by providing the operations such as rotation, translation, allow user by the input unit such as mouse, keyboard, the attitude of model can be regulated, present the color distribution rendering result with obvious characteristic.
The three-dimensional oscillography model obtained, by projection transform matrix projection to two dimensional image is shown.
The useful effect that the technical scheme of the embodiment of the present invention is brought is as follows:
The embodiment of the present invention obtains raw image data according to certain sampling density, and described raw image data converts to target form view data; Classification according to each component in described target form view data, identifies each coordinate axis in described Descartes's system of coordinates, and determines the span of each coordinate axis according to the form of view data; The component of each pixel in described target form view data is converted to according to transfer algorithm three dimension data values in described Descartes's system of coordinates; According to described three dimension data values, calculate each pixel described color corresponding in described Descartes's system of coordinates and position, in color described in described station location marker, obtain three-dimensional oscillography model, described three-dimensional oscilloscope model is shown, by introducing Descartes's system of coordinates, 2-D data is converted to three dimension data and corresponds to Descartes's system of coordinates corresponding position, obtain three-dimensional oscillography model, achieve the space distribution situation of reflection pixel directly perceived, and the relative relation information of pixel can be shown, it is user-friendly to.
Through the above description of the embodiments, the technician of this area can be well understood to the present invention can pass through hardware implementing, can also realize by the mode of the general hardware platform that software adds necessity, based on such understanding, the technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that a computer equipment (can be Personal Computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
In a word, the foregoing is only the better embodiment of the present invention, it is not intended to limit protection scope of the present invention. Within the spirit and principles in the present invention all, any amendment of doing, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. in a color oscilloscope, colour model maps the method for three-dimensional space, it is characterised in that, comprise the following steps:
Color oscilloscope is introduced Descartes's system of coordinates;
Obtain raw image data to color oscilloscope according to the sampling density set in advance, described raw image data is converted to target form view data;
By each coordinate axis in Descartes's system of coordinates described in the classification logotype color oscilloscope of each component in described target form view data, make each coordinate axis in described Descartes's system of coordinates and each component one_to_one corresponding in described target form view data, determine the span of each coordinate axis described according to the span of each component in described target form view data;
By each data element in described target form view data according to transfer algorithm convert in described Descartes's system of coordinates with described data element three-dimensional data elements one to one;
In the color that the station location marker that described three-dimensional data elements is corresponding is corresponding, obtain three-dimensional oscillography model.
2. colour model maps the method for three-dimensional space in a kind of color oscilloscope as claimed in claim 1, it is characterized in that, the sampling density that described basis sets in advance obtains raw image data to color oscilloscope, described raw image data converts to target form view data and specifically comprises:
Obtain the resolving power of described original image, determine sampling density according to the resolving power of described original image;
Raw image data is obtained according to described sampling density;
Obtain the target form of view data set in advance, according to the target form of the described view data set in advance to described raw image data converted target form view data.
3. colour model maps the method for three-dimensional space in a kind of color oscilloscope as claimed in claim 1 or 2, it is characterised in that, described transfer algorithm is corresponding with the target form of described view data.
4. colour model maps the method for three-dimensional space in a kind of color oscilloscope as claimed in claim 1, it is characterised in that, the color that the described station location marker corresponding at described three-dimensional data elements is corresponding, also comprises after obtaining three-dimensional oscillography model:
Two dimension figure is become to show described 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 CN102750925A (en) 2012-10-24
CN102750925B true 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)

Families Citing this family (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
CN116320346B (en) * 2023-05-17 2023-08-29 山东矩阵软件工程股份有限公司 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
数字三维示波器波形映射技术研究;曾浩叶芃王厚军向川云;《仪器仪表学报》;20091130;第30卷(第11期);2039-2403页 *

Also Published As

Publication number Publication date
CN102750925A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US20230401682A1 (en) Styled image generation method, model training method, apparatus, device, and medium
US20230370561A1 (en) Interactive Three-Dimensional (3D) Color Histograms
JP6213745B2 (en) Image processing method and apparatus
US11301972B2 (en) Color saturation adjustment in non-uniform color space
CN107705264B (en) Image processing method, electronic equipment and device with storage function
KR102617258B1 (en) Image processing method and apparatus
CN110149507A (en) Method for processing video frequency, data processing equipment and storage medium
TW201131511A (en) Super-resolution method for video display
US20220383796A1 (en) System and method for a multi-primary wide gamut color system
CN102752606B (en) A kind of method carrying out color space conversion based on SSE2
CN102750925B (en) In a kind of color oscilloscope, colour model maps the method for three-dimensional space
CN102752622B (en) A kind of color space 3 D displaying method
JP2023545660A (en) Landscape virtual screen display method and device, electronic device and computer program
TW201621812A (en) A method and device for estimating a color mapping between two different color-graded versions of a sequence of pictures
CN103489427B (en) YUV converts the method and system that RGB and RGB converts YUV to
CN205281405U (en) Image recognition system based on augmented reality
US9973742B2 (en) Methods and apparatus for preparation of casual stereoscopic video
CN102750933B (en) The dynamic display method of three-dimensional oscillography model in a kind of color three-dimensional oscilloscope
CN108022204A (en) A kind of method that cylinder panorama video is converted to spherical panoramic video
CN101686334A (en) Method and device for acquiring three-dimensional image scene
EP3268953A1 (en) Adaptive color grade interpolation method and device
WO2018160883A1 (en) Color saturation adjustment in non-uniform color space
CN107452067B (en) Demonstration method and device based on augmented reality and terminal equipment
Nguyen et al. Colorto grayscale image conversion using modulation domain quadratic programming
CN102750924B (en) A kind of control method of color space three-dimensional oscilloscope

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

Granted publication date: 20160615

Termination date: 20161116

CF01 Termination of patent right due to non-payment of annual fee