Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method of reseptance and device thereof of visible light signal, and it relies on camera to receive visible ray.
The present invention solves the problems of the technologies described above the method for reseptance that the technical scheme adopting is a kind of visible light signal of proposition, comprises the following steps: control camera as optical signal receiver, gather one group of consecutive image containing an emission source; From this group consecutive image, obtain the visible light signal from this emission source.
In one embodiment of this invention, controlling camera as optical signal receiver, collection also comprises before containing one group of consecutive image of an emission source: camera is pointed to the emission source of visible light signal, make within this emission source drops on the image pickup scope of this camera.
In one embodiment of this invention, from this group consecutive image, obtain from the visible light signal of this emission source and also comprise afterwards: this visible light signal is carried out to signal processing, be reduced into raw information.
In one embodiment of this invention, from this group consecutive image, obtain from the step of the visible light signal of this emission source and comprise: this group consecutive image is divided into multiple image; The light and shade situation over time that contrasts each fixed size region in each width image, has selected continually varying region, and judges in this region and have visible light signal; The light and shade in this region of analyzing and processing changes, and obtains the visible light signal from emission source.
The step of in one embodiment of this invention, this visible light signal being carried out to signal processing comprises decoding, deciphering and/or descrambling.
In one embodiment of this invention, controlling camera comprises as the step of optical signal receiver: control camera independently or be integrated into camera in an electronic equipment as optical signal receiver.
In one embodiment of this invention, said method also comprise make this independently camera be connected to a safety-protection system, a supervisory control system or a computer.
In one embodiment of this invention, this electronic equipment is mobile phone, panel computer, notebook computer, digital camera, MP3 player or MP4 player.
In one embodiment of this invention, this emission source is light-emitting diode.
In one embodiment of this invention, this light-emitting diode is illuminating lamp.
In one embodiment of this invention, this raw information comprises: text, picture, audio frequency and/or video.
The another receiving system that proposes a kind of visible light signal of the present invention, comprising: contain the module of one group of consecutive image of an emission source as optical signal receiver collection for controlling camera, this emission source sends visible light signal; And for obtaining the module from the visible light signal of this emission source from this group consecutive image.
In one embodiment of this invention, above-mentioned receiving system also comprises the module that is reduced into raw information for this visible light signal is carried out to signal processing.
In one embodiment of this invention, above-mentionedly comprise for obtaining from this group consecutive image from the module of the visible light signal of this emission source: for this group consecutive image being divided into the module of multiple image; For contrasting the light and shade situation over time in the each fixed size of each width image region, select continually varying region, and judged the module that has visible light signal in this region; And change for the light and shade in this region of analyzing and processing, obtain the module from the visible light signal of emission source.
In one embodiment of this invention, the above-mentioned module that is reduced into raw information for this visible light signal is carried out to signal processing be decode, deciphering and/or descrambling.
The method of reseptance of the visible light signal of technique scheme of the present invention, by camera collection consecutive image, then carries out image processing to consecutive image, obtains visible light signal.This method of reseptance adopts camera to receive visible light signal, can not increase and revise under the prerequisite of hardware, realizes the visible light communication function of various device or system.
Embodiment
Current many electronic equipments, for example mobile phone, panel computer, notebook computer, digital camera, MP3 player (as the iTouch of Apple), MP4 player (as the iTouch of Apple) are all equipped with camera.Form relatively with it, most electronic equipment is not all equipped with based on photodiode as optical signal receiver.Therefore, embodiments of the invention propose a kind of method of reseptance of visible light signal, it utilize camera rather than traditional based on photodiode as optical signal receiver.The apparent advantage of this design is in many applied environments, to have saved the needs that are equipped with special optical signal receiver, thereby saved the spending of hardware aspect.
With reference now to accompanying drawing, describe invention required for protection, in whole accompanying drawings, refer to identical parts or step with identical reference number.In the following description, for the purpose of explaining, numerous details have been disclosed so that the complete understanding to theme required for protection to be provided.But, it is evident that, these inventions also can not adopt these details to implement.
The first embodiment
The present embodiment is to implement under the environment as the receiving system of visible light signal at mobile phone.About emission source, can be light-emitting diode (LED) or light-emitting diode chip for backlight unit.Light-emitting diode can be integrated in the such electronic equipment of mobile phone, panel computer, notebook computer, digital camera, MP3 player or MP4 player.Light-emitting diode can be also independent device, for example illuminating lamp.The visible ray that this illuminating lamp sends can be subject to the modulation of a control device, thereby carries signal.
Fig. 1 illustrates the method for reseptance flow chart of the visible light signal of first embodiment of the invention.Shown in Fig. 1, the method comprises:
Step 101, opens the camera of mobile phone, is pointed to the emission source of visible light signal, makes within emission source drops on the image pickup scope of camera;
Step 102, controls the camera of mobile phone as optical signal receiver, gathers one group of consecutive image;
Image and background image that the visible light signal that this group consecutive image will comprise emission source forms, therefore key is that the image that visible light signal is formed separates from background image.
Step 103, adopts image processing techniques to obtain the visible light signal from this emission source from this group consecutive image; And
Step 104, carries out signal processing to this visible light signal, is reduced into raw information.
In the present embodiment, raw information comprises but is not limited to, text, picture, audio frequency and/or video.
In step 103, employing image processing techniques obtains from the method for the visible light signal of this emission source and comprises from this group consecutive image:
First, consecutive image is divided into multiple image.
Then, contrast the light and shade situation over time in each fixed size region in each width image, selected continually varying region, and judge in this region that existence is from the visible light signal of this emission source; There is no continually varying difference as for other, be judged as background image.
Then, the light and shade in this region of analyzing and processing changes, and obtains the visible light signal from emission source.
Configurable special video processing module in mobile phone, carries out analyzing and processing to isolate visible light signal wherein to the consecutive image obtaining.
According to the processing of emission source, for example encode, deciphering and/or scrambling, in step 104, the step of this visible light signal being carried out to signal processing can correspondingly comprise contrary processing, for example, decode, deciphering and/or descrambling.
When visible light signal that the image gathering when camera comprises above-mentioned emission source, the isolated raw information of above-mentioned steps can be independent of background image, sends follow-up module to.When visible light signal that the image gathering when camera does not comprise above-mentioned emission source, after above-mentioned steps, only can export common background image.
The employing mobile phone camera that the present embodiment provides receives the method for visible light signal, mobile phone camera is pointed to visible light signal emission source and gather consecutive image, then consecutive image is carried out to image processing, obtain visible light signal, then, to the visible light signal signal processing such as decode, be reduced into raw information.Receive visible light signal because this method adopts mobile phone camera, can not increase and revise under the prerequisite of mobile phone hardware, realize the function that adopts mobile phone to receive visible light signal.Like this, mobile phone just can, from miscellaneous equipment under notconnect state, for example, receive the data such as text, picture, audio frequency and/or video in another mobile phone, panel computer.
The second embodiment
The present embodiment is to implement under the environment as the receiving system of visible light signal at panel computer.About emission source, can be light-emitting diode (LED) or light-emitting diode chip for backlight unit.Light-emitting diode can be integrated in the such electronic equipment of mobile phone, panel computer, notebook computer, digital camera, MP3 player or MP4 player.Light-emitting diode can be also independent device, for example illuminating lamp.The visible ray that this illuminating lamp sends can be subject to the modulation of a control device, thereby carries signal.
Fig. 2 illustrates the method for reseptance flow chart of the visible light signal of second embodiment of the invention.Shown in Fig. 1, the method comprises:
Step 201, opens the camera of panel computer, is pointed to the emission source of visible light signal, makes within emission source drops on the image pickup scope of camera;
Step 202, controls the camera of panel computer as optical signal receiver, gathers one group of consecutive image;
Step 203, adopts image processing techniques to obtain the visible light signal from this emission source from this group consecutive image; And
Step 204, carries out signal processing to this visible light signal, is reduced into raw information.
In the present embodiment, raw information comprises but is not limited to, text, picture, audio frequency and/or video.
In step 203, employing image processing techniques obtains from the method for the visible light signal of this emission source and comprises from this group consecutive image:
First, consecutive image is divided into multiple image.
Then, contrast the light and shade situation over time in each fixed size region in each width image, selected continually varying region, and judge in this region that existence is from the visible light signal of this emission source; There is no continually varying difference as for other, be judged as background image.
Then, the light and shade in this region of analyzing and processing changes, and obtains the visible light signal from emission source.
Configurable special video processing module in panel computer, carries out analyzing and processing to isolate visible light signal wherein to the consecutive image obtaining.
According to the processing of emission source, for example encode, deciphering and/or scrambling, in step 204, the step of this visible light signal being carried out to signal processing can correspondingly comprise contrary processing, for example, decode, deciphering and/or descrambling.
When visible light signal that the image gathering when camera comprises above-mentioned emission source, the isolated raw information of above-mentioned steps can be independent of background image, sends follow-up module to.When visible light signal that the image gathering when camera does not comprise above-mentioned emission source, after above-mentioned steps, only can export common background image.
The employing panel computer camera that the present embodiment provides receives the method for visible light signal, panel computer camera is pointed to visible light signal emission source and gather consecutive image, then consecutive image is carried out to image processing, obtain visible light signal, then, to the visible light signal signal processing such as decode, be reduced into raw information.Receive visible light signal because this method adopts panel computer camera, can not increase and revise under the prerequisite of tablet personal computer hardware, realize the function that adopts panel computer to receive visible light signal.Like this, panel computer just can from miscellaneous equipment under notconnect state, such as, receive the data such as text, picture, audio frequency and/or video in mobile phone, another panel computer, digital camera.
Camera of the present invention not only can be integrated on aforesaid mobile phone, panel computer, can also be integrated on other electronic equipments such as notebook computer, digital camera, MP3 player or MP4 player.
The 3rd embodiment
The present embodiment is to implement under the environment as the receiving system of visible light signal at independent camera.About emission source, can be light-emitting diode (LED) or light-emitting diode chip for backlight unit.Light-emitting diode can be integrated in the such electronic equipment of mobile phone, panel computer, notebook computer, digital camera, MP3 player or MP4 player.Light-emitting diode can be also independent device, for example illuminating lamp.The visible ray that this illuminating lamp sends can be subject to the modulation of a control device, thereby carries signal.
Fig. 3 illustrates the method for reseptance flow chart of the visible light signal of third embodiment of the invention.Shown in Fig. 3, the method comprises:
Step 301, opens independently camera, is pointed to the emission source of visible light signal, makes within emission source drops on the image pickup scope of camera;
Step 302, controls independent camera as optical signal receiver, gathers one group of consecutive image;
Step 303, adopts image processing techniques to obtain the visible light signal from this emission source from this group consecutive image; And
Step 304, carries out signal processing to this visible light signal, is reduced into raw information.
In the present embodiment, raw information comprises but is not limited to, text, picture, audio frequency and/or video.
In step 303, employing image processing techniques obtains from the method for the visible light signal of this emission source and comprises from this group consecutive image:
First, consecutive image is divided into multiple image.
Then, contrast the light and shade situation over time in each fixed size region in each width image, selected continually varying region, and judge in this region that existence is from the visible light signal of this emission source; There is no continually varying difference as for other, be judged as background image.
Then, the light and shade in this region of analyzing and processing changes, and obtains the visible light signal from emission source.
Configurable special video processing module in independent camera or its aftertreatment device, carries out analyzing and processing to isolate visible light signal wherein to the consecutive image obtaining.
According to the processing of emission source, for example encode, deciphering and/or scrambling, in step 304, the step of this visible light signal being carried out to signal processing can correspondingly comprise contrary processing, for example, decode, deciphering and/or descrambling.
When visible light signal that the image gathering when camera comprises above-mentioned emission source, the isolated raw information of above-mentioned steps can be independent of background image, sends follow-up module to.When visible light signal that the image gathering when camera does not comprise above-mentioned emission source, after above-mentioned steps, only can export common background image.
The independent camera of employing that the present embodiment provides receives the method for visible light signal, independent camera is pointed to visible light signal emission source and gather consecutive image, then consecutive image is carried out to image processing, obtain visible light signal, then, to the visible light signal signal processing such as decode, be reduced into raw information.Receive visible light signal because this method adopts independent camera, visible light communication function is provided can to many systems that are equipped with camera as standard, other system also can be equipped with camera and obtain the expanded function of visible light communication.For instance, safety-protection system or supervisory control system conventionally connect and are equipped with many cameras, if receive visible light signal by these cameras, then in system, carry out follow-up image and process and signal processing, just can realize visible light communication function.In addition, for desktop computer or be not equipped with for the notebook computer of camera, by connecting an external camera, in obtaining video capture function, can also obtain the expanded function of visible light communication.When with desktop computer or notebook computer during with main frame, this function can be convenient to obtain data from portable electric appts such as mobile phone, panel computer, digital cameras.
In the above embodiment of the present invention, camera can be charge-coupled device (CCD) type or complementary metal oxide semiconductors (CMOS) (CMOS) type.
The method of reseptance of a kind of visible light signal that the above embodiment of the present invention proposes, gather consecutive image by camera being pointed to visible light signal emission source, then consecutive image is carried out to image processing, obtain visible light signal, then, to the visible light signal signal processing such as decode, be reduced into raw information.This method of reseptance adopts camera to receive visible light signal, can not increase and revise under the prerequisite of hardware, realizes the visible light communication function of various device or system.
The another receiving system that proposes a kind of visible light signal of the present invention, comprising: contain the module of one group of consecutive image of an emission source as optical signal receiver collection for controlling camera, this emission source sends visible light signal; And for obtaining the module from the visible light signal of this emission source from this group consecutive image.
Above-mentioned receiving system also comprises the module that is reduced into raw information for this visible light signal is carried out to signal processing.
Above-mentionedly comprise for obtaining from this group consecutive image from the module of the visible light signal of this emission source: for this group consecutive image being divided into the module of multiple image; For contrasting the light and shade situation over time in the each fixed size of each width image region, select continually varying region, and judged the module that has visible light signal in this region; And change for the light and shade in this region of analyzing and processing, obtain the module from the visible light signal of emission source.
The above-mentioned module that is reduced into raw information for this visible light signal is carried out to signal processing be decode, deciphering and/or descrambling.
Although the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiment is only for the present invention is described, in the situation that not departing from spirit of the present invention, also can make variation or the replacement of various equivalences, therefore, as long as the variation to above-described embodiment, modification all will drop in the application's the scope of claims within the scope of connotation of the present invention.