CN109788201A - Localization method and device - Google Patents
Localization method and device Download PDFInfo
- Publication number
- CN109788201A CN109788201A CN201910113695.7A CN201910113695A CN109788201A CN 109788201 A CN109788201 A CN 109788201A CN 201910113695 A CN201910113695 A CN 201910113695A CN 109788201 A CN109788201 A CN 109788201A
- Authority
- CN
- China
- Prior art keywords
- video camera
- target video
- seen
- target
- subregion
- 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
Links
Landscapes
- Studio Devices (AREA)
Abstract
The embodiment of the present application provides localization method and device, and method includes: the position to be seen for determining user in GIS-Geographic Information System and specifying;According to maximum viewing area of each default video camera of record in the GIS-Geographic Information System, determine that maximum viewing area includes more than one target video camera of the position to be seen from each default video camera;The lens parameters and/or rotational parameters of the target video camera are adjusted according to the relative positional relationship of the position to be seen and the target video camera, so that the position to be seen is located at the picture center of the target video camera.In this way, the maximum viewing area of single camera can not only be not limited to, the position to be seen in bigger region is positioned, additionally it is possible to which multi-angle positioning is carried out to same position to be seen.
Description
Technical field
This application involves protection and monitor fields, in particular to localization method and device.
Background technique
In the related technology, high-speed ball-forming machine is when positioning target area, reality of the response user in the high-speed ball-forming machine
When image in the frame selection operation of the target area, pass through cloud platform rotation and/or lens parameters (e.g., focal length, enlargement ratio
Deng) adjustment, the figure of the relatively clear target area is obtained with the center in the realtime graphic of the high-speed ball-forming machine
Picture.However, the target area that above-mentioned localization method can only be selected for the maximum viewing area center in high-speed ball-forming machine itself carries out
Positioning, the target area that cannot achieve outside the maximum viewing area to high-speed ball-forming machine position, and between each high-speed ball-forming machine
It can not be realized by linkage and the multi-angle of same target area is positioned.
Summary of the invention
In view of this, the first purpose of the application is to provide a kind of localization method and device, at least to be partially solved
The above problem.
In order to achieve the above object, the following technical solutions are proposed for the embodiment of the present application:
In a first aspect, the embodiment of the present application provides a kind of localization method, which comprises
The position to be seen that user specifies is determined in GIS-Geographic Information System;
According to maximum viewing area of each default video camera of record in the GIS-Geographic Information System, from described each default
Determine that maximum viewing area includes more than one target video camera of the position to be seen in video camera;
The target video camera is adjusted according to the relative positional relationship of the position to be seen and the target video camera
Lens parameters and/or rotational parameters, so that the position to be seen is located at the picture center of the target video camera.
Second aspect, the embodiment of the present application provide a kind of positioning device, and described device includes:
Position determination module to be seen, the position to be seen specified for determining user in GIS-Geographic Information System;
Target video camera determining module, for each default video camera according to record in the GIS-Geographic Information System most
Big viewing area determines that maximum viewing area includes more than one mesh of the position to be seen from each default video camera
Mark video camera;
Parameter adjustment module, for being adjusted according to the relative positional relationship of the position to be seen and the target video camera
The lens parameters and/or rotational parameters of the target video camera, so that the position to be seen is located at the target video camera
Picture center.
In terms of existing technologies, the beneficial effect of the embodiment of the present application includes:
The embodiment of the present application provides a kind of localization method and device, and method includes: that user is determined in GIS-Geographic Information System
Specified position to be seen;According to maximum viewing area of each default video camera of record in the GIS-Geographic Information System, from
Determine that maximum viewing area includes more than one target video camera of the position to be seen in each default video camera;According to
The relative positional relationship of the position to be seen and the target video camera adjust the target video camera lens parameters and/or
Rotational parameters, so that the position to be seen is located at the picture center of the target video camera.In this way, can not only be not limited to
The maximum viewing area of single camera positions the position to be seen in bigger region, additionally it is possible to same to be seen
Position carries out multi-angle positioning.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of block diagram of data processing equipment provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of localization method provided by the embodiments of the present application;
Fig. 3 is the sub-step schematic diagram of step S202 in Fig. 2;
Fig. 4 is a seed step schematic diagram of step S203 in Fig. 2;
Fig. 5 is the lens parameters for obtaining all subregion and the sub-step schematic diagram of rotational parameters;
Fig. 6 is the another seed step schematic diagram of step S203 in Fig. 2;
Fig. 7 is a kind of functional block diagram of positioning device provided by the embodiments of the present application.
Icon: 10- data processing equipment;11- machine readable storage medium;12- processor;100- positioning device;110-
Position determination module to be seen;120- target video camera determining module;130- parameter adjustment module.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed
Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Fig. 1 is please referred to, Fig. 1 is a kind of data processing equipment 10 provided by the embodiments of the present application, the data processing equipment
It can be server, personal computer etc. arbitrarily with the equipment of data processing function and communication function.Wherein, the server
Can be individual server or be in communication with each other server composition server cluster.
In the present embodiment, data processing equipment 10 can be the equipment that operation has GIS-Geographic Information System, such as can be
Any server in the server cluster of GIS-Geographic Information System is run, data processing equipment 10 can also be and the geographical letter of operation
The other equipment of the equipment communication of breath system.
It is being in computer that the GIS-Geographic Information System (GIS, Geographic Information System), which is one kind,
Hardware and software system support under, to the related geographic distribution data in earth surface layer (including atmosphere) space all or in part into
Row acquisition, storage, management, technological system operation, analyzed, be shown and described.In the GIS-Geographic Information System, pass through three-dimensional figure
As being reproduced to real world.
The data processing equipment 10 may include processor 12 and machine readable storage medium 11.Processor 12 with it is machine readable
Storage medium 11 can be communicated via system bus.Also, machine readable storage medium 11 is stored with machine-executable instruction, passes through
Machine-executable instruction corresponding with positioning logic in machine readable storage medium 11 is read and executes, under processor 12 is executable
The localization method that text will describe.
Machine readable storage medium 11 referred to herein can be any electronics, magnetism, optics or other physical stores
Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium 11 may is that
RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage are driven
Dynamic device (such as hard disk drive), solid state hard disk, any kind of storage dish (such as CD, dvd) or similar storage are situated between
Matter or their combination.
It should be appreciated that structure shown in FIG. 1 is merely illustrative, data processing equipment 10 can also include more than shown in Fig. 1
Or less component, or with configuration entirely different shown in Fig. 1.Wherein, each component shown in FIG. 1 can with hardware,
Software or combinations thereof is realized.
It is a kind of flow diagram of localization method provided by the embodiments of the present application referring again to Fig. 2, Fig. 2.The positioning side
Method can be applied to data processing equipment 10, below to the method includes each step be described in detail.
Step S201 determines the position to be seen that user specifies in the GIS-Geographic Information System.
Wherein, the position to be seen can be the centre bit in the region that user specifies in the GIS-Geographic Information System
It sets, which can be the position where the geometric center in the region.
Can be had in the present embodiment, in the GIS-Geographic Information System for define all or in part earth surface layer (including
Atmosphere) each position in space geographic coordinate system, which includes Beijing 54, Xi'an 80 and WGS (World
Geodetic System, world geodetic system) 84.Under the geographic coordinate system, the seat of the position to be seen can be determined
Mark.
Based on this, the coordinate in the geographic coordinate system that the position to be seen can also directly be specified according to user come
It determines.
User can be specified in the GIS-Geographic Information System in wholly or partially ball surface layer (including atmosphere) space
Any position as the position to be seen, and then by subsequent step S202 and step S203 to the position to be seen
It is positioned, and is not limited to be only capable of in the related technology to specify position to be seen in the maximum viewing area of single ball machine.
Step S202, according to maximum viewing area of each default video camera of record in the GIS-Geographic Information System, from
Determine that maximum viewing area includes more than one target video camera of the position to be seen in each default video camera.
In the present embodiment, the acquisition side of maximum viewing area of each default video camera in the GIS-Geographic Information System
Formula may include: to determine the default video camera in the GIS-Geographic Information System for each of described each default video camera
In installation site, then determine the maximum viewing distance of the default video camera, according to the installation site and described maximum observe
Distance determines the maximum viewing area of the default video camera.
In one case, it can be determined that whether each of described each default video camera includes the position to be seen
It sets, all default video cameras for including the position to be seen for maximum viewing area determining in each default video camera are true
It is set to the target video camera.In this way, since each default video camera is typically distributed on the position location to be seen
The multi-angle positioning to same position may be implemented in the different direction in domain.In the case, when the position to be seen be to
When position where track target, by being positioned to the position multi-angle to be seen, it may be implemented to the target to be tracked
Multi-angle track up.Such as in the scene for arresting criminal, will determine as criminal or doubtful criminal target (that is, it is described to
Tracking target) where position be determined as the position to be seen after, multiple default video cameras from multiple angles to it is described to
The position to be seen where track target is positioned, and then carries out track up to the target to be tracked, is obtained described
The image of the multiple angles of target to be tracked, can effectively improve and arrest success rate.
In another case, it can also include the position to be seen one determining maximum viewing area and default take the photograph
After camera, this is preset into video camera and is individually determined as the target video camera.In the case, it is taken the photograph for currently determining target
Camera can also further determine that the peace of the target video camera in the GIS-Geographic Information System before executing step S203
Holding position simultaneously judges between the installation site and the position to be seen with the presence or absence of obstacle.If it exists, then the target video camera
When shooting to the position to be seen, the position to be seen can be blocked in monitored picture, it is therefore desirable to again really
Set the goal video camera.It should be noted that for finally determining target video camera, referring herein to the determination target video camera
The step of installation site in the GIS-Geographic Information System, is with the determination target video camera that will be described below described
Installation site in GIS-Geographic Information System can be same step.
Optionally, it is expected to position the position to be seen from particular orientation under some scenes due to user, walk
Rapid S202 may include sub-step shown in Fig. 3.
Step S301 obtains the expection direction of observation that user specifies.
Step S302 determines that maximum viewing area includes the position to be seen and installation from each default video camera
Position is in more than one video camera on the expected direction of observation of the position to be seen, obtains one above mesh
Mark video camera.
In the present embodiment, after determining one above target video camera, one above mesh is made by step S203
Mark video camera positions the position to be seen.
Step S203 adjusts the target according to the relative positional relationship of the position to be seen and the target video camera
The lens parameters and/or rotational parameters of video camera, so that the position to be seen is located at the picture center of the target video camera.
Wherein, the lens parameters can be focal length, be also possible to enlargement ratio.The rotational parameters can be the mesh
The holder position of video camera is marked, which may include the level angle and vertical angle of an opposite initial position.Specifically
Ground, the holder position can be the holder coordinate including the level angle and the vertical angles.
In the present embodiment, for each of one above target video camera, the mirror of the target video camera is adjusted
Head parameter is so that the position to be seen clearly displays in the monitored picture of the target video camera, and/or adjusts the target
The rotational parameters of video camera so that the position to be seen be shown in the monitored picture of the target video camera center (that is,
The picture center).It is appreciated that the picture center can be the geometric center of the monitored picture of the target video camera,
The geometric center can be located substantially in.
Localization method provided by the embodiments of the present application includes by selecting maximum viewing area in multiple default video cameras
More than one target video camera of position to be seen positions the position to be seen, can not only be not limited to single
The maximum viewing area of video camera positions the position to be seen in bigger region, additionally it is possible to same position to be seen
Carry out multi-angle positioning.
In some embodiments, the relative positional relationship includes the position to be seen and the target video camera
The positional relationship of maximum viewing area.In detail, step S203 includes sub-step shown in Fig. 4.
Step S401, the subregion that the maximum viewing area according to each video camera of record includes determine that the target is taken the photograph
The subregion that the maximum viewing area of camera includes.
Step S402 searches the position to be seen in the subregion that the maximum viewing area from the target video camera includes
Set locating target subregion.
Step S403 obtains the target subregion from the lens parameters and rotational parameters of all subregion of record
Target lens parameters and target rotational parameter, and the lens parameters of the target video camera are arranged to the target camera lens and are joined
The rotational parameters of the target video camera are arranged to the target rotational parameter by number.
Optionally, the lens parameters of all subregion and rotational parameters can be obtained by sub-step shown in fig. 5.
This is preset maximum of the video camera in the GIS-Geographic Information System for each default video camera by step S501
Viewing area is divided into multiple subregions;
Step S502 determines installation site of the target video camera in the GIS-Geographic Information System.
Step S503 determines the center of the subregion for each subregion, calculates the position to be seen and is somebody's turn to do
Direction and distance between the center of subregion;According to the direction and apart from calculating rotational parameters corresponding with the subregion
And lens parameters, the rotational parameters and the lens parameters enable to the target video camera with the rotational parameters and camera lens ginseng
The subregion is located at the picture center of the target video camera when number is shot.
It specifically, can be according to the direction calculating and the son between the position to be seen and the center of the subregion
The corresponding rotational parameters in region, and according to the distance between the position to be seen and the center of the subregion and the son
The corresponding lens parameters in region.
It, can also be with it should be noted that the center of subregion can be the position where the geometric center of subregion
It is located substantially in the position where the geometric center of subregion.
In this way, when each subregion of division is sufficiently small, it is believed that the default video camera is with the camera lens of the subregion
The subregion all clearly displays on the whole when parameter and rotational parameters are shot presets the picture center of video camera in this.It changes
Yan Zhi, the target video camera is with the lens parameters of target subregion locating for the position to be seen and rotational parameters (that is, institute
State target lens parameters and the target rotational parameter) when, it is believed that it is described to be seen in the target subregion
Position is clearly displayed in the picture center of the target video camera.
It is appreciated that data processing equipment 10 can be when positioning the position to be seen according to shown in fig. 5
Step obtain all subregion lens parameters and rotational parameters, can also be obtained ahead of time and store all subregion lens parameters and
Rotational parameters are to search the subregion where the position to be seen when positioning to the position to be seen (that is, institute
State target subregion) lens parameters and rotational parameters.
In other embodiments, the relative positional relationship includes that the position to be seen and the target video camera exist
The positional relationship of installation site in the GIS-Geographic Information System.In detail, step S203 includes sub-step shown in fig. 6.
Step S601 determines installation site of the target video camera in the GIS-Geographic Information System.
Step S602 calculates the direction between the position to be seen and the installation site and distance, according to the direction
It calculates with distance and turns needed for the target video camera when position to be seen is located at the picture center of the target video camera
Dynamic parameter and lens parameters.
The rotational parameters of the target video camera are arranged to the rotational parameters, and the target are imaged by step S603
The lens parameters of machine are arranged to the lens parameters.
Similarly with step shown in fig. 5, the present embodiment can directly calculate the position to be seen and the target is taken the photograph
The positional relationship (including direction and distance) of installation site of the camera in the GIS-Geographic Information System, and according to the positional relationship
In direction calculating described in position to be seen be located at when the picture center of the target video camera needed for the target video camera
Rotational parameters, and the picture that the position to be seen is located at the target video camera is calculated according to the distance in the positional relationship
Lens parameters needed for target video camera when center.
Fig. 7 is please referred to, Fig. 7 is a kind of functional block diagram of positioning device 100 provided in this embodiment.Positioning device
100 include that at least one can be stored in the function mould in the machine readable storage medium of data processing equipment 10 in a software form
Block.It functionally divides, positioning device 100 may include position determination module 110 to be seen, target video camera determining module
120 and parameter adjustment module 130.
The position to be seen that position determination module 110 to be seen is specified for determining user in the GIS-Geographic Information System
It sets.
In the present embodiment, the description as described in position determination module 110 to be seen be can refer to the detailed of step S201 shown in Fig. 2
Thin description, i.e. step S201 can be executed by position determination module 110 to be seen.
Target video camera determining module 120 is used for each default video camera according to record in the GIS-Geographic Information System
Maximum viewing area determines that maximum viewing area includes more than one of the position to be seen from each default video camera
Target video camera.
In the present embodiment, the description as described in target video camera determining module 120 be can refer to the detailed of step S202 shown in Fig. 2
Thin description, i.e. step S202 can be executed by target video camera determining module 120.
Parameter adjustment module 130 is used for the relative positional relationship tune according to the position to be seen and the target video camera
The lens parameters and/or rotational parameters of the whole target video camera, so that the position to be seen is located at the target video camera
Picture center.
In the present embodiment, the description as described in parameter adjustment module 130 can refer to retouching in detail to step S203 shown in Fig. 2
It states, i.e. step S203 can be executed by parameter adjustment module 130.
Optionally, the relative positional relationship may include the most grand sight of the position to be seen and the target video camera
Examine the positional relationship in region.
Parameter adjustment module 130 can be specifically used for:
The subregion that maximum viewing area according to each video camera of record includes determines the maximum of the target video camera
The subregion that viewing area includes;
It is searched in the subregion that maximum viewing area from the target video camera includes locating for the position to be seen
Target subregion;
From the lens parameters and rotational parameters of all subregion of record, the target camera lens ginseng of the target subregion is obtained
Several and target rotational parameter, and the lens parameters of the target video camera are arranged to the target lens parameters, by the mesh
The rotational parameters of mark video camera are arranged to the target rotational parameter.
Optionally, positioning device 100 can also include subregion gain of parameter module.The subregion gain of parameter module
For:
For each default video camera, this is preset into maximum viewing area of the video camera in the GIS-Geographic Information System and is drawn
It is divided into multiple subregions;
Determine installation site of the target video camera in the GIS-Geographic Information System;
For each subregion, the center of the subregion is determined, calculate the position to be seen and the subregion
Direction and distance between center;According to the direction and apart from calculating rotational parameters corresponding with the subregion and camera lens ginseng
Number, the rotational parameters and the lens parameters enable to the target video camera to be clapped with the rotational parameters and the lens parameters
The subregion is located at the picture center of the target video camera when taking the photograph.
Optionally, the relative positional relationship includes the position to be seen and the target video camera in the geographical letter
The positional relationship of installation site in breath system.
Parameter adjustment module 130 is specifically used for:
Determine installation site of the target video camera in the GIS-Geographic Information System;
The direction between the position to be seen and the installation site and distance are calculated, according to the direction and apart from calculating
The position to be seen is located at rotational parameters and mirror needed for the target video camera when picture center of the target video camera
Head parameter;
The rotational parameters of the target video camera are arranged to the rotational parameters, and the camera lens of the target video camera is joined
Number is arranged to the lens parameters.
In conclusion it includes: in GIS-Geographic Information System that the embodiment of the present application, which provides a kind of localization method and device, method,
Determine the position to be seen that user specifies;According to maximum observation of each default video camera of record in the GIS-Geographic Information System
Region determines that maximum viewing area includes more than one target camera shooting of the position to be seen from each default video camera
Machine;The camera lens ginseng of the target video camera is adjusted according to the relative positional relationship of the position to be seen and the target video camera
Several and/or rotational parameters, so that the position to be seen is located at the picture center of the target video camera.In this way, can not only
It is not limited to the maximum viewing area of single camera, the position to be seen in bigger region is positioned, additionally it is possible to same
One position to be seen carries out multi-angle positioning.
In embodiment provided herein, it should be understood that disclosed method, apparatus and system can also lead to
Other modes are crossed to realize.The apparatus embodiments described above are merely exemplary, for example, flow chart and frame in attached drawing
Figure shows the system frame in the cards of the device of multiple embodiments according to the application, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be with not in some implementations as replacement
It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can actually be basically executed in parallel, they have
When can also execute in the opposite order, this depends on the function involved.It is also noted that in block diagram and or flow chart
Each box and the box in block diagram and or flow chart combination, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (10)
1. a kind of localization method, which is characterized in that the described method includes:
The position to be seen that user specifies is determined in GIS-Geographic Information System;
According to maximum viewing area of each default video camera of record in the GIS-Geographic Information System, from each default camera shooting
Determine that maximum viewing area includes more than one target video camera of the position to be seen in machine;
The camera lens of the target video camera is adjusted according to the relative positional relationship of the position to be seen and the target video camera
Parameter and/or rotational parameters, so that the position to be seen is located at the picture center of the target video camera.
2. the method according to claim 1, wherein the relative positional relationship include the position to be seen and
The positional relationship of the maximum viewing area of the target video camera;
The camera lens of the target video camera is adjusted according to the relative positional relationship of the position to be seen and the target video camera
Parameter and/or rotational parameters, comprising:
The subregion that maximum viewing area according to each video camera of record includes determines the maximum observation of the target video camera
The subregion that region includes;
Target locating for the position to be seen is searched in the subregion that maximum viewing area from the target video camera includes
Subregion;
From the lens parameters and rotational parameters of all subregion of record, obtain the target subregion target lens parameters and
Target rotational parameter, and the lens parameters of the target video camera are arranged to the target lens parameters, the target is taken the photograph
The rotational parameters of camera are arranged to the target rotational parameter.
3. according to the method described in claim 2, it is characterized in that, the lens parameters and rotational parameters of all subregion are by as follows
Step obtains:
For each default video camera, this is preset into maximum viewing area of the video camera in the GIS-Geographic Information System and is divided into
Multiple subregions;
Determine installation site of the target video camera in the GIS-Geographic Information System;
For each subregion, the center of the subregion is determined, calculate the center of the position to be seen and the subregion
Direction and distance between position;According to the direction and apart from calculating corresponding with subregion rotational parameters and lens parameters,
The rotational parameters and the lens parameters enable to the target video camera to be shot with the rotational parameters and the lens parameters
When the subregion be located at the picture center of the target video camera.
4. the method according to claim 1, wherein the relative positional relationship include the position to be seen and
The positional relationship of installation site of the target video camera in the GIS-Geographic Information System;
The camera lens of the target video camera is adjusted according to the relative positional relationship of the position to be seen and the target video camera
Parameter and/or rotational parameters, comprising:
Determine installation site of the target video camera in the GIS-Geographic Information System;
Calculate the direction between the position to be seen and the installation site and distance, according to the direction and apart from calculating described in
Position to be seen is located at rotational parameters needed for the target video camera and camera lens ginseng when the picture center of the target video camera
Number;
The rotational parameters of the target video camera are arranged to the rotational parameters, and the lens parameters of the target video camera are set
It is set to the lens parameters.
5. method according to any of claims 1-4, which is characterized in that according to the position to be seen and described
Before the relative positional relationship of target video camera adjusts lens parameters and/or the rotational parameters of the target video camera, the side
Method further include:
Determine installation site of the currently determining target video camera in the GIS-Geographic Information System;
Judge with the presence or absence of obstacle between the installation site and the position to be seen, if so, redefining target video camera.
6. method according to any of claims 1-4, which is characterized in that described true from each default video camera
Fixed maximum viewing area includes more than one target video camera of the position to be seen, comprising:
Obtain the expection direction of observation that user specifies;
Determine that maximum viewing area includes the position to be seen and installation site is in described from each default video camera
More than one video camera on the expected direction of observation of position to be seen obtains one above target video camera.
7. a kind of positioning device, which is characterized in that described device includes:
Position determination module to be seen, the position to be seen specified for determining user in GIS-Geographic Information System;
Target video camera determining module, for most grand sight of each default video camera according to record in the GIS-Geographic Information System
Region is examined, determines that maximum viewing area includes that more than one target of the position to be seen is taken the photograph from each default video camera
Camera;
Parameter adjustment module, for according to the adjustment of the relative positional relationship of the position to be seen and the target video camera
The lens parameters and/or rotational parameters of target video camera, so that the position to be seen is located at the picture of the target video camera
Center.
8. device according to claim 7, which is characterized in that the relative positional relationship include the position to be seen and
The positional relationship of the maximum viewing area of the target video camera;
The parameter adjustment module is specifically used for:
The subregion that maximum viewing area according to each video camera of record includes determines the maximum observation of the target video camera
The subregion that region includes;
Target locating for the position to be seen is searched in the subregion that maximum viewing area from the target video camera includes
Subregion;
From the lens parameters and rotational parameters of all subregion of record, obtain the target subregion target lens parameters and
Target rotational parameter, and the lens parameters of the target video camera are arranged to the target lens parameters, the target is taken the photograph
The rotational parameters of camera are arranged to the target rotational parameter.
9. device according to claim 8, which is characterized in that described device further includes subregion gain of parameter module;Institute
Subregion gain of parameter module is stated to be used for:
For each default video camera, this is preset into maximum viewing area of the video camera in the GIS-Geographic Information System and is divided into
Multiple subregions;
Determine installation site of the target video camera in the GIS-Geographic Information System;
For each subregion, the center of the subregion is determined, calculate the center of the position to be seen and the subregion
Direction and distance between position;According to the direction and apart from calculating corresponding with subregion rotational parameters and lens parameters,
The rotational parameters and the lens parameters enable to the target video camera to be shot with the rotational parameters and the lens parameters
When the subregion be located at the picture center of the target video camera.
10. device according to claim 7, which is characterized in that the relative positional relationship includes the position to be seen
With the positional relationship of installation site of the target video camera in the GIS-Geographic Information System;
The parameter adjustment module is specifically used for:
Determine installation site of the target video camera in the GIS-Geographic Information System;
Calculate the direction between the position to be seen and the installation site and distance, according to the direction and apart from calculating described in
Position to be seen is located at rotational parameters needed for the target video camera and camera lens ginseng when the picture center of the target video camera
Number;
The rotational parameters of the target video camera are arranged to the rotational parameters, and the lens parameters of the target video camera are set
It is set to the lens parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910113695.7A CN109788201B (en) | 2019-02-14 | 2019-02-14 | Positioning method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910113695.7A CN109788201B (en) | 2019-02-14 | 2019-02-14 | Positioning method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109788201A true CN109788201A (en) | 2019-05-21 |
CN109788201B CN109788201B (en) | 2021-04-20 |
Family
ID=66503519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910113695.7A Active CN109788201B (en) | 2019-02-14 | 2019-02-14 | Positioning method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109788201B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443247A (en) * | 2019-08-22 | 2019-11-12 | 中国科学院国家空间科学中心 | A kind of unmanned aerial vehicle moving small target real-time detecting system and method |
CN110807803A (en) * | 2019-10-11 | 2020-02-18 | 北京文香信息技术有限公司 | Camera positioning method, device, equipment and storage medium |
CN111046121A (en) * | 2019-12-05 | 2020-04-21 | 亿利生态大数据有限公司 | Environment monitoring method, device and system |
CN111586303A (en) * | 2020-05-22 | 2020-08-25 | 浩鲸云计算科技股份有限公司 | Control method and device for dynamically tracking road surface target by camera based on wireless positioning technology |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101313343A (en) * | 2005-11-18 | 2008-11-26 | 通用电气公司 | Methods and systems for operating a video monitoring system |
KR20100005378A (en) * | 2008-07-07 | 2010-01-15 | 한국전자통신연구원 | Method and apparatus for controlling camera position using of geographic information system |
US20100110211A1 (en) * | 2008-11-06 | 2010-05-06 | Mitac Technology Corp. | Image presentation angle adjustment method and camera device using the same |
CN102595105A (en) * | 2012-03-07 | 2012-07-18 | 深圳市信义科技有限公司 | Application method based on geographic information system (GIS) map lens angle information configuration |
US20130033602A1 (en) * | 2011-08-05 | 2013-02-07 | Harman Becker Automotive Systems Gmbh | Surround View System |
CN103731630A (en) * | 2012-10-16 | 2014-04-16 | 华为技术有限公司 | Video monitoring method, equipment and system |
CN104184995A (en) * | 2014-08-26 | 2014-12-03 | 天津市亚安科技股份有限公司 | Method and system for achieving real-time linkage monitoring of networking video monitoring system |
CN104639908A (en) * | 2015-02-05 | 2015-05-20 | 华中科技大学 | Control method of monitoring ball machine |
CN105611246A (en) * | 2015-12-23 | 2016-05-25 | 广东中星电子有限公司 | Information display method and video monitoring platform |
CN105744226A (en) * | 2016-02-22 | 2016-07-06 | 北京深博达智能***有限公司 | 1+N gun-type camera and dome camera cooperation method based on camera coordinate system |
US20170013203A1 (en) * | 2009-09-23 | 2017-01-12 | Verint Systems Ltd. | System and method for automatic camera hand-off using location measurements |
-
2019
- 2019-02-14 CN CN201910113695.7A patent/CN109788201B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101313343A (en) * | 2005-11-18 | 2008-11-26 | 通用电气公司 | Methods and systems for operating a video monitoring system |
KR20100005378A (en) * | 2008-07-07 | 2010-01-15 | 한국전자통신연구원 | Method and apparatus for controlling camera position using of geographic information system |
US20100110211A1 (en) * | 2008-11-06 | 2010-05-06 | Mitac Technology Corp. | Image presentation angle adjustment method and camera device using the same |
US20170013203A1 (en) * | 2009-09-23 | 2017-01-12 | Verint Systems Ltd. | System and method for automatic camera hand-off using location measurements |
US20130033602A1 (en) * | 2011-08-05 | 2013-02-07 | Harman Becker Automotive Systems Gmbh | Surround View System |
CN102595105A (en) * | 2012-03-07 | 2012-07-18 | 深圳市信义科技有限公司 | Application method based on geographic information system (GIS) map lens angle information configuration |
CN103731630A (en) * | 2012-10-16 | 2014-04-16 | 华为技术有限公司 | Video monitoring method, equipment and system |
CN104184995A (en) * | 2014-08-26 | 2014-12-03 | 天津市亚安科技股份有限公司 | Method and system for achieving real-time linkage monitoring of networking video monitoring system |
CN104639908A (en) * | 2015-02-05 | 2015-05-20 | 华中科技大学 | Control method of monitoring ball machine |
CN105611246A (en) * | 2015-12-23 | 2016-05-25 | 广东中星电子有限公司 | Information display method and video monitoring platform |
CN105744226A (en) * | 2016-02-22 | 2016-07-06 | 北京深博达智能***有限公司 | 1+N gun-type camera and dome camera cooperation method based on camera coordinate system |
Non-Patent Citations (1)
Title |
---|
李小斌等: "智能视频监控***关键技术及算法研究", 《控制工程》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443247A (en) * | 2019-08-22 | 2019-11-12 | 中国科学院国家空间科学中心 | A kind of unmanned aerial vehicle moving small target real-time detecting system and method |
CN110807803A (en) * | 2019-10-11 | 2020-02-18 | 北京文香信息技术有限公司 | Camera positioning method, device, equipment and storage medium |
CN111046121A (en) * | 2019-12-05 | 2020-04-21 | 亿利生态大数据有限公司 | Environment monitoring method, device and system |
CN111046121B (en) * | 2019-12-05 | 2023-10-10 | 亿利生态大数据有限公司 | Environment monitoring method, device and system |
CN111586303A (en) * | 2020-05-22 | 2020-08-25 | 浩鲸云计算科技股份有限公司 | Control method and device for dynamically tracking road surface target by camera based on wireless positioning technology |
WO2021232826A1 (en) * | 2020-05-22 | 2021-11-25 | 浩鲸云计算科技股份有限公司 | Wireless-positioning-technology-based method and device for controlling camera to dynamically track road target |
Also Published As
Publication number | Publication date |
---|---|
CN109788201B (en) | 2021-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10165179B2 (en) | Method, system, and computer program product for gamifying the process of obtaining panoramic images | |
CN109788201A (en) | Localization method and device | |
US11490069B2 (en) | Multi-dimensional data capture of an environment using plural devices | |
US9723203B1 (en) | Method, system, and computer program product for providing a target user interface for capturing panoramic images | |
CN107101620B (en) | Measure subsystem and measuring system | |
US20170185823A1 (en) | Apparatus And Method For Image-Based Positioning, Orientation And Situational Awareness | |
KR20200130472A (en) | Self-supervised training of depth estimation models using depth hints | |
US20070098238A1 (en) | Imaging methods, imaging systems, and articles of manufacture | |
US20160373661A1 (en) | Camera system for generating images with movement trajectories | |
CN103874193A (en) | Method and system for positioning mobile terminal | |
EP3318841B1 (en) | Camera controller | |
CN103823897A (en) | Seed production base three-dimensional (3D) visualization geographic information system | |
KR20130121290A (en) | Georeferencing method of indoor omni-directional images acquired by rotating line camera | |
CN106289180A (en) | The computational methods of movement locus and device, terminal | |
KR20220143957A (en) | Determining traversable space from a single image | |
CN106777172A (en) | A kind of video Space-time Search method | |
CN116823936B (en) | Method and system for acquiring longitude and latitude by using camera screen punctuation | |
CN109886201A (en) | Monitoring image mask method and device | |
US20240144509A1 (en) | Methods and systems for determining 3d coordinates describing a scene | |
EP1040450A1 (en) | Acquisition and animation of surface detail images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |