The content of the invention
In order to solve the above problems, the 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 external schema is provided platform is set, for mobile terminal, the platform includes:
Top camera, the top of mobile terminal is arranged on, for carrying out view data to the top scene of mobile terminal
Gather to obtain and export top scene image;
Lower section camera, the lower section of mobile terminal is arranged on, 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 into output image;Multi-level processing equipment carries 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 external schema sets platform:The multi-level processing equipment images with top respectively
Head connects with lower section camera;Wherein, the multi-level processing equipment is to be analyzed for top scene image to be converted into top
Image, it is additionally operable to lower section scene image being converted to lower section image to be analyzed.
More specifically, in the indoor external schema sets platform, in addition to:Timing device, set on mobile terminals,
For providing real-time timing signal.
More specifically, in the indoor external schema sets platform, in addition to:Gradient extraction equipment, inputted for receiving
Image, for the pixel value of each pixel in input picture, its pixel value is subtracted to the pixel value of the descending pixel of its same column
After take absolute value to obtain the first absolute value, taken absolute value after its pixel value is subtracted into 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 external schema sets platform, in addition to:
Gradient processing equipment, it 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
Gradient corresponding to image handles 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, it 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, connect 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 is handled to obtain reflection processing data;The signal handling equipment is performed based at the gradient to the 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 by the incident processing data and the reflection
Processing data merges 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 external schema sets 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 external schema sets 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 external schema sets 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 platform is set to be described in detail the indoor external schema of the present invention below with reference to accompanying drawings.
History of the mobile terminal as simple communication equipment with Mobile Communication Development existing decades.Opened from 2007
Begin, intellectuality 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,
Ecommerce 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, turn into 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 external schema is provided platform is set, for mobile terminal;And 2) run the platform.
Fig. 1 sets the block diagram of platform, the platform for the indoor external schema according to embodiment of the present invention
Including:
Top camera, the top of mobile terminal is arranged on, for carrying out view data to the top scene of mobile terminal
Gather to obtain and export top scene image;
Lower section camera, the lower section of mobile terminal is arranged on, 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 into 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 to set the concrete structure of platform to be further detailed the indoor external schema of the present invention.
In the indoor external schema sets 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 external schema sets platform also to include:
Timing device, set on mobile terminals, for providing real-time timing signal.
The indoor external schema sets platform also to include:
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 the descending pixel of its same column, and it is same that its pixel value is subtracted into 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 external schema sets platform also to include:
Gradient processing equipment, it 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
Gradient corresponding to image handles 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, it is connected with gradient processing equipment, for receiving gradient processing image, gradient processing is schemed
As resolving into scene light source incident components and target reflecting component;
Signal handling equipment, it 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 mean flow rate change is handled to obtain reflection processing data;The signal transacting
Equipment performs the adaptive-filtering dimension based on gradient processing mean picture brightness change to the target reflecting component and selected
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 by the incident processing data and the reflection
Processing data merges 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 external schema sets 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 external schema sets 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 external schema sets 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 under conditions of image detail feature is retained as far as possible to the noise of target image
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 by 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 on image and cause the isolated of stronger visual effect
Pixel or block of pixels.Typically, 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, and 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 conventional 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 non-gaussian be present and 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 precision 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 weak point of linear filter to a certain extent.
Platform is set using the indoor external schema of 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.