CN106157334B - Information processing method and equipment - Google Patents
Information processing method and equipment Download PDFInfo
- Publication number
- CN106157334B CN106157334B CN201510175851.4A CN201510175851A CN106157334B CN 106157334 B CN106157334 B CN 106157334B CN 201510175851 A CN201510175851 A CN 201510175851A CN 106157334 B CN106157334 B CN 106157334B
- Authority
- CN
- China
- Prior art keywords
- color
- coordinate
- image
- chromatography
- information
- 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.)
- Active
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
This application provides a kind of information processing method and equipment, are related to field of electronic device.The described method includes: determining one first color;One second image coordinate in an image-region is determined according to the corresponding first chromatography coordinate of first color;Determine one second corresponding relationship between second image coordinate and one second color.The method and equipment, by the relationship between the first chromatography coordinate and the second image coordinate, establish the logical associations between the first color and the second color, in this way for color extraction side, as long as according to i.e. extractable second color of the first color, to advantageously reduce the operating procedure of extraction side, operating efficiency is improved, facilitates the colouring information in extraction side user extraction image.
Description
Technical field
This application involves field of electronic device more particularly to a kind of information processing method and equipment.
Background technique
With the development of electronic equipment, present electronic equipment all has the function of to take pictures mostly, using its camera function,
The acquisition image that people can be convenient transmits information by image to facilitate people.
In some schemes using image transmitting information, people are in advance by points multiple in some hiding information coded images
Colouring information.A decoded side extracts corresponding colouring information according to the coordinate of the image and multiple point, and then decodes
Wherein hiding information.
In above scheme, due to lacking logical associations between the colouring information of each point, cause user that must record simultaneously
The coordinate for inputting all the points, could extract all colouring informations, and when the quantity of coordinate is more, record and input all can be right
User brings inconvenience.
Summary of the invention
The purpose of the application is: a kind of information processing method and equipment is provided, so as to have between corresponding color in image
There are certain logical associations, so that other people be facilitated to extract colouring information therein.
According to the application at least one embodiment in a first aspect, provide a kind of information processing method, the method packet
It includes:
Determine one first color;
One second image coordinate in an image-region is determined according to the corresponding first chromatography coordinate of first color;
Determine one second corresponding relationship between second image coordinate and one second color.
Any possible implementation with reference to first aspect, in the second possible implementation, the method
Further include:
Determine one first corresponding relationship between one first image coordinate and first color in described image region.
Any possible implementation with reference to first aspect, in the third possible implementation, the basis
The corresponding first chromatography coordinate of first color determines that one second image coordinate in an image-region includes:
The corresponding first chromatography coordinate of first color is determined with reference to chromatography according to one;
Corresponding second image coordinate of the first chromatography coordinate is determined according to predetermined map rule.
Any possible implementation with reference to first aspect, it is in the fourth possible implementation, described predetermined
Transformation rule includes: at least one of zoom, rotation, reflection.
Any possible implementation with reference to first aspect, in a fifth possible implementation, the method
Further include:
Determine that a colouring information, the colouring information include at least second color according to an information to be encoded.
Any possible implementation with reference to first aspect, in a sixth possible implementation, the color
Information includes at least second color and a third color;
The method also includes:
The third image coordinate in described image region is determined according to the corresponding second chromatography coordinate of second color;
Determine the third corresponding relationship between the third image coordinate and the third color.
Any possible implementation with reference to first aspect, in the 7th kind of possible implementation, the method
Further include:
An image is generated according at least to second corresponding relationship.
Any possible implementation with reference to first aspect, in the 8th kind of possible implementation, the method
Further include:
An image is retrieved according at least to second corresponding relationship.
According to the second aspect of at least one embodiment of the application, a kind of information processing equipment, the equipment packet are provided
It includes:
One first color determination module, for determining one first color;
One second image coordinate determining module, for determining a figure according to the corresponding first chromatography coordinate of first color
As one second image coordinate in region;
One second corresponding relationship determining module, for determining one between second image coordinate and one second color
Two corresponding relationships.
In conjunction with any possible implementation of second aspect, in the second possible implementation, the equipment
Further include:
One first corresponding relationship determining module, for determining one first image coordinate and described in described image region
One first corresponding relationship between one color.
In conjunction with any possible implementation of second aspect, in the third possible implementation, described second
Image coordinate determining module includes:
One first chromatography coordinate determination unit, for determining first color corresponding described the with reference to chromatography according to one
Spectral coordinate of the same colour;
One second image coordinate determination unit, for determining that the first chromatography coordinate is corresponding according to predetermined map rule
Second image coordinate.
In conjunction with any possible implementation of second aspect, in the fourth possible implementation, the equipment
Further include:
One colouring information determining module, for determining a colouring information according to an information to be encoded, the colouring information is extremely
It less include second color.
In conjunction with any possible implementation of second aspect, in a fifth possible implementation, the color
Information includes at least second color and a third color;
The equipment further include:
One third image coordinate determining module, for according to the corresponding second chromatography coordinate determination of second color
A third image coordinate in image-region;
One third corresponding relationship determining module, for determining one between the third image coordinate and the third color
Third corresponding relationship.
In conjunction with any possible implementation of second aspect, in a sixth possible implementation, the equipment
Further include:
One image generation module, for generating an image according at least to second corresponding relationship.
In conjunction with any possible implementation of second aspect, in the 7th kind of possible implementation, the equipment
Further include:
One image retrieval module, for retrieving an image according at least to second corresponding relationship.
The embodiment of the present application the method and equipment determine one first color, according to first color corresponding first
Chromatography coordinate determines one second image coordinate in an image-region, then can determine second image coordinate and one second
One second corresponding relationship between color.In the method, by the relationship between the first chromatography coordinate and the second image coordinate,
The logical associations between the first color and the second color are established, in this way for color extraction side, as long as according to the first color
I.e. extractable second color improves operating efficiency, facilitates extraction side user to advantageously reduce the operating procedure of extraction side
Extract the colouring information in image.
Detailed description of the invention
Fig. 1 is a kind of flow chart of information processing method in the application one embodiment;
Fig. 2 is the flow chart of information processing method described in one embodiment of the application;
Fig. 3 is the flow chart of step S140 described in one embodiment of the application;
Fig. 4 is the schematic diagram of the second image coordinate described in one embodiment of the application;
Fig. 5 is the flow chart of information processing method described in the application another embodiment;
Fig. 6 is the flow chart of information processing method described in the application another embodiment;
Fig. 7 is the flow chart of information processing method described in the application another embodiment;
Fig. 8 is the flow chart of information processing method described in the application another embodiment;
Fig. 9 is the module map of information processing equipment described in the application one embodiment;
Figure 10 is the module map of information processing equipment described in one embodiment of the application;
Figure 11 is the module map of the second image coordinate determining module described in one embodiment of the application;
Figure 12 is the module map of information processing equipment described in the application another embodiment;
Figure 13 is the module map of information processing equipment described in the application another embodiment;
Figure 14 is the module map of information processing equipment described in the application another embodiment;
Figure 15 is the module map of information processing equipment described in the application another embodiment;
Figure 16 is the hardware structural diagram of information processing equipment described in one embodiment of the application.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the application is described in further detail.Implement below
Example is not limited to scope of the present application for illustrating the application.
It will be appreciated by those skilled in the art that the size of the serial number of following each steps is not intended in embodiments herein
Execution sequence it is successive, the execution of each step sequence should be determined by its function and internal logic, and implement without coping with the application
The implementation process of example constitutes any restriction.
Fig. 1 is the flow chart of information processing method described in the application one embodiment, and the method can be in such as one letter
It is realized in breath processing equipment.As shown in Figure 1, which comprises
S120: one first color is determined;
S140: determine that one second image in an image-region is sat according to the corresponding first chromatography coordinate of first color
Mark;
S160: one second corresponding relationship between second image coordinate and one second color is determined.
The embodiment of the present application the method determines one first color, is sat according to corresponding first chromatography of first color
Mark one second image coordinate determined in an image-region, then can determine second image coordinate and one second color it
Between one second corresponding relationship.In the method, by the relationship between the first chromatography coordinate and the second image coordinate, establish
Logical associations between first color and the second color, in this way for color extraction side, as long as can be mentioned according to the first color
The second color is taken, to advantageously reduce the operating procedure of extraction side, operating efficiency is improved, facilitates extraction side user extraction figure
Colouring information as in.
Below with reference to specific embodiment, the function of described step S120, S140 and S160 is described in detail.
S120: one first color is determined.
Wherein, first color can be a default color, for example default uses rgb value for the green of (0,255,0);
Or first color can be inputted according to user and be determined, for example user can directly input described in one group of rgb value conduct
First color.
First color can extract the color in image for color extraction side user and believe directly as access information
Breath.But, it is contemplated that rgb value is relatively difficult to remember for user, and input is also cumbersome, in one embodiment, referring to fig. 2,
The method can also include:
S130: determine that one first between one first image coordinate and first color in described image region corresponds to
Relationship.
Wherein, described image coordinate is the coordinate points in described image.Described image coordinate can be absolute coordinate or
Relative coordinate;In the case where described image is such as to pass to extraction side user by taking pictures, it is contemplated that the reality of image is big
Small to change, described image coordinate can such as be the relative coordinate after normalization.Certainly, those skilled in the art manage
Solution, by the way that reference point is such as arranged in described image, in the case where transmitting described image by taking pictures, described image coordinate
Still it can be the absolute coordinate determined according to the reference point.
In this step, the first image coordinate is coordinate points corresponding with first color.It is right by establishing this
It should be related to, extraction side user only need to determine the i.e. triggerable correlation method of the first image coordinate by such as clicking mode or set
The standby colouring information extracted in image.
S140: determine that one second image in an image-region is sat according to the corresponding first chromatography coordinate of first color
Mark.
In one embodiment, may include: referring to Fig. 3, the step S140
S141: the corresponding first chromatography coordinate of first color is determined with reference to chromatography according to one;
S142: corresponding second image coordinate of the first chromatography coordinate is determined according to predetermined map rule.
Wherein, described to use such as CIE1931xy chromatogram with reference to chromatography in the step S141, in the chromatography
In figure, the abscissa x of certain point corresponds to the red component of the point, and the ordinate y of the point corresponds to the green component of the point, the point
Blue component z=1-x-y.The chromatography coordinate can such as be corresponding color information corresponding horizontal seat in the reference chromatography
X and ordinate y is marked, can be calculated and be determined according to the rgb value of the colouring information, calculation formula can be such that
The first chromatography coordinate namely corresponds to the chromatography coordinate of first color, determines in first color
In the case of, the first chromatography coordinate can determine according to above-mentioned formula (1) and (2).
In the step S142, the corresponding relationship between the first chromatography coordinate and second image coordinate can root
It is different according to the difference of the predetermined map rule.The predetermined map rule can be some common coordinate transform rules,
It for example may include: at least one of zoom, rotation, reflection.
By taking zoom converts as an example, it is assumed that the first chromatography coordinate (x1,y1) it is (0.4,0.3), it is assumed that institute
The a length of L=20 of image-region, width N=10 are stated, then according to zoom transformation rule, the second image coordinate (X2,Y2) can root
It is calculated according to following formula:
It is (8,3), i.e., A point in corresponding diagram 4 according to available second image coordinate of above-mentioned formula (3).
By taking rotation transformation as an example, it is still assumed that the first chromatography coordinate (x1,y1) it is (0.4,0.3), still with described Fig. 4
For shown image-region, then according to rotation transformation rule, the second image coordinate (X2,Y2) can count according to the following formula
It obtains:
It is (6,4), i.e., B point in corresponding diagram 4 according to available second image coordinate of above-mentioned formula (4).
By taking reflection transformation as an example, it is still assumed that the first chromatography coordinate (x1,y1) it is (0.4,0.3), still with described Fig. 4
For shown image-region, then according to reflection transformation rule, the second image coordinate (X2,Y2) can count according to the following formula
It obtains:
It is (8,7), i.e., C point in corresponding diagram 4 according to available second image coordinate of above-mentioned formula (5).
S160: one second corresponding relationship between second image coordinate and one second color is determined.
The step is substantially the corresponding relationship established between second image coordinate and second color, i.e. institute
State the second corresponding relationship.Indirectly, that is, logic association between first color and second color is established, changed
Sentence is talked about, for needing the user of first color and second color in advance, it is only necessary to know that described first
Color can calculate and determine second image coordinate, and then can extract second color.
Referring to Fig. 5, in one embodiment, the method can also include:
S110: determine that a colouring information, the colouring information include at least second color according to an information to be encoded.
The information to be encoded can be any information for needing to be hidden transmitting, for example, can be communication authentication information,
Download link address, the preferential code of commodity etc..In the step, it can be based on scheduled coding rule, according to the information to be encoded
Determine the colouring information.The coding rule can be CSK (gamut keying, Color Shift Key), for example can be
IEEE 802.15.74CSK can be IEEE 802.15.78CSK.
The colouring information can be at least one set of rgb value determined according to the coding rule.
In one embodiment, the colouring information only includes second color, without including first color,
That is, first colouring information is only used as an access information, and it is not involved in coding.
In another embodiment, the colouring information includes first color and second color, that is,
It says, first color and second color simultaneously participate in coding.
More often, therefore the information to be encoded can be more complicated, and the colouring information may include more
Rgb value.In one embodiment, the colouring information includes at least second color and a third color, correspondingly, ginseng
See Fig. 6, the method can also include:
S170: the third image in described image region is determined according to the corresponding second chromatography coordinate of second color
Coordinate;
S180: the third corresponding relationship between the third image coordinate and the third color is determined.
The realization principle of step S170, S180 is identical as the realization principle of step S140, S160, simple to rise
See, details are not described herein again.Meanwhile it will be appreciated by those skilled in the art that can also be needed according to coding according to above-mentioned realization principle true
Corresponding relationship between fixed more image coordinates and corresponding color, such as the between the 4th image coordinate and the 4th color the 4th
Corresponding relationship.Finally, according to above-mentioned processing, all colours and institute that the colouring information for coding is included can be determined
All corresponding relationships for stating respective image coordinate in image-region can be generated or retrieve according to all corresponding relationships
Obtain the image for meeting condition.
Referring to Fig. 7, in one embodiment, the method can also include:
S190: an image is generated according at least to second corresponding relationship.
The colouring information only include second color i.e. only with second color participate in coding in the case where,
In this step, described image can be generated according only to second corresponding relationship.That is, the described image generated is described
As long as color second color at the second image coordinate.
In the case where the colouring information includes multiple colors, then need according to multiple color and multiple respective images
Corresponding relationship between coordinate generates described image.It for example in the colouring information include first color, second face
In the case where color and the third color, then need according to first corresponding relationship, second corresponding relationship and described
Three corresponding relationships generate described image.That is, needing to be described at the first image coordinate location of the described image generated
First color needs to be second color at the second image coordinate location, and needs to be institute at third image coordinate location
State third color.
In another embodiment, referring to Fig. 8, the method can also include:
S190 ': an image is retrieved according at least to second corresponding relationship.
The difference of present embodiment and a upper embodiment is only that, described image be not generated by the method, and
It is to be obtained by retrieving corresponding image library, for example retrieval obtains on the internet, so as to reduce the cost of image acquisition.
It will be appreciated by those skilled in the art that according to concealed in fact in the application described image obtained by the above method it is described to
Encoded information can obtain hidden in described image by the following method for needing to obtain the wherein user of information
Hide information:
S220: an image and one first colouring information are obtained;
S240: one second figure in described image is determined according to the corresponding one first chromatography coordinate of first colouring information
As coordinate;
S260: one second colouring information is obtained at second image coordinate;
S290: a decoded information is determined according at least to second colouring information.
In the step S220, first color is corresponding with first colouring information, in other words first face
Color information is the rgb value of first color.
In one embodiment, first colouring information can be opposite with one first image coordinate in described image
It answers, then the step S220 may include:
S222: described image is obtained;
S224: first colouring information is obtained at one first image coordinate in described image.
The first image coordinate can be a default image coordinate, alternatively, can be determined according to the input information of user.
The step S240 is similar with the realization principle of the step S140, repeats no more.
In the step S290, if determining the information pair to be encoded using CSK coding rule in the step S110
The colouring information answered, then it is corresponding that the decoded information is determined using CSK decoding rule in step S290.
In addition, it will be appreciated by those skilled in the art that the decoded information may correspond to multiple colouring informations in described image, than
Second colouring information and a third colouring information as described in the decoded information is corresponding, then the method also includes:
S270: the third figure in described image is determined according to the corresponding one second chromatography coordinate of second colouring information
As coordinate;
S280: a third colouring information is obtained at the third image coordinate of described image.
Correspondingly, the step S290 may include:
S290 ': the decoded information is determined according at least to second colouring information and the third colouring information.
It can be seen that the described image obtained using herein described method, can greatly facilitate user from the image
Middle extraction colouring information, and corresponding decoded information is obtained according to the colouring information of extraction.
In addition, the embodiment of the present application also provides a kind of computer-readable medium, including perform the following operation when executed
Computer-readable instruction: execute the operation of step S120, S140 and S160 of the method in above-mentioned Fig. 1 illustrated embodiment.
Fig. 9 is the modular structure schematic diagram of information processing equipment described in the application one embodiment, and the equipment can be
One independent equipment, it is of course also possible to integrally disposed in the electronic equipments such as such as smart phone as a functional module.
Referring to Fig. 9, the equipment 900 may include:
One first color determination module 910, for determining one first color;
One second image coordinate determining module 920, for being determined according to the corresponding first chromatography coordinate of first color
One second image coordinate in one image-region;
One second corresponding relationship determining module 930, for determining between second image coordinate and one second color
One second corresponding relationship.
Equipment described in the embodiment of the present application determines one first color, is sat according to corresponding first chromatography of first color
Mark one second image coordinate determined in an image-region, then can determine second image coordinate and one second color it
Between one second corresponding relationship.The equipment establishes by the relationship between the first chromatography coordinate and the second image coordinate
Logical associations between one color and the second color, in this way for the equipment, as long as according to the first color i.e. extractable the
Second colors improve operating efficiency to advantageously reduce the operating procedure of extraction side, facilitate extraction side user and extract in image
Colouring information.
Below with reference to specific embodiment, first color determination module 910 is described in detail, second image is sat
Mark the function of determining module 920 and the second corresponding relationship determining module 930.
First color determination module 910, for determining one first color.
Wherein, first color can be a default color, for example default uses rgb value for the green of (0,255,0);
Or first color can be inputted according to user and be determined, for example user can directly input described in one group of rgb value conduct
First color.
First color can extract the color in image for color extraction side user and believe directly as access information
Breath.But, it is contemplated that rgb value is relatively difficult to remember for user, input it is also cumbersome, in one embodiment, referring to Figure 10,
The equipment 900 further include:
One first corresponding relationship determining module 940, for determining one first image coordinate and institute in described image region
State one first corresponding relationship between the first color.
Wherein, described image coordinate is the coordinate points in described image.Described image coordinate can be absolute coordinate or
Relative coordinate;In the case where described image is such as to pass to extraction side user by taking pictures, it is contemplated that the reality of image is big
Small to change, described image coordinate can such as be the relative coordinate after normalization.Certainly, those skilled in the art manage
Solution, by the way that reference point is such as arranged in described image, in the case where transmitting described image by taking pictures, described image coordinate
Still it can be the absolute coordinate determined according to the reference point.
The first image coordinate is coordinate points corresponding with first color.By establishing the corresponding relationship, mention
The side of taking user only need to determine the first image coordinate i.e. and can trigger that the equipment is extracted in image by such as clicking mode
Colouring information.
The second image coordinate determining module 920, for true according to the corresponding first chromatography coordinate of first color
One second image coordinate in a fixed image-region.
In one embodiment, referring to Figure 11, the second image coordinate determining module 920 may include:
One first chromatography coordinate determination unit 921, for determining the corresponding institute of first color with reference to chromatography according to one
State the first chromatography coordinate;
One second image coordinate determination unit 922, for determining the first chromatography coordinate pair according to predetermined map rule
Second image coordinate answered.
Wherein, described to use such as CIE1931xy with reference to chromatography in the first chromatography coordinate determination unit 921
Chromatogram, in the chromatogram, the abscissa x of certain point corresponds to the red component of the point, and the ordinate y of the point corresponds to the point
Green component, the blue component z=1-x-y of the point.The chromatography coordinate can such as be corresponding color information in the reference
Corresponding abscissa x and ordinate y in chromatography can be calculated according to the rgb value of the colouring information and be determined, calculation formula can be with
Such as formula (1) (2).
The first chromatography coordinate namely corresponds to the chromatography coordinate of first color, determines in first color
In the case of, the first chromatography coordinate can determine according to above-mentioned formula (1) and (2).
In the second image coordinate determination unit 922, between the first chromatography coordinate and second image coordinate
Corresponding relationship can be different according to the difference of the predetermined map rule.The predetermined map rule can be some common
Coordinate transform rule, for example may include: at least one of zoom, rotation, reflection.
The second corresponding relationship determining module 930, for determining between second image coordinate and one second color
One second corresponding relationship.
The second corresponding relationship determining module 930, substantially establishes second image coordinate and described second
Corresponding relationship between color, i.e., described second corresponding relationship.Indirectly, first color and described are established that is,
Logic association between second colors, in other words, for needing the user of first color and second color in advance and
Speech, it is only necessary to know that first color, can calculate and determine second image coordinate, and then can extract described second
Color.
Referring to Figure 12, in one embodiment, the equipment 900 further include:
One colouring information determining module 950, for determining a colouring information, the colouring information according to an information to be encoded
Including at least second color.
The information to be encoded can be any information for needing to be hidden transmitting, for example, can be communication authentication information,
Download link address, the preferential code of commodity etc..In the step, it can be based on scheduled coding rule, according to the information to be encoded
Determine the colouring information.The coding rule can be CSK (gamut keying, Color Shift Key), for example can be
IEEE 802.15.74CSK can be IEEE 802.15.78CSK.
The colouring information can be at least one set of rgb value determined according to the coding rule.
In one embodiment, the colouring information only includes second color, without including first color,
That is, first colouring information is only used as an access information, and it is not involved in coding.
In another embodiment, the colouring information includes first color and second color, that is,
It says, first color and second color simultaneously participate in coding.
More often, therefore the information to be encoded can be more complicated, and the colouring information may include more
Rgb value.In one embodiment, the colouring information includes at least second color and a third color, correspondingly, ginseng
See Figure 13, the equipment 900 further include:
One third image coordinate determining module 960, for being determined according to the corresponding second chromatography coordinate of second color
A third image coordinate in described image region;
One third corresponding relationship determining module 970, for determining between the third image coordinate and the third color
A third corresponding relationship.
The third image coordinate determining module 960, the realization principle of the third corresponding relationship determining module 970 and institute
It is identical to state the second image coordinate determining module 920, the realization principle of the second corresponding relationship determining module 930, for the sake of simplicity,
Details are not described herein again.Meanwhile it will be appreciated by those skilled in the art that can also be according to coding it needs to be determined that more according to above-mentioned realization principle
Corresponding relationship between more image coordinates and corresponding color, such as the 4th image coordinate are corresponding with the 4th between the 4th color
Relationship.Finally, according to above-mentioned processing, all colours and the figure that the colouring information for coding is included can be determined
As all corresponding relationships of respective image coordinate in region, according to all corresponding relationships, it can be generated or retrieve and obtain
Meet the image of condition.
Referring to Figure 14, in one embodiment, the equipment 900 further include:
One image generation module 980, for generating an image according at least to second corresponding relationship.
The colouring information only include second color i.e. only with second color participate in coding in the case where,
In this step, described image can be generated according only to second corresponding relationship.That is, the described image generated is described
As long as color second color at the second image coordinate.
In the case where the colouring information includes multiple colors, then need according to multiple color and multiple respective images
Corresponding relationship between coordinate generates described image.It for example in the colouring information include first color, second face
In the case where color and the third color, then need according to first corresponding relationship, second corresponding relationship and described
Three corresponding relationships generate described image.That is, needing to be described at the first image coordinate location of the described image generated
First color needs to be second color at the second image coordinate location, and needs to be institute at third image coordinate location
State third color.
Referring to Figure 15, in one embodiment, the equipment 900 further include:
One image retrieval module 980 ', for retrieving an image according at least to second corresponding relationship.
Using present embodiment, the equipment generates described image without oneself, it is only necessary to according at least to described second pair
It should be related to retrieve from some existing image libraries and obtain, for example retrieval obtains on the internet, obtains so as to reduce image
The cost obtained.
To sum up, the described image obtained using equipment described in the embodiment of the present application can greatly facilitate user from the figure
Colouring information is extracted as in, and corresponding decoded information is obtained according to the colouring information of extraction.
The hardware configuration of information processing equipment described in another embodiment of the application is as shown in figure 16.The application specific implementation
Example does not limit the specific implementation of the information processing equipment, and referring to Figure 16, the equipment 1600 may include:
Processor (processor) 1610,1620, memory communication interface (Communications Interface)
(memory) 1630 and communication bus 1640.Wherein:
Processor 1610, communication interface 1620 and memory 1630 complete mutual lead to by communication bus 1640
Letter.
Communication interface 1620, for being communicated with other network elements.
Processor 1610 can specifically execute the phase in above-mentioned embodiment of the method shown in FIG. 1 for executing program 1632
Close step.
Specifically, program 1632 may include program code, and said program code includes computer operation instruction.
Processor 1610 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present application
Road.
Memory 1630, for storing program 1632.Memory 1630 may include high speed RAM memory, it is also possible to also
Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Program 1632 specifically may be used
To execute following steps:
Determine one first color;
One second image coordinate in an image-region is determined according to the corresponding first chromatography coordinate of first color;
Determine one second corresponding relationship between second image coordinate and one second color.
The specific implementation of each step may refer to corresponding steps or module in above-described embodiment in program 1632, herein not
It repeats.It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment and mould of foregoing description
The specific work process of block can refer to corresponding processes in the foregoing method embodiment description, and details are not described herein.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, controller or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Embodiment of above is merely to illustrate the application, and is not the limitation to the application, in relation to the common of technical field
Technical staff can also make a variety of changes and modification in the case where not departing from spirit and scope, therefore all
Equivalent technical solution also belongs to the scope of the application, and the scope of patent protection of the application should be defined by the claims.
Claims (7)
1. a kind of information processing method, which is characterized in that the described method includes:
Determine one first color;
One second image coordinate in an image-region is determined according to the corresponding first chromatography coordinate of first color;
Determine that a colouring information, the colouring information include at least the second color, the letter to be encoded according to an information to be encoded
Breath are as follows: need to be hidden the information of transmitting;
Determine one second corresponding relationship between second image coordinate and one second color;Second image coordinate and one
One second corresponding relationship between second color are as follows: second image coordinate is coordinate corresponding with second color
Point;
The one second image coordinate packet determined according to the corresponding first chromatography coordinate of first color in an image-region
It includes:
The corresponding first chromatography coordinate of first color is determined with reference to chromatography according to one;
Corresponding second image coordinate of the first chromatography coordinate is determined according to predetermined map rule.
2. the method as described in claim 1, which is characterized in that the method also includes:
Determine one first corresponding relationship between one first image coordinate and first color in described image region.
3. the method as described in claim 1, which is characterized in that the colouring information includes at least second color and one the
Three colors;The third color is determined according to an information to be encoded;
The method also includes:
The third image coordinate in described image region is determined according to the corresponding second chromatography coordinate of second color;
Determine the third corresponding relationship between the third image coordinate and the third color;The third image coordinate and
A third corresponding relationship between the third color are as follows: the third image coordinate is seat corresponding with the third color
Punctuate.
4. method as described in any one of claims 1 to 3, which is characterized in that the method also includes:
An image is generated according at least to second corresponding relationship.
5. method as described in any one of claims 1 to 3, which is characterized in that the method also includes:
An image is retrieved according at least to second corresponding relationship.
6. a kind of information processing equipment, which is characterized in that the equipment includes:
One first color determination module, for determining one first color;
One second image coordinate determining module, for determining an image district according to the corresponding first chromatography coordinate of first color
One second image coordinate in domain;
One colouring information determining module, for determining that a colouring information, the colouring information at least wrap according to an information to be encoded
Include the second color, the information to be encoded are as follows: need to be hidden the information of transmitting;
One second corresponding relationship determining module, for determining one second pair between second image coordinate and one second color
It should be related to;One second corresponding relationship between second image coordinate and one second color are as follows: second image coordinate is
Coordinate points corresponding with second color;
The second image coordinate determining module includes:
One first chromatography coordinate determination unit, for determining corresponding first color of first color with reference to chromatography according to one
Spectral coordinate;
One second image coordinate determination unit, for determining that the first chromatography coordinate is corresponding described according to predetermined map rule
Second image coordinate.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes information processing equipment as claimed in claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510175851.4A CN106157334B (en) | 2015-04-14 | 2015-04-14 | Information processing method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510175851.4A CN106157334B (en) | 2015-04-14 | 2015-04-14 | Information processing method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106157334A CN106157334A (en) | 2016-11-23 |
CN106157334B true CN106157334B (en) | 2019-11-15 |
Family
ID=57336141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510175851.4A Active CN106157334B (en) | 2015-04-14 | 2015-04-14 | Information processing method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106157334B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038595A (en) * | 1999-04-29 | 2007-09-19 | 三菱电机株式会社 | Method and apparatus for representing and searching for colour images |
WO2012125802A1 (en) * | 2011-03-15 | 2012-09-20 | Dolby Laboratories Licensing Corporation | Method and apparatus for image data transformation |
CN104023217A (en) * | 2013-03-01 | 2014-09-03 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002230543A (en) * | 2000-11-28 | 2002-08-16 | Monolith Co Ltd | Method and device for interpolating image |
-
2015
- 2015-04-14 CN CN201510175851.4A patent/CN106157334B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038595A (en) * | 1999-04-29 | 2007-09-19 | 三菱电机株式会社 | Method and apparatus for representing and searching for colour images |
WO2012125802A1 (en) * | 2011-03-15 | 2012-09-20 | Dolby Laboratories Licensing Corporation | Method and apparatus for image data transformation |
CN104023217A (en) * | 2013-03-01 | 2014-09-03 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106157334A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104866755B (en) | Setting method and device for background picture of application program unlocking interface and electronic equipment | |
CN104778047B (en) | A kind of content display method and terminal | |
US9659032B1 (en) | Building a palette of colors from a plurality of colors based on human color preferences | |
CN104866323B (en) | Unlocking interface generation method and device and electronic equipment | |
CN106156237B (en) | Information processing method, information processing unit and user equipment | |
CN105955733B (en) | A kind of method, apparatus and mobile terminal for modifying icon | |
CN108572825A (en) | A kind of user interface process method, apparatus and equipment | |
CN107292945A (en) | The figure layer of video image renders processing method and its system | |
CN104540108B (en) | According to the method and device of user's dialing numbers recommendation information | |
CN108304839A (en) | A kind of image processing method and device | |
CN109408177A (en) | Method and device for configuring color of characters in picture and electronic equipment | |
CN110213458A (en) | A kind of image processing method, device and storage medium | |
CN104461614A (en) | Method for processing theme resource and electronic device | |
CN106126140B (en) | A kind of method, apparatus and electronic equipment of rendering type | |
CN105955754A (en) | Method and device for displaying characters of user interface | |
CN109726786B (en) | Two-dimensional code information reading and generating method and device | |
CN109408652A (en) | A kind of image searching method, device and equipment | |
CN109410295A (en) | Color setting method, device, equipment and computer readable storage medium | |
CN106327415A (en) | Image processing method and device | |
CN108985421A (en) | The generation method and recognition methods of encoded information | |
CN106791091B (en) | Image generation method and device and mobile terminal | |
CN106445501A (en) | Display method of notification bar, and terminal | |
CN106157334B (en) | Information processing method and equipment | |
CN111049735B (en) | Group head portrait display method, device, equipment and storage medium | |
CN117252777A (en) | Image processing method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |