CN104601969A - District fortifying method and device - Google Patents
District fortifying method and device Download PDFInfo
- Publication number
- CN104601969A CN104601969A CN201510087814.8A CN201510087814A CN104601969A CN 104601969 A CN104601969 A CN 104601969A CN 201510087814 A CN201510087814 A CN 201510087814A CN 104601969 A CN104601969 A CN 104601969A
- Authority
- CN
- China
- Prior art keywords
- defences
- region
- image
- detected
- setting
- 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.)
- Pending
Links
Abstract
The invention provides a district fortifying method and device and belongs to the field of image processing. The district fortifying method includes comparing an image to be compared with a background image to obtain a target image to be detected; acquiring coordinates of the target image to be detected, comparing the coordinates with boundary coordinates of a preset fortified district, and if the coordinates fall within the boundary coordinates, judging a target indicated by the target image to be detected intrudes the fortified area. By the district fortifying method, device and system, the obtained image to be compared can be compared with the background image to obtain the target image to be detected, and then the coordinates of the target image to be detected are compared with the boundary coordinates of the preset fortified area, so that whether the target to be detected intrudes the fortified area or not can be effectively monitored, and the problem that in an existing monitoring system, only the integral frame area is monitored by the monitoring system, but specific areas in the integral frame cannot be monitored is solved.
Description
Technical field
The present invention relates to image processing field, set up defences in particular to a kind of region method and device.
Background technology
Supervisory control system is made up of shooting, transmission, control, display, record registration 5 major part.Video camera passes through coaxial video cable by transmission of video images to main control system, and vision signal is assigned to each monitor and video recording equipment by main control system again, synchronously can be entered into needing the voice signal of transmission in video tape recorder simultaneously.In existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and cannot realize monitoring the specific region in this whole picture.
Summary of the invention
A kind of region is the object of the present invention is to provide to set up defences method and device, to improve in existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and cannot realize the problem monitored the specific region in this whole picture.
The present invention is achieved in that
First aspect, embodiments provides a kind of region and to set up defences method, is applied to region and sets up defences system, and the described region system of setting up defences comprises region and to set up defences device and camera, and the described region method of setting up defences comprises:
Described region device of setting up defences obtains background image and treat contrast images;
Described in treat that contrast images and described background image contrast, obtain target image to be detected;
In the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that the target represented by described target image to be detected swarms into described pre-established region of setting up defences.
In conjunction with first aspect, embodiments provide the first possible execution mode of first aspect, wherein, treat described in described handle that contrast images and described background image contrast, obtain target image to be detected, comprising:
Described region device of setting up defences obtains the bianry image of described background image, and described in treat the bianry image of contrast images;
Treat that the bianry image of contrast images and the bianry image of described background image do difference described, obtain the bianry image of described target image to be detected.
In conjunction with first aspect, embodiments provide the execution mode that the second of first aspect is possible, wherein, after described acquisition target image to be detected, setting up defences method in described region, also comprises:
Described region device of setting up defences obtains the area of described target image to be detected, the area of described target image to be detected and the threshold area preset are contrasted, if the area of described target image to be detected is less than described threshold area, then judge that target represented by described target image to be detected is as noise.
In conjunction with first aspect, embodiments provide the third possible execution mode of first aspect, wherein, setting up defences method in described region, also comprises:
What described region set up defences that device obtains multiple successive frame treats contrast images, treats that contrast images and described background image contrast successively described multiple successive frame, obtains multiple coordinates of target to be detected;
In described pre-established image coordinate system, according to the change of multiple coordinates of target to be detected, obtain the moving direction of described target to be detected.
Second aspect, embodiments provides a kind of region and to set up defences device, and be applied to region and set up defences system, the described region system of setting up defences comprises camera, and described region device of setting up defences comprises:
First background image obtains unit, for obtaining background image;
First treats that contrast images obtains unit, treats contrast images for obtaining;
First image comparison unit, for treating described in handle that contrast images and described background image contrast, obtains target image to be detected;
Swarm into judging unit, for in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that the target represented by described target image to be detected swarms into described pre-established region of setting up defences.
In conjunction with second aspect, embodiments provide the first possible execution mode of second aspect, wherein, the first image comparison unit comprises:
Bianry image obtains unit, for obtaining the bianry image of described background image, and described in treat the bianry image of contrast images;
Bianry image contrast unit, for treating that the bianry image of contrast images and the bianry image of described background image do difference described, obtains the bianry image of described target image to be detected.
In conjunction with second aspect, embodiments provide the execution mode that the second of second aspect is possible, wherein, setting up defences device in described region, also comprises:
Noise filtering unit, for obtaining the area of described target image to be detected, the area of described target image to be detected and the threshold area preset are contrasted, if the area of described target image to be detected is less than described threshold area, then judge that target represented by described target image to be detected is as noise.
In conjunction with second aspect, embodiments provide the third possible execution mode of second aspect, wherein, setting up defences device in described region, also comprises:
Motion track obtains unit, treats contrast images for what obtain multiple successive frame, treats that contrast images and described background image contrast successively described multiple successive frame, obtains multiple coordinates of target to be detected; In described pre-established image coordinate system, according to the change of multiple coordinates of target to be detected, obtain the moving direction of described target to be detected.
Set up defences method and device in the region that the embodiment of the present invention provides, by camera is obtained after contrast images and background image contrast, obtain target image to be detected, mode again by the coordinate of target image to be detected and the boundary coordinate in the region of setting up defences of preestablishing are carried out contrasting, effectively can monitor target to be detected and whether swarm into region of setting up defences, thus improve in existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and problem that the specific region in this whole picture is monitored cannot be realized.
The third aspect, embodiments provides another kind of region and to set up defences method, is applied to region and sets up defences system, and the described region system of setting up defences comprises region and to set up defences device and camera, and the described region method of setting up defences comprises:
Described region device of setting up defences obtains background image and treat contrast images;
Described in treat that contrast images and described background image contrast, obtain target image to be detected;
In the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops on outside described boundary coordinate, then judge that the target represented by described target image to be detected leaves described pre-established region of setting up defences.
Fourth aspect, embodiments provides another kind of region and to set up defences device, and be applied to region and set up defences system, the described region system of setting up defences comprises camera, and described region device of setting up defences comprises:
Second background image obtains unit, for obtaining background image;
Second treats that contrast images obtains unit, treats contrast images for obtaining;
Second image comparison unit, for treating described in handle that contrast images and described background image contrast, obtains target image to be detected;
Leave judging unit, for in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops on outside described boundary coordinate, then judge that the target represented by described target image to be detected leaves described pre-established region of setting up defences.
Set up defences method and device in the another kind of region that the embodiment of the present invention provides, by camera is obtained after contrast images and background image contrast, obtain target image to be detected, mode again by the coordinate of target image to be detected and the boundary coordinate in the region of setting up defences of preestablishing are carried out contrasting, effectively can monitor target to be detected and whether leave region of setting up defences, thus improve in existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and problem that the specific region in this whole picture is monitored cannot be realized.
Accompanying drawing explanation
Fig. 1 is for region that the embodiment of the present invention provides setting up defences the structured flowchart of system;
Fig. 2 is for region that the embodiment of the present invention provides setting up defences the schematic diagram of method;
Fig. 3 is for a kind of region that the embodiment of the present invention provides setting up defences the flow chart of method;
Fig. 4 is for a kind of region that the embodiment of the present invention provides setting up defences the structured flowchart of device;
Fig. 5 is for another kind of region that the embodiment of the present invention provides setting up defences the flow chart of method;
Fig. 6 is for another kind of region that the embodiment of the present invention provides setting up defences the structured flowchart of device;
Fig. 7 is for another kind of region that the embodiment of the present invention provides setting up defences the structured flowchart of device.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
See Fig. 1, set up defences method in the region that the embodiment of the present invention provides, the region be applied to as shown in Figure 1 is set up defences in system, and the described region system of setting up defences comprises region and to set up defences device and mobile phone, and described mobile phone is provided with camera.Described region device of setting up defences can be arranged in described mobile phone, also independently can be arranged at outer handset.
Referring to Fig. 3, sets up defences method in a kind of region that the embodiment of the present invention provides, and described method is applied to region and sets up defences system, and the described region system of setting up defences comprises region and to set up defences device, and the described region method of setting up defences comprises:
Step S101: described region device of setting up defences obtains background image and treat contrast images.
In implementation process, for the ease of setting up background image fast and effectively, preferably, the first two field picture image as a setting that described camera can be gathered, and using the second frame and later in two field picture any two field picture as treating contrast images.In addition, can be there is not the image image as a setting of mobile object in the first time of camera collection yet, first time is occurred that the image of mobile object is as treating contrast images.And in the process gathered, can be judged by the gyroscope arranged in mobile phone whether mobile phone is in stable state, to avoid because the rocking of mobile phone self, and allow described region device of setting up defences be mistaken in the picture of mobile phone collection and occurred mobile object, and then produce wrong report.
Step S102: described in treat that contrast images and described background image contrast, obtain target image to be detected.
When acquisition background image and after contrast images, in order to obtain the target image to be detected treated in contrast images, need treating that contrast images and background image contrast.And in practice process, the mode of image comparison has multiple, in the present embodiment, as the preferred mode of one, background image and can treat that contrast images is converted to bianry image respectively, then do difference by the bianry image of the bianry image and background image for the treatment of contrast images and obtain target image to be detected, then can also comprise in step s 102, described region device of setting up defences obtains the bianry image of described background image, and described in treat the bianry image of contrast images;
Treat that the bianry image of contrast images and the bianry image of described background image do difference described, obtain the bianry image of described target image to be detected.
And in the process obtaining target image to be detected, can because of reasons such as environment residing for the error of the equipment of native system or native system, and produce noise, namely noise is mistaken for target to be detected, and in order to cover above-mentioned situation, in implementation process, as the preferred mode of one, when after acquisition target image to be detected, the area that the areal calculation function pre-set calculates this target image to be detected is called by region device of setting up defences, if the area of this target image to be detected is less than default threshold area, then judge that this target represented by target image to be detected is noise, thus improve the accuracy rate of this method.
It should be noted that, it is existing technology that image is converted to the bianry image corresponding with this image, and setting up defences method in the region provided to better describe the present embodiment, does not run business into particular one in the present embodiment and state.
Step S103: in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that the target represented by described target image to be detected swarms into described pre-established region of setting up defences.
In practice process, for the ease of setting up region of setting up defences, and obtaining the boundary coordinate in this region of setting up defences, as a kind of mode, the border of background image can be made to overlap with the reference axis of the two-dimensional coordinate system set up in advance.And the concrete shape in region of setting up defences can determine according to actual conditions, in the present embodiment, for the ease of setting up region of setting up defences fast, the shape in region of can making to set up defences is square, namely choose four reference points in the coordinate system, and the region that the line between described four reference points surrounds is region of setting up defences.As Fig. 2, A (x1 is had in two-dimensional coordinate system, y1), B (x2, y1), C (x1, y2), D (x2, y2) four points, the region that then square ABCD surrounds is then region of setting up defences, and after getting target image to be detected by image comparison, coordinate M (the x3 of described target image to be detected is got by back office interface function, y3) work as x3 and be greater than x1, be less than x2, and y3 is when being greater than y1 and being less than y2, then judge that the target represented by described target image to be detected has swarmed into region of setting up defences, the region that then the present embodiment provides system of setting up defences then can send hydropac.
It should be noted that, the coordinate of described target image to be detected, it can be the centre coordinate of target image to be detected, also can be the edge coordinate of image to be detected, in the present embodiment, in order to obtain judged result comparatively accurately, preferably, the coordinate of described target image to be detected is the centre coordinate of described target to be detected.
When the security protection of system of being set up defences in the region provided in the present embodiment for valuables, then can judge whether that entering into as a suspect of target to be detected region of setting up defences steals protected valuables.But after having a suspect to enter into set up defences region, system sends alarm signal again, then valuables likely cannot be avoided to wreck or lose.
Then in implementation process, as the preferred mode of one, set up defences the validity of method in the region provided to further promote the present embodiment, what described region set up defences that device obtains multiple successive frame treats contrast images, treat that contrast images and described background image contrast successively described multiple successive frame, obtain multiple coordinates of target to be detected; In described pre-established image coordinate system, according to the change of multiple coordinates of target to be detected, obtain the moving direction of described target to be detected.Namely when the boundary coordinate in be detected target image coordinate in the coordinate system in advance set up more and more close the set up defences region of detected multiple successive frames in contrast images, then native system just can send hydropac.
Set up defences method in the region that the embodiment of the present invention provides, by camera is obtained after contrast images and background image contrast, obtain target image to be detected, mode again by the coordinate of target image to be detected and the boundary coordinate in the region of setting up defences of preestablishing are carried out contrasting, effectively can monitor target to be detected and whether swarm into region of setting up defences, thus improve in existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and cannot realize the problem monitored the specific region in this whole picture.
Consulting Fig. 4, sets up defences device in a kind of region that the embodiment of the present invention provides, and described application of installation is set up defences in region system.Described region set up defences device to realize principle identical with preceding method, the not mentioned part of the embodiment of the present invention, can see appropriate section in preceding method embodiment.The region that the present embodiment provides device of setting up defences comprises: the first background image obtains unit 200, first and treats that contrast images obtains unit 201, first image comparison unit 202 and swarms into judging unit 203.Wherein,
Described first background image obtains unit 200, for obtaining background image.
Described first treats that contrast images obtains unit 201, treats contrast images for obtaining.
Described first image comparison unit 202, for treating described in handle that contrast images and described background image contrast, obtains target image to be detected.And in the present embodiment, the mode adopting bianry image to do difference contrast obtains target image to be detected, then described first image comparison unit 202 comprises bianry image and obtains unit, for obtaining the bianry image of described background image, and described in treat the bianry image of contrast images; Bianry image contrast unit, for treating that the bianry image of contrast images and the bianry image of described background image do difference described, obtains the bianry image of described target image to be detected.
Swarm into judging unit 203, for in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that described target swarms into described pre-established region of setting up defences.
The accuracy that has of device and set up defences in the region provided to improve the present embodiment, the region that the present embodiment provides device of setting up defences also comprises noise filtering unit, for obtaining the area of described target image to be detected, the area of described target image to be detected and the threshold area preset are contrasted, if the area of described target image to be detected is less than described threshold area, then judge that target represented by described target image to be detected is as noise.
The validity of device and set up defences in the region provided to improve the present embodiment, the region that the present embodiment provides set up defences device also comprise motion track obtain unit, contrast images is treated for what obtain multiple successive frame, treat that contrast images and described background image contrast successively described multiple successive frame, obtain multiple coordinates of target to be detected; In described pre-established image coordinate system, according to the change of multiple coordinates of target to be detected, obtain the moving direction of described target to be detected.
Refer to Fig. 5, embodiments provide another kind of region and to set up defences method, be applied to region and set up defences system, the described region system of setting up defences comprises region and to set up defences device and camera, and the described region method of setting up defences comprises:
Step S301: described region device of setting up defences obtains background image and treat contrast images.
Step S302: described in treat that contrast images and described background image contrast, obtain target image to be detected.
Step S303: in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops on outside described boundary coordinate, then judge that the target represented by described target image to be detected leaves described pre-established region of setting up defences.
In practice process, as shown in Figure 2, A (x1 is had in two-dimensional coordinate system, y1), B (x2, y1), C (x1, y2), D (x2, y2) four points, the region that then square ABCD surrounds is then region of setting up defences, and after getting target image to be detected by image comparison, coordinate M (the x3 of described target image to be detected is got by back office interface function, y3) and as x3 < x1 or x3 > x2 or y3 < y1 or y3 > y2, then judge that the target represented by described target image to be detected have left region of setting up defences, the region that then the present embodiment provides system of setting up defences then can send hydropac.
It should be noted that, the not mentioned part of the embodiment of the present invention, can see appropriate section in preceding method embodiment.
Refer to Fig. 6, embodiments provide another kind of region and to set up defences device, be applied to region and set up defences system, the described region system of setting up defences comprises camera, and described region device of setting up defences comprises:
Second background image obtains unit 400, for obtaining background image;
Second treats that contrast images obtains unit 401, treats contrast images for obtaining;
Second image comparison unit 402, for treating described in handle that contrast images and described background image contrast, obtains target image to be detected;
Leave judging unit 403, for in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops on outside described boundary coordinate, then judge that the target represented by described target image to be detected leaves described pre-established region of setting up defences.
It should be noted that, the not mentioned part of the embodiment of the present invention, can see appropriate section in preceding method embodiment.
Set up defences method and device in the another kind of region that the embodiment of the present invention provides, by camera is obtained after contrast images and background image contrast, obtain target image to be detected, mode again by the coordinate of target image to be detected and the boundary coordinate in the region of setting up defences of preestablishing are carried out contrasting, effectively can monitor target to be detected and whether leave region of setting up defences, thus improve in existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and problem that the specific region in this whole picture is monitored cannot be realized.
Referring to Fig. 1, sets up defences system in a kind of region that the embodiment of the present invention provides, and native system comprises region and to set up defences device 600 and mobile phone, and described mobile phone is provided with camera 601;
Described camera 601, for gathering background image and treating contrast images;
Set up defences device 600 in described region, for obtain described background image and described in treat contrast images; Described in treat that contrast images and described background image contrast, obtain target image to be detected; In the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that the target represented by described target image to be detected swarms into described pre-established region of setting up defences.
Set up defences system in the region that the embodiment of the present invention provides, pass to region until contrast images and background image set up defences after device 600 contrasts by what camera 601 was gathered, obtain target image to be detected, mode again by the coordinate of target image to be detected and the boundary coordinate in the region of setting up defences of preestablishing are carried out contrasting, effectively can monitor target to be detected and whether swarm into region of setting up defences, thus improve in existing supervisory control system, the whole picture area be merely able to supervisory control system gathers is monitored, and problem that the specific region in this whole picture is monitored cannot be realized.
See Fig. 7, the another kind of virtual disk creation apparatus 500 that the embodiment of the present invention also provides, comprising: processor 501, memory 502, bus 503 and communication interface 504, described processor 501, communication interface 504 are connected by bus 503 with memory 502; The executable module of processor 501 for storing in execute store 502, such as computer program.
Wherein, memory 502 may comprise high-speed random access memory (RAM:Random Access Memory), also non-labile memory (non-volatile memory) may also be comprised, such as at least one magnetic disc store.Realize the communication connection between this system network element and at least one other network element by least one communication interface 504 (can be wired or wireless), can the Internet be used, wide area network, local network, metropolitan area network etc.
Bus 503 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data/address bus, control bus etc.For ease of representing, only representing with a four-headed arrow in Fig. 7, but not representing the bus only having a bus or a type.
Wherein, memory 502 is for storage program, and described processor 501, after receiving execution instruction, performs described program, the method performed by device of the stream procedure definition that aforementioned embodiment of the present invention any embodiment discloses can be applied in processor 501, or is realized by processor 501.
Processor 501 may be a kind of integrated circuit (IC) chip, has the disposal ability of signal.In implementation procedure, each step of said method can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned processor 501 can be general processor, comprises central processing unit (Central Processing Unit is called for short CPU), network processing unit (Network Processor is called for short NP) etc.; Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.The processor etc. of general processor can be microprocessor or this processor also can be any routine.Step in conjunction with the method disclosed in the embodiment of the present invention directly can be presented as that hardware decoding processor is complete, or combines complete by the hardware in decoding processor and software module.Software module can be positioned at random asccess memory, flash memory, read-only memory, in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable memory, register.This storage medium is positioned at memory 502, and processor 501 reads the information in memory 502, completes the step of said method in conjunction with its hardware.
It should be noted that, the device that the embodiment of the present invention provides, its technique effect realizing principle and generation is identical with preceding method embodiment, is concise and to the point description, and the not mentioned part of device embodiment part can with reference to corresponding contents in preceding method embodiment.
It should be noted that, in several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Device embodiment described above is only schematic, and such as, the division of described unit, is only a kind of logic function and divides, and actual can have other dividing mode when realizing.
It should be noted that, the described unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. set up defences a method in region, it is characterized in that, is applied to region and sets up defences system, and the described region system of setting up defences comprises region and to set up defences device and camera, and the described region method of setting up defences comprises:
Described region device of setting up defences obtains background image and treat contrast images;
Described in treat that contrast images and described background image contrast, obtain target image to be detected;
In the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that the target represented by described target image to be detected swarms into described pre-established region of setting up defences.
2. set up defences method in region according to claim 1, it is characterized in that, treat that contrast images and described background image contrast, obtain target image to be detected, comprising described in described handle:
Described region device of setting up defences obtains the bianry image of described background image, and described in treat the bianry image of contrast images;
Treat that the bianry image of contrast images and the bianry image of described background image do difference described, obtain the bianry image of described target image to be detected.
3. set up defences method in region according to claim 1, it is characterized in that, after described acquisition target image to be detected, setting up defences method in described region, also comprises:
Described region device of setting up defences obtains the area of described target image to be detected, the area of described target image to be detected and the threshold area preset are contrasted, if the area of described target image to be detected is less than described threshold area, then judge that target represented by described target image to be detected is as noise.
4. set up defences method in region according to claim 1, it is characterized in that, setting up defences method in described region, also comprises:
What described region set up defences that device obtains multiple successive frame treats contrast images, treats that contrast images and described background image contrast successively described multiple successive frame, obtains multiple coordinates of target to be detected;
In described pre-established image coordinate system, according to the change of multiple coordinates of target to be detected, obtain the moving direction of described target to be detected.
5. set up defences a device in region, it is characterized in that, be applied to region and set up defences system, the described region system of setting up defences comprises camera, and described region device of setting up defences comprises:
First background image obtains unit, for obtaining background image;
First treats that contrast images obtains unit, treats contrast images for obtaining;
First image comparison unit, for treating described in handle that contrast images and described background image contrast, obtains target image to be detected;
Swarm into judging unit, for in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops in described boundary coordinate, then judge that the target represented by described target image to be detected swarms into described pre-established region of setting up defences.
6. set up defences device in region according to claim 5, and it is characterized in that, the first image comparison unit comprises:
Bianry image obtains unit, for obtaining the bianry image of described background image, and described in treat the bianry image of contrast images;
Bianry image contrast unit, for treating that the bianry image of contrast images and the bianry image of described background image do difference described, obtains the bianry image of described target image to be detected.
7. set up defences device in region according to claim 5, it is characterized in that, setting up defences device in described region, also comprises:
Noise filtering unit, for obtaining the area of described target image to be detected, the area of described target image to be detected and the threshold area preset are contrasted, if the area of described target image to be detected is less than described threshold area, then judge that target represented by described target image to be detected is as noise.
8. set up defences device in region according to claim 5, it is characterized in that, setting up defences device in described region, also comprises:
Motion track obtains unit, treats contrast images for what obtain multiple successive frame, treats that contrast images and described background image contrast successively described multiple successive frame, obtains multiple coordinates of target to be detected; In the described image coordinate system set up in advance, according to the change of multiple coordinates of target to be detected, obtain the moving direction of described target to be detected.
9. set up defences a method in region, it is characterized in that, is applied to region and sets up defences system, and the described region system of setting up defences comprises region and to set up defences device and camera, and the described region method of setting up defences comprises:
Described region device of setting up defences obtains background image and treat contrast images;
Described in treat that contrast images and described background image contrast, obtain target image to be detected;
In the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops on outside described boundary coordinate, then the target judging represented by described target image to be detected leave described in the region of setting up defences set up in advance.
10. set up defences a device in region, it is characterized in that, be applied to region and set up defences system, the described region system of setting up defences comprises camera, and described region device of setting up defences comprises:
Second background image obtains unit, for obtaining background image;
Second treats that contrast images obtains unit, treats contrast images for obtaining;
Second image comparison unit, for treating described in handle that contrast images and described background image contrast, obtains target image to be detected;
Leave judging unit, for in the image coordinate system set up in advance, obtain the coordinate of described target image to be detected, and the boundary coordinate of described coordinate with the region of setting up defences set up in advance is contrasted, if described coordinate drops on outside described boundary coordinate, then the target judging represented by described target image to be detected leave described in the region of setting up defences set up in advance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510087814.8A CN104601969A (en) | 2015-02-26 | 2015-02-26 | District fortifying method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510087814.8A CN104601969A (en) | 2015-02-26 | 2015-02-26 | District fortifying method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104601969A true CN104601969A (en) | 2015-05-06 |
Family
ID=53127429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510087814.8A Pending CN104601969A (en) | 2015-02-26 | 2015-02-26 | District fortifying method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104601969A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635672A (en) * | 2015-12-26 | 2016-06-01 | 余姚市绿波机械科技有限公司 | Safety reminding system of power transmission line and reminding method thereof |
CN105894725A (en) * | 2015-12-26 | 2016-08-24 | 余姚市绿波机械科技有限公司 | Power transmission line safety reminding system having alarm ball and reminding method thereof |
CN107122743A (en) * | 2017-04-28 | 2017-09-01 | 北京地平线机器人技术研发有限公司 | Security-protecting and monitoring method, device and electronic equipment |
CN111435165A (en) * | 2018-12-26 | 2020-07-21 | 保定市天河电子技术有限公司 | Transport vehicle obstacle detection method and system based on laser radar |
CN112539718A (en) * | 2020-11-24 | 2021-03-23 | 青岛海尔空调器有限总公司 | Position detection method, air conditioner and control method thereof |
CN113507596A (en) * | 2021-07-13 | 2021-10-15 | 杭州中科金财科技有限公司 | Distributed intelligent video analysis linkage control system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159859A (en) * | 2007-11-29 | 2008-04-09 | 北京中星微电子有限公司 | Motion detection method, device and an intelligent monitoring system |
CN101256626A (en) * | 2008-02-28 | 2008-09-03 | 王路 | Method for monitoring instruction based on computer vision |
US20120188081A1 (en) * | 2009-10-02 | 2012-07-26 | Inventor Invest Holding B.V. | Security system and method to secure an area |
CN102682550A (en) * | 2011-03-16 | 2012-09-19 | 陕西省公安厅 | Method for setting defense line like Chinese character 'hui' for human intrusion detection through video monitoring |
CN103442209A (en) * | 2013-08-20 | 2013-12-11 | 北京工业大学 | Video monitoring method of electric transmission line |
CN103456024A (en) * | 2012-06-02 | 2013-12-18 | 浙江西谷数字技术有限公司 | Moving object line crossing judgment method |
CN103489202A (en) * | 2013-01-15 | 2014-01-01 | 上海盈觉智能科技有限公司 | Intrusion detection method based on videos |
CN103516955A (en) * | 2012-06-26 | 2014-01-15 | 郑州大学 | Invasion detecting method in video monitoring |
-
2015
- 2015-02-26 CN CN201510087814.8A patent/CN104601969A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159859A (en) * | 2007-11-29 | 2008-04-09 | 北京中星微电子有限公司 | Motion detection method, device and an intelligent monitoring system |
CN101256626A (en) * | 2008-02-28 | 2008-09-03 | 王路 | Method for monitoring instruction based on computer vision |
US20120188081A1 (en) * | 2009-10-02 | 2012-07-26 | Inventor Invest Holding B.V. | Security system and method to secure an area |
CN102682550A (en) * | 2011-03-16 | 2012-09-19 | 陕西省公安厅 | Method for setting defense line like Chinese character 'hui' for human intrusion detection through video monitoring |
CN103456024A (en) * | 2012-06-02 | 2013-12-18 | 浙江西谷数字技术有限公司 | Moving object line crossing judgment method |
CN103516955A (en) * | 2012-06-26 | 2014-01-15 | 郑州大学 | Invasion detecting method in video monitoring |
CN103489202A (en) * | 2013-01-15 | 2014-01-01 | 上海盈觉智能科技有限公司 | Intrusion detection method based on videos |
CN103442209A (en) * | 2013-08-20 | 2013-12-11 | 北京工业大学 | Video monitoring method of electric transmission line |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635672A (en) * | 2015-12-26 | 2016-06-01 | 余姚市绿波机械科技有限公司 | Safety reminding system of power transmission line and reminding method thereof |
CN105894725A (en) * | 2015-12-26 | 2016-08-24 | 余姚市绿波机械科技有限公司 | Power transmission line safety reminding system having alarm ball and reminding method thereof |
CN107122743A (en) * | 2017-04-28 | 2017-09-01 | 北京地平线机器人技术研发有限公司 | Security-protecting and monitoring method, device and electronic equipment |
CN107122743B (en) * | 2017-04-28 | 2020-02-14 | 北京地平线机器人技术研发有限公司 | Security monitoring method and device and electronic equipment |
CN111435165A (en) * | 2018-12-26 | 2020-07-21 | 保定市天河电子技术有限公司 | Transport vehicle obstacle detection method and system based on laser radar |
CN112539718A (en) * | 2020-11-24 | 2021-03-23 | 青岛海尔空调器有限总公司 | Position detection method, air conditioner and control method thereof |
CN113507596A (en) * | 2021-07-13 | 2021-10-15 | 杭州中科金财科技有限公司 | Distributed intelligent video analysis linkage control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601969A (en) | District fortifying method and device | |
US10061989B2 (en) | Information transfer apparatus and method for image recognition | |
CN110632582B (en) | Sound source positioning method, device and storage medium | |
CN104994281A (en) | Method for correcting face distortion and terminal | |
WO2017107647A1 (en) | Camera-based monitoring method, apparatus, and system | |
CN105809658A (en) | Method and apparatus for setting region of interest | |
CN113608641B (en) | Method and device for adjusting display position of curved screen, intelligent sound box and storage medium | |
US11037301B2 (en) | Target object detection method, readable storage medium, and electronic device | |
WO2021159925A1 (en) | Image processing method and apparatus, electronic device, and computer-readable storage medium | |
JP2022515508A (en) | Vehicle control methods, related devices, and computer storage media | |
CN110677585A (en) | Target detection frame output method and device, terminal and storage medium | |
CN110248165B (en) | Label display method, device, equipment and storage medium | |
CN110248089B (en) | Image transmission method, system and terminal equipment | |
CN112862856A (en) | Method, device and equipment for identifying illegal vehicle and computer readable storage medium | |
CN109858319A (en) | Image processing equipment and control method and non-transitory computer-readable storage media | |
US9767075B2 (en) | System and method for implementing screen capture | |
CN108776959B (en) | Image processing method and device and terminal equipment | |
CN112906651B (en) | Target detection method and device | |
CN109491961A (en) | A kind of method and Snapshot Devices of file system snapshot | |
KR101791045B1 (en) | Method for tracking multiple object and apparatus and system for executing the method | |
CN105554398B (en) | Video shooting method and device and electronic equipment | |
CN106210566A (en) | A kind of video-splicing multiwindow data distributing method | |
US10943562B2 (en) | Display control apparatus and display control method | |
CN112581500A (en) | Method and device for matching pedestrians and human faces in target tracking | |
CN107370785B (en) | Method and equipment for processing user service state information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150506 |
|
RJ01 | Rejection of invention patent application after publication |