The content of the invention
To solve the above-mentioned problems, the present invention provides a kind of automatic reminding method based on image procossing, bag is introduced
Include the light quantity detector array of the first light quantity detector and the second light quantity detector, introduce including the first image capture device and
The Image Acquisition array of second image capture device, also introduces audio signal analysis equipment, is arranged on mobile phone, for detecting
The noise level of site environment, to determine to make a noise, excessive signal or noise cross small-signal, more it is essential that introducing various
Targetedly image processing equipment, and based on the output of above-mentioned each equipment, collaboration judges whether mobile phone needs to close vibration work(
Can, so as to meet the setting demand of people.
According to an aspect of the present invention, there is provided a kind of automatic reminding method based on image procossing, the described method includes:Make
With the user input equipment being arranged on mobile phone, under the operation of user, receiving the sharpening level of mobile phone user's input;Make
With sharpening level input equipment, it is connected with user input equipment, for receiving the sharpening level of input, according to the sharpening level
Determine and export default saltus step degree threshold value, the sharpening level is higher, and the default saltus step degree threshold value is smaller;Use audio
Signal analysis equipment, is arranged on mobile phone, for detecting the noise level of site environment, with determine to make a noise excessive signal or
Noise crosses small-signal.
More specifically, in the automatic reminding method based on image procossing, further include:Judge to set using saltus step degree
It is standby, for receiving input picture, for the pixel value of each pixel in input picture, its pixel value is subtracted under its same column
The difference obtained after the pixel value of row pixel is done square to obtain the first square value, its pixel value is subtracted its following pixel of going together
Pixel value after the difference that obtains do square to obtain the second square value, obtained after the first square value is added with the second square value
And carry out evolution to obtain the first saltus step degree, wherein, the first saltus step of each pixel of last column of input picture
Degree directly takes the first saltus step degree of the same column pixel of lastrow, and the of each pixel of last row of input picture
One saltus step degree directly takes the first saltus step degree of colleague's pixel of previous column;It is additionally operable to for each in input picture
The pixel value of pixel, takes absolute value to obtain the first absolute value after its pixel value is subtracted the pixel value of its same column downlink pixel,
Take absolute value after its pixel value is subtracted the pixel value of its following pixel of going together to obtain the second absolute value, by the first absolute value with
Second absolute value obtains after being added and the second saltus step degree of conduct, wherein, each pixel of last column of input picture
The second saltus step degree directly take lastrow same column pixel the second saltus step degree, input picture last row it is each
Second saltus step degree of a pixel directly takes the second saltus step degree of colleague's pixel of previous column;And for scheming for input
The pixel value of each pixel as in, its first saltus step degree is compared with its second saltus step degree, takes its first saltus step
Maximum saltus step degree the most final between degree and its second saltus step degree.
More specifically, in the automatic reminding method based on image procossing, further include:
Using Edge contrast equipment, judge that equipment connects with the sharpening level input equipment and the saltus step degree respectively
Connect, for the pixel value for each pixel in input picture, by its final saltus step degree and the default saltus step degree
Threshold value is compared, and each pixel of the default saltus step degree threshold value is more than or equal to for final saltus step degree, to its pixel
Value is sharpened processing with the pixel value after handle, each less than the default saltus step degree threshold value to final saltus step degree
A pixel, directly using its pixel value as the pixel value after processing, the pixel value after the processing of all pixels in input picture
Form the corresponding output image of input picture;Adopted using Image Acquisition array, including the first image capture device and the second image
Collect equipment;Described first image collecting device is arranged on the top of mobile phone, for carrying out view data to the top scene of mobile phone
Gather to obtain and export first environment image;Second image capture device is arranged on the lower section of mobile phone, for mobile phone
Lower section scene carry out image data acquiring to obtain and export second environment image;Wherein, the first image capture device is by
As input picture, to be input to, saltus step degree judges equipment to one ambient image and process saltus step degree is judged at equipment and sharpening
The processing successively of equipment is managed to obtain the first processing image, the second image capture device is using second environment image as input picture
Judge equipment to be input to saltus step degree and judge the processing successively of equipment and Edge contrast equipment by saltus step degree to obtain
Second processing image;
Use light quantity detector array, including the first light quantity detector and the second light quantity detector;The first light quantity inspection
Survey instrument and be arranged on the top of mobile phone, for detecting the light luminance above mobile phone, and the light luminance above mobile phone is more than etc.
When predetermined luminance threshold value, sending top has optical signal, otherwise, sends top without optical signal;The second light quantity detector is set
Put in the lower section of mobile phone, for detecting the light luminance below mobile phone, and the light luminance below mobile phone is more than or equal to default
During luminance threshold, sending lower section has optical signal, otherwise, sends lower section without optical signal;Use color measurement instrument array, including first
Color measurement instrument and the second color measurement instrument;First color measurement instrument is arranged on the top of mobile phone, with first light quantity
Detector connect, for receive top have optical signal when be activated, with to measure mobile phone top environment light colour temperature,
So that it is determined that the light of the top environment of mobile phone is to come from artificial light or sunlight, artificial light signal or sunlight are correspondingly sent
Signal, first color measurement instrument are additionally operable to, when receiving top without optical signal, be closed;Second color measurement instrument
The top of mobile phone is arranged on, is connected with the second light quantity detector, for being activated when receiving lower section and having optical signal, with
To the colour temperature of the light of the lower section environment of measurement mobile phone, so that it is determined that the light of the lower section environment of mobile phone is to come from artificial light or the sun
Light, correspondingly sends artificial light signal or sun optical signal, and second color measurement instrument is additionally operable to unglazed below receiving
During signal, it is closed;
Using Content analysis apparatus, for carrying out analysis of image content to the first processing image, to determine that the first processing is schemed
As corresponding environment is indoor environment or outdoor environment, the first indoor signal or the first outdoor signal are correspondingly sent, also
For to second processing image carry out analysis of image content, with determine second processing image corresponding to environment be indoor environment also
It is outdoor environment, correspondingly sends the second indoor signal or the second outdoor signal;Using main control device, for coming from receiving
During the artificial light signal of the first color measurement instrument, start the first image capture device, and Content analysis apparatus is come from receiving
The first indoor signal when, and when receiving noise and crossing small-signal, control mobile phone is with the vibrating function of closing hand phone, alternatively,
It is shown in the incoming call or the relevant character of information with triggering vibration on mobile phone to be reminded;It is additionally operable to receiving from the
During the artificial light signal of second colors measuring instrument, start the second image capture device, and receiving from Content analysis apparatus
During the second indoor signal, and when receiving noise and crossing small-signal, control mobile phone is with the vibrating function of closing hand phone, alternatively, with
It is shown in the incoming call or the relevant character of information of triggering vibration on mobile phone to be reminded.
More specifically, in the automatic reminding method based on image procossing:The user input equipment is touch-screen,
The touch-screen is integrated on the LCD Panel of mobile phone.
More specifically, in the automatic reminding method based on image procossing:Alternatively, the user input equipment is
Input key combination.
Embodiment
The embodiment of the automatic reminding method based on image procossing of the present invention is carried out in detail below with reference to accompanying drawings
Explanation.
Mobile phone, or be radio telephone, commonly referred to as mobile phone, script are a kind of communication tool, and early stage has big again
Brother is big to be commonly called as, and is the portable telephone terminal that can be used in the broader context, is existed by AT&T Labs of the U.S. earliest
The battlefield mobile phone of manufacture in 1940 develops.
Currently, the setting operation of mobile phone still seems complicated, can not carry out scene adaptation according to particular condition in use, cause people
Need ceaselessly to change pattern, if not manual change, the method for operation of mobile phone will be incompatible with particular condition in use.
In order to overcome above-mentioned deficiency, the present invention has built a kind of automatic reminding system and method based on image procossing, specific embodiment party
Formula is as follows.
Fig. 1 is the block diagram of the automatic reminding system based on image procossing according to embodiment of the present invention,
The system comprises:
User input equipment, is arranged on mobile phone, sharpening under the operation of user, receiving mobile phone user's input etc.
Level;
Sharpening level input equipment, is connected with user input equipment, for receiving the sharpening level of input, according to described sharp
Grade determines and exports default saltus step degree threshold value for change, and the sharpening level is higher, and the default saltus step degree threshold value is smaller;
Audio signal analysis equipment, is arranged on mobile phone, for detecting the noise level of site environment, is made an uproar with determining to send
The excessive signal of sound or noise cross small-signal.
Then, continue to carry out further the concrete structure of the automatic reminding system based on image procossing of the present invention
It is bright.
It can also include in the automatic reminding system based on image procossing:
Saltus step degree judges equipment, for receiving input picture, for the pixel value of each pixel in input picture,
Its pixel value is subtracted to the difference obtained after the pixel value of its same column downlink pixel to do square to obtain the first square value, by its picture
Plain value subtracts the difference obtained after the pixel value of its following pixel of colleague and does square to obtain the second square value, by the first square value
It is being obtained after being added with the second square value and carry out evolution to obtain the first saltus step degree, wherein, last column of input picture
Each pixel the first saltus step degree directly take lastrow same column pixel the first saltus step degree, input picture is most
First saltus step degree of each pixel of latter row directly takes the first saltus step degree of colleague's pixel of previous column;It is additionally operable to
For the pixel value of each pixel in input picture, taken absolutely after its pixel value is subtracted the pixel value of its same column downlink pixel
To being worth to obtain the first absolute value, take absolute value after its pixel value is subtracted the pixel value of its following pixel of going together to obtain second
Absolute value obtaining and as the second saltus step degree after the first absolute value is added with the second absolute value;
Wherein, the second saltus step degree of each pixel of last column of input picture directly takes the same column of lastrow
Second saltus step degree of pixel, the second saltus step degree of each pixel of last row of input picture directly take previous column
Colleague's pixel the second saltus step degree;And for the pixel value for each pixel in input picture, by its first
Saltus step degree takes maximum between its first saltus step degree and its second saltus step degree most compared with its second saltus step degree
For final saltus step degree.
It can also include in the automatic reminding system based on image procossing:
Edge contrast equipment, judges that equipment is connected with the sharpening level input equipment and the saltus step degree respectively, uses
The pixel value of each pixel in for input picture, by its final saltus step degree and the default saltus step degree threshold value into
Row compares, and each pixel of the default saltus step degree threshold value is more than or equal to for final saltus step degree, its pixel value is carried out
Edge contrast is less than final saltus step degree on each picture of the default saltus step degree threshold value with the pixel value after being handled
Element, directly using its pixel value as the pixel value after processing, the pixel value after the processing of all pixels in input picture is formed
The corresponding output image of input picture;
Image Acquisition array, including the first image capture device and the second image capture device;Described first image gathers
Equipment is arranged on the top of mobile phone, for obtaining and exporting first environment to the top scene progress image data acquiring of mobile phone
Image;Second image capture device is arranged on the lower section of mobile phone, is adopted for carrying out view data to the lower section scene of mobile phone
Collect to obtain and export second environment image;Wherein, the first image capture device using first environment image as input picture with
Saltus step degree is input to judge equipment and judge the processing successively of equipment and Edge contrast equipment by saltus step degree to obtain the
One processing image, the second image capture device judge equipment using second environment image as input picture to be input to saltus step degree
And the processing successively of equipment and Edge contrast equipment is judged to obtain second processing image by saltus step degree;
Light quantity detector array, including the first light quantity detector and the second light quantity detector;The first light quantity detector
The top of mobile phone is arranged on, for detecting the light luminance above mobile phone, and the light luminance above mobile phone is more than or equal in advance
If during luminance threshold, sending top has optical signal, otherwise, top is sent without optical signal;The second light quantity detector is arranged on
The lower section of mobile phone, for detecting the light luminance below mobile phone, and the light luminance below mobile phone is more than or equal to predetermined luminance
During threshold value, sending lower section has optical signal, otherwise, sends lower section without optical signal;
Color measurement instrument array, including the first color measurement instrument and the second color measurement instrument;First color measurement instrument
The top of mobile phone is arranged on, is connected with the first light quantity detector, for being activated when receiving top and having optical signal, with
To the colour temperature of the light of the top environment of measurement mobile phone, so that it is determined that the light of the top environment of mobile phone is to come from artificial light or the sun
Light, correspondingly sends artificial light signal or sun optical signal, and first color measurement instrument is additionally operable to unglazed above receiving
During signal, it is closed;Second color measurement instrument is arranged on the top of mobile phone, is connected with the second light quantity detector, uses
It is activated when receiving lower section and having optical signal, with the colour temperature of the light of the lower section environment to measuring mobile phone, so that it is determined that mobile phone
The light of lower section environment be to come from artificial light or sunlight, correspondingly send artificial light signal or sun optical signal, described
Second colors measuring instrument is additionally operable to, when receiving lower section without optical signal, be closed;
Content analysis apparatus, for carrying out analysis of image content to the first processing image, to determine the first processing image institute
Corresponding environment is indoor environment or outdoor environment, correspondingly sends the first indoor signal or the first outdoor signal, is additionally operable to
Analysis of image content is carried out to second processing image, to determine that the environment corresponding to second processing image is indoor environment or room
External environment, correspondingly sends the second indoor signal or the second outdoor signal;
Main control device, is adopted for when receiving the artificial light signal from the first color measurement instrument, starting the first image
Collect equipment, and when receiving the first indoor signal from Content analysis apparatus, and when receiving noise and crossing small-signal, control
Mobile phone alternatively, mobile phone is shown in the incoming call or the relevant character of information with triggering vibration with the vibrating function of closing hand phone
On to be reminded;It is additionally operable to when receiving the artificial light signal from the second color measurement instrument, starts the second Image Acquisition
Equipment, and when receiving the second indoor signal from Content analysis apparatus, and when receiving noise and crossing small-signal, control hand
Machine alternatively, is shown on mobile phone with the vibrating function of closing hand phone with the incoming call or the relevant character of information with triggering vibration
To be reminded.
In the automatic reminding system based on image procossing:
The user input equipment is touch-screen, and the touch-screen is integrated on the LCD Panel of mobile phone.
And in the automatic reminding system based on image procossing:
Alternatively, the user input equipment is input key combination.
Fig. 2 is the step flow chart of the automatic reminding method based on image procossing according to embodiment of the present invention,
The described method includes:
Using the user input equipment being arranged on mobile phone, under the operation of user, receiving mobile phone user's input
Sharpening level;
Using sharpening level input equipment, it is connected with user input equipment, for receiving the sharpening level of input, according to institute
State that sharpening level determines and exports default saltus step degree threshold value, the sharpening level is higher, and the default saltus step degree threshold value is got over
It is small;
Using audio signal analysis equipment, it is arranged on mobile phone, for detecting the noise level of site environment, to determine hair
Go out the excessive signal of noise or noise crosses small-signal.
Then, continue to carry out further the specific steps of the automatic reminding method based on image procossing of the present invention
It is bright.
The automatic reminding method based on image procossing can also include:
Equipment is judged using saltus step degree, for receiving input picture, for the picture of each pixel in input picture
Its pixel value, is subtracted the difference obtained after the pixel value of its same column downlink pixel and done square to obtain the first square value by element value,
Its pixel value is subtracted to the difference obtained after the pixel value of its following pixel of going together to do square to obtain the second square value, by first
It is that square value obtains after being added with the second square value and carry out evolution to obtain the first saltus step degree;
Wherein, the first saltus step degree of each pixel of last column of input picture directly takes the same column of lastrow
First saltus step degree of pixel, the first saltus step degree of each pixel of last row of input picture directly take previous column
Colleague's pixel the first saltus step degree;The pixel value for each pixel in input picture is additionally operable to, by its pixel value
Take absolute value after subtracting the pixel value of its same column downlink pixel to obtain the first absolute value, it is following that its pixel value is subtracted its colleague
Take absolute value after the pixel value of pixel to obtain the second absolute value, it is being obtained after the first absolute value is added with the second absolute value and
As the second saltus step degree;
Wherein, the second saltus step degree of each pixel of last column of input picture directly takes the same column of lastrow
Second saltus step degree of pixel, the second saltus step degree of each pixel of last row of input picture directly take previous column
Colleague's pixel the second saltus step degree;And for the pixel value for each pixel in input picture, by its first
Saltus step degree takes maximum between its first saltus step degree and its second saltus step degree most compared with its second saltus step degree
For final saltus step degree.
The automatic reminding method based on image procossing can also include:
Using Edge contrast equipment, judge that equipment connects with the sharpening level input equipment and the saltus step degree respectively
Connect, for the pixel value for each pixel in input picture, by its final saltus step degree and the default saltus step degree
Threshold value is compared, and each pixel of the default saltus step degree threshold value is more than or equal to for final saltus step degree, to its pixel
Value is sharpened processing with the pixel value after handle, each less than the default saltus step degree threshold value to final saltus step degree
A pixel, directly using its pixel value as the pixel value after processing, the pixel value after the processing of all pixels in input picture
Form the corresponding output image of input picture;
Use Image Acquisition array, including the first image capture device and the second image capture device;Described first image
Collecting device is arranged on the top of mobile phone, for obtaining and exporting first to the top scene progress image data acquiring of mobile phone
Ambient image;Second image capture device is arranged on the lower section of mobile phone, for carrying out picture number to the lower section scene of mobile phone
According to collection to obtain and export second environment image;Wherein, the first image capture device is schemed first environment image as input
As to be input to, saltus step degree judges equipment and process saltus step degree judges the processing successively of equipment and Edge contrast equipment to obtain
The first processing image is obtained, the second image capture device judges using second environment image as input picture to be input to saltus step degree
Equipment simultaneously judges the processing successively of equipment and Edge contrast equipment to obtain second processing image by saltus step degree;
Use light quantity detector array, including the first light quantity detector and the second light quantity detector;The first light quantity inspection
Survey instrument and be arranged on the top of mobile phone, for detecting the light luminance above mobile phone, and the light luminance above mobile phone is more than etc.
When predetermined luminance threshold value, sending top has optical signal, otherwise, sends top without optical signal;The second light quantity detector is set
Put in the lower section of mobile phone, for detecting the light luminance below mobile phone, and the light luminance below mobile phone is more than or equal to default
During luminance threshold, sending lower section has optical signal, otherwise, sends lower section without optical signal;
Use color measurement instrument array, including the first color measurement instrument and the second color measurement instrument;First color is surveyed
Amount instrument is arranged on the top of mobile phone, is connected with the first light quantity detector, for being opened when receiving top and having optical signal
It is dynamic, with the colour temperature of the light of the top environment to measuring mobile phone, so that it is determined that the light of the top environment of mobile phone is to come from artificial light also
It is sunlight, correspondingly sends artificial light signal or sun optical signal, first color measurement instrument is additionally operable on receiving
When side is without optical signal, it is closed;Second color measurement instrument is arranged on the top of mobile phone, connects with the second light quantity detector
Connect, for being activated when receiving lower section and having optical signal, with the colour temperature of the light of the lower section environment to measuring mobile phone, so that it is determined that
The light of the lower section environment of mobile phone is to come from artificial light or sunlight, correspondingly sends artificial light signal or sun optical signal, institute
The second color measurement instrument is stated to be additionally operable to, when receiving lower section without optical signal, be closed;
Using Content analysis apparatus, for carrying out analysis of image content to the first processing image, to determine that the first processing is schemed
As corresponding environment is indoor environment or outdoor environment, the first indoor signal or the first outdoor signal are correspondingly sent, also
For to second processing image carry out analysis of image content, with determine second processing image corresponding to environment be indoor environment also
It is outdoor environment, correspondingly sends the second indoor signal or the second outdoor signal;
Using main control device, for when receiving the artificial light signal from the first color measurement instrument, starting the first figure
As collecting device, and when receiving the first indoor signal from Content analysis apparatus, and when receiving noise and crossing small-signal,
Mobile phone is controlled alternatively, to be shown in the vibrating function of closing hand phone with the incoming call or the relevant character of information with triggering vibration
To be reminded on mobile phone;It is additionally operable to when receiving the artificial light signal from the second color measurement instrument, starts the second image
Collecting device, and when receiving the second indoor signal from Content analysis apparatus, and when receiving noise and crossing small-signal, control
Mobile phone processed alternatively, hand is shown in the incoming call or the relevant character of information with triggering vibration with the vibrating function of closing hand phone
To be reminded on machine.
In the automatic reminding method based on image procossing:
The user input equipment is touch-screen, and the touch-screen is integrated on the LCD Panel of mobile phone.
And in the automatic reminding method based on image procossing:
Alternatively, the user input equipment is input key combination.
In addition, the automatic reminding method based on image procossing can also include ZigBee communication interface, set with master control
Whether standby connection, close for the signal for transmitting wirelessly each detection device transmission and the vibrating function for transmitting wirelessly mobile phone
Prompt message.
ZigBee is the low-power consumption LAN protocol based on IEEE802.15.4 standards.Provided according to international standard,
ZigBee technology is the wireless communication technique of a kind of short distance, low-power consumption.This title (also known as ZigBee protocol) derives from honeybee
Eight words dance, due to honeybee (bee) be by circle in the air and " drone " (zig) shake wing " dancing " come and companion transmission pollen
Place azimuth information, that is to say, that honeybee constitutes the communication network in colony by such mode.Its main feature is that closely,
Low complex degree, self-organizing, low-power consumption, low data rate.It is mainly suitable for being used to automatically control and remote control field, can be embedded in
Various equipment.In brief, ZigBee is exactly a kind of cheap, the near radio networking mechanics of communication of low-power consumption.ZigBee
It is a kind of wireless network protocol of low speed short-distance transmission.Zigbee protocol is respectively physical layer (PHY), media visit from top to bottom
Ask key-course (MAC), transport layer (TL), network layer (NWK), application layer (APL) etc..Wherein physical layer and MAC layer
Follow the regulation of IEEE802.15.4 standards.
Automatic reminding system and method using the present invention based on image procossing, set for mobile phone in the prior art and grasp
Make excessively complicated cumbersome technical problem, in order to reduce the relevant operation of user opponent's machine vibration function, receiving from the
During the artificial light signal of one color measurement instrument, start the first image capture device, and receiving from Content analysis apparatus
During the first indoor signal, and when receiving noise and crossing small-signal, control mobile phone is with the vibrating function of closing hand phone, alternatively, with
It is shown in the incoming call or the relevant character of information of triggering vibration on mobile phone to be reminded;It is additionally operable to receiving from second
During the artificial light signal of color measurement instrument, start the second image capture device, and receiving the from Content analysis apparatus
During two indoor signals, and when receiving noise and crossing small-signal, control mobile phone is with the vibrating function of closing hand phone, alternatively, with
The incoming call or the relevant character of information for triggering vibration are shown in be reminded on mobile phone, so that the vibrating function of mobile phone
Closing is adapted with mobile phone particular condition in use.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.