CN104635998B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104635998B
CN104635998B CN201310573659.1A CN201310573659A CN104635998B CN 104635998 B CN104635998 B CN 104635998B CN 201310573659 A CN201310573659 A CN 201310573659A CN 104635998 B CN104635998 B CN 104635998B
Authority
CN
China
Prior art keywords
primary colours
image
ratio value
value
pixel
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
Application number
CN201310573659.1A
Other languages
Chinese (zh)
Other versions
CN104635998A (en
Inventor
孙炳川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310573659.1A priority Critical patent/CN104635998B/en
Publication of CN104635998A publication Critical patent/CN104635998A/en
Application granted granted Critical
Publication of CN104635998B publication Critical patent/CN104635998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Color Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention discloses a kind of information processing method, including:Obtain the first image formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and the 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed;The first pixel for obtaining first position in described first image contains the first ratio value of the first primary colours, first pixel that first pixel contains on the second ratio value of the second primary colours, and the 3rd image on second image contains the 3rd ratio value of the 3rd color;Based on first ratio value, second ratio value, and the 3rd ratio value, the first color of first pixel is determined.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
With the continuous development of electronic technology, the display unit of electronic equipment can identify close or touch the display unit Object, and the image of the object is shown.Exemplified by display unit by electronic equipment is optical touch screen, electronics is set The light that light source in standby is sent is radiated in stylus, and then generates the shadow of the stylus, then by optical touch screen One or more photosensitive elements senses to the shadow, using the principle of light catoptric imaging, the optical touch screen can identify simultaneously Show the image of stylus.
When the light source in electronic equipment sends infrared light, and the color of stylus is orange alternate with purple, due to infrared Light is different to the reflectivity of different colours, has different reflectivity to orange and purple, so what optical touch-control pen was shown The image of stylus is the black white image for having different gray scales.
But present inventor has found above-mentioned technology extremely during inventive technique scheme in realizing the embodiment of the present application Following technical problem less be present:
Because infrared light is different to the reflectivity of different colours, so when stylus has multiple color, the optics touches The image for controlling the stylus shown in screen display is the black white image for having different gray scales, and can not show the coloured image of stylus.
Such as:When the light source in electronic equipment sends infrared light, and the color of stylus is orange alternate with purple, due to Infrared light is different to the reflectivity of different colours, has different reflectivity to orange and purple, so optical touch screen is shown The image of the stylus gone out is the black white image for having different gray scales, and can not show the coloured image of stylus.
In summary, prior art is present when the light source in optical touch screen sends infrared light, it is impossible to shows stylus Coloured image technical problem.
The content of the invention
The embodiment of the present application solves by providing a kind of information processing method and electronic equipment and works as optics in the prior art When light source in touch screen sends infrared light, it is impossible to show the technical problem of the coloured image of stylus, realize when optics touches When light source in control screen sends infrared light, the technique effect of the technical problem of the coloured image of stylus is shown.
On the one hand, the embodiment of the present application provides a kind of information processing method, including:
The first image formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length is obtained, by The second image that object described in second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and by the 3rd wavelength The 3rd image that object described in 3rd Infrared irradiation of corresponding three primary colours is formed, wherein, the first wave length, described the Two wavelength, the 3rd wavelength are mutually different wavelength, first primary colours, second primary colours, and the three primary colours are Mutually different primary colours;
The first pixel for obtaining first position in described first image contains the first ratio value of the first primary colours, and described the First pixel contains first pixel on the second ratio value of the second primary colours, and the 3rd image on two images O'clock the 3rd ratio value containing the 3rd color;
Based on first ratio value, second ratio value, and the 3rd ratio value, determine first pixel The first color.
Optionally, it is described to obtain what is formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length First image, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and The 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, is specifically included:
Judge whether the distance between the object and a display unit meets a preparatory condition;
When the distance between the object and the display unit meets the preparatory condition, pair by first wave length is obtained The first image for answering the object of the first Infrared irradiation one of the first primary colours to be formed, by the of the primary colours of correspondence second of second wave length The second image that object described in two Infrared irradiations is formed, and shone by the 3rd infrared light of the correspondence three primary colours of the 3rd wavelength Penetrate the 3rd image that the object is formed.
Optionally, first infrared light is more than the first preset value to the first reflectivity of first primary colours, and described Two infrared lights are more than the second preset value to the second reflectivity of second primary colours, and the 3rd infrared light is to the three primary colours The 3rd reflectivity be more than the 3rd preset value, wherein, first preset value, second preset value, the 3rd preset value For identical or different preset value.
Optionally, first pixel for obtaining first position in described first image contains the first ratio of the first primary colours Example is worth, and first pixel contains the second ratio value of the second primary colours on second image, and on the 3rd image First pixel contains the 3rd ratio value of the 3rd color, specifically includes:
Obtain prestore corresponding to the first primary colours pair between N number of gray value of first primary colours and N number of ratio value It should be related to, the second primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to second primary colours, corresponding to institute The three primary colours corresponding relation between N number of gray value of three primary colours and N number of ratio value is stated, N is positive integer;
The first gray value of first pixel in described first image is obtained, based on the corresponding pass of first primary colours System, obtain first ratio value that first pixel contains first primary colours;
The second gray value of first pixel on second image is obtained, based on the corresponding pass of second primary colours System, obtain second ratio value that first pixel contains second primary colours;
The 3rd gray value of first pixel on the 3rd image is obtained, based on the corresponding pass of the three primary colours System, obtain the 3rd ratio value that first pixel contains the three primary colours.
Optionally, it is described obtain prestore corresponding between N number of gray value of first primary colours and N number of ratio value The first primary colours corresponding relation, corresponding to second primary colours N number of gray value it is corresponding with the second primary colours between N number of ratio value close It is, before the three primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to the three primary colours, methods described Also include:
I is taken successively from 1 to N, the first base established between the i-th gray value and the i-th ratio value corresponding to first primary colours The corresponding relation of color i-th, when i is N, obtains and store the first primary colours corresponding relation, wherein i is just whole less than or equal to N Number;
I is taken successively from 1 to N, the second base established between the i-th gray value and the i-th ratio value corresponding to second primary colours The corresponding relation of color i-th, when i is N, obtains and store the second primary colours corresponding relation, wherein i is just whole less than or equal to N Number;
I is taken successively from 1 to N, the 3rd base established between the i-th gray value and the i-th ratio value corresponding to the three primary colours The corresponding relation of color i-th, when i is N, obtains and store the three primary colours corresponding relation, wherein i is just whole less than or equal to N Number.
Optionally, first primary colours, second primary colours, and the three primary colours are respectively specifically:Red, green, Blueness.
Optionally, first ratio value, second ratio value, and the 3rd ratio value are based on described, it is determined that After first color of first pixel, methods described also includes:
Fourth image different from described first image, the second image, the 3rd image is obtained, wherein, the 4th figure As the color of upper first pixel is first color.
On the other hand, the embodiment of the present application provides a kind of electronic equipment, including:
Infrared light supply, for providing first infrared light, the second infrared light and the 3rd infrared light;
Imaging device, formed for obtaining by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length The first image, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, And the 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, wherein, it is described First wave length, the second wave length, the 3rd wavelength are mutually different wavelength, first primary colours, second primary colours, The three primary colours are mutually different primary colours;
Processor, the first pixel for obtaining first position in described first image contain the first ratio of the first primary colours Example is worth, and first pixel contains the second ratio value of the second primary colours on second image, and on the 3rd image First pixel contains the 3rd ratio value of the 3rd color;And
Based on first ratio value, second ratio value, and the 3rd ratio value, determine first pixel The first color.
Optionally, the processor is specifically used for:Judge whether the distance between the object and a display unit meets one Preparatory condition;And
When the distance between the object and the display unit meets the preparatory condition, pair by first wave length is obtained The first image for answering the object of the first Infrared irradiation one of the first primary colours to be formed, by the of the primary colours of correspondence second of second wave length The second image that object described in two Infrared irradiations is formed, and shone by the 3rd infrared light of the correspondence three primary colours of the 3rd wavelength Penetrate the 3rd image that the object is formed.
Optionally, first infrared light is more than the first preset value to the first reflectivity of first primary colours, and described Two infrared lights are more than the second preset value to the second reflectivity of second primary colours, and the 3rd infrared light is to the three primary colours The 3rd reflectivity be more than the 3rd preset value, wherein, first preset value, second preset value, the 3rd preset value For identical or different preset value.
Optionally, the processor also particularly useful for:Obtain the N number of gray scale corresponding to first primary colours prestored Be worth the first primary colours corresponding relation between N number of ratio value, between the N number of gray value and N number of ratio value corresponding to second primary colours The second primary colours corresponding relation, corresponding to the three primary colours N number of gray value it is corresponding with the three primary colours between N number of ratio value close System, N is positive integer;And
The first gray value of first pixel in described first image is obtained, based on the corresponding pass of first primary colours System, obtain first ratio value that first pixel contains first primary colours;And
The second gray value of first pixel on second image is obtained, based on the corresponding pass of second primary colours System, obtain second ratio value that first pixel contains second primary colours;And
The 3rd gray value of first pixel on the 3rd image is obtained, based on the corresponding pass of the three primary colours System, obtain the 3rd ratio value that first pixel contains the three primary colours.
Optionally, the processor is additionally operable to:I is taken successively from 1 to N, establishes the i-th gray scale corresponding to first primary colours First the i-th corresponding relation of primary colours between value and the i-th ratio value, when i is N, obtains and stores the first primary colours corresponding relation, Wherein i is the positive integer less than or equal to N;And
I is taken successively from 1 to N, the second base established between the i-th gray value and the i-th ratio value corresponding to second primary colours The corresponding relation of color i-th, when i is N, obtains and store the second primary colours corresponding relation, wherein i is just whole less than or equal to N Number;And
I is taken successively from 1 to N, the 3rd base established between the i-th gray value and the i-th ratio value corresponding to the three primary colours The corresponding relation of color i-th, when i is N, obtains and store the three primary colours corresponding relation, wherein i is just whole less than or equal to N Number.
Optionally, first primary colours, second primary colours, and the three primary colours are respectively specifically:Red, green, Blueness.
Optionally, the processor is additionally operable to:Obtain different from described first image, the second image, the 3rd image 4th image, the color of first pixel on the 4th image is first color.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
First, as a result of the object institute of the first Infrared irradiation one obtained first by the primary colours of correspondence first of first wave length The first image formed, the second figure that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed Picture, and the 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, are then obtained The first pixel for obtaining first position on first image contains the first ratio value of the first primary colours, on second image this first First pixel that pixel contains on the second ratio value of the second primary colours, and the 3rd image contains the 3rd ratio of the 3rd color Example value, is finally based on first ratio value, second ratio value, and the 3rd ratio value, determines the first of first pixel Color.
Such as:First primary colours are red, and for the second primary colours to be green, three primary colours are blueness, first, obtain corresponding red The first image that first Infrared irradiation stylus is formed, the second Infrared irradiation stylus of corresponding green formed the Two images, and the 3rd image that corresponding the 3rd blue Infrared irradiation stylus is formed.
Then, the first pixel for obtaining first position on first image contains the first ratio value of red, such as 58%, on second image first pixel containing on viridescent second ratio value, such as 40%, and the 3rd image this One pixel contains the 3rd ratio value of the 3rd color, such as 2%.
Finally, based on first ratio value 58%, second ratio value 40%, and the 3rd ratio value 2%, three primary colours are utilized Principle, 58% red, 40% green, and 2% blueness are mixed, the first color for determining first pixel is orange Color.
It can be seen that the technical scheme in the embodiment of the present application can effectively solve the problem that in the prior art when the light in optical touch screen When source sends infrared light, it is impossible to show the technical problem of the coloured image of stylus, realize when the light source in optical touch screen When sending infrared light, the technique effect of the technical problem of the coloured image of stylus is shown.
2nd, the reflectivity due to corresponding first primary colours of the first infrared light and to the first primary colours is more than the first preset value, the Corresponding second primary colours of two infrared lights and the second reflectivity to the second primary colours are more than the second preset value, the 3rd infrared light correspondence the Three primary colours and the 3rd reflectivity to three primary colours is more than the 3rd preset value, so improving the corresponding three kinds of bases of three kinds of infrared lights The precision of color, and then improve the validity for the first color for determining the first pixel.
When the 3rd, meeting a preparatory condition as a result of the distance between object and the display unit, first is just obtained Image, the second image, and the 3rd image, thus the image that the display unit that efficiently avoid electronic equipment is obtained without need for and Cause power consumption to increase, reduce the power consumption of electronic equipment.
Brief description of the drawings
Fig. 1 is the flow chart for the information processing method that the embodiment of the present application provides;
Fig. 2 be the embodiment of the present application information processing method in step S10 particular flow sheet;
Fig. 3 be the embodiment of the present application information processing method in step S20 particular flow sheet;
Fig. 4 be the embodiment of the present application information processing method in step S201 particular flow sheet;
Fig. 5 is the module map of electronic equipment in the embodiment of the present application.
Embodiment
The embodiment of the present application solves by providing a kind of information processing method and electronic equipment and works as optics in the prior art When light source in touch screen sends infrared light, it is impossible to show the technical problem of the coloured image of stylus, realize when optics touches When light source in control screen sends infrared light, the technique effect of the technical problem of the coloured image of stylus is shown.
Technical scheme in the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
First, the first figure formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length is obtained Picture, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and by the 3rd The 3rd image that object described in 3rd Infrared irradiation of the correspondence three primary colours of wavelength is formed.
Then, the first pixel for obtaining first position on first image contains the first ratio value of the first primary colours, should First pixel contains the second ratio value of the second primary colours on second image, and first pixel on the 3rd image contains There is the 3rd ratio value of the 3rd color.
First ratio value is finally based on, second ratio value, and the 3rd ratio value, determine the of first pixel One color.
Such as:First primary colours are red, and for the second primary colours to be green, three primary colours are blueness, first, obtain corresponding red The first image that first Infrared irradiation stylus is formed, the second Infrared irradiation stylus of corresponding green formed the Two images, and the 3rd image that corresponding the 3rd blue Infrared irradiation stylus is formed.
Then, the first pixel for obtaining first position on first image contains the first ratio value of red, such as 58%, on second image first pixel containing on viridescent second ratio value, such as 40%, and the 3rd image this One pixel contains the 3rd ratio value of the 3rd color, such as 20%.
Finally, based on first ratio value 58%, second ratio value 40%, and the 3rd ratio value 2%, three primary colours are utilized Principle, 58% red, 40% green, and 2% blueness are mixed, the first color for determining first pixel is orange Color.
So the technical scheme in the embodiment of the present application can effectively solve the problem that in the prior art when the light in optical touch screen When source sends infrared light, it is impossible to show the technical problem of the coloured image of stylus, realize when the light source in optical touch screen When sending infrared light, the technique effect of the technical problem of the coloured image of stylus is shown.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper Technical scheme is stated to be described in detail.
Fig. 1 is refer to, the embodiment of the present application provides a kind of information processing method, including:
S10:Obtain the first figure formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length Picture, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and by the 3rd The 3rd image that object described in 3rd Infrared irradiation of the correspondence three primary colours of wavelength is formed, wherein, the first wave length, The second wave length, the 3rd wavelength are mutually different wavelength, first primary colours, second primary colours, the described 3rd Primary colours are mutually different primary colours.
S20:The first pixel for obtaining first position in described first image contains the first ratio value of the first primary colours, institute State described first on the second ratio value that first pixel contains the second primary colours on the second image, and the 3rd image Pixel contains the 3rd ratio value of the 3rd color.
S30:Based on first ratio value, second ratio value, and the 3rd ratio value, determine first picture First color of vegetarian refreshments.
During specific implementation, the object can be stylus or picture, can also be finger, as long as It can shut out the light and to form the object of shadow and be included in the application scope of protection.Here, using the object to be orange Stylus citing.
When orange stylus will perform touch control operation, orange stylus can be close to optical touch screen, so as to block The infrared light that light source in photoelectronic device is sent, and then form shadow.In order to judge whether orange stylus determines to want Touch control operation is performed, as shown in Fig. 2 the method that the embodiment of the present application provides will perform step S101:Judge the object and one Whether the distance between display unit meets a preparatory condition.
During specific implementation, the display unit can be infrared-type optical touch screen, can be CMOS/CCD Formula optical touch screen, projection optical touch screen is can also be, here, being the citing of infrared type optical touch screen with display unit.
Distance of the preparatory condition between orange stylus and infrared type optical touch screen is less than a preset value, described Preset value can be that the touch screen is pre-set or the user of operation touch screen is manually set, such as: Distance between orange stylus and infrared type optical touch screen is less than 5 centimetres, 1 centimetre or 0 centimetre, here, being touched with orange Control the distance between pen and infrared type optical touch screen and be less than 1 centimetre of citing.
Therefore, judge whether the distance between orange stylus and infrared type optical touch screen is less than 1 centimetre.Such as Fig. 2 institutes Show, after execution of step S101 judgment step, the information processing method that the embodiment of the present application provides just enters step S102:When the distance between the object and the display unit meets the preparatory condition, the correspondence by first wave length is obtained The first image that the object of the first Infrared irradiation one of first primary colours is formed, by the second of the primary colours of correspondence second of second wave length The second image that object described in Infrared irradiation is formed, and the 3rd Infrared irradiation of the correspondence three primary colours by the 3rd wavelength The 3rd image that the object is formed.
Continue with using the object as orange stylus, the display unit is infrared type touching display screen, described Preparatory condition is that the distance between the object and the display unit is less than exemplified by 1 centimetre, and step S102 implementation process is done It is described in detail.
When the distance between orange stylus and infrared type touching display screen is less than 1 centimetre, obtain by first wave length The first image that the object of the first Infrared irradiation one of corresponding first primary colours is formed, by the primary colours of correspondence second of second wave length The second image that object described in second Infrared irradiation is formed, and the 3rd infrared light of the correspondence three primary colours by the 3rd wavelength Irradiate the 3rd image that the object is formed.Wherein, wherein, the first wave length, the second wave length, the 3rd wavelength It is mutually different primary colours for mutually different wavelength, first primary colours, second primary colours, the three primary colours.
During specific implementation, first primary colours, second primary colours, and the three primary colours are respectively specifically: Red, green, blueness.First infrared light is more than the first preset value to the first reflectivity of first primary colours, and described Two infrared lights are more than the second preset value to the second reflectivity of second primary colours, and the 3rd infrared light is to the three primary colours The 3rd reflectivity be more than the 3rd preset value, wherein, first preset value, second preset value, the 3rd preset value For identical or different preset value.
That is, because the first infrared light of first wave length is more than the first preset value to the reflectivity of red, such as 70%, so the first infrared light is corresponding red.Similarly, because the second infrared light of second wave length is more than the to the reflectivity of red Two preset values, such as 80%, so the corresponding green of the second infrared light;Because reflection of the 3rd infrared light of the 3rd wavelength to red Rate is more than the 3rd preset value, such as 70%, so the corresponding blueness of the 3rd infrared light.Because the first infrared light, the second infrared light and Three infrared lights are three kinds of different infrared lights, so three has different wavelength.And the first preset value, the second preset value and 3rd preset value can be use that is that infrared type touching display screen is pre-set or operating the infrared type touching display screen What family was manually set, three can be with identical, can also be different.
Because the first infrared light, the second infrared light and the 3rd infrared light have all been radiated in orange stylus, and it is orange Stylus reflect three kinds of infrared lights be formed the first image, the second image and the 3rd image.Three kinds of infrared light differences, so Three images are also different.
After the first image, the second image and the 3rd image is obtained, the information processing method that the application provides just enters Enter step S20:The first pixel for obtaining first position in described first image contains the first ratio value of the first primary colours, described First pixel contains first picture on the second ratio value of the second primary colours, and the 3rd image on second image Vegetarian refreshments contains the 3rd ratio value of the 3rd color.
As shown in figure 3, during specific implementation, step S20 specifically includes step S201-S204, i.e.,:
S201:Obtain prestore corresponding to the first base between N number of gray value of first primary colours and N number of ratio value Color corresponding relation, the second primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to second primary colours are corresponding Three primary colours corresponding relation between the N number of gray value and N number of ratio value of the three primary colours, N are positive integer.
S202:The first gray value of first pixel in described first image is obtained, based on first primary colours pair It should be related to, obtain first ratio value that first pixel contains first primary colours.
S203:The second gray value of first pixel on second image is obtained, based on second primary colours pair It should be related to, obtain second ratio value that first pixel contains second primary colours.
S204:The 3rd gray value of first pixel on the 3rd image is obtained, based on the three primary colours pair It should be related to, obtain the 3rd ratio value that first pixel contains the three primary colours.
As shown in figure 4, during specific implementation, step S201 specifically includes step S2011-S2013 again, i.e.,:
S2011:I is taken successively from 1 to N, is established between the i-th gray value and the i-th ratio value corresponding to first primary colours First the i-th corresponding relation of primary colours, when i is N, obtains and store the first primary colours corresponding relation, wherein i is less than or equal to N Positive integer.
S2012:I is taken successively from 1 to N, is established between the i-th gray value and the i-th ratio value corresponding to second primary colours Second the i-th corresponding relation of primary colours, when i is N, obtains and store the second primary colours corresponding relation, wherein i is less than or equal to N Positive integer.
S2013:I is taken successively from 1 to N, is established between the i-th gray value and the i-th ratio value corresponding to the three primary colours The corresponding relation of three primary colours i-th, when i is N, obtains and store the three primary colours corresponding relation, wherein i is less than or equal to N Positive integer.
Continue with using the object as orange stylus, the display unit be infrared type touching display screen exemplified by, Step S20 implementation process is described in detail.
First, step S201 implementation process is done detailed further below:
Perform step S2011:I is taken successively from 1 to N, is established corresponding between red the i-th gray value and the i-th ratio value Red i-th corresponding relation, when i is N, obtains and stores the red corresponding relation, and wherein i is the positive integer less than or equal to N.
For example N is 3, then taking i successively, it is 1 to take i first, is established corresponding to the 1st red gray value and the 1st ratio from 1 to 3 The corresponding relation of red the 1st between example value, obtains and stores the relation;Then it is 2 to take i, is established corresponding to the 2nd red gray value The corresponding relation of red the 2nd between the 2nd ratio value, obtain and store the relation;It is 3 finally to take i, is established corresponding to red the The corresponding relation of red the 3rd between 3 gray values and the 3rd ratio value, obtain and store the relation.So, the N number of of red is just obtained Red corresponding relation between gray value and N number of ratio value.
Similarly, step S2012 and step S2013 is performed successively, can obtain N number of gray value of green and N number of ratio value Between green corresponding relation and blueness N number of gray value and N number of ratio value between blue corresponding relation.
Obtaining the red corresponding relation between N number of gray value of red and N number of ratio value, green N number of gray value and N After blue corresponding relation between green corresponding relation between individual ratio value, and N number of gray value of blueness and N number of ratio value, such as Shown in Fig. 3, the information processing method that the embodiment of the present application provides just enters step S202-S204, i.e.,:
The first gray value of first pixel in described first image is obtained, based on the corresponding pass of first primary colours System, obtain first ratio value that first pixel contains first primary colours;Obtain described on second image Second gray value of the first pixel, based on the second primary colours corresponding relation, obtain first pixel and contain described the Second ratio value of two primary colours;The 3rd gray value of first pixel on the 3rd image is obtained, based on described Three primary colours corresponding relation, obtain the 3rd ratio value that first pixel contains the three primary colours.
Due to the first image be the first Infrared irradiation it is orange stylus formation, and the first infrared light correspond to it is red Color, so what the gray value of pixel on the first image represented is ratio value that the pixel contains red.Similarly, the second figure Seem that the orange stylus of the second Infrared irradiation is formed, and the corresponding green of the second infrared light, so on the second image What the gray value of pixel represented is that the pixel contains viridescent ratio value;3rd image is that the 3rd Infrared irradiation is orange What stylus was formed, and the 3rd infrared light is corresponding blue, so the gray value expression of the pixel on the 3rd image is this Pixel contains the ratio value of blueness.
According to the red corresponding relation between the step S201 red N number of gray values obtained and N number of ratio value, and the first figure As the gray value of upper each pixel, it can be deduced that each pixel contains the ratio value of red on the first image.Such as:First The gray value of the first pixel is 250 on image, when the red gray value that step S201 is obtained is 250, corresponding ratio value It is 58%, then the ratio value that the first pixel contains red is 58%.With same method, each picture on the first image can be obtained Vegetarian refreshments contains the ratio value of red.
Similarly, according to the green corresponding relation between the step S201 green N number of gray values obtained and N number of ratio value, and The gray value of each pixel on second image, it can be deduced that each pixel contains viridescent ratio value on the second image.Than Such as:The gray value of the first pixel is 170 on second image, corresponding when the green gray value that step S201 is obtained is 170 Ratio value is 40%, then the first pixel is 40% containing viridescent ratio value.With same method, can obtain on the second image Each pixel contains viridescent ratio value.
According to the blue corresponding relation between the step S201 blue N number of gray values obtained and N number of ratio value, and the 3rd figure As the gray value of upper each pixel, it can be deduced that each pixel contains the ratio value of blueness on the 3rd image.Such as:3rd The gray value of the first pixel is 10 on image, and when the blue gray value that step S201 is obtained is 10, corresponding ratio value is 2%, then the ratio value that the first pixel contains blueness is 2%.With same method, each pixel on the 3rd image can be obtained Ratio value containing blueness.
By performing step S20, the first ratio value that the first pixel on the first image contains red, the second figure are obtained As upper first pixel contains viridescent second ratio value, and the first pixel contains the 3rd ratio of blueness on the 3rd image Value.Based on the first ratio value, the second ratio value and the 3rd ratio value, the method that the embodiment of the present application provides just enters step S30: Based on first ratio value, second ratio value, and the 3rd ratio value, the first face of first pixel is determined Color.
Such as:By performing step S20, obtaining the first ratio value that the first pixel on the first image contains red is 58%, the first pixel is that the first pixel contains on the 40%, and the 3rd image containing viridescent second ratio value on the second image 3rd ratio value of blueness is 2%, then according to the principle of three primary colours:Most color can by the color of red, green, blue three according to Different ratios is synthetically produced, so the color of the first pixel is exactly:Mixed by 58% red, 40% green and 2% blueness Close formed color, i.e., it is orange.
After the color of the first pixel is obtained by step S30, the method that the embodiment of the present application provides just enters Final step:Fourth image different from described first image, the second image, the 3rd image is obtained, wherein, the 4th figure As the color of upper first pixel is first color.
That is, obtaining the color of the first pixel by step S30, with same method, step can be passed through S30 obtains the color of the second pixel, the color of each pixel in the color of the 3rd pixel, and the 4th image, and then The 4th image is obtained, and the 4th image is colored.
Finally, the 4th image, i.e., the image of orange stylus are shown on the infrared type optical touch display screen.
Certainly, only it is to illustrate how to obtain the 4th colored image by taking three kinds of primary colours of red, green, blue as an example herein, it is actual to answer In, object described in more corresponding to other color Infrared irradiations can also be used to form more images, and based on more Image on gray value and the ratio value containing the color corresponding relation, determine the ratio containing the color on the image Value, so as to determine the color of each pixel on the 4th image according to multiple ratio values, and then obtain the 4th colored image.
Based on same inventive concept, electronic equipment is additionally provided in the embodiment of the present invention, because the electronic equipment solves to ask The principle of topic is similar to information processing method, therefore the implementation of the electronic equipment may refer to the implementation of method, repeats part not Repeat again.
As shown in figure 5, electronic equipment includes:
Infrared light supply 10, for providing first infrared light, the second infrared light and the 3rd infrared light.Described first is infrared Light is more than the first preset value to the first reflectivity of first primary colours, second infrared light to second primary colours second Reflectivity is more than the second preset value, and the 3rd infrared light is more than the 3rd preset value to the 3rd reflectivity of the three primary colours, Wherein, first preset value, second preset value, the 3rd preset value are identical or different preset value.
Imaging device 20, for obtaining by the object institute shape of the first Infrared irradiation one of the primary colours of correspondence first of first wave length Into the first image, the second figure that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed Picture, and the 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, wherein, institute State first wave length, the second wave length, the 3rd wavelength is mutually different wavelength, first primary colours, second base Color, the three primary colours are mutually different primary colours.
Processor 30, the first pixel for obtaining first position in described first image contain the first of the first primary colours Ratio value, first pixel contains the second ratio value of the second primary colours on second image, and on the 3rd image First pixel contain the 3rd ratio value of the 3rd color;And
Based on first ratio value, second ratio value, and the 3rd ratio value, determine first pixel The first color.
First primary colours, second primary colours, and the three primary colours are respectively specifically:Red, green, blueness.
Processor 30 is specifically used for:Judge whether the distance between the object and a display unit meets a preparatory condition; And
When the distance between the object and the display unit meets the preparatory condition, pair by first wave length is obtained The first image for answering the object of the first Infrared irradiation one of the first primary colours to be formed, by the of the primary colours of correspondence second of second wave length The second image that object described in two Infrared irradiations is formed, and shone by the 3rd infrared light of the correspondence three primary colours of the 3rd wavelength Penetrate the 3rd image that the object is formed.
Processor 30 also particularly useful for:Obtain the N number of gray value corresponding to first primary colours prestored and N number of ratio The first primary colours corresponding relation between example value, the second primary colours between N number of gray value and N number of ratio value corresponding to second primary colours Corresponding relation, the three primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to the three primary colours, N are just whole Number;And
The first gray value of first pixel in described first image is obtained, based on the corresponding pass of first primary colours System, obtain first ratio value that first pixel contains first primary colours;And
The second gray value of first pixel on second image is obtained, based on the corresponding pass of second primary colours System, obtain second ratio value that first pixel contains second primary colours;And
The 3rd gray value of first pixel on the 3rd image is obtained, based on the corresponding pass of the three primary colours System, obtain the 3rd ratio value that first pixel contains the three primary colours.
Processor 30 is additionally operable to:I is taken successively from 1 to N, is established corresponding to the i-th gray value of first primary colours and the i-th ratio First the i-th corresponding relation of primary colours between example value, when i is N, obtains and stores the first primary colours corresponding relation, and wherein i is small In the positive integer equal to N;And
I is taken successively from 1 to N, the second base established between the i-th gray value and the i-th ratio value corresponding to second primary colours The corresponding relation of color i-th, when i is N, obtains and store the second primary colours corresponding relation, wherein i is just whole less than or equal to N Number;And
I is taken successively from 1 to N, the 3rd base established between the i-th gray value and the i-th ratio value corresponding to the three primary colours The corresponding relation of color i-th, when i is N, obtains and store the three primary colours corresponding relation, wherein i is just whole less than or equal to N Number.
Processor 30 is additionally operable to:Fourth image different from described first image, the second image, the 3rd image is obtained, The color of first pixel on 4th image is first color.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
First, as a result of the object institute of the first Infrared irradiation one obtained first by the primary colours of correspondence first of first wave length The first image formed, the second figure that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed Picture, and the 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, are then obtained The first pixel for obtaining first position on first image contains the first ratio value of the first primary colours, on second image this first First pixel that pixel contains on the second ratio value of the second primary colours, and the 3rd image contains the 3rd ratio of the 3rd color Example value, is finally based on first ratio value, second ratio value, and the 3rd ratio value, determines the first of first pixel Color.
Such as:First primary colours are red, and for the second primary colours to be green, three primary colours are blueness, first, obtain corresponding red The first image that first Infrared irradiation stylus is formed, the second Infrared irradiation stylus of corresponding green formed the Two images, and the 3rd image that corresponding the 3rd blue Infrared irradiation stylus is formed.
Then, the first pixel for obtaining first position on first image contains the first ratio value of red, such as 58%, on second image first pixel containing on viridescent second ratio value, such as 40%, and the 3rd image this One pixel contains the 3rd ratio value of the 3rd color, such as 2%.
Finally, based on first ratio value 58%, second ratio value 40%, and the 3rd ratio value 2%, three primary colours are utilized Principle, 58% red, 40% green, and 2% blueness are mixed, the first color for determining first pixel is orange Color.
It can be seen that the technical scheme in the embodiment of the present application can effectively solve the problem that in the prior art when the light in optical touch screen When source sends infrared light, it is impossible to show the technical problem of the coloured image of stylus, realize when the light source in optical touch screen When sending infrared light, the technique effect of the technical problem of the coloured image of stylus is shown.
2nd, the reflectivity due to corresponding first primary colours of the first infrared light and to the first primary colours is more than the first preset value, the Corresponding second primary colours of two infrared lights and the second reflectivity to the second primary colours are more than the second preset value, the 3rd infrared light correspondence the Three primary colours and the 3rd reflectivity to three primary colours is more than the 3rd preset value, so improving the corresponding three kinds of bases of three kinds of infrared lights The precision of color, and then improve the validity for the first color for determining the first pixel.
When the 3rd, meeting a preparatory condition as a result of the distance between object and the display unit, first is just obtained Image, the second image, and the 3rd image, thus the image that the display unit that efficiently avoid electronic equipment is obtained without need for and Cause power consumption to increase, reduce the power consumption of electronic equipment.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Specifically, computer program instructions corresponding to a kind of information processing method in the embodiment of the present application can be deposited Storage is in the storage mediums such as CD, hard disk, USB flash disk, when computer journey corresponding with a kind of information processing method in storage medium When sequence instruction is read or is performed by an electronic equipment, comprise the following steps:
The first image formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length is obtained, by The second image that object described in second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and by the 3rd wavelength The 3rd image that object described in 3rd Infrared irradiation of corresponding three primary colours is formed, wherein, the first wave length, described the Two wavelength, the 3rd wavelength are mutually different wavelength, first primary colours, second primary colours, and the three primary colours are Mutually different primary colours;
The first pixel for obtaining first position in described first image contains the first ratio value of the first primary colours, and described the First pixel contains first pixel on the second ratio value of the second primary colours, and the 3rd image on two images O'clock the 3rd ratio value containing the 3rd color;
Based on first ratio value, second ratio value, and the 3rd ratio value, determine first pixel The first color.
Optionally, it is described to obtain what is formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length First image, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and The 3rd image that the object as described in the 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, is specifically included:
Judge whether the distance between the object and a display unit meets a preparatory condition;
When the distance between the object and the display unit meets the preparatory condition, pair by first wave length is obtained The first image for answering the object of the first Infrared irradiation one of the first primary colours to be formed, by the of the primary colours of correspondence second of second wave length The second image that object described in two Infrared irradiations is formed, and shone by the 3rd infrared light of the correspondence three primary colours of the 3rd wavelength Penetrate the 3rd image that the object is formed.
Optionally, first infrared light is more than the first preset value to the first reflectivity of first primary colours, and described Two infrared lights are more than the second preset value to the second reflectivity of second primary colours, and the 3rd infrared light is to the three primary colours The 3rd reflectivity be more than the 3rd preset value, wherein, first preset value, second preset value, the 3rd preset value For identical or different preset value.
Optionally, first pixel for obtaining first position in described first image contains the first ratio of the first primary colours Example is worth, and first pixel contains the second ratio value of the second primary colours on second image, and on the 3rd image First pixel contains the 3rd ratio value of the 3rd color, specifically includes:
Obtain prestore corresponding to the first primary colours pair between N number of gray value of first primary colours and N number of ratio value It should be related to, the second primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to second primary colours, corresponding to institute The three primary colours corresponding relation between N number of gray value of three primary colours and N number of ratio value is stated, N is positive integer;
The first gray value of first pixel in described first image is obtained, based on the corresponding pass of first primary colours System, obtain first ratio value that first pixel contains first primary colours;
The second gray value of first pixel on second image is obtained, based on the corresponding pass of second primary colours System, obtain second ratio value that first pixel contains second primary colours;
The 3rd gray value of first pixel on the 3rd image is obtained, based on the corresponding pass of the three primary colours System, obtain the 3rd ratio value that first pixel contains the three primary colours.
Optionally, it is described obtain prestore corresponding between N number of gray value of first primary colours and N number of ratio value The first primary colours corresponding relation, corresponding to second primary colours N number of gray value it is corresponding with the second primary colours between N number of ratio value close It is, before the three primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to the three primary colours, methods described Also include:
I is taken successively from 1 to N, the first base established between the i-th gray value and the i-th ratio value corresponding to first primary colours The corresponding relation of color i-th, when i is N, obtains and store the first primary colours corresponding relation, wherein i is just whole less than or equal to N Number;
I is taken successively from 1 to N, the second base established between the i-th gray value and the i-th ratio value corresponding to second primary colours The corresponding relation of color i-th, when i is N, obtains and store the second primary colours corresponding relation, wherein i is just whole less than or equal to N Number;
I is taken successively from 1 to N, the 3rd base established between the i-th gray value and the i-th ratio value corresponding to the three primary colours The corresponding relation of color i-th, when i is N, obtains and store the three primary colours corresponding relation, wherein i is just whole less than or equal to N Number.
Optionally, first primary colours, second primary colours, and the three primary colours are respectively specifically:Red, green, Blueness.
Optionally, first ratio value, second ratio value, and the 3rd ratio value are based on described, it is determined that After first color of first pixel, methods described also includes:
Fourth image different from described first image, the second image, the 3rd image is obtained, wherein, the 4th figure As the color of upper first pixel is first color.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (12)

1. a kind of information processing method, including:
The first image formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length is obtained, by second The second image that object described in second Infrared irradiation of the primary colours of correspondence second of wavelength is formed, and the correspondence by the 3rd wavelength The 3rd image that object described in 3rd Infrared irradiation of three primary colours is formed, wherein, the first wave length, second ripple Long, the 3rd wavelength is mutually different wavelength, and first primary colours, second primary colours, the three primary colours are mutual Different primary colours;
The first pixel for obtaining first position in described first image contains the first ratio value of the first primary colours, second figure As upper first pixel contains the second ratio value of the second primary colours, and first pixel on the 3rd image contains There is the 3rd ratio value of the 3rd color;
Based on first ratio value, second ratio value, and the 3rd ratio value, determine the of first pixel One color;
Wherein, it is described to obtain the first figure formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length Picture, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and by the 3rd The 3rd image that object described in 3rd Infrared irradiation of the correspondence three primary colours of wavelength is formed, is specifically included:
Judge whether the distance between the object and a display unit meets a preparatory condition;
When the distance between the object and the display unit meets the preparatory condition, the correspondence by first wave length is obtained The first image that the object of the first Infrared irradiation one of one primary colours is formed, it is red by the second of the primary colours of correspondence second of second wave length The second image that object described in outer light irradiation is formed, and the 3rd Infrared irradiation institute of the correspondence three primary colours by the 3rd wavelength State the 3rd image that object is formed.
2. the method as described in claim 1, it is characterised in that first reflection of first infrared light to first primary colours Rate is more than the first preset value, and second infrared light is more than the second preset value to the second reflectivity of second primary colours, described 3rd infrared light is more than the 3rd preset value to the 3rd reflectivity of the three primary colours, wherein, first preset value, described Two preset values, the 3rd preset value are identical or different preset value.
3. the method as described in claim 1, it is characterised in that first picture for obtaining first position in described first image Vegetarian refreshments contains the first ratio value of the first primary colours, and first pixel contains the second ratio of the second primary colours on second image Example is worth, and first pixel on the 3rd image contains the 3rd ratio value of the 3rd color, specifically includes:
Obtain the N number of gray value corresponding to first primary colours prestored pass corresponding with the first primary colours between N number of ratio value System, the second primary colours corresponding relation between N number of gray value and N number of ratio value corresponding to second primary colours, corresponding to described the Three primary colours corresponding relation between the N number of gray value and N number of ratio value of three primary colours, N is positive integer;
The first gray value of first pixel in described first image is obtained, based on the first primary colours corresponding relation, is obtained Obtain first ratio value that first pixel contains first primary colours;
The second gray value of first pixel on second image is obtained, based on the second primary colours corresponding relation, is obtained Obtain second ratio value that first pixel contains second primary colours;
The 3rd gray value of first pixel on the 3rd image is obtained, based on the three primary colours corresponding relation, is obtained Obtain the 3rd ratio value that first pixel contains the three primary colours.
4. method as claimed in claim 3, it is characterised in that correspond to first primary colours what the acquisition prestored N number of gray value and N number of ratio value between the first primary colours corresponding relation, corresponding to second primary colours N number of gray value with it is N number of The second primary colours corresponding relation between ratio value, the 3rd base between N number of gray value and N number of ratio value corresponding to the three primary colours Before color corresponding relation, methods described also includes:
I is taken successively from 1 to N, the first primary colours i-th established between the i-th gray value and the i-th ratio value corresponding to first primary colours Corresponding relation, when i is N, obtains and store the first primary colours corresponding relation, wherein i is the positive integer less than or equal to N;
I is taken successively from 1 to N, the second primary colours i-th established between the i-th gray value and the i-th ratio value corresponding to second primary colours Corresponding relation, when i is N, obtains and store the second primary colours corresponding relation, wherein i is the positive integer less than or equal to N;
I is taken successively from 1 to N, the three primary colours i-th established between the i-th gray value and the i-th ratio value corresponding to the three primary colours Corresponding relation, when i is N, obtains and store the three primary colours corresponding relation, wherein i is the positive integer less than or equal to N.
5. the method as described in any claims of claim 1-4, it is characterised in that first primary colours, second primary colours, and The three primary colours are respectively specifically:Red, green, blueness.
6. method as claimed in claim 5, it is characterised in that be based on first ratio value, second ratio described Value, and the 3rd ratio value, after the first color for determining first pixel, methods described also includes:
Fourth image different from described first image, the second image, the 3rd image is obtained, wherein, on the 4th image The color of first pixel be first color.
7. a kind of electronic equipment, including:
Infrared light supply, for providing the first infrared light, the second infrared light and the 3rd infrared light;
Imaging device, for obtaining formed by the object of the first Infrared irradiation one of the primary colours of correspondence first of first wave length the One image, the second image that the object as described in the second Infrared irradiation of the primary colours of correspondence second of second wave length is formed, and by The 3rd image that object described in 3rd Infrared irradiation of the correspondence three primary colours of the 3rd wavelength is formed, wherein, described first Wavelength, the second wave length, the 3rd wavelength are mutually different wavelength, first primary colours, and second primary colours are described Three primary colours are mutually different primary colours;
Processor, the first pixel for obtaining first position in described first image contain the first ratio of the first primary colours It is worth, first pixel contains the second ratio value of the second primary colours, and the institute on the 3rd image on second image State the 3rd ratio value that the first pixel contains the 3rd color;And
Based on first ratio value, second ratio value, and the 3rd ratio value, determine the of first pixel One color;
Wherein, the processor is specifically used for:Judge whether the distance between the object and a display unit meets a default bar Part;And
When the distance between the object and the display unit meets the preparatory condition, the correspondence by first wave length is obtained The first image that the object of the first Infrared irradiation one of one primary colours is formed, it is red by the second of the primary colours of correspondence second of second wave length The second image that object described in outer light irradiation is formed, and the 3rd Infrared irradiation institute of the correspondence three primary colours by the 3rd wavelength State the 3rd image that object is formed.
8. electronic equipment as claimed in claim 7, it is characterised in that first infrared light to first primary colours first Reflectivity is more than the first preset value, and second infrared light is more than the second preset value to the second reflectivity of second primary colours, 3rd infrared light is more than the 3rd preset value to the 3rd reflectivity of the three primary colours, wherein, first preset value, institute The second preset value is stated, the 3rd preset value is identical or different preset value.
9. electronic equipment as claimed in claim 7, it is characterised in that the processor also particularly useful for:Prestored Corresponding to the first primary colours corresponding relation between N number of gray value of first primary colours and N number of ratio value, corresponding to described second The second primary colours corresponding relation between the N number of gray value and N number of ratio value of primary colours, corresponding to N number of gray value of the three primary colours With the three primary colours corresponding relation between N number of ratio value, N is positive integer;And
The first gray value of first pixel in described first image is obtained, based on the first primary colours corresponding relation, is obtained Obtain first ratio value that first pixel contains first primary colours;And
The second gray value of first pixel on second image is obtained, based on the second primary colours corresponding relation, is obtained Obtain second ratio value that first pixel contains second primary colours;And
The 3rd gray value of first pixel on the 3rd image is obtained, based on the three primary colours corresponding relation, is obtained Obtain the 3rd ratio value that first pixel contains the three primary colours.
10. electronic equipment as claimed in claim 9, it is characterised in that the processor is additionally operable to:I is taken to be built from 1 to N successively First the i-th corresponding relation of primary colours between vertical the i-th gray value and the i-th ratio value corresponding to first primary colours, when i is N, is obtained Obtain and store the first primary colours corresponding relation, wherein i is the positive integer less than or equal to N;And
I is taken successively from 1 to N, the second primary colours i-th established between the i-th gray value and the i-th ratio value corresponding to second primary colours Corresponding relation, when i is N, obtains and store the second primary colours corresponding relation, wherein i is the positive integer less than or equal to N;With And
I is taken successively from 1 to N, the three primary colours i-th established between the i-th gray value and the i-th ratio value corresponding to the three primary colours Corresponding relation, when i is N, obtains and store the three primary colours corresponding relation, wherein i is the positive integer less than or equal to N.
11. the electronic equipment as described in any claims of claim 7-10, it is characterised in that first primary colours, described second Primary colours, and the three primary colours are respectively specifically:Red, green, blueness.
12. electronic equipment as claimed in claim 11, it is characterised in that the processor is additionally operable to:Obtain and described first The 4th different image of image, the second image, the 3rd image, the color of first pixel on the 4th image are First color.
CN201310573659.1A 2013-11-15 2013-11-15 A kind of information processing method and electronic equipment Active CN104635998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310573659.1A CN104635998B (en) 2013-11-15 2013-11-15 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310573659.1A CN104635998B (en) 2013-11-15 2013-11-15 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104635998A CN104635998A (en) 2015-05-20
CN104635998B true CN104635998B (en) 2018-03-23

Family

ID=53214834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310573659.1A Active CN104635998B (en) 2013-11-15 2013-11-15 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104635998B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2577735B (en) * 2018-10-05 2021-09-22 Innovative Tech Ltd Banknote imaging

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650610A (en) * 2009-09-03 2010-02-17 友达光电股份有限公司 Optical touch-control pen and optical touch screen for mobile terminal
CN101882034A (en) * 2010-07-23 2010-11-10 广东威创视讯科技股份有限公司 Device and method for discriminating color of touch pen of touch device
CN102024264A (en) * 2010-10-13 2011-04-20 广东威创视讯科技股份有限公司 Dimensional-histogram-statistic-based touch pen color recognition method
CN102073413A (en) * 2010-09-21 2011-05-25 广东威创视讯科技股份有限公司 Device and method for identifying color of touch pen
CN102474627A (en) * 2009-07-30 2012-05-23 永宗靖 Image capturing device and image capturing method
CN102509122A (en) * 2011-11-25 2012-06-20 广东威创视讯科技股份有限公司 Intelligent pen color identifying method applied to interactive touch screen
CN202815785U (en) * 2012-08-06 2013-03-20 杭州华银教育多媒体科技股份有限公司 Optical touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4668973B2 (en) * 2007-11-20 2011-04-13 シャープ株式会社 Image processing apparatus and computer program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474627A (en) * 2009-07-30 2012-05-23 永宗靖 Image capturing device and image capturing method
CN101650610A (en) * 2009-09-03 2010-02-17 友达光电股份有限公司 Optical touch-control pen and optical touch screen for mobile terminal
CN101882034A (en) * 2010-07-23 2010-11-10 广东威创视讯科技股份有限公司 Device and method for discriminating color of touch pen of touch device
CN102073413A (en) * 2010-09-21 2011-05-25 广东威创视讯科技股份有限公司 Device and method for identifying color of touch pen
CN102024264A (en) * 2010-10-13 2011-04-20 广东威创视讯科技股份有限公司 Dimensional-histogram-statistic-based touch pen color recognition method
CN102509122A (en) * 2011-11-25 2012-06-20 广东威创视讯科技股份有限公司 Intelligent pen color identifying method applied to interactive touch screen
CN202815785U (en) * 2012-08-06 2013-03-20 杭州华银教育多媒体科技股份有限公司 Optical touch screen

Also Published As

Publication number Publication date
CN104635998A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN105678837B (en) Dynamic graphics interface shade
CN104794752B (en) Based on virtual scene synergic modeling method and the system of mobile terminal and hologram display
US8730183B2 (en) Large scale multi-user, multi-touch system
Gattullo et al. Legibility in industrial AR: text style, color coding, and illuminance
CN110262865B (en) Method and device for constructing game scene, computer storage medium and electronic equipment
CN108304075A (en) A kind of method and apparatus carrying out human-computer interaction in augmented reality equipment
CN102156624A (en) Perceptually-based compensation of unintended light pollution of images for display systems
CN103679106B (en) Quick Response Code cutting and splicing method for authenticating and system
US9262861B2 (en) Efficient computation of shadows
CN104820497A (en) A 3D interaction display system based on augmented reality
CN104240629B (en) The method and electronic equipment of a kind of information processing
CN109782962A (en) A kind of projection interactive method, device, system and terminal device
CN102760308B (en) Method and device for node selection of object in three-dimensional virtual reality scene
CN107924560A (en) Method and apparatus based on anchor frame modification multiple image
CN109615664A (en) A kind of scaling method and equipment for optical perspective augmented reality display
CN104281865B (en) A kind of method and apparatus for generating Quick Response Code
CN105488840B (en) A kind of information processing method and electronic equipment
JP2016515236A (en) System and method for interactive image caricature using electronic devices
CN107798675A (en) The detection method and device of smear in display image
CN104635998B (en) A kind of information processing method and electronic equipment
CN110111630A (en) Analogy method, device and the electronic equipment of device assembling training
CN1979508A (en) Simulated humanbody channel collateral cartoon presenting system capable of excuting by computer and method therefor
CN104516696B (en) A kind of information processing method and electronic equipment
JP5413081B2 (en) Image display method and image display apparatus
CN105556570A (en) Generating screen data

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