Summary of the invention
In a first aspect, the embodiment of the present disclosure provides a kind of generation method of colour atla, comprising: the first coordinate system is obtained, it is described
First coordinate system includes three reference axis;
The first reference axis, the second reference axis and third reference axis in three reference axis is corresponded respectively into RGB sky
Between in three different Color Channels;
Intermediate colour atla is generated according to the value of first reference axis and second reference axis;
Obtain the sampled value of the third reference axis;
The colour atla is generated based on the sampled value and the intermediate colour atla.
Further, first coordinate system is three Cartesian coordinates comprising three X-axis, Y-axis and Z axis coordinates
Axis.
Further, the first reference axis, the second reference axis and the third reference axis by three reference axis point
It Dui Yingyu three different Color Channels in rgb space, comprising:
The value of first reference axis is corresponded to the color value of the first Color Channel;
The value of second reference axis is corresponded to the color value of the second Color Channel;
The value of the third reference axis is corresponded to the color value of third Color Channel.
It is further, described that intermediate colour atla is generated according to the value of the first reference axis and the second reference axis, comprising:
Obtain the first color value in first reference axis and the second color value in second reference axis;
First color value and the second color value are assigned to the face of two Color Channels in RGB color respectively
Color value is to generate intermediate colour atla.
Further, described to obtain the first color value in the first reference axis and the second color in the second reference axis
Value, comprising:
Obtain the second color value in the range and second reference axis of the first color value in first reference axis
Range.
Further, two first color value and the second color value are assigned to respectively in RGB color
The color value of a Color Channel is to generate intermediate colour atla, comprising:
The first face in all RGB colors is traversed in the range of the first color value and in the range of the second color value
The color value of color value and the second color value composition is to form the intermediate colour atla.
Further, second in the range and the second reference axis of the first color value in the first reference axis of the acquisition
Before the range of color value, further includes:
The first colour atla configuration file is obtained, includes the range and second of the first color value in the first colour atla configuration file
The range of color value.
Further, the sampled value for obtaining third reference axis, comprising:
Obtain the sample rate of third reference axis;
The sampled value is calculated according to the total and described sample rate of color value.
Further, before the sample rate for obtaining third reference axis further include:
The second colour atla configuration file is obtained, includes the sampling of the third reference axis in the second colour atla configuration file
Rate.
It is further, described to be based on the sampled value and the intermediate colour atla generation colour atla, comprising:
The sampled value of the third reference axis is assigned to the third Color Channel of the intermediate colour atla to generate multiple sons
Colour atla;
The multiple sub- colour atla is arranged in order and generates the colour atla.
Second aspect, the embodiment of the present disclosure provide a kind of generating means of colour atla, comprising:
Coordinate system obtains module, and for obtaining the first coordinate system, first coordinate system includes three reference axis;
Color Channel respective modules, for by the first reference axis, the second reference axis and the third in three reference axis
Reference axis corresponds respectively to three different Color Channels in rgb space;
Intermediate colour atla generation module generates intermediate colour atla according to the value of first reference axis and second reference axis;
Sampled value obtains module, for obtaining the sampled value of the third reference axis;
Colour atla generation module, for generating the colour atla based on the sampled value and the intermediate colour atla.
Further, first coordinate system is three Cartesian coordinates comprising three X-axis, Y-axis and Z axis coordinates
Axis.
Further, the Color Channel respective modules, further includes:
First Color Channel respective modules, for the value of first reference axis to be corresponded to the color of the first Color Channel
Value;
Second Color Channel respective modules, for the value of second reference axis to be corresponded to the color of the second Color Channel
Value;
Third Color Channel respective modules, for the value of the third reference axis to be corresponded to the color of third Color Channel
Value.
Further, the intermediate colour atla generation module, further includes:
Color value obtains module, for obtaining the first color value and second reference axis in first reference axis
On the second color value;
Color value assignment module, for first color value and the second color value to be assigned to RGB color respectively
In two Color Channels color value to generate intermediate colour atla.
Further, the color value obtains module and is also used to: obtaining the range of the first color value in the first reference axis
With the range of the second color value in the second reference axis;
Further, the color value assignment module is also used to: in the range of the first color value and the second color value
The color value of the first color value and the second color value composition in range in all RGB colors of traversal is to form in described
Between colour atla.
Further, the intermediate colour atla generation module, further includes:
First colour atla configuration file obtains module, for obtaining the first colour atla configuration file, the first colour atla configuration text
The range of range and the second color in part including the first color value.
Further, the sampled value obtains module, further includes:
Sample rate obtains module, for obtaining the sample rate of third reference axis;
Sampled value computing module, for calculating the sampled value according to the total and described sample rate of color value.
Further, the sampled value obtains module, further includes:
Second colour atla configuration file obtains module, for obtaining the second colour atla configuration file, the second colour atla configuration text
It include the sample rate of the third reference axis in part.
Further, the colour atla generation module, further includes:
Sub- colour atla generation module is sat for the sampled value of the third reference axis to be assigned to third in the intermediate colour atla
Corresponding Color Channel is in mark to generate multiple sub- colour atlas;
Sub- colour atla arranges module, generates the colour atla for the multiple sub- colour atla to be arranged in order.
The third aspect, the embodiment of the present disclosure provide a kind of electronic equipment, comprising: at least one processor;And
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely
The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing
Device is able to carry out the generation method of any colour atla in aforementioned first aspect.
Fourth aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that described
Non-transient computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned first
The generation method of any colour atla in aspect.
The present disclosure discloses a kind of generation method of colour atla, device, electronic equipment and computer readable storage mediums.Wherein
The generation method of the colour atla includes: to obtain the first coordinate system, and first coordinate system includes three reference axis;By described three
The first reference axis, the second reference axis and third reference axis in reference axis correspond respectively to three different face in rgb space
Chrominance channel;Intermediate colour atla is generated according to the value of the first reference axis and the second reference axis;Obtain the sampled value of third reference axis;It is based on
The sampled value and the intermediate colour atla generate the colour atla.The embodiment of the present disclosure generates color by the value of traversal coordinate system
Card solves colour atla in the prior art and needs the technical issues of obtaining caused network resources waste from other sources.
Above description is only the general introduction of disclosed technique scheme, in order to better understand the technological means of the disclosure, and
It can be implemented in accordance with the contents of the specification, and to allow the above and other objects, features and advantages of the disclosure can be brighter
Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Specific embodiment
Illustrate embodiment of the present disclosure below by way of specific specific example, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the disclosure easily.Obviously, described embodiment is only the disclosure
A part of the embodiment, instead of all the embodiments.The disclosure can also be subject to reality by way of a different and different embodiment
It applies or applies, the various details in this specification can also be based on different viewpoints and application, in the spirit without departing from the disclosure
Lower carry out various modifications or alterations.It should be noted that in the absence of conflict, the feature in following embodiment and embodiment can
To be combined with each other.Based on the embodiment in the disclosure, those of ordinary skill in the art are without creative efforts
Every other embodiment obtained belongs to the range of disclosure protection.
It should be noted that the various aspects of embodiment within the scope of the appended claims are described below.Ying Xian
And be clear to, aspect described herein can be embodied in extensive diversified forms, and any specific structure described herein
And/or function is only illustrative.Based on the disclosure, it will be understood by one of ordinary skill in the art that one described herein
Aspect can be independently implemented with any other aspect, and can combine the two or both in these aspects or more in various ways.
For example, carry out facilities and equipments in terms of any number set forth herein can be used and/or practice method.In addition, can make
With other than one or more of aspect set forth herein other structures and/or it is functional implement this equipment and/or
Practice the method.
It should also be noted that, diagram provided in following embodiment only illustrates the basic structure of the disclosure in a schematic way
Think, component count, shape and the size when only display is with component related in the disclosure rather than according to actual implementation in schema are drawn
System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also
It can be increasingly complex.
In addition, in the following description, specific details are provided for a thorough understanding of the examples.However, fields
The skilled person will understand that the aspect can be practiced without these specific details.
Fig. 1 is the flow chart of the generation method embodiment one for the colour atla that the embodiment of the present disclosure provides, provided in this embodiment
The generation method of the colour atla can be executed by the generating means of a colour atla, and the generating means of the colour atla can be implemented as soft
Part, or it is embodied as the combination of software and hardware, the generating means of the colour atla can integrate the generation system that colour atla is arranged in
In certain equipment in, for example in the generation terminal device of colour atla, the generation method of the colour atla can have user in the disclosure
Terminal device such as mobile phone execute.As shown in Figure 1, described method includes following steps:
Step S101, obtains the first coordinate system, and first coordinate system includes three reference axis;
In the step, typical first coordinate system is a three-dimensional cartesian coordinate system, that is, three coordinates
The mutually perpendicular coordinate system of axis, including X-axis, Y-axis and Z axis.Typically, first coordinate system can be by OPENGL
Variable gl_FragCoord is set to indicate, the first coordinate can be respectively indicated comprising tri- variables of X, Y, Z in gl_FragCoord
Three reference axis of system.Or be also possible to generate in terminal device in the first coordinate system, it only needs to initialize X, Y, Z
Three variables, details are not described herein.
Step S102: by three reference axis the first reference axis, the second reference axis and third reference axis it is right respectively
It should three different Color Channels in rgb space;
In the step, by three reference axis of the first coordinate system acquired in step s101: the first reference axis, second
Reference axis and third reference axis correspond respectively to three different Color Channels in rgb space.It, can be in the step
Above-mentioned respective operations are can be completed into the color value that the value of one reference axis corresponds on a Color Channel.Optionally, by institute
The value for stating the first reference axis corresponds to the color value of the first Color Channel;The value of second reference axis is corresponded into the second color
The color value in channel;The value of the third reference axis is corresponded to the color value of third Color Channel.The first, second He herein
Third reference axis is simultaneously not specific to some reference axis, but any one in three reference axis, and first, second, and third is only
Distinguish these three reference axis;The first, second, and third Color Channel herein and be not specific in RGB triple channel some is logical
Road, but any one in three channels, first, second, and third only for distinguishing these three channels.It is specific at one
In example, using the value of X-axis as the channel the R color value in RGB color, using the value of Y-axis as the G in RGB color
Channel color value, using the value of Z axis as the channel the G color value in RGB color.In one embodiment, it can set in advance
The corresponding relationship between reference axis and Color Channel is set, when generating colour atla, according to the corresponding relationship by reference axis and color
Channel respectively corresponds, and details are not described herein.
Step S103: intermediate colour atla is generated according to the value of the first reference axis and the second reference axis;
In the step, the intermediate colour atla is only the colour atla comprising two kinds of color components or to have a kind of color component
It is fixed as 0 colour atla.It is described that intermediate colour atla packet is generated according to the value of the first reference axis and the second reference axis in the step
It includes: obtaining the first color value in the first reference axis and the second color value in the second reference axis;By first color value
The color value for two Color Channels being assigned in RGB color respectively with the second color value is to generate intermediate colour atla.It is optional
, the coordinate value of X-axis is obtained, the coordinate value of X-axis is assigned to the channel R in RGB color;The coordinate value for obtaining Y-axis, by Y
The coordinate value of axis is assigned to the channel G in RGB color, and channel B can be defaulted as 0 or be not provided with the value of channel B, in this way
Obtain the intermediate colour atla being located in the plane that X-axis and Y-axis form.Further, the obtained in the first reference axis
The second color value on one color value and the second reference axis may include: the model for obtaining the first color value in the first reference axis
Enclose the range with the second color value in the second reference axis.It is described to be assigned to first color value and the second color value respectively
The color value of two Color Channels in RGB color is to generate intermediate colour atla, comprising: in the range of the first color value and
The color value pair of the first color value and the second color value composition in all RGB colors is traversed in the range of second color value
To form the intermediate colour atla.Above-mentioned ergodic process is as follows: setting the first color value has N number of, and the second color value has M, wherein N
Integer with M is more than or equal to 0, takes 1 the first color value in N, traverses M the second color values later, forms M color value
It is right, M the second colors are all traversed to each of first color, ultimately generate N*M the first color values and the second color value
The color value pair of composition, this N*M color is to the formation intermediate colour atla.In the specific embodiment, the first face is obtained
The range of the range of color value and the second color value, such as integer of first color value between [0,255], the second color be also [0,
255] integer between sets 0 for the first color value first in this way, then all 256 in the second color traversal [0,255]
A integer obtains the color of 256 points, sets 1,2,3255 for the first color value later, executes respectively above-mentioned time
Step is gone through, the color of 256*256 point is obtained, using the result as intermediate colour atla.For 8 images, each of which
The color value in channel has 28=256 are worth, and generate standard color card under default situations, can traverse this for each Color Channel
256 values;And in some cases, in order to generate specific colour atla, the range of the value of adjustable Color Channel, the range
It can be arranged by mapping relations, such as X '=kX, wherein the value range of X default is [0,255], as K=0.2, X's '
Range is [0,51], it is possible thereby to adjust the color of Color Channel, and then the color for influencing entire colour atla is different from mark to generate
The specific colour atla of quasi- colour atla.Optionally, the range and the second reference axis of the first color value in the first reference axis of the acquisition
On the second color value range before, further includes: obtain the first colour atla configuration file, wrap in the first colour atla configuration file
Include the range of the first color value and the range of the second color.In the step, the first colour atla configuration file is to match in advance
It has been set that, the first colour atla configuration file can be located at network-side, be handed down to terminal device by the server of network-side, pass through
The first colour atla configuration file can configure the color of colour atla, form special colour atla used in image special effect.
It is understood that yes the value of the reference axis can be normalized value, and color value is normalized to [0,1] with table
Show same color, the normalization can obtain the color value divided by the maximum value of color value, specifically, when color value is
When integer between [0,255], color value 0 normalize after be 0/255=0, color value 5 normalize after be 5/255=0.0196,
And so on all color values and coordinate value can be normalized, so no matter color how many, can unify arrive using 0
1 coordinate value indicates.
Step S104: the sampled value of third reference axis is obtained;
The sampled value of the third coordinate, is the value of third coordinate, and the value determines the essence of finally formed colour atla
Degree.For 8 colour charts, the color value in each channel is 256, is come at this point for the colour chart of most thin precision
It says, 256 values of the sampled value between [0,255] for the scene for not needing high-precision colour atla, can be set in advance
Sampled value is set, the pre-set sampled value can be less than 256.
Optionally, as shown in Fig. 2, the step S104 may include:
Step S201: the sample rate of third reference axis is obtained;
Step S202: the sampled value is calculated according to the total and described sample rate of color value.
In step s 201, the sample rate is to be spaced the frequency of value, if sample rate is 4, then in third reference axis
Sampled value of the value as third reference axis is taken every 4 values.
In step S202, the quantity of sampled value is obtained divided by sample rate using the sum of color value, later according to sampling
Rate samples the quantity sampled value.Specifically, sample rate 4, then 256/4=64, then exist when the color value is 256
Sampled value 0,4,8,12252 is taken in third reference axis.
Optionally, before the step S201, further includes: obtain the second colour atla configuration file, second colour atla is matched
Set the sample rate in file including the third reference axis.In the step, the second colour atla configuration file is to match in advance
It has been set that, the second colour atla configuration file can be located at network-side, be handed down to terminal device by the server of network-side, pass through
The second colour atla configuration file can configure the color accuracy of a certain Color Channel of colour atla.It should be understood that institute
The the first colour atla configuration file stated in the second colour atla configuration file and step S103 of step can be the same configuration file,
I other words the configuration parameter of colour atla can once configuration be completed in the same colour atla configuration file, without using multiple match
Set file.
Optionally, the sampled value in step S104 can also specify directly in color value.Specifically, working as the color value
For the integer between 256, including [0,255], at this point it is possible to the sampled value of directly specified third reference axis is 0,10,100,
200,255.It should be understood that setting color value one shares n, n is the integer greater than 0, and sampled value can specify between [0, n]
Any number value, the same sampled value can also be configured by colour atla configuration file, and details are not described herein.
Step S105: the colour atla is generated based on the sampled value and the intermediate colour atla.
It is described to be based on the sampled value and the intermediate colour atla generation colour atla in the step, comprising:
The sampled value of the third reference axis is assigned in the intermediate colour atla color corresponding in third coordinate to lead to
Road is to generate multiple sub- colour atlas;The multiple sub- colour atla is arranged in order and generates the colour atla.
In above-mentioned steps, if sampled value is α, the α sampled value is distinguished to the third of intermediate colour atla described in assignment
The color value of Color Channel obtains α sub- colour atlas, and the α sub- colour atlas are arranged in order the generation colour atla.Such as Fig. 3
Shown, optionally, the value of X-axis represents the color value in the channel R in RBG color space, and Y-axis represents the color in the channel G in rgb space
Value, Z axis represent the color value of channel B in rgb space, and when 256 integer values of the color value between [0,255], sampled value is
When 0,4,8,12252 equal 64 values, the intermediate colour atla is successively moved according to sampled value on Z axis, obtains 64 sons
Colour atla, wherein 301 are equal to 0 sub- colour atla for Z axis value, 302 are equal to 4 sub- colour atla for Z axis value, and 303 are equal to 8 son for Z axis value
Colour atla, 304 are equal to 12 sub- colour atla for Z axis value, and 305 are equal to 252 sub- colour atla for Z axis value, and intermediate other sub- colour atlas do not show
Out.It is generated as shown in figure 4,64 sub- colour atlas are arranged according to the sequence of Z axis sampled value 0,4,8,12252 from small to large
The colour atla of 8*8.
The present disclosure discloses a kind of generation method of colour atla, device, electronic equipment and computer readable storage mediums.Wherein
The generation method of the colour atla includes: to obtain the first coordinate system, and first coordinate system includes three reference axis;By described three
The first reference axis, the second reference axis and third reference axis in reference axis correspond respectively to three different face in rgb space
Chrominance channel;Intermediate colour atla is generated according to the value of the first reference axis and the second reference axis;Obtain the sampled value of third reference axis;It is based on
The sampled value and the intermediate colour atla generate the colour atla.The embodiment of the present disclosure generates color by the value of traversal coordinate system
Card solves colour atla in the prior art and needs the technical issues of obtaining caused network resources waste from other sources.
Fig. 5 is the structural schematic diagram of the generating means for the colour atla that the embodiment of the present disclosure provides, as shown in figure 5, described device
500 include: that coordinate system obtains module 501, Color Channel respective modules 502, intermediate colour atla generation module 503, sampled value acquisition
Module 504 and colour atla generation module 505.Wherein,
Coordinate system obtains module 501, and for obtaining the first coordinate system, first coordinate system includes three reference axis;
Color Channel respective modules 502, for by the first reference axis, the second reference axis and in three reference axis
Three axes correspond respectively to three different Color Channels in rgb space;
Intermediate colour atla generation module 503 generates Neutral colour according to the value of first reference axis and second reference axis
Card;
Sampled value obtains module 504, for obtaining the sampled value of the third reference axis;
Colour atla generation module 505, for generating the colour atla based on the sampled value and the intermediate colour atla.
Further, first coordinate system is three Cartesian coordinates comprising three X-axis, Y-axis and Z axis coordinates
Axis.
Further, the Color Channel respective modules 502, further includes:
First Color Channel respective modules, for the value of first reference axis to be corresponded to the color of the first Color Channel
Value;
Second Color Channel respective modules, for the value of second reference axis to be corresponded to the color of the second Color Channel
Value;
Third Color Channel respective modules, for the value of the third reference axis to be corresponded to the color of third Color Channel
Value.
Further, the intermediate colour atla generation module 503, further includes:
Color value obtains module, for obtaining the first color value and second reference axis in first reference axis
On the second color value;
Color value assignment module, for first color value and the second color value to be assigned to RGB color respectively
In two Color Channels color value to generate intermediate colour atla.
Further, the color value obtains module and is also used to: obtaining the range of the first color value in the first reference axis
With the range of the second color value in the second reference axis;
Further, the color value assignment module is also used to: in the range of the first color value and the second color value
The color value of the first color value and the second color value composition in range in all RGB colors of traversal is to form in described
Between colour atla.
Further, the intermediate colour atla generation module 503, further includes:
First colour atla configuration file obtains module, for obtaining the first colour atla configuration file, the first colour atla configuration text
The range of range and the second color in part including the first color value.
Further, the sampled value obtains module 504, further includes:
Sample rate obtains module, for obtaining the sample rate of third reference axis;
Sampled value computing module, for calculating the sampled value according to the total and described sample rate of color value.
Further, the sampled value obtains module 504, further includes:
Second colour atla configuration file obtains module, for obtaining the second colour atla configuration file, the second colour atla configuration text
It include the sample rate of the third reference axis in part.
Further, the colour atla generation module 505, further includes:
Sub- colour atla generation module is sat for the sampled value of the third reference axis to be assigned to third in the intermediate colour atla
Corresponding Color Channel is in mark to generate multiple sub- colour atlas;
Sub- colour atla arranges module, generates the colour atla for the multiple sub- colour atla to be arranged in order.
The method that Fig. 5 shown device can execute Fig. 1 and embodiment illustrated in fig. 2, the part that the present embodiment is not described in detail,
It can refer to the related description to Fig. 1 and embodiment illustrated in fig. 2.The implementation procedure and technical effect of the technical solution are referring to Fig. 1
With the description in embodiment illustrated in fig. 2, details are not described herein.
Below with reference to Fig. 6, it illustrates the structural representations for the electronic equipment 600 for being suitable for being used to realize the embodiment of the present disclosure
Figure.Electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect
Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle
Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 6
Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.)
601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608
Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment
Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604
Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, figure
As the input unit 606 of sensor, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaking
The output device 607 of device, vibrator etc.;Storage device 608 including such as tape, hard disk etc.;And communication device 609.It is logical
T unit 609 can permit electronic equipment 600 and wirelessly or non-wirelessly be communicated with other equipment to exchange data.Although Fig. 6 shows
The electronic equipment 600 with various devices is gone out, it should be understood that being not required for implementing or having all dresses shown
It sets.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, the computer program includes the program code for method shown in execution flow chart.Such
In embodiment, the computer program can be downloaded and installed from network by communication device 609, or from storage device
608 are mounted, or are mounted from ROM 602.When the computer program is executed by processing unit 601, the disclosure is executed
The above-mentioned function of being limited in the method for embodiment.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, described program can be commanded execution system, device or device use or in connection.And
In the disclosure, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable
Any computer-readable medium other than storage medium, the computer-readable signal media can send, propagate or transmit
For by the use of instruction execution system, device or device or program in connection.It is wrapped on computer-readable medium
The program code contained can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc., or
Above-mentioned any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are described
When electronic equipment executes, so that the electronic equipment: obtaining the first coordinate system, first coordinate system includes three reference axis;
The first reference axis, the second reference axis and third reference axis in three reference axis is corresponded respectively to three in rgb space
A different Color Channel;Intermediate colour atla is generated according to the value of first reference axis and second reference axis;Described in acquisition
The sampled value of third reference axis;The colour atla is generated based on the sampled value and the intermediate colour atla.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong
The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer
The combination of order is realized.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.