The content of the invention
To solve the above-mentioned problems, the present invention provides a kind of automatic reminding system 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 system based on image procossing, the system comprises:
User input equipment, is arranged on mobile phone, under the operation of user, receiving the sharpening level of mobile phone user's input;Sharpen
Grade input equipment, is connected with user input equipment, for receiving the sharpening level of input, is determined simultaneously according to the sharpening level
The default saltus step degree threshold value of output, the sharpening level is higher, and the default saltus step degree threshold value is smaller;Audio signal analysis is set
It is standby, it is arranged on mobile phone, for detecting the noise level of site environment, with the excessive too small letter of signal or noise that determines to make a noise
Number.
More specifically, in the automatic reminding system based on image procossing, further include:Saltus step degree judges equipment,
For receiving input picture, for the pixel value of each pixel in input picture, its pixel value is subtracted into its same column downlink
The difference obtained after the pixel value of pixel is done square to obtain the first square value, its pixel value is subtracted its following pixel of going together
The difference obtained after pixel value is done square to obtain the second square value, is obtained after the first square value is added with the second square value
With progress evolution to obtain the first saltus step degree, wherein, the first saltus step journey of each pixel of last column of input picture
Degree directly take lastrow same column pixel the first saltus step degree, input picture last arrange each pixel first
Saltus step degree directly takes the first saltus step degree of colleague's pixel of previous column;It is additionally operable to for each picture in input picture
The pixel value of element, takes absolute value to obtain the first absolute value after its pixel value is subtracted the pixel value of its same column downlink pixel, will
Its pixel value takes absolute value to obtain the second absolute value after subtracting the pixel value of its following pixel of going together, by the first absolute value and the
Two absolute values obtain after being added and the second saltus step degree of conduct, wherein, each pixel of last column of input picture
Second saltus step degree directly takes the second saltus step degree of the same column pixel of lastrow, last row of input picture each
Second saltus step degree of pixel directly takes the second saltus step degree of colleague's pixel of previous column;And for for input picture
In each pixel pixel value, its first saltus step degree is compared with its second saltus step degree, takes its first saltus step journey
Maximum saltus step degree the most final between degree and its second saltus step degree.
More specifically, in the automatic reminding system based on image procossing, further include:
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 compare, for final saltus step degree be greater than or equal to the default saltus step degree threshold value each pixel, to its pixel value into
Row 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;Institute
The top that the first image capture device is arranged on mobile phone is stated, for being obtained to the top scene progress image data acquiring of mobile phone
And export first environment image;Second image capture device is arranged on the lower section of mobile phone, for the lower section scene to mobile phone
Image data acquiring is carried out to obtain and export second environment image;Wherein, the first image capture device is by first environment image
As input picture be input to saltus step degree judge equipment and by saltus step degree judge equipment and Edge contrast equipment according to
To obtain the first processing image, the second image capture device is jumped using second environment image as input picture with being input to for secondary processing
Change degree judges equipment and judges the processing successively of equipment and Edge contrast equipment by saltus step degree to obtain second processing figure
Picture;
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 greater than or equal to
During predetermined luminance threshold value, sending top has optical signal, otherwise, sends top without optical signal;The second light quantity detector is set
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;Color measurement instrument array, including the first color
Measuring instrument and the second color measurement instrument;First color measurement instrument is arranged on the top of mobile phone, is detected with first light quantity
Instrument connects, for being activated when receiving top and having optical signal, to measure the colour temperature of the light of the top environment of mobile phone, so that really
The light for determining the top environment of mobile phone is to come from artificial light or sunlight, correspondingly sends artificial light signal or sun optical signal,
First color measurement instrument is additionally operable to, when receiving top without optical signal, be closed;Second color measurement instrument is set
In the top of mobile phone, it is connected with the second light quantity detector, for being activated when receiving lower section and having optical signal, with measurement
The colour temperature of the light of the lower section environment of 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, phase
Send artificial light signal or sun optical signal with answering, second color measurement instrument is additionally operable to receiving lower section without optical signal
When, it is 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, for coming from the first color receiving
During the artificial light signal of measuring instrument, start the first image capture device, and receiving the first Room from Content analysis apparatus
During interior signal, and when receiving noise and crossing small-signal, control mobile phone is with the vibrating function of closing hand phone, alternatively, with triggering
The relevant character of incoming call or information of vibration is shown on mobile phone to be reminded;It is additionally operable to receiving from the survey of the second color
When measuring the artificial light signal of instrument, start the second image capture device, and receiving in the second Room from Content analysis apparatus
During signal, and when receiving noise and crossing small-signal, control mobile phone is with the vibrating function of closing hand phone, alternatively, to shake with triggering
The dynamic relevant character of incoming call or information is shown on mobile phone to be reminded.
More specifically, in the automatic reminding system 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 system 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 the maximum among both its first saltus step degree and its second saltus step degree compared with its second saltus step degree
Value is used as 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 compare, for final saltus step degree be greater than or equal to the default saltus step degree threshold value each pixel, to its pixel value into
Row 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 greater than or equal to
During predetermined luminance threshold value, sending top has optical signal, otherwise, sends top without optical signal;The second light quantity detector is set
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;
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
The colour temperature of the light of the top environment of mobile phone is measured, 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, to measure the colour temperature of the light of the lower section environment of mobile phone, so that it is determined that mobile phone
The light of lower section environment is to come from artificial light or sunlight, correspondingly sends artificial light signal or sun optical signal, described second
Color measurement 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 greater than or equal to for final saltus step degree, to its picture
Plain value is sharpened processing with the pixel value after being handled, to final saltus step degree less than the default saltus step degree threshold value
Each pixel, directly using its pixel value as the pixel value after processing, the pixel after the processing of all pixels in input picture
Value forms 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 be more than or
During equal to predetermined luminance threshold value, sending top has optical signal, otherwise, sends top without optical signal;The second light quantity detector
The lower section of mobile phone is arranged on, for detecting the light luminance below mobile phone, and the light luminance below mobile phone is greater than or equal to
During predetermined luminance threshold value, 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, to measure the colour temperature of the light of the top environment of mobile phone, so that it is determined that the light of the top environment of mobile phone be from artificial light or
Sunlight, correspondingly sends artificial light signal or sun optical signal, and first color measurement instrument is additionally operable to receiving top
During 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, to measure the colour temperature of the light of the lower section environment of mobile phone, so that it is determined that hand
The light of the lower section environment of machine is to come from artificial light or sunlight, correspondingly sends artificial light signal or sun optical signal, described
Second color measurement instrument is 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 IEEE 802.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.