CN106157333B - Information processing method and equipment - Google Patents
Information processing method and equipment Download PDFInfo
- Publication number
- CN106157333B CN106157333B CN201510175830.2A CN201510175830A CN106157333B CN 106157333 B CN106157333 B CN 106157333B CN 201510175830 A CN201510175830 A CN 201510175830A CN 106157333 B CN106157333 B CN 106157333B
- Authority
- CN
- China
- Prior art keywords
- image
- information
- coordinate
- colouring information
- colouring
- 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
Abstract
This application provides a kind of information processing method and equipment, are related to field of electronic device.The described method includes: obtaining an image and one first colouring information;One second image coordinate in described image is determined according to the corresponding one first chromatography coordinate of first colouring information;One second colouring information is obtained at second image coordinate.The method and equipment can automatically extract remaining colouring information in described image according to first colouring information, to reduce the information that user needs to remember and need to input, advantageously reduce operating procedure, improve operating efficiency, convenient for users.
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, user must record and input the coordinate of multiple points, could extract corresponding colouring information, work as seat
When target quantity is more, record and input all afterwards bring inconvenience to user.
Summary of the invention
The purpose of the application is: a kind of information processing method and equipment is provided, to facilitate user to obtain the color in image
Information.
According to the application at least one embodiment in a first aspect, provide a kind of information processing method, the method packet
It includes:
Obtain an image and one first colouring information;
Determine that one second image in described image is sat according to the corresponding one first chromatography coordinate of first colouring information
Mark;
One second colouring information is obtained at second image coordinate.
Any possible implementation with reference to first aspect, in the second possible implementation, the acquisition
One first colouring information includes:
First colouring information is obtained at one first image coordinate in described image.
Any possible implementation with reference to first aspect, in the third possible implementation, the method
Further include:
The first image coordinate is determined according to an input information.
Any possible implementation with reference to first aspect, in the fourth possible implementation, the method
Further include:
Geometric correction processing is carried out to described image.
Any possible implementation with reference to first aspect, in a fifth possible implementation, the basis
The corresponding one first chromatography coordinate of first colouring information determines that one second image coordinate in described image includes:
The corresponding first chromatography coordinate of first colouring information 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 a sixth possible implementation, described predetermined
Transformation rule includes: at least one of zoom, rotation, reflection.
Any possible implementation with reference to first aspect, in the 7th kind of possible implementation, the method
Further include:
A decoded information is determined according at least to second colouring information.
Any possible implementation with reference to first aspect, in the 8th kind of possible implementation, it is described at least
Determine that a decoded information includes: according to second colouring information
The decoded information is determined according to second colouring information.
Any possible implementation with reference to first aspect, in the 9th kind of possible implementation, it is described at least
Determine that a decoded information includes: according to second colouring information
The decoded information is determined according to first colouring information and second colouring information.
Any possible implementation with reference to first aspect, in the tenth kind of possible implementation, the method
Further include:
Determine that the third image in described image is sat according to the corresponding one second chromatography coordinate of second colouring information
Mark;
A third colouring information is obtained at the third image coordinate of described image;
It is described to determine that a decoded information includes: according at least to second colouring information
The decoded information is determined according at least to second colouring information and the third colouring information.
Any possible implementation with reference to first aspect, in a kind of the tenth possible implementation, it is described extremely
It is few to determine that the decoded information includes: according to second colouring information and the third colouring information
The decoded information is determined according to second colouring information and the third colouring information.
Any possible implementation with reference to first aspect, in the 12nd kind of possible implementation, it is described extremely
It is few to determine that the decoded information includes: according to second colouring information and the third colouring information
The decoding letter is determined according to first colouring information, second colouring information and the third colouring information
Breath.
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 obtains module, for obtaining an image and one first colouring information;
One second image coordinate determining module, for true according to the corresponding one first chromatography coordinate of first colouring information
Determine one second image coordinate in described image;
One second obtains module, for obtaining one second colouring information at second image coordinate.
In conjunction with any possible implementation of second aspect, in the second possible implementation, described first
Obtaining module includes:
One image acquisition unit, for obtaining described image;
One first colouring information acquiring unit, for obtaining described first at one first image coordinate in described image
Colouring information.
In conjunction with any possible implementation of second aspect, in the third possible implementation, described first
Obtain module further include:
One first image coordinate determination unit, for determining the first image coordinate according to an input information.
In conjunction with any possible implementation of second aspect, in the fourth possible implementation, the equipment
Further include:
One geometric correction module, for carrying out geometric correction processing to described image.
In conjunction with any possible implementation of second aspect, in a fifth possible implementation, described second
Image coordinate determining module includes:
One first chromatography coordinate determination unit, for determining the corresponding institute of first colouring information with reference to chromatography according to one
State the first chromatography coordinate;
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 a sixth possible implementation, the equipment
Further include:
One decoded information determining module, for determining a decoded information according at least to second colouring information.
In conjunction with any possible implementation of second aspect, in the 7th kind of possible implementation, the equipment
Further include:
One third image coordinate determining module, for true according to the corresponding one second chromatography coordinate of second colouring information
Determine the third image coordinate in described image;
One third obtains module, for obtaining a third colouring information at the third image coordinate of described image
The decoded information determining module, for true according at least to second colouring information and the third colouring information
The fixed decoded information.
The embodiment of the present application the method and equipment, obtain an image and one first colouring information, and then according to described the
The corresponding one first chromatography coordinate of one colouring information determines one second image coordinate in described image, then in second figure
As obtaining one second colouring information at coordinate.To which the equipment can obtain described automatically according to first colouring information
Second colouring information.That is, user need to only input information to obtain first colouring information in described image, it is described
Method and apparatus can automatically extract remaining colouring information in described image according to first colouring information, to reduce
User needs the information remembered and need to input, and advantageously reduces operating procedure, improves operating efficiency, convenient for users.
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 refined flow chart of step S120 described in one embodiment of the application;
Fig. 3 is the flow chart of information processing method 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 one embodiment of the application;
Fig. 6 is the flow chart of information processing method described in one embodiment of the application;
Fig. 7 is the module map of information processing equipment described in another embodiment of the application;
Fig. 8 is the first module map for obtaining module described in one embodiment of the application;
Fig. 9 is the module map of information processing equipment described in one embodiment of the application;
Figure 10 is the module map of the second image coordinate determining module described in one embodiment of the application;
Figure 11 is the module map of information processing equipment described in the application another embodiment;
Figure 12 is the module map of information processing equipment described in the application another embodiment;
Figure 13 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: an image and one first colouring information are obtained;
S140: one second figure in described image is determined according to the corresponding one first chromatography coordinate of first colouring information
As coordinate;
S160: one second colouring information is obtained at second image coordinate.
The embodiment of the present application the method obtains an image and one first colouring information, and then according to first color
The corresponding one first chromatography coordinate of information determines one second image coordinate in described image, then in second image coordinate
Place obtains one second colouring information.To which second colouring information can be obtained automatically according to first colouring information.
That is user need to only input information to obtain first colouring information in described image, the method can be according to institute
It states the first colouring information and automatically extracts remaining colouring information in described image, need to remember and need defeated to reduce user
The information entered advantageously reduces operating procedure, improves operating efficiency, convenient for users.
Below with reference to specific embodiment, the function of described step S120, S140 and S160 is described in detail.
S120: an image and one first colouring information are obtained.
Wherein, the first image can receive from other equipment, be also possible to the information processing equipment by such as
It takes pictures acquisition.It include the image of some promotional products in advertisement for example, may have some promotional advertisements in some shops,
User passes through these available images of mobile phone camera.
The colouring information can such as be one group of RGB (RGB) value, and every group of rgb value respectively includes a R value, one
G value and a B value, the value range of the R value, G value and B value is 0~255.
First colouring information is the entrance colouring information of a triggering the method, can be default color letter
Breath, such as default use rgb value for the green of (0,255,0);Or first colouring information can according to user input and
It obtains, for example user can directly input one group of rgb value as first colouring information.
But, it is contemplated that rgb value is such as difficult to remember for user, and input is also cumbersome, in one embodiment, described
Step S120 may include:
S122: described image is obtained;
S124: first colouring information is obtained at one first image coordinate in described image.
Wherein, described image coordinate is the coordinate points in described image.Described image coordinate can be absolute coordinate or
Relative coordinate;Described image be such as by take pictures acquisition in the case where, it is contemplated that the actual size of image may change,
Described image coordinate can such as be the relative coordinate after normalization.Certainly, it will be appreciated by those skilled in the art that by the figure
As in reference point is such as set, take pictures obtain described image in the case where, described image coordinate still can be according to
The absolute coordinate that reference point determines.The first image coordinate is coordinate points corresponding with first colouring information.One
In kind embodiment, referring to fig. 2, the step S120 can also include:
S123: the first image coordinate is determined according to an input information.
That is, the method can be according to the coordinate value of such as user input or to the point of corresponding position on image
It hits, to determine the first image coordinate.For example, can have multiple buttons mark in described image, each button mark can
With the different guidance information of correspondence, user clicks corresponding button mark, and the method is according to the button determination being clicked
First image coordinate.
Certainly, it will be appreciated by those skilled in the art that the first image coordinate is also possible to a default coordinate, then user obtains
After described image, the method can extract first colouring information and second colouring information automatically.
In addition, in the case where obtaining described image by taking pictures image after the picture is taken may be deposited and the figure that is taken
The phenomenon that picture is compared, geometric distortion, for example, the image that is taken is rectangle, but the length of two long sides of image after shooting is not
Deng.In order to reduce error caused by above-mentioned phenomenon, in one embodiment, referring to Fig. 3, the method also includes:
S130: geometric correction processing is carried out to described image.
The geometric correction processing can such as use ENVI (The Environment for Visualizing
Images), the tools such as ERDAS.
S140: one second figure in described image is determined according to the corresponding one first chromatography coordinate of first colouring information
As coordinate.
In one embodiment, the step S140 may include:
S141: the corresponding first chromatography coordinate of first colouring information 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
Mark and ordinate can be calculated according to the rgb value of the colouring information and be determined, calculation formula can be such that
The first chromatography coordinate namely corresponds to the chromatography coordinate of first colouring information, believes in first color
In the case that breath determines, 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, width N=10 are stated, then according to zoom transformation rule, the second image coordinate (X2,Y2) can be according to such as
Lower formula is calculated:
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, then according to rotation transformation rule, the second image coordinate (X2,Y2) can calculate according to the following formula
It arrives:
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, then according to reflection transformation rule, the second image coordinate (X2,Y2) can calculate according to the following formula
It arrives:
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 colouring information is obtained at second image coordinate.
Second colouring information can such as be the rgb value at second image coordinate, second colouring information,
Or the combination of first colouring information and second color can correspond to an encoded information, therefore, according to described second
The combination of colouring information or first colouring information and second color, it is available using scheduled decoding rule
Corresponding decoded information.
Referring to Fig. 5, in one embodiment, the method can also include:
S190: a decoded information is determined according at least to second colouring information.
As it was noted above, according to second colouring information or first colouring information and second color
Combination, in conjunction with corresponding decoding rule, available corresponding decoded information.The decoding rule can be CSK (gamut key
Control, Color Shift Key), for example can be IEEE 802.15.74CSK, it can be IEEE 802.15.78CSK.
In one embodiment, the step S190 may include:
S190a: the decoded information is determined according to second colouring information.
In present embodiment, first colouring information is only used as an entrance, triggers for user and executes the method, not
Participate in coding.
In another embodiment, the step S190 may include:
S190b: the decoded information is determined according to first colouring information and second colouring information.
In present embodiment, first color serves not only as an entrance, triggers for user and executes the method, also simultaneously
Coding is participated in, i.e., as a part of encoded information.
Referring to Fig. 6, in another embodiment, the method can also include:
S170: the third figure in described image is determined according to the corresponding one second chromatography coordinate of second colouring information
As coordinate;
S180: a third colouring information is obtained at the third image coordinate of described image.
Correspondingly, the step S190 may include:
S190c: the decoded information is determined according at least to second colouring information and the third colouring information.
It will be appreciated by those skilled in the art that in present embodiment, the realization principle of step S170, S180 and the step
The realization principle of S140, S160 are identical, for the sake of simplicity, details are not described herein again.Meanwhile it will be appreciated by those skilled in the art that according to upper
Realization principle is stated, can also successively obtain more colouring informations in described image as needed, such as the 4th colouring information,
5th colouring information etc..
In one embodiment, the step S190c may include:
S190c ': the decoded information is determined according to second colouring information and the third colouring information.
In another embodiment, the step S190c may include:
S190c ": institute is determined according to first colouring information, second colouring information and the third colouring information
State decoded information.
It should be noted that image described herein is not common image, but at corresponding coordinate position
Image with corresponding colouring information, for example there is first colouring information at the first image coordinate, and in institute
Stating has second image information at the second image coordinate location.In other words, it is hidden in described image according to certain rule
Corresponding colouring information, and the colouring information is the color carried out after such as CSK coding to corresponding information to be encoded
Information.Specifically, described image can be obtained based on following methods:
S220: one first color is determined;
S240: determine that one second image in an image-region is sat according to the corresponding first chromatography coordinate of first color
Mark;
S260: one second corresponding relationship between second image coordinate and one second color is determined.
S280: an image is generated or retrieved according at least to second corresponding relationship.
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.It in one embodiment, can also be by one first image in described image region
It is determined as first color at coordinate, that is, determines the first corresponding relationship between the first image coordinate and the first color.
The step S240 may further include:
S241: the corresponding first chromatography coordinate of first color is determined with reference to chromatography according to one;
S242: corresponding second image coordinate of the first chromatography coordinate is determined according to predetermined map rule.
Reference chromatography in the step S241 is identical as the reference chromatography in the step S141, in the step S242
Predetermined map rule it is identical as the predetermined map rule in the step S142.
In the step S260, the corresponding relationship of second image coordinate Yu second color has substantially been determined,
I.e. described second corresponding relationship.Second color is corresponding with second colouring information.
In one embodiment, the method can also include:
S280: the third image in described image region is determined according to the corresponding second chromatography coordinate of second color
Coordinate;
S300: the third corresponding relationship between the third image coordinate and a third color is determined.
The realization principle of step S280, S300 can be identical as the realization principle of step S240, S260.It is similar
, as needed, it may further determine that corresponding color at more image coordinates in described image region, it may finally be true
The final corresponding relationship of corresponding coordinate and corresponding color in fixed entire described image region, then can according to the final corresponding relationship
To generate described image, or retrieval obtains the image for meeting the final corresponding relationship.
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.
To sum up, the embodiment of the present application the method, can be according to the first colouring information or the first image coordinate information, from one
Multiple colouring informations are successively extracted in image, and can be decoded to obtain corresponding decoded information according to the colouring information of extraction, from
And facilitate the colouring information that user obtains multiple corresponding corresponding decoding information from image.
Fig. 7 is the modular structure schematic diagram of information processing equipment described in the application one embodiment, and the equipment can be
The one independent equipment for extracting colouring information in image, it is of course also possible to integrally disposed in such as a functional module
In the electronic equipments such as intelligent glasses, smart phone.Referring to Fig. 7, the equipment 700 may include:
One first obtains module 710, for obtaining an image and one first colouring information;
One second image coordinate determining module 720, for being sat according to corresponding one first chromatography of first colouring information
Mark one second image coordinate determined in described image;
One second obtains module 730, for obtaining one second colouring information at second image coordinate.
Equipment described in the embodiment of the present application obtains an image and one first colouring information, and then according to first color
The corresponding one first chromatography coordinate of information determines one second image coordinate in described image, then in second image coordinate
Place obtains one second colouring information.To which the equipment can obtain second face according to first colouring information automatically
Color information.That is, user need to only input information to obtain first colouring information in described image, the equipment can
To automatically extract remaining colouring information in described image according to first colouring information, need to remember to reduce user
The information inputted with needs advantageously reduces operating procedure, improves operating efficiency, convenient for users.
Below with reference to specific embodiment, it is true that the first acquisition module 710, second image coordinate is described in detail
The function of cover half block 720 and the second acquisition module 730.
Described first obtains module 710, for obtaining an image and one first colouring information.
Wherein, the first image can receive from other equipment, is also possible to the equipment and passes through acquisition of such as taking pictures.
In addition, described image is the figure at corresponding coordinate position with corresponding colouring information as described in embodiment of the method above
Picture, and the colouring information is the colouring information carried out after such as CSK coding to corresponding information to be encoded.
The colouring information can such as be one group of RGB (RGB) value.First colouring information can be a default
Colouring information or first colouring information can be inputted according to user and the colouring information of acquisition.
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. 8, described first obtains module 710, may further include:
One image acquisition unit 711, for obtaining described image;
One first colouring information acquiring unit 713, described in being obtained at one first image coordinate in described image
First colouring information.
Wherein, described image coordinate is the coordinate points in described image.Described image coordinate can be absolute coordinate or
Relative coordinate.The first image coordinate is coordinate points corresponding with first colouring information.
In one embodiment, referring to Fig. 8, the first acquisition module 710 can also include:
One first image coordinate determination unit 712, for determining the first image coordinate according to an input information.
That is, the first image coordinate determination unit 712 can according to such as user input coordinate value or
Click to corresponding position on image, to determine the first image coordinate.For example, can have multiple buttons in described image
Mark, each button mark can correspond to different guidance informations, and user clicks corresponding button mark, and the first image is sat
It marks determination unit 712 and the first image coordinate is determined according to the button being clicked.
Certainly, it will be appreciated by those skilled in the art that the first image coordinate is also possible to a default coordinate, then user obtains
After described image, the equipment 700 can extract first colouring information and second colouring information automatically.
In addition, in the case where obtaining described image by taking pictures image after the picture is taken may be deposited and the figure that is taken
The phenomenon that picture is compared, geometric distortion, for example, the image that is taken is rectangle, but the length of two long sides of image after shooting is not
Deng.In order to reduce error caused by above-mentioned phenomenon, in one embodiment, referring to Fig. 9, the equipment 700 further include:
One geometric correction module 740, for carrying out geometric correction processing to described image.
The geometric correction processing can be such as using tools such as ENVI, ERDAS.
The second image coordinate determining module 720, for according to corresponding one first chromatography of first colouring information
Coordinate determines one second image coordinate in described image.
In one embodiment, referring to Figure 10, the second image coordinate determining module 720 may include:
One first chromatography coordinate determination unit 721, for determining that first colouring information is corresponding with reference to chromatography according to one
The first chromatography coordinate;
One second image coordinate determination unit 722, for determining the first chromatography coordinate pair according to predetermined map rule
Second image coordinate answered.
Wherein, described to use such as CIE1931xy chromatogram, in the chromatogram, the cross of certain point with reference to chromatography
Coordinate x corresponds to the red component of the point, and the ordinate y of the point corresponds to the green component of the point, the blue component z=1-x- of the point
y.The chromatography coordinate can such as be corresponding color information corresponding abscissa and ordinate in the reference chromatography, can
It is determined with being calculated according to the rgb value of the colouring information, calculation formula can be such as formula (1) and (2).
The first chromatography coordinate namely corresponds to the chromatography coordinate of first colouring information, believes in first color
In the case that breath determines, the first chromatography coordinate can determine according to above-mentioned formula (1) and (2).
Corresponding relationship between the first chromatography coordinate and second image coordinate can be according to the predetermined map
Rule difference and it is different.The predetermined map rule can be some common coordinate transform rules, for example may include: to become
Again, at least one of rotation, reflection.
Second obtains module 730, for obtaining one second colouring information at second image coordinate.
Second colouring information can such as be the rgb value at second image coordinate, second colouring information,
Or the combination of first colouring information and second color can correspond to an encoded information, therefore, according to described second
The combination of colouring information or first colouring information and second color, it is available using scheduled decoding rule
Corresponding decoded information.
Referring to Figure 11, in one embodiment, the equipment 700 further include:
One decoded information determining module 750, for determining a decoded information according at least to second colouring information.
As it was noted above, the decoded information determining module 750 is according to second colouring information or first face
The combination of color information and second color, in conjunction with corresponding decoding rule, available corresponding decoded information.The decoding
Rule can be CSK, for example can be IEEE 802.15.74CSK, can be IEEE 802.15.78CSK.
In one embodiment, the decoded information determining module 760 can be determined according to second colouring information
The decoded information.
In present embodiment, first colouring information is only used as an entrance, triggers for user and executes the method, not
Participate in coding.
In another embodiment, the decoded information determining module 750 can according to first colouring information and
Second colouring information determines the decoded information.
In present embodiment, first color serves not only as an entrance, triggers for user and executes the method, also simultaneously
Coding is participated in, i.e., as a part of encoded information.
Referring to Figure 12, in one embodiment, the equipment 700 further include:
One third image coordinate determining module 760, for being sat according to corresponding one second chromatography of second colouring information
Mark the third image coordinate determined in described image;
One third obtains module 770, for obtaining third color letter at the third image coordinate of described image
Breath
The decoded information determining module 750, for believing according at least to second colouring information and the third color
Breath determines the decoded information.
It will be appreciated by those skilled in the art that in present embodiment, the third image coordinate determining module 760, the third
Obtain the realization of the realization principle and the second image coordinate determining module 720, the second acquisition module 730 of module 770
Principle is identical, for the sake of simplicity, details are not described herein again.Meanwhile it will be appreciated by those skilled in the art that may be used also according to above-mentioned realization principle
More colouring informations, such as the 4th colouring information, the 5th colouring information etc. are successively obtained in described image as needed.
In addition, the decoded information determining module 750 can be according to first colouring information, institute in present embodiment
It states the second colouring information and the third colouring information determines the decoded information;Alternatively, according only to second colouring information
The decoded information is determined with the third colouring information.
To sum up, equipment described in the embodiment of the present application, can be according to the first colouring information or the first image coordinate information, from one
Multiple colouring informations are successively extracted in image, and corresponding decoded information can be obtained according to the colouring information of extraction, thus side
User the colouring informations of multiple corresponding corresponding decoding information is obtained from image.
One application scenarios of information processing method and equipment described in the embodiment of the present application can be such that user in a shop
See a promotional advertisement, it includes some promotional product images in background image which, which includes a background image, and promotion produces
There is the button icon of corresponding color beside product image, and indicates corresponding guidance information, such as by the image of an electric cooker
Side has a pink colour button icon, and indicates " obtaining the preferential code of electric cooker ", has a purple beside the image of a bread
Button icon, and indicate and obtain " obtaining the preferential code of bread ";When user accordingly obtains the preferential code of bread, intelligent hand is used
Machine takes pictures to background image, and the purple button icon (i.e. purple button icon in click photo is clicked on photo
The region at place), then mobile phone obtains purple information according to click location, and then obtains remaining colouring information, then to acquisition
Colouring information is decoded, and obtains the preferential code of bread.
The hardware configuration of information processing equipment described in another embodiment of the application is as shown in figure 13.The application specific implementation
Example does not limit the specific implementation of the information processing equipment, and referring to Figure 13, the equipment 1300 may include:
Processor (processor) 1310,1320, memory communication interface (Communications Interface)
(memory) 1330 and communication bus 1340.Wherein:
Processor 1310, communication interface 1320 and memory 1330 complete mutual lead to by communication bus 1340
Letter.
Communication interface 1320, for being communicated with other network elements.
Processor 1310 can specifically execute the phase in above-mentioned embodiment of the method shown in FIG. 1 for executing program 1332
Close step.
Specifically, program 1332 may include program code, and said program code includes computer operation instruction.
Processor 1310 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 1330, for storing program 1332.Memory 1330 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 1332 specifically may be used
To execute following steps:
Obtain an image and one first colouring information;
Determine that one second image in described image is sat according to the corresponding one first chromatography coordinate of first colouring information
Mark;
One second colouring information is obtained at second image coordinate.
The specific implementation of each step may refer to corresponding steps or module in above-described embodiment in program 1332, 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 (6)
1. a kind of information processing method, which is characterized in that the described method includes:
Obtain an image and one first colouring information, wherein described image has corresponding color at corresponding coordinate position
Information, which is the colouring information after encoding to corresponding information to be encoded, in the first image of described image
There is the first colouring information at coordinate, and there is the second colouring information at the second image coordinate location of described image;
The corresponding first chromatography coordinate of first colouring information 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;
Second colouring information is obtained at second image coordinate.
2. the method as described in claim 1, which is characterized in that the method also includes:
A decoded information is determined according at least to second colouring information.
3. method according to claim 2, which is characterized in that the method also includes:
The third image coordinate in described image is determined according to the corresponding one second chromatography coordinate of second colouring information;
A third colouring information is obtained at the third image coordinate of described image;
It is described to determine that a decoded information includes: according at least to second colouring information
The decoded information is determined according at least to second colouring information and the third colouring information.
4. a kind of information processing equipment, which is characterized in that the equipment includes:
One first obtains module, for obtaining an image and one first colouring information, wherein described image is in corresponding coordinate bit
Setting place has corresponding colouring information, which is the colouring information after encoding to corresponding information to be encoded, In
There is the first colouring information at first image coordinate of described image, and have at the second image coordinate location of described image
Second colouring information;
One second image coordinate determining module, for determining corresponding first color of first colouring information with reference to chromatography according to one
Spectral coordinate;Corresponding second image coordinate of the first chromatography coordinate is determined according to predetermined map rule;
One second obtains module, for obtaining second colouring information at second image coordinate.
5. equipment as claimed in claim 4, which is characterized in that the equipment further include:
One decoded information determining module, for determining a decoded information according at least to second colouring information.
6. a kind of electronic equipment, which is characterized in that the electronic equipment includes at the described in any item information of claim 4 to 5
Manage equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510175830.2A CN106157333B (en) | 2015-04-14 | 2015-04-14 | Information processing method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510175830.2A CN106157333B (en) | 2015-04-14 | 2015-04-14 | Information processing method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106157333A CN106157333A (en) | 2016-11-23 |
CN106157333B true CN106157333B (en) | 2019-11-01 |
Family
ID=57337045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510175830.2A Active CN106157333B (en) | 2015-04-14 | 2015-04-14 | Information processing method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106157333B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102047664A (en) * | 2008-05-30 | 2011-05-04 | 松下电器产业株式会社 | Image transmission device and image reception device |
CN102903097A (en) * | 2012-08-21 | 2013-01-30 | 西华大学 | Method and device for image perspective correction |
CN104023217A (en) * | 2013-03-01 | 2014-09-03 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2015
- 2015-04-14 CN CN201510175830.2A patent/CN106157333B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102047664A (en) * | 2008-05-30 | 2011-05-04 | 松下电器产业株式会社 | Image transmission device and image reception device |
CN102903097A (en) * | 2012-08-21 | 2013-01-30 | 西华大学 | Method and device for image perspective correction |
CN104023217A (en) * | 2013-03-01 | 2014-09-03 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106157333A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110933296B (en) | Apparatus and method for providing content aware photo filter | |
CN104718528B (en) | Determine the method, apparatus and terminal device of the color of interface control | |
US9785649B1 (en) | Hue-based color naming for an image | |
CN106156237B (en) | Information processing method, information processing unit and user equipment | |
CN104866755B (en) | Setting method and device for background picture of application program unlocking interface and electronic equipment | |
US9542703B2 (en) | Virtual custom framing expert system | |
CN111862205A (en) | Visual positioning method, device, equipment and storage medium | |
CN105338483B (en) | The methods, devices and systems of museum tour guide are realized based on enhancing realization technology | |
CN105005599A (en) | Photograph sharing method and mobile terminal | |
CN106162303B (en) | Information processing method, information processing unit and user equipment | |
CN106709974B (en) | Game scene drawing method and device | |
KR20210064989A (en) | Real-time method for rendering 3d modeling | |
CN107016004A (en) | Image processing method and device | |
Bock et al. | Visualization of neural networks in virtual reality using Unreal Engine | |
CN103167088B (en) | Address book ordering method and mobile terminal | |
CN106157333B (en) | Information processing method and equipment | |
CN105264886B (en) | Pixel interpolation device and operation control method | |
CN109445569A (en) | Information processing method, device, equipment and readable storage medium storing program for executing based on AR | |
CN102739858A (en) | Method for setting photo booth of contact | |
CN112288881A (en) | Image display method and device, computer equipment and storage medium | |
CN111640190A (en) | AR effect presentation method and apparatus, electronic device and storage medium | |
CN106157334B (en) | Information processing method and equipment | |
CN104994062B (en) | A kind of information-pushing method and device | |
CN106250009B (en) | Exchange method, interactive device, display equipment and image acquisition equipment | |
CN106294329B (en) | Information processing method and apparatus |
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 |