CN102004537A - System power-on and power-off control device and method - Google Patents

System power-on and power-off control device and method Download PDF

Info

Publication number
CN102004537A
CN102004537A CN201010531966XA CN201010531966A CN102004537A CN 102004537 A CN102004537 A CN 102004537A CN 201010531966X A CN201010531966X A CN 201010531966XA CN 201010531966 A CN201010531966 A CN 201010531966A CN 102004537 A CN102004537 A CN 102004537A
Authority
CN
China
Prior art keywords
environmental parameter
image
symbol
processing block
main processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010531966XA
Other languages
Chinese (zh)
Other versions
CN102004537B (en
Inventor
邱又海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010531966.XA priority Critical patent/CN102004537B/en
Publication of CN102004537A publication Critical patent/CN102004537A/en
Application granted granted Critical
Publication of CN102004537B publication Critical patent/CN102004537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a system power-on and power-off control device and a system power-on and power-off control method. The system power-on and power-off control device comprises a main processing module for acquiring the environmental parameter values of the current environment of a system, and judging if the environmental parameter values go beyond preset ranges of environmental parameter values; and a control module for controlling the turning off of the power. The device and the method realize the intellectualization of the power-on and power-off control of the system and reduce labor intensity and workload for manual monitoring.

Description

System's power-on and power-off control device and method
Technical field
The present invention relates to the communications field, in particular to a kind of system power-on and power-off control device and method.
Background technology
Generally speaking, the index of environmental parameter may influence the serviceability of system, such as: temperature and humidity surpasses certain upper limit and lower limit, and system can't operate as normal even destroyed.In this case, be necessary system is carried out power-on and power-off control, the threshold value that promptly surpasses regulation when environmental parameter, and when keeping stable or the trend that worsens more being arranged, just by main frame to system's control of cutting off the power supply, when environmental parameter returns within the set quota scope, and during the trend that does not worsen repeatedly, main frame is just to system's control of switching on.
Generally can comprise the environment measurement equipment that can accurately measure environmental parameter in the system, this equipment can be presented at measured value on the display devices such as charactron or liquid crystal display usually in real time, distinguishes for human eye.At present, adopt manual supervisory mode to come system to be carried out the control of power-on and power-off usually according to environmental parameter.That is,, by main frame system is carried out power-on and power-off control thus by the environmental parameter that the special messenger monitored on the above-mentioned display device in 24 hours in real time.Obviously, adopt the not only waste of manpower of manual supervisory mode, and increased workload.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of system power-on and power-off control device and method, solving the manual supervisory mode waste of manpower of above-mentioned employing at least, and has increased the problem of workload.
According to an aspect of the present invention, provide a kind of system power-on and power-off control device, having comprised: main processing block is used to the environmental parameter value of the system that obtains current place environment, and judges that the environmental parameter value is whether outside predetermined environmental parameter scope; Control module, the judged result that is used at main processing block is under the situation that is, the control system outage.
According to a further aspect in the invention, provide a kind of system power-on and power-off control method, having comprised: main processing block obtains the environmental parameter value of system's current place environment, and judges that the environmental parameter value is whether outside predetermined environmental parameter scope; Control module is under the situation that is in the judged result of main processing block, the control system outage.
By the present invention, by being set, main processing block and control module obtain the environmental parameter value of system's current place environment, and when the environmental parameter value of determining to obtain is outside predetermined environmental parameter scope, the control system outage, thereby realized the automatic control of system's power-on and power-off, need not manual monitoring, solved and adopted manual supervisory mode waste of manpower, and increased the problem of workload, realize the intellectuality of system's power-on and power-off control, alleviated the labour intensity and the workload of manpower monitoring.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation according to system's power-on and power-off control device of the embodiment of the invention;
Fig. 2 is the structural representation according to system's power-on and power-off control device of the preferred embodiment of the present invention one;
Fig. 3 is the structural representation according to system's power-on and power-off control device of the preferred embodiment of the present invention two;
Fig. 4 is the hardware connection diagram of system's power-on and power-off control device according to the preferred embodiment of the invention;
Fig. 5 is the process flow diagram according to system's power-on and power-off control method of the embodiment of the invention;
Fig. 6 is the process flow diagram that extracts the environmental parameter value according to the preferred embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the synoptic diagram according to system's power-on and power-off control device of the embodiment of the invention, comprise with lower module: main processing block 10, the environmental parameter value that is used to the system that obtains current place environment, and judge that the environmental parameter value obtain is whether outside predetermined environmental parameter scope; Control module 20, the judged result that is used at main processing block 10 is under the situation that is, the control system outage.
Present embodiment obtains the environmental parameter value of system's current place environment by main processing block and control module are set, and when the environmental parameter value of determining to obtain is outside predetermined environmental parameter scope, the control system outage, thereby realized the automatic control of system's power-on and power-off, need not manual monitoring, solved and adopted manual supervisory mode waste of manpower, and increased the problem of workload, realize the intellectuality of system's power-on and power-off control, alleviated the labour intensity and the workload of manpower monitoring.
In order to make full use of the existing equipment in the system, when practical application, above-mentioned main processing block 10 can be realized by the main frame in the system.A kind of embodiment that main processing block 10 obtains the environmental parameter value of system's current place environment can be to develop on the main frame of system independently that the environmental parameter measurement module comes the environmental parameter value of the current place of measuring system environment, and sends main processing block 10 to.The another kind of embodiment that main processing block 10 obtains the environmental parameter value of system's current place environment can also be that the environment measurement equipment in the requirement system provides external data communication interface and sends the environmental parameter value of measuring to main processing block 10 by this data communication interface.
In another preferred implementation of the embodiment of the invention, main processing block 10 can adopt following preferred implementation to obtain the environmental parameter value of system's current place environment, in system's power-on and power-off control device of as shown in Figure 2 preferred embodiment, can also comprise: image collection module 30, be used for the shown image of the display device of the system that obtains and send the image that obtains to main processing block 10, wherein, this display device is used for the environmental parameter value of the environment at the current place of display system; Then, main processing block 10 just can be used for obtaining according to the image that image collection module 30 gets access to the environmental parameter value of system's current place environment.
In actual applications, image collection module 30 can be the first-class camera head of shooting.Obviously, it is preceding to catch the image that includes the environmental parameter value that shows on the display device that the camera head in the preferred embodiment need be fixed on display device, passes to main processing block 10 then.
Development along with computer vision technique, can utilize simple camera head to obtain the image that includes the environmental parameter value that display device shows, for example can the use a computer algorithm of special use of visual identity of main processing block 10, just can extract the environmental parameter value in the image, notify the power-on and power-off of control module 20 control system by main processing block 10 according to these environmental parameter values then, thereby carry out the robotization and the intelligent control of system's power-on and power-off.
In order to realize that image that main processing block 10 gets access to according to image collection module 30 obtains the function of the environmental parameter value of system's current place environment, as shown in Figure 3, main processing block 10 can comprise: pretreatment module 102, segmented extraction module 104 and matching module 106, the function of each module of detailed description below.
Pretreatment module 102, the image that is used for image collection module 30 is got access to carries out pre-service, obtains the gray-scale map (being the gray-scale map that the edge strengthens) that suppresses through peak value; Can adopt method such as gaussian filtering that the image that gets access to is carried out pre-service, thereby strengthen marginal information, help improving matching performance.
Wherein, in order to realize the pre-service to image, pretreatment module 102 can also comprise following four modules:
(1) modular converter, the image transitions that is used for colour is a gray-scale map;
For example, can convert coloured image to gray-scale map according to following formula (1):
I(x,y)=0.299*R(x,y)+0.587*G(x,y)+0.114*B(x,y) (1)
Wherein, x and y denotation coordination, R (x, y), G (x, y) and B (x, y) denotation coordination (x, the colored trichromatic value of y) locating, I (x, y) coordinate (x, the gray-scale value of y) locating that calculate of expression.
(2) Filtering Processing module is used for that the gray-scale map that converts to is carried out gaussian filtering and handles, and obtains filtered gray-scale map;
For example, in order to strengthen the edge of symbol, can carry out gaussian filtering to the gray-scale map that converts to according to following formula (2) and handle:
H = ▿ 2 G 1 * ▿ 2 G 2 = [ ( ∂ 2 ∂ x 2 + ∂ 2 ∂ y 2 ) G 1 ] * [ ( ∂ 2 ∂ x 2 + ∂ 2 ∂ y 2 ) G 2 ] - - - ( 2 )
Wherein, * represents convolution algorithm, G 1, G 2Represent two different two-dimensional Gaussian functions respectively, their parameter is respectively σ 1And σ 2That is, (x, y) H that multiply by as shown in Equation (2) promptly obtains filtered gray-scale map to the gray-scale map I that modular converter is converted to.
(3) intensity normalized module is used for filtered gray-scale map is carried out the intensity normalized, obtains the normalized gray-scale map of intensity;
For example, can carry out the intensity normalized according to following formula (3) for filtered image:
I &prime; ( x , y ) = I ( x , y ) I max p , I ( x , y ) > 0 I ( x , y ) - I min n , I ( x , y ) < 0 - - - ( 3 )
Wherein,
Figure BDA0000030801880000063
Be positive maximum of intensity,
Figure BDA0000030801880000064
Be negative minimum of intensity, (x y) is the gray-scale map (being also referred to as intensity map) after the intensity normalization to I ', and (x y) is filtered gray-scale map to I.
(4) peak value suppresses processing module, is used for that the normalized gray-scale map of intensity is carried out peak value and suppresses to handle, and obtains the gray-scale map that suppresses through peak value.
For example, can carry out peak value according to following formula (4) suppresses to handle:
Figure BDA0000030801880000065
Wherein, " (0<t≤1 is for suppressing thresholding for x, the y) gray-scale map (being also referred to as intensity map) for suppressing through peak value, and (x y) is the gray-scale map (being also referred to as intensity map) after the intensity normalization to I ' for I.
Through the processing of above-mentioned four modules, just obtained gray-scale map through the peak value inhibition, strengthened image edge information, therefore, also promptly obtained the gray-scale map that the edge strengthens, keep this gray-scale map, so that use the back.
Segmented extraction module 104 is used for being partitioned into the image of each symbol from the above-mentioned gray-scale map that suppresses through peak value, and extracts the proper vector of each symbol;
For example, the method that is partitioned into the image of each symbol from above-mentioned gray-scale map through the peak value inhibition can comprise: the gray-scale map after the edge is strengthened (being the above-mentioned gray-scale map that suppresses through peak value) carries out binary conversion treatment, use morphologic opening operation filtering noise, and then carry out closed operation and fill the crack, next use the algorithm that floods to fill, mark connects component, thereby obtains the area coordinate of single symbol, is partitioned into single symbol.
For example, after being partitioned into each symbol, can use SIFT (conversion of yardstick invariant features) algorithm to extract the proper vector of cutting apart each symbol that obtains.The SIFT algorithm mainly is image to be carried out different collections form the image pyramid hierarchy, with the Gaussian kernel function each tomographic image in the image pyramid hierarchy is carried out the gaussian pyramid hierarchy that convolution algorithm generates metric space then, then adjacent gaussian filtering image subtraction is formed the difference of Gaussian image.In the difference of Gaussian image, seek extreme point (comprising maximum value or minimum value), mainly be by comparing each unique point and 8 unique points around it and each 9 unique point in the neighbouring figure layer, the extreme point of finding out as candidate point, is removed low contrast in the candidate feature point and marginal point then and finally obtains the stable characteristics point.The descriptor of last calculated characteristics point, descriptor have comprised information such as the position, yardstick, direction of unique point, and the expression by descriptor makes each unique point have very high uniqueness, for the coupling of back provides good parameter.
Matching module 106, the proper vector sample storehouse that is used for searching in advance storage respectively with the proper vector sample of the proper vector coupling of each symbol that is partitioned into, for each symbol, obtain the value of this symbol according to proper vector sample with this symbol coupling, the value of each symbol that wherein, is partitioned into is formed above-mentioned environmental parameter value.
Wherein, matching module 106 is searched in advance in the proper vector sample storehouse of storage respectively the proper vector sample with the proper vector coupling of each symbol that is partitioned into, for each symbol, the value that obtains this symbol according to the proper vector sample with this symbol coupling comprises: travel through each proper vector sample in the proper vector sample storehouse successively, calculates the proper vector of the current symbol that mates and the nearest neighbor distance and the inferior nearest neighbor distance of the proper vector sample of current traversal; Whether the nearest neighbor distance that judgement calculates is lower than the predetermined ratio threshold value with the ratio of time nearest neighbor distance; When judged result when being lower than, determine the proper vector of the current symbol that mates and the proper vector sample matches of current traversal, and determine that the value of the current symbol that mates is the proper vector sample corresponding symbol value of current traversal.This method is NN (arest neighbors) method.
For example, obtain after the proper vector of single symbol, use the proper vector sample of preserving in the NN method traversal proper vector sample database, carry out the coupling of unique point with the proper vector of the symbol that extracts.Adopt NN (arest neighbors) method that proper vector is mated.The NN method mainly is whether the ratio according to nearest neighbor distance between proper vector and time nearest neighbor distance comes to mate between the judging characteristic vector,, gets a threshold value (being the ratio threshold value) that is, mates between proper vector if ratio is lower than this threshold value then thinks.The key of NN method is the arest neighbors and time neighbour of search characteristics point, and it is right less than the coupling of a certain thresholding with time nearest neighbor distance ratio only to choose arest neighbors.When search arest neighbors and time neighbour, can adopt a kind of on k-d tree method for fast searching basis improved method BBF (the best case mode of priority).The BBF method mainly is k-d tree have been limited the high reps of search, and utilizes a priority query that search order is searched for the order that the distance sample unique point increases progressively, thereby can find required arest neighbors and time neighbour's point efficiently.
Wherein, when practical application, the proper vector sample (promptly obtaining matching relationship) that mates with the proper vector of a symbol that is partitioned in the proper vector sample storehouse that finds storage in advance can also use a kind of improved broad sense Hough (Hough) conversion to remove the processing of wrong coupling in conjunction with the least square optimized Algorithm earlier afterwards.Particularly, to the SIFT proper vector (comprise the current symbol that mates proper vector and with the proper vector sample of its coupling) carry out Generalized Hough Transform, because the predictive transformation after the Hough conversion has very large error boundary, so just need the use least square method to find the solution affine transformation parameter between two images to be matched (promptly through the proper vector of the current symbol that mates after the Generalized Hough Transform and and the proper vector sample of its coupling).Try to achieve after the least square solution, see between two images to be matched that each coupling in the coupling pair set finds the solution the affine transformation parameter that obtains to whether all satisfying, it is right to remove the coupling that does not satisfy affine transformation parameter from original coupling pair set, obtains new coupling pair set.In new coupling pair set, find the solution affine transformation parameter again, handle repeatedly like this, iteration stopping after the coupling pair set no longer changes.In above-mentioned iterative process, if in the coupling pair set remaining coupling to number less than threshold value, then judge the current symbol that mates proper vector and with the proper vector sample of its coupling be erroneous matching.After stopping iteration, if the coupling of coupling in the pair set satisfies threshold requirement to number, then judge the current symbol that mates proper vector and with the proper vector sample of its coupling be correct coupling.
Because the environmental parameter value generally only is positioned at a position of the shown image of display device, therefore main processing block can also comprise: cut apart module 40, be used for according to the position of the environmental parameter value that marks in advance at the image that obtains, from the image that this obtains, be partitioned into the image that is positioned at this position, the image that is partitioned into exported to pretreatment module carry out pre-service.Like this, can reduce computation complexity, improve processing speed.
Generally speaking, can be once outside predetermined environmental parameter scope (it is generally acknowledged and in the environmental parameter scope, promptly belong to normal range) in the environmental parameter value, it is the control system power on/off, but obtain repeatedly environmental parameter value, judge the variation tendency of environmental parameter value according to this, when the just control system outage outside the environmental parameter scope and when keeping stable or the trend of deterioration being arranged of environmental parameter value, in the environmental parameter value returns to the environmental parameter scope and when keeping stablize just again control system switch on.Therefore, as shown in Figure 3, main processing block 10 can also comprise: environmental parameter judge module 108, be used for a plurality of environmental parameter values of repeatedly obtaining are carried out linear fit, and judge the variation tendency of environmental parameter value; Issue module 109, be used for determining that at described environmental parameter judge module the variation tendency of described environmental parameter value is that described environmental parameter value is outside described environmental parameter scope and keep stable or the trend of deterioration is arranged, and described system issues the outage control command and gives described control module when being in "on" position; Determine described environmental parameter value in described environmental parameter scope and keep stable at described environmental parameter judge module, and described system issues described energising control command and gives described control module when being in described off-position.Thereby control module can be carried out the power on/off that corresponding operation realizes system according to issuing the control command that module issues.
As shown in Figure 3, in order to carry out the power on/off that corresponding operation realizes system according to issuing the control command that module issues, control module 20 can comprise: micro treatmenting device 202, be used for according to issuing the outage control command that module 109 issues, and control relay system 204 is opened; And according to issuing the energising control command that module 109 issues, control relay system 204 closures; Relay system 204, the one end is connected to the power supply of system, and the other end is connected to system.Therefore, when relay system 204 closures, the power supply of system and system connectivity have realized the energising of system; When relay system 204 was opened, the power supply of system and system break had realized the outage of system.
When practical application, above-mentioned micro treatmenting device 202 can be microprocessor (MCU), and relay system 204 can be a relay.
The said apparatus connection diagram in actual applications that Fig. 4 provides for the embodiment of the invention, as shown in Figure 4, when practical application, can utilize existing device in the system to realize each module in the said system power-on and power-off control device can realizing above-mentioned main processing block 10 by the main frame in the system as far as possible.In addition, can utilize camera head to realize above-mentioned image collection module 30, realize above-mentioned micro treatmenting device 202, realize above-mentioned relay system 204 by relay by microprocessor.In Fig. 4, camera head obtains the shown image (promptly taking the shown image of display device) of display device in the system and the video data (passing through data communication interface) that obtains is sent to main frame, main frame carries out the gray-scale map that pre-service obtains the inhibition of process peak value to this video data then, from above-mentioned gray-scale map, be partitioned into the image of each symbol through the peak value inhibition, and use the SIFT algorithm to extract the proper vector of each symbol, and use the NN method to search in the proper vector sample storehouse of storage in advance respectively proper vector sample with the proper vector coupling of each symbol that is partitioned into, for each symbol, obtain the value of this symbol according to proper vector sample, finally obtained the environmental parameter value that gets access to this symbol coupling; After main frame uses said method to get access to a plurality of environmental parameter values, these environmental parameter values are carried out linear fit, determine the variation tendency of environmental parameter value and issue control command and give microprocessor in conjunction with the state (reporting main frame) of current control module repeat circuit by the timing microprocessor in the control module, microprocessor is opened according to the control command pilot relay that receives or is closed, thus the automatic control of the system of realization power-on and power-off.
In conjunction with system's power-on and power-off control device as shown in Figure 3, this device method that power-on and power-off are controlled to system may further comprise the steps as shown in Figure 5:
Step S502, main processing block obtain the environmental parameter value of system's current place environment, and judge that the environmental parameter value is whether outside predetermined environmental parameter scope;
Step S504, control module is under the situation that is in the judged result of main processing block, the control system outage.
Wherein, before step S502, also comprise: image collection module is obtained the shown image of display device in the system and is sent the image that obtains to main processing block, and wherein, display device is used for the display environment parameter value; Then, step S502 comprises: main processing block is according to Image Acquisition environmental parameter value.Image collection module is fixed on the front of display device, guarantees to catch shown environmental parameter steady and audiblely.
For example, main processing block can obtain the environmental parameter value of the environment at the current place of system according to following steps:
Step 1, the image that main processing block obtains image collection module carries out pre-service, obtains the gray-scale map that suppresses through peak value;
Step 2, main processing block is partitioned into the image of each symbol from the gray-scale map that suppresses through peak value, and extracts the proper vector of each symbol;
Step 3, main processing block is searched in advance in the proper vector sample storehouse of storage respectively the proper vector sample with the proper vector coupling of each symbol, for each symbol, obtain the value of this symbol according to proper vector sample with this symbol coupling, wherein, the value of each symbol is formed the environment parameter value.
Wherein, main processing block is searched in advance in the proper vector sample storehouse of storage respectively the proper vector sample with the proper vector coupling of each symbol, for each symbol, the value that obtains this symbol according to the proper vector sample with this symbol coupling comprises: main processing block travels through each proper vector sample in the proper vector sample storehouse successively, calculates the proper vector of the current symbol that mates and the nearest neighbor distance and the inferior nearest neighbor distance of the proper vector sample of current traversal; Then, main processing block judges whether the nearest neighbor distance and the ratio of time nearest neighbor distance are lower than the predetermined ratio threshold value; When judged result when being lower than, main processing block is determined the proper vector of the current symbol that mates and the proper vector sample matches of current traversal, and determines that the value of the current symbol that mates is the proper vector sample corresponding symbol value of current traversal.
In order further to reduce computation complexity and calculated amount, before the image that main processing block obtains image collection module carries out pre-service, can also comprise step: main processing block is partitioned into the image that is positioned at the position according to the position of environmental parameter value in the image that obtains that marks in advance from the image that obtains; Then main processing block image that image collection module is obtained carries out pre-service and comprises: main processing block only needs carry out pre-service to the image that is partitioned into.
Below in conjunction with preferred embodiment shown in Figure 4, system's power-on and power-off control method according to the preferred embodiment of the invention is elaborated, specifically may further comprise the steps as shown in Figure 6:
Step S602, system powers on, and main frame can correctly receive the video data that camera head is sent here, and the microprocesser initialization in the control module is normal with main-machine communication;
Step S604 artificially marks the zone of environmental parameter value in video image one time;
Step S606, main frame extract a two field picture according to the time interval t that sets from video captured stream, the image of the tab area in the image that extracts is carried out pre-service; Because after camera head is fixing, the position of environmental parameter value in ken image generally can not change, can in mainframe program, artificially mark the position of an environmental parameter value, follow-up image all is partitioned into pending image according to marking the coordinate that obtains for the first time, thereby reduce the complexity of program, improve processing speed.
For example, image is carried out pre-service and may further comprise the steps 1-4:
Step 1:, convert coloured image to gray-scale map according to following formula (1):
I(x,y)=0.299*R(x,y)+0.587*G(x,y)+0.114*B(x,y) (1)
Wherein, x and y denotation coordination, R (x, y), G (x, y) and B (x, y) denotation coordination (x, the colored trichromatic value of y) locating, I (x, y) coordinate (x, the gray-scale value of y) locating that calculate of expression.
Step 2:, can carry out gaussian filtering to gray-scale map according to following formula (2) and handle in order to strengthen the edge of symbol:
H = &dtri; 2 G 1 * &dtri; 2 G 2 = [ ( &PartialD; 2 &PartialD; x 2 + &PartialD; 2 &PartialD; y 2 ) G 1 ] * [ ( &PartialD; 2 &PartialD; x 2 + &PartialD; 2 &PartialD; y 2 ) G 2 ] - - - ( 2 )
Wherein, * represents convolution algorithm, G 1, G 2Represent two different two-dimensional Gaussian functions respectively, their parameter is respectively σ 1And σ 2That is, (x, y) H that multiply by as shown in Equation (2) promptly obtains filtered gray-scale map to the gray-scale map I that modular converter is converted to.
Step 3: carry out the intensity normalized according to following formula (3) for filtered image:
I &prime; ( x , y ) = I ( x , y ) I max p , I ( x , y ) > 0 I ( x , y ) - I min n , I ( x , y ) < 0 - - - ( 3 )
Wherein,
Figure BDA0000030801880000142
Be positive maximum of intensity, Be negative minimum of intensity, (x y) is the gray-scale map (being also referred to as intensity map) after the intensity normalization to I ', and (x y) is filtered gray-scale map to I.
Step 4: according to following formula (4) gray-scale map after the intensity normalization is carried out peak value and suppress to handle:
Figure BDA0000030801880000144
Wherein, " (0<t≤1 is for suppressing thresholding for x, the y) gray-scale map (being also referred to as intensity map) for suppressing through peak value, and (x y) is the gray-scale map (being also referred to as intensity map) after the intensity normalization to I ' for I.
Through the processing of above-mentioned steps, just obtained the gray-scale map that the edge strengthens, keep this gray-scale map, so that use the back.
Step S608 is partitioned into single symbol from pretreated image.Gray-scale map after the edge enhancing is carried out binary conversion treatment, use morphologic opening operation filtering noise, carrying out closed operation filling crack then.Next use the algorithm that floods to fill, mark connects component, thereby obtains the area coordinate of single symbol, according to the area coordinate of the single symbol that obtains, is partitioned into the image of single symbol the gray-scale map after strengthening.
Step S610 extracts single symbolic feature vector with the SIFT method.The SIFT method mainly is image to be carried out different collections form the image pyramid hierarchy, with the Gaussian kernel function each tomographic image in the image pyramid hierarchy is carried out the gaussian pyramid hierarchy that convolution algorithm generates metric space then, then adjacent gaussian filtering image subtraction is formed the difference of Gaussian image.In the difference of Gaussian image, seek extreme point (comprising maximum value or minimum value), mainly be by comparing each unique point and 8 unique points around it and each 9 unique point in the neighbouring figure layer, the extreme point of finding out as candidate point, is removed low contrast in the candidate feature point and marginal point then and finally obtains the stable characteristics point.The descriptor of last calculated characteristics point, descriptor have comprised information such as the position, yardstick, direction of unique point, and the expression by descriptor makes each unique point have very high uniqueness, for the coupling of back provides good parameter.
Step S612 judges according to pre-conditioned, if with the proper vector the extracted coupling benchmark as corresponding symbol, then execution in step S614.If carry out matching operation, execution in step S616 then.
Step S614 before mainframe program uses, makes the proper vector sample storehouse of glossary of symbols, as the coupling benchmark.
Step S616 obtains after the proper vector of single symbol, the proper vector sample storehouse of traversal glossary of symbols.Adopt NN method (arest neighbors method) that unique point is mated.The NN method mainly is whether the ratio according to the nearest neighbor distance of unique point and time nearest neighbor distance comes to mate between judging characteristic point, gets a threshold value, mates between unique point if be lower than this threshold value then think.The key of NN method is the arest neighbors and time neighbour of search characteristics point, and it is right less than the coupling of a certain thresholding with time nearest neighbor distance ratio only to choose arest neighbors.When search arest neighbors and time neighbour, adopted a kind of on k-d tree method for fast searching basis improved method BBF (the best case mode of priority).The BBF method mainly is k-d tree have been limited the high reps of search, and utilizes a priority query that search order is searched for the order that the distance sample unique point increases progressively, thereby can find required arest neighbors and time neighbour's point efficiently.To the SIFT proper vector (comprise the current symbol that mates proper vector and with the proper vector sample of its coupling) carry out Generalized Hough Transform, because the predictive transformation after the Hough conversion has very large error boundary, so just need to use least square method to find the solution two affine transformation parameters between the image to be matched.Try to achieve after the least square solution, see between two images to be matched that each coupling in the coupling pair set finds the solution the affine transformation parameter that obtains to whether all satisfying, it is right to remove the coupling that does not satisfy affine transformation parameter from original coupling pair set, obtains new coupling pair set.In new coupling pair set, find the solution affine transformation parameter again, handle repeatedly like this, iteration stopping after the coupling pair set no longer changes.In above-mentioned iterative process, if in the coupling pair set remaining coupling to number less than threshold value, then judge the current symbol that mates proper vector and with the proper vector sample of its coupling be erroneous matching.After stopping iteration, if the coupling of coupling in the pair set satisfies threshold requirement to number, then judge the current symbol that mates proper vector and with the proper vector sample of its coupling be correct coupling.
Step S618, if the matching operation among the step S616 does not obtain correct coupling, execution in step S620 then, if the match is successful, execution in step S622 then.
Step S620, if certain symbol coupling is unsuccessful, all results that so current environmental parameter is extracted are invalid, not to subsequent module output environment parameter value.
Step S622 if the match is successful for single symbol, preserves matching result.
Step S624 judges whether to finish the coupling of all symbols in the ken of mark, if do not finish, and execution in step S608 then, if all finish, execution in step S626 then.
Step S626 carries out linear fit at up-to-date some groups of environmental parameter values of catching, and obtains the variation tendency of environmental parameter value, then according to the environmental parameter scope output control command of setting; Control module is the current state of telegraph relay on main frame periodically.The current state of the variation tendency of main frame combining environmental parameter value, environmental parameter scope and relay judges whether and need export control command to control module.
Step S628, the control command that control module is sent here according to main frame, pilot relay is switched on and power operation.
As can be seen from the above description, the present invention has realized following technique effect:
(1) by adopting computer vision technique to extract the environmental parameter value, realize intellectuality control to system's power-on and power-off, alleviated the labour intensity and the workload of manpower monitoring.
(2) owing to can uninterruptedly monitor the environmental parameter value, therefore raising system effectively tackles unusual environmentAL safety coefficient.
(3) adopt common hardware configuration cheaply, can farthest utilize existing equipment,, only need upgrade software to get final product, have dirigibility and adaptability at different display devices and display mode.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. system's power-on and power-off control device is characterized in that, comprising:
Main processing block is used to obtain the environmental parameter value of described system current place environment, and judges that described environmental parameter value is whether outside predetermined environmental parameter scope;
Control module, the judged result that is used at described main processing block is under the situation that is, controls described system cut-off.
2. device according to claim 1, it is characterized in that, also comprise: image collection module is used for obtaining shown image of the display device of described system and the described image that will obtain and sends described main processing block to, wherein, described display device is used to show described environmental parameter value;
Described main processing block is used for according to the described environmental parameter value of described Image Acquisition.
3. device according to claim 2 is characterized in that, described main processing block comprises:
Pretreatment module, the image that is used for described image collection module is obtained carries out pre-service, obtains the gray-scale map that suppresses through peak value;
The segmented extraction module is used for being partitioned into from described gray-scale map the image of each symbol, and extracts the proper vector of each described symbol;
Matching module, the proper vector sample storehouse that is used for searching in advance storage respectively with the proper vector sample of the proper vector coupling of each described symbol, for each described symbol, obtain the value of this symbol according to proper vector sample with this symbol coupling, wherein, the value of each described symbol is formed described environmental parameter value.
4. device according to claim 3 is characterized in that, described pretreatment module comprises:
Modular converter, the image transitions that is used for colour is a gray-scale map;
The Filtering Processing module is used for that the gray-scale map that converts to is carried out gaussian filtering and handles, and obtains filtered gray-scale map;
Intensity normalized module is used for described filtered gray-scale map is carried out the intensity normalized, obtains the normalized gray-scale map of intensity;
Peak value suppresses processing module, is used for that the normalized gray-scale map of described intensity is carried out peak value and suppresses to handle, and obtains the described gray-scale map that suppresses through peak value.
5. device according to claim 3 is characterized in that, described main processing block also comprises:
Cut apart module, be used for according in advance the mark described environmental parameter value in the position of the described image that obtains, from the described image that obtains, be partitioned into the image that is positioned at described position, the image that is partitioned into is exported to described pretreatment module carries out pre-service.
6. according to each described device in the claim 1 to 5, it is characterized in that described main processing block also comprises:
The environmental parameter judge module is used for a plurality of described environmental parameter value of repeatedly obtaining is carried out linear fit, judges the variation tendency of described environmental parameter value;
Issue module, be used for determining that at described environmental parameter judge module the variation tendency of described environmental parameter value is that described environmental parameter value is outside described environmental parameter scope and keep stable or the trend of deterioration is arranged, and described system issues the outage control command and gives described control module when being in "on" position; Determine described environmental parameter value in described environmental parameter scope and keep stable at described environmental parameter judge module, and described system issues described energising control command and gives described control module when being in described off-position.
7. device according to claim 6 is characterized in that, described control module comprises:
Micro treatmenting device is used for issuing the described outage control command that module issues according to described, and the control relay system is opened; And according to the described described energising control command that module issues, the control relay system closure of issuing;
Described relay system, the one end is connected to the power supply of described system, and the other end is connected to described system.
8. system's power-on and power-off control method is characterized in that, comprising:
Main processing block obtains the environmental parameter value of described system current place environment, and judges that described environmental parameter value is whether outside predetermined environmental parameter scope;
Control module is under the situation that is in the judged result of described main processing block, controls described system cut-off.
9. method according to claim 8 is characterized in that,
Obtain at main processing block before the environmental parameter value of described system current place environment, also comprise: image collection module is obtained the shown image of display device in the described system and the described image that will obtain sends described main processing block to, wherein, described display device is used to show described environmental parameter value;
The environmental parameter value that main processing block obtains described system current place environment comprises: described main processing block is according to the described environmental parameter value of described Image Acquisition.
10. method according to claim 9 is characterized in that, described main processing block comprises according to the described environmental parameter value of described Image Acquisition:
The image that described main processing block obtains described image collection module carries out pre-service, obtains the gray-scale map that suppresses through peak value;
Described main processing block is partitioned into the image of each symbol from described gray-scale map, and extracts the proper vector of each described symbol;
Described main processing block is searched in advance in the proper vector sample storehouse of storage respectively the proper vector sample with the proper vector coupling of each described symbol, for each described symbol, obtain the value of this symbol according to proper vector sample with this symbol coupling, wherein, the value of each described symbol is formed described environmental parameter value.
11. method according to claim 10, it is characterized in that, described main processing block is searched in advance in the proper vector sample storehouse of storage respectively the proper vector sample with the proper vector coupling of each described symbol, for each described symbol, the value that obtains this symbol according to the proper vector sample with this symbol coupling comprises:
Described main processing block travels through each proper vector sample in the described proper vector sample storehouse successively, calculates the nearest neighbor distance and time nearest neighbor distance of the proper vector sample of the proper vector of the current symbol that mates and current traversal;
Described main processing block judges whether the ratio of described nearest neighbor distance and described nearest neighbor distance is lower than the predetermined ratio threshold value;
When judged result when being lower than, described main processing block is determined the proper vector of the described current symbol that mates and the proper vector sample matches of described current traversal, and determines that the value of the described current symbol that mates is the proper vector sample corresponding symbol value of described current traversal.
12. method according to claim 10 is characterized in that,
Before the image that described main processing block obtains described image collection module carries out pre-service, also comprise: described main processing block is partitioned into the image that is positioned at described position according to the position of described environmental parameter value in the described image that obtains that marks in advance from the described image that obtains;
The image that described main processing block obtains described image collection module carries out pre-service and comprises: described main processing block carries out pre-service to the image that is partitioned into.
CN201010531966.XA 2010-11-04 2010-11-04 System power-on and power-off control device and method Active CN102004537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010531966.XA CN102004537B (en) 2010-11-04 2010-11-04 System power-on and power-off control device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010531966.XA CN102004537B (en) 2010-11-04 2010-11-04 System power-on and power-off control device and method

Publications (2)

Publication Number Publication Date
CN102004537A true CN102004537A (en) 2011-04-06
CN102004537B CN102004537B (en) 2016-03-02

Family

ID=43811946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010531966.XA Active CN102004537B (en) 2010-11-04 2010-11-04 System power-on and power-off control device and method

Country Status (1)

Country Link
CN (1) CN102004537B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930779A (en) * 2016-04-14 2016-09-07 吴本刚 Image scene mode generation device
CN108806334A (en) * 2018-04-27 2018-11-13 中船重工鹏力(南京)大气海洋信息系统有限公司 A kind of intelligent ship personal identification method based on image
WO2021098485A1 (en) * 2019-11-20 2021-05-27 中兴通讯股份有限公司 Method and system for power-on and power-off control of pcie device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651335A (en) * 2009-09-23 2010-02-17 福建星网锐捷网络有限公司 Electronic equipment protection device and electronic equipment
CN101666645A (en) * 2009-09-08 2010-03-10 深圳市克莱沃电子有限公司 Machine room minute environment monitoring system
CN101751019A (en) * 2008-12-18 2010-06-23 珠海格力电器股份有限公司 Monitoring system for environment simulation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751019A (en) * 2008-12-18 2010-06-23 珠海格力电器股份有限公司 Monitoring system for environment simulation
CN101666645A (en) * 2009-09-08 2010-03-10 深圳市克莱沃电子有限公司 Machine room minute environment monitoring system
CN101651335A (en) * 2009-09-23 2010-02-17 福建星网锐捷网络有限公司 Electronic equipment protection device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930779A (en) * 2016-04-14 2016-09-07 吴本刚 Image scene mode generation device
CN108806334A (en) * 2018-04-27 2018-11-13 中船重工鹏力(南京)大气海洋信息系统有限公司 A kind of intelligent ship personal identification method based on image
WO2021098485A1 (en) * 2019-11-20 2021-05-27 中兴通讯股份有限公司 Method and system for power-on and power-off control of pcie device

Also Published As

Publication number Publication date
CN102004537B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN106845890B (en) Storage monitoring method and device based on video monitoring
WO2019228063A1 (en) Product inspection terminal, method and system, computer apparatus and readable medium
CN102663354B (en) Face calibration method and system thereof
US20210272245A1 (en) Sky filter method for panoramic images and portable terminal
CN109145742A (en) A kind of pedestrian recognition method and system
CN104601964A (en) Non-overlap vision field trans-camera indoor pedestrian target tracking method and non-overlap vision field trans-camera indoor pedestrian target tracking system
CN105404847A (en) Real-time detection method for object left behind
CN105426828A (en) Face detection method, face detection device and face detection system
CN101251928A (en) Object tracking method based on core
CN103971384B (en) Node cooperation target tracking method of wireless video sensor
CN107067595B (en) State identification method and device of indicator light and electronic equipment
CN103077368A (en) Method and device for positioning mouth part of human face image as well as method and system for recognizing mouth shape
CN106952293A (en) A kind of method for tracking target based on nonparametric on-line talking
CN103440510A (en) Method for positioning characteristic points in facial image
CN105844205A (en) Character information identification method based on image processing
CN101231745A (en) Automatic partitioning method for optimizing image initial partitioning boundary
CN109447036A (en) A kind of segmentation of image digitization and recognition methods and system
CN111295666A (en) Lane line detection method, device, control equipment and storage medium
CN102004537A (en) System power-on and power-off control device and method
Zhang et al. New mixed adaptive detection algorithm for moving target with big data
CN105654054A (en) Semi-supervised neighbor propagation learning and multi-visual dictionary model-based intelligent video analysis method
CN110119742A (en) A kind of recognition methods of container number, device and mobile terminal
CN104700105A (en) Global detection method of unstructured outdoor terrains
CN105718896A (en) Intelligent robot with target recognition function
CN103996207A (en) Object tracking method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant