The content of the invention
To solve the above-mentioned problems, the present invention provides a kind of control method of indoor and outdoor mobile terminal, various rings are introduced
Border detection device and parameter processing device come from content to determine whether mobile terminal is currently in outdoor environment receiving
When first outdoor signal of analytical equipment persistently reaches the preset time threshold of timing device timing, mobile terminal is controlled to change
To outside work pattern;It is additionally operable to last up to timing device determine receiving the second outdoor signal from Content analysis apparatus
When preset time threshold when, control mobile terminal is to be transformed into outside work pattern.
According to an aspect of the present invention, there is provided a kind of control method of indoor and outdoor mobile terminal, this method include:
1) a kind of indoor and outdoor mode setting platform is provided, for mobile terminal, the platform includes:
Top camera, is arranged on the top of mobile terminal, for carrying out view data to the top scene of mobile terminal
Gather to obtain and export top scene image;
Lower section camera, is arranged on the lower section of mobile terminal, for carrying out view data to the lower section scene of mobile terminal
Gather to obtain and export lower section scene image;
Multi-level processing equipment, for input picture to be converted to output image;Multi-level processing equipment is carried including gradient
Taking equipment, gradient processing equipment, signal decomposition equipment, signal handling equipment and signal merge equipment, and input picture passes sequentially through
Gradient extraction equipment, gradient processing equipment, signal decomposition equipment, signal handling equipment and signal merge the processing of equipment to obtain
Output image;And
2) platform is run.
More specifically, in the indoor and outdoor mode setting platform:The multi-level processing equipment is imaged with top respectively
Head is connected with lower section camera;Wherein, the multi-level processing equipment is to be analyzed for top scene image to be converted to top
Image, is additionally operable to lower section scene image being converted to lower section image to be analyzed.
More specifically, in the indoor and outdoor mode setting platform, further include:Timing device, is set on mobile terminals,
For providing real-time timing signal.
More specifically, in the indoor and outdoor mode setting platform, further include:Gradient extraction equipment, inputs for receiving
Its pixel value, for the pixel value of each pixel in input picture, is subtracted the pixel value of its same column downlink pixel by image
After take absolute value 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
The second absolute value, it is being obtained after the first absolute value is added with the second absolute value and as gradient, wherein, input picture is most
The gradient of each pixel of a line directly takes the gradient of the same column pixel of lastrow afterwards, last row of input picture it is every
The gradient of one pixel directly takes the gradient of colleague's pixel of previous column.
More specifically, in the indoor and outdoor mode setting platform, further include:
Gradient processing equipment, is connected with the gradient extraction equipment, for for each pixel in input picture
Pixel value, by its gradient compared with predetermined gradient threshold value, each pixel of predetermined gradient threshold value is more than or equal to for gradient,
Processing is sharpened to its pixel value with the pixel value after handle, to each pixel of the gradient less than predetermined gradient threshold value,
Directly using its pixel value as the pixel value after processing, the pixel value after the processing of all pixels in input picture forms input
The corresponding gradient processing image of image;Wherein, predetermined gradient threshold value is determined according to sharpening level, sharpening level is higher, presets ladder
It is smaller to spend threshold value.Signal decomposition equipment, is connected with gradient processing equipment, for receiving gradient processing image, at the gradient
Picture breakdown is managed into scene light source incident components and target reflecting component;Signal handling equipment, connects with the signal decomposition equipment
Connect, for performing gaussian filtering process to the scene light source incident components to obtain incident processing data, be additionally operable to described
Target reflecting component performs the small echo filter of the adaptive-filtering dimension selection based on gradient processing mean picture brightness change
Ripple processing handles data to obtain reflection;The signal handling equipment performs based at the gradient target reflecting component
The wavelet filtering of the adaptive-filtering dimension selection of reason mean picture brightness change is handled to be included with obtaining reflection processing data:Institute
It is bigger to state the wavelet filtering processing filtering dimension that gradient processing mean picture brightness is darker, and the signal handling equipment selects;
Signal merges equipment, is connected with the signal handling equipment, for the incidence to be handled data and the reflection
Processing data merge to obtain output image;Content analysis apparatus, for carrying out analysis of image content to top image to be analyzed,
To determine that the environment corresponding to the image to be analyzed of top is indoor environment or outdoor environment, the first indoor signal is correspondingly sent
Or first outdoor signal, it is additionally operable to carry out analysis of image content to lower section image to be analyzed, to determine lower section image to be analyzed institute
Corresponding environment is indoor environment or outdoor environment, correspondingly sends the second indoor signal or the second outdoor signal;It is embedded
Processor, for receive the first outdoor signal from Content analysis apparatus persistently reach timing device timing it is default when
Between threshold value when, control mobile terminal is to be transformed into outside work pattern;It is additionally operable to receiving from Content analysis apparatus
When two outdoor signals persistently reach the preset time threshold of timing device timing, mobile terminal is controlled to be transformed into outside work mould
Formula.
More specifically, in the indoor and outdoor mode setting platform:The embeded processor is additionally operable to receiving
Persistently reach the preset time threshold of timing device timing from the first indoor signal of Content analysis apparatus and receive from interior
When second indoor signal of appearance analytical equipment persistently reaches the preset time threshold of timing device timing, mobile terminal is controlled to turn
Change to office work pattern.
More specifically, in the indoor and outdoor mode setting platform:The gradient extraction equipment, gradient processing are set
Standby, described signal decomposition equipment, the signal handling equipment and the signal merge equipment and are all disposed within mobile terminal.
More specifically, in the indoor and outdoor mode setting platform:Realized respectively using the CPLD chips of different model
The gradient extraction equipment, the gradient processing equipment, the signal decomposition equipment, the signal handling equipment and the signal
Merge equipment.
Embodiment
The embodiment of the indoor and outdoor mode setting platform of the present invention is described in detail below with reference to accompanying drawings.
Mobile terminal has the history of decades as simple communication equipment with Mobile Communication Development.Opened from 2007
Begin, intelligence has triggered mobile terminal gene mutation, fundamentally changes tradition positioning of the terminal as mobile network's tip.
Mobile intelligent terminal is almost changed into the crucial entrance and main innovation platform of Internet service between a flash, new media,
E-commerce and information service platform, the most important hinge of Internet resources, mobile network resource and environmental interaction resource, it is grasped
Make system and processor chips or even the strategic high ground as current whole ICT industries.What mobile intelligent terminal triggered overturns
Property change and opened the prelude of mobile Internet industry development, open a new technical industry cycle.With intelligent movable
The sustainable development of terminal, its influence power will radio, TV and internet (PC) shoulder to shoulder, become the 4th infiltration in human history
Extensively, popularization is rapid, it is huge to influence, deeply to the end product of human society life every aspect.
Currently, it is desirable to mobile terminal to be according to the particular condition in use adaptively changing operational mode of oneself
User farthest omits cumbersome setting operation, and at present, many set is stilled need manually to operate, intelligent journey
Degree does not catch up with the demand of people still.In order to overcome above-mentioned deficiency, the present invention has built a kind of controlling party of indoor and outdoor mobile terminal
Method, this method include:1) a kind of indoor and outdoor mode setting platform is provided, for mobile terminal;And 2) run the platform.
Fig. 1 is the block diagram of indoor and outdoor mode setting platform according to embodiment of the present invention, the platform
Including:
Top camera, is arranged on the top of mobile terminal, for carrying out view data to the top scene of mobile terminal
Gather to obtain and export top scene image;
Lower section camera, is arranged on the lower section of mobile terminal, for carrying out view data to the lower section scene of mobile terminal
Gather to obtain and export lower section scene image;
As shown in Fig. 2, multi-level processing equipment, for input picture to be converted to output image;Multi-level processing equipment
Merge equipment, input figure including gradient extraction equipment, gradient processing equipment, signal decomposition equipment, signal handling equipment and signal
Merge equipment as passing sequentially through gradient extraction equipment, gradient processing equipment, signal decomposition equipment, signal handling equipment and signal
Handle to obtain output image.
Then, continue that the concrete structure of the indoor and outdoor mode setting platform of the present invention is further detailed.
In the indoor and outdoor mode setting platform:
The multi-level processing equipment is connected with top camera and lower section camera respectively;
Wherein, the multi-level processing equipment is used to top scene image being converted to top image to be analyzed, is additionally operable to
Lower section scene image is converted into lower section image to be analyzed.
The indoor and outdoor mode setting platform further includes:
Timing device, is set on mobile terminals, for providing real-time timing signal.
The indoor and outdoor mode setting platform further includes:
Gradient extraction equipment, for receiving input picture, for the pixel value of each pixel in input picture, by it
Pixel value takes absolute value to obtain the first absolute value after subtracting the pixel value of its same column downlink pixel, and it is same that its pixel value is subtracted its
Take absolute value to obtain the second absolute value after the pixel value of the following pixel of row, obtained after the first absolute value is added with the second absolute value
And as gradient, wherein, the gradient of each pixel of last column of input picture directly takes the same column of lastrow
The gradient of pixel, the gradient of each pixel of last row of input picture directly take the ladder of colleague's pixel of previous column
Degree.
The indoor and outdoor mode setting platform further includes:
Gradient processing equipment, is connected with the gradient extraction equipment, for for each pixel in input picture
Pixel value, by its gradient compared with predetermined gradient threshold value, each pixel of predetermined gradient threshold value is more than or equal to for gradient,
Processing is sharpened to its pixel value with the pixel value after handle, to each pixel of the gradient less than predetermined gradient threshold value,
Directly using its pixel value as the pixel value after processing, the pixel value after the processing of all pixels in input picture forms input
The corresponding gradient processing image of image;
Wherein, predetermined gradient threshold value is determined according to sharpening level, sharpening level is higher, and predetermined gradient threshold value is smaller;
Signal decomposition equipment, is connected with gradient processing equipment, and for receiving gradient processing image, gradient processing is schemed
As resolving into scene light source incident components and target reflecting component;
Signal handling equipment, is connected with the signal decomposition equipment, for performing height to the scene light source incident components
This filtering process is additionally operable to perform the target reflecting component based on gradient processing image to obtain incident processing data
The wavelet filtering of the adaptive-filtering dimension selection of average brightness change is handled to obtain reflection processing data;The signal processing
Equipment performs the target reflecting component adaptive-filtering dimension based on gradient processing mean picture brightness change and selects
The wavelet filtering selected is handled to be included with obtaining reflection processing data:The gradient processing mean picture brightness is darker, the signal
The wavelet filtering processing filtering dimension of processing equipment selection is bigger;
Signal merges equipment, is connected with the signal handling equipment, for the incidence to be handled data and the reflection
Processing data merge to obtain output image;
Content analysis apparatus, for carrying out analysis of image content to top image to be analyzed, to determine top figure to be analyzed
As corresponding environment is indoor environment or outdoor environment, the first indoor signal or the first outdoor signal are correspondingly sent, also
For carrying out analysis of image content to lower section image to be analyzed, to determine that the environment corresponding to the image to be analyzed of lower section is indoor ring
Border or outdoor environment, correspondingly send the second indoor signal or the second outdoor signal;
Embeded processor, for receive the first outdoor signal from Content analysis apparatus persistently reach timing set
During the preset time threshold of standby timing, mobile terminal is controlled to be transformed into outside work pattern;It is additionally operable to receiving from interior
When second outdoor signal of appearance analytical equipment lasts up to the preset time threshold of timing device timing, mobile terminal is controlled to turn
Change to outside work pattern.
In the indoor and outdoor mode setting platform:
The embeded processor is additionally operable to persistently reach receiving the first indoor signal from Content analysis apparatus
The preset time threshold of timing device timing and receive the second indoor signal from Content analysis apparatus persistently reach timing
During the preset time threshold of equipment timing, mobile terminal is controlled to be transformed into office work pattern.
In the indoor and outdoor mode setting platform:
The gradient extraction equipment, the gradient processing equipment, the signal decomposition equipment, the signal handling equipment and
The signal merges equipment and is all disposed within mobile terminal.
In the indoor and outdoor mode setting platform:
Realize the gradient extraction equipment, the gradient processing equipment, institute respectively using the CPLD chips of different model
State signal decomposition equipment, the signal handling equipment and the signal and merge equipment.
In addition, image filtering, i.e., press down the noise of target image under conditions of image detail feature is retained as far as possible
System, is indispensable operation in image preprocessing, and the quality of its treatment effect will directly influence successive image processing and divide
The validity and reliability of analysis.
Due to the imperfection of imaging system, transmission medium and recording equipment etc., digital picture is in its formation, transmission log mistake
Often polluted in journey be subject to a variety of noises.In addition, some links in image procossing when the picture object inputted and are not so good as pre-
Also noise can be introduced when thinking in result images.These noises often show as one and cause the isolated of stronger visual effect on the image
Pixel or block of pixels.Generally, noise signal it is uncorrelated to the object to be studied it occur with useless message form, upset figure
The observable information of picture.For data image signal, psophometer is either large or small extreme value, these extreme values are acted on by plus-minus
On the true gray value of image pixel, the interference of bright, dim spot is caused to image, greatly reduces picture quality, influence image restoration,
The progress of the follow-up work such as segmentation, feature extraction, image recognition.A kind of wave filter for effectively suppressing noise is constructed to must take into consideration
Two basic problems:The noise in target and background can effectively be removed;Meanwhile can protect well image object shape,
Size and specific geometry and topological features.
One kind in common image filtering pattern is nonlinear filter, it is, in general, that when signal spectrum and noise frequency
Such as the noise as caused by mission nonlinear or there are non-gaussian to make an uproar when composing aliasing or when containing nonadditivity noise in signal
Sound etc.), traditional linear filter technology, such as Fourier conversion, while noise is filtered out, always blurred picture is thin in some way
Section (such as edge) and then the extraction property reduction for causing the positioning accuracy and feature as linear character.And nonlinear filter is
Based on a kind of Nonlinear Mapping relation to input signal, often a certain specific noise approx can be mapped as zero and retained
Signal wants feature, thus it can overcome the shortcoming of linear filter to a certain extent.
Indoor and outdoor mode setting platform using the present invention, operating aspect intelligence is set for mobile terminal in the prior art
Change poor technical problem, by introducing various targetedly image capture devices and image processing equipment, to movement
Terminal current environment is judged, is also introduced timing device and is carried out auxiliary judgment, to determine whether mobile terminal is currently in
Indoor environment or outdoor environment, and the operator scheme automated is set, so as to solve above-mentioned technical problem.
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.