CN107438152B - Method and system for quickly positioning and capturing panoramic target by motion camera - Google Patents

Method and system for quickly positioning and capturing panoramic target by motion camera Download PDF

Info

Publication number
CN107438152B
CN107438152B CN201610355437.6A CN201610355437A CN107438152B CN 107438152 B CN107438152 B CN 107438152B CN 201610355437 A CN201610355437 A CN 201610355437A CN 107438152 B CN107438152 B CN 107438152B
Authority
CN
China
Prior art keywords
camera
video picture
motion camera
selection area
motion
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.)
Active
Application number
CN201610355437.6A
Other languages
Chinese (zh)
Other versions
CN107438152A (en
Inventor
罗晓
何东林
姚辉
曾婧
吴敏
杨樊
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Second Research Institute of CAAC
Original Assignee
Second Research Institute of CAAC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Second Research Institute of CAAC filed Critical Second Research Institute of CAAC
Priority to CN201610355437.6A priority Critical patent/CN107438152B/en
Publication of CN107438152A publication Critical patent/CN107438152A/en
Application granted granted Critical
Publication of CN107438152B publication Critical patent/CN107438152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B37/00Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a method for quickly positioning and capturing a panoramic target by a motion camera, which realizes the primary positioning of the motion camera by utilizing the mapping corresponding relation between a panoramic video picture and a preset position of the motion camera, and arranges a frame selection area in the video picture of the motion camera; matching the frame selection area with an image in a video picture of the motion camera to obtain the position of the frame selection area in the video picture of the motion camera; and moving the frame selection area to the central area position of the video picture of the motion camera by using a motion camera control strategy to realize the positioning capture of the local detail video picture of the panoramic video. The system of the invention comprises: the system comprises a moving camera and a plurality of fixed cameras, wherein the moving camera and the fixed cameras are arranged in a complex scene; a plurality of fixed cameras for obtaining source data of panoramic seamless video pictures in a complex scene; and the motion camera obtains the local detail video picture in the panoramic video picture, and realizes the positioning capture of the local detail video picture of the panoramic video.

Description

Method and system for quickly positioning and capturing panoramic target by motion camera
Technical Field
The invention belongs to the technical field of intelligent monitoring, and particularly relates to a method and a system for quickly positioning and capturing a panoramic target by a motion camera.
Background
The airport, the port and other areas have the characteristics of spaciousness and large visual field, and the visual field angle of a single camera is limited, so that the comprehensive monitoring cannot be carried out; although a plurality of scattered cameras can monitor the scene in an all-around way, the provided pictures are scattered and messy, the vision of a user is required to be switched on each picture, and the visual inspection is inconvenient; the method comprises the steps of obtaining images by utilizing a plurality of fixed cameras installed at a certain position, obtaining a real-time seamless panoramic spliced picture through an image splicing and fusion algorithm, enabling users to conveniently and visually check the overall situation of a scene, but the panoramic picture cannot display details in the scene in detail, and the linkage of the panorama and a dome camera or a moving camera becomes an effective method for simultaneously holding the overall situation and checking local details. The ball machine is limited by a physical structure, the focal length of a lens of the ball machine is usually limited, local detailed information of objects at a remote end cannot be viewed in large areas such as airports and ports, and accordingly, distributed linkage of a panorama and a motion camera becomes a practical method for monitoring management of the type, for example, a distributed linkage system (ZL 2013 0644.4) which can simultaneously perform panorama display and local viewing is disclosed in the patent.
The patent 'method and device (201510178584.6) for realizing distributed linkage display of observation pictures by adopting preset bits' realizes linkage of two observation pictures by utilizing the preset bits, avoids complex calculation and coordinate conversion, and can better meet the monitoring and management requirements of open areas such as airports, ports and the like, but the selected position in a panoramic picture is not necessarily in the central area of a motion camera picture.
Through the analysis of the prior art, the method and the system for quickly positioning and capturing the panoramic target by utilizing the moving camera are simple, quick and accurate and improve the search matching efficiency.
Disclosure of Invention
The invention aims to provide a method and a system for quickly positioning and capturing a panoramic target by a moving camera, which have the advantages of simple calculation, reduced image search matching range and improved search matching efficiency.
In order to achieve the object of the present invention, a first aspect of the present invention provides a method for capturing a panoramic target by a moving camera, the method comprising the following steps:
step S1: the method comprises the steps that the mapping corresponding relation between a panoramic video picture and preset positions of a motion camera in a complex scene is utilized to achieve primary positioning of the motion camera, and a frame selection area is arranged in the video picture of the motion camera;
step S2: matching the frame selection area with the image in the video picture of the motion camera to obtain the position of the frame selection area in the video picture of the motion camera;
and step S3: and utilizing a motion camera control strategy to enable the frame selection area to appear at the central area position of the video picture of the motion camera, thereby realizing the positioning capture of the local detail video picture of the panoramic video.
Compared with the prior art, the beneficial technical effects of the invention comprise: the method for quickly positioning and capturing the panoramic target by the moving camera converts image search matching in the panoramic video picture into image search matching of the moving camera video picture by utilizing the mapping relation between the preset position and the panoramic video picture, and realizes accurate positioning of the moving target by utilizing the image search matching and the motion control algorithm.
In order to achieve the object of the present invention, a second aspect of the present invention provides a system for quickly locating and capturing a panoramic target by a moving camera, the system having a moving camera and a plurality of fixed cameras disposed in a complex scene;
a plurality of fixed cameras for obtaining source data of panoramic video pictures in a complex scene;
and the motion camera is used for obtaining the local detail video picture in the panoramic video picture and realizing the positioning capture of the local detail video picture of the panoramic video.
Compared with the prior art, the system has the beneficial effects that: according to the system for quickly positioning and capturing the panoramic target by the motion camera, the local detail video picture in the panoramic video picture is obtained by utilizing the mapping relation table of the preset position of the motion camera and the fixed panoramic video picture of the camera, so that the local detail video picture of the panoramic video is positioned and captured, the image searching matching range is reduced, and the searching matching efficiency is improved; the image search matching in the panoramic video picture is converted into the image search matching of the video picture of the motion camera, so that the resolution is greatly reduced, and the search matching efficiency is improved; the image matching and the motion control can be completed only under a rectangular coordinate system without involving coordinate conversion; the motion control is realized by comparing the coordinate positions, and the smooth and accurate motion of the motion camera can be realized by simply comparing the coordinate positions; the method is suitable for the situation of the movement of the panoramic frame selection target. The system of the invention combines the mapping relation table of the preset position, the image matching and the motion control method to realize the positioning of the target on the panoramic video picture.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flow chart of a method for capturing panoramic objects by a moving camera according to the present invention;
FIG. 2 is a schematic view of the orientation of the present invention;
FIG. 3 is a schematic view of the orientation of the present invention;
FIG. 4 is a system for capturing panoramic objects by fast positioning with a moving camera according to the present invention;
fig. 5 is a shroud support structure of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only used as examples, and the protection scope of the present invention is not limited thereby.
It should be noted that unless otherwise indicated, technical or scientific terms used herein shall be the subject matter of the present application
The general meaning as understood by a person skilled in the art to which the invention pertains. The invention discloses a method and a system for quickly positioning and capturing a panoramic target by a moving camera, which are applied to large places such as airports, ports and warehouses and square areas.
The invention discloses a method and a system for quickly positioning and capturing a panoramic target by a motion camera, belongs to the field of intelligent monitoring, and is used for realizing accurate positioning and capturing of a panoramic frame selection target. Firstly, realizing primary linkage by utilizing the corresponding relation between a panoramic picture and a preset position of a motion camera, and ensuring that a frame selection area is in a video picture of the motion camera; then, performing image matching of the framing area to obtain the position of the framing area in the video picture of the motion camera; and finally, enabling the selected area to appear in the central area of the video picture of the motion camera by utilizing the control strategy of the motion camera.
Example 1:
fig. 1 shows a method for capturing a panoramic object by a motion camera, which includes the following steps:
step S1: the mapping corresponding relation between a panoramic video picture and a preset position of a motion camera in a complex scene is utilized to realize the primary positioning of the motion camera, and a frame selection area is arranged in the video picture of the motion camera;
step S2: matching the frame selection area with the image in the video picture of the motion camera to obtain the position of the frame selection area in the video picture of the motion camera;
and step S3: and utilizing a control strategy of the motion camera to enable the frame selection area to appear at the central area position of the video picture of the motion camera, so as to realize the positioning capture of the local detail video picture of the panoramic video.
According to the method for quickly positioning and capturing the panoramic target by the motion camera, the mapping relation between the preset position and the panoramic video picture is utilized, image searching and matching in the panoramic video picture is converted into image searching and matching of the video picture of the motion camera, and the quick and accurate positioning of the motion target is realized by utilizing the image searching and matching and a motion control algorithm.
Example 2:
referring to fig. 1, a method for capturing a panoramic object by a motion camera in a fast positioning manner is shown, in this embodiment, a step of obtaining a panoramic video picture is further provided on the basis of embodiment 1, where the step of obtaining the panoramic video picture includes: and splicing and fusing the video pictures of the N fixed cameras into a seamless panoramic video picture by using an image splicing processing algorithm, wherein the N number of the fixed cameras is set according to the size of the scene.
The method searches the matching image in the seamless panoramic video picture, converts the searching matching image into the searching matching image in the video picture of the motion camera, and greatly reduces the range of image searching matching.
Example 3:
referring to fig. 1, a method for capturing a panoramic object by a motion camera in a fast positioning manner is further illustrated, in this embodiment, on the basis of embodiments 1 and 2, a specific embodiment of obtaining a mapping corresponding relationship between a panoramic video picture and a preset position of the motion camera is further provided, and the step of obtaining the mapping corresponding relationship between the panoramic video picture and the preset position of the motion camera includes: and constructing grid (m, n) on the panoramic video picture, and establishing a mapping table list of the grid and preset positions of the motion camera, wherein m is a row of the grid, and n is a column of the grid. The invention can convert the image search matching in the panoramic video picture into the image search matching of the moving camera video picture by utilizing the mapping relation between the preset position and the panoramic video picture, greatly reduces the resolution and improves the search matching efficiency.
Example 4:
referring to fig. 1, a method for capturing a panoramic object by a moving camera in a fast positioning manner is further shown, where this embodiment further provides a specific embodiment of the initial positioning of the moving camera on the basis of embodiments 1 and 3, and the step of the initial positioning of the moving camera includes:
step S21: using a mouse to frame and select an area (x, y, w, h) on a panoramic video picture; x and y are coordinate points at the upper left corner of the framing area, and w and h are the length and the width of the framing area;
step S22: cutting the frame selection area to obtain a cut frame selection area;
step S23: arranging the cutting frame selection area (x 1, y1, w1, h 1) in a single grid to obtain a cutting frame selection area matched with the grid;
step S24: by inquiring the mapping table list, driving and primarily positioning the moving camera, so as to ensure that a cutting frame selection area (x 1, y1, w1, h 1) matched with the grids is arranged in a video picture of the moving camera; wherein x1 and y1 are coordinate points at the upper left corner of the new framing area, and w1 and h1 are the length and the width of the new framing area.
The specific embodiment of the initial positioning provided by the invention combines the preset bit mapping relation list lis, the image matching and the motion control method, so that the position of a new frame selection area is ensured to be in the video picture of the motion camera, and the video picture of the target in the motion camera is accurately positioned.
Example 5:
still referring to fig. 1, a method for capturing a panoramic object by a motion camera in a fast positioning manner is further provided in embodiments 1 and 4, where the method includes:
step S31: setting the cutting frame selection area matched with the grids as a frame selection area of the previous frame;
step S32: acquiring a new frame of video image of a moving camera, and matching a frame selection area (x 1, y1, w1, h 1) of a previous frame in the new frame of video image by using an image search matching algorithm to obtain a new frame selection area (x 2, y2, w2, h 2) of the new frame of video image, wherein x2 and y2 are coordinate points at the upper left corner of the new frame selection area, and w2 and h2 are the length and the width of the new frame selection area;
the image search matching algorithm can use an error back propagation 2BP algorithm, and accelerates a robust feature SURF algorithm or a Scale Invariant Feature Transform (SIFT) algorithm.
Step S33: moving the new frame selection area (x 2, y2, w2, h 2) to a central area (x 0, y0, w0, h 0) of an image taken by the motion camera through a motion camera control algorithm, wherein x0 and y0 are coordinate points of the central area (x 0, y 0), and w0 and h0 are the length and the width of the central area;
assigning the position information of the frame selection area (x 2, y2, w2, h 2) to the frame selection area (x 1, y1, w1, h 1), namely setting (x 1, y1, w1, h 1) = (x 2, y2, w2, h 2);
step S34: and acquiring a new video image from the moving camera, and circularly executing the steps S32 to S33 until the moving camera stops moving, thereby realizing the rapid positioning and capturing of the panoramic target.
According to the method for quickly positioning and capturing the panoramic target by the motion camera, disclosed by the embodiment of the invention, the motion control of the motion camera can be realized by utilizing a simple and effective motion camera control strategy of coordinate position comparison and comparing the coordinate of the central point of the frame selection area of the motion camera with the orientation relation of the central point of the central area of the image shot by the motion camera. The control strategy of the motion camera is simple and effective.
Example 6:
fig. 2 shows that, based on the embodiment 5, the motion camera control algorithm only needs to perform simple mathematical operations such as comparing the size at regular time, and the specific implementation method for achieving rapid and accurate positioning capture of the panoramic target is as follows:
step S321: determining the orientation relation between the coordinates (x, y) of the central point of the frame selection area of the moving camera and the coordinates (x 0, y 0) of the central point of the central area; x, y are coordinate points of the center point coordinates (x, y) of the framed area, where:
orientation relation 1: when the coordinate point x < x0 and y < y0, the coordinate (x, y) of the central point of the frame selection area of the moving camera is positioned at the lower left position of the coordinate (x 0 and y 0) of the central point of the central area;
orientation relation 2: when the coordinate point x is less than x0 and y is more than y0, the coordinate (x, y) of the central point of the frame selection area of the moving camera is positioned at the upper left position of the coordinate (x 0, y 0) of the central point of the central area;
orientation relationship 3: when the coordinate point x is larger than x and y is larger than y0, the coordinate (x, y) of the central point of the frame selection area of the moving camera is positioned at the upper right position of the coordinate (x 0, y 0) of the central point of the central area;
orientation relationship 4: when the coordinate point x is larger than x0 and y is smaller than y0, the coordinate (x, y) of the central point of the frame selection area of the moving camera is positioned at the lower right position of the coordinate (x 0, y 0) of the central point of the central area.
Referring to FIG. 3, a motion control strategy for controlling a motion camera is shown
Step S322: determining a motion control strategy for controlling the motion camera based on the orientation relationship of step S321 includes:
motion control strategy 1:
step 11, according to the coordinate point x < x0 and y < y0 in the step S321, that is, the coordinate (x, y) of the center point of the frame selection area is at the lower left position of the coordinate (x 0 and y 0) of the center point in the center area, firstly controlling the moving camera to move to the lower left position;
step 12, when the moving camera moves to | X-X0| < a, stopping the movement in the X direction, and enabling the moving camera to move only in the Y direction; wherein a represents the X-direction spacing value of X, X0;
and step 13, when the moving camera moves to the Y-Y0 < b, stopping the movement in the Y direction, and enabling the moving camera to move only in the X direction, wherein the b represents the Y-direction spacing value of Y and Y0.
Or:
when | x-x0| < a and | y-y0| < b simultaneously, the moving camera stops moving, and the boxed area is already in the center area of the moving camera.
Motion control strategy 2:
step 21, controlling the moving camera to move towards the upper left direction according to the coordinate points x < x0 and y > y0 in the step S321, namely, the coordinate (x, y) of the center point of the frame selection area is at the upper left position of the coordinate (x 0, y 0) of the center point in the center area;
step 22, when the moving camera moves to | X-X0| < a, stopping the movement in the X direction, and enabling the moving camera to move only in the Y direction;
step 23, when the moving camera moves to Y-Y0 < b, stopping the movement in the Y direction, and moving the moving camera only in the X direction;
or:
when | x-x0| < a and | y-y0| < b, the moving camera stops moving, and the framing area is already in the center area of the moving camera.
Motion control strategy 3:
step 31, controlling the moving camera to move to the upper right direction according to the coordinate points x > x0 and y > y0 in the step S321, namely, the coordinate (x, y) of the center point of the frame selection area is at the upper right position of the coordinate (x 0, y 0) of the center point in the center area;
step 32, when the moving camera moves to | X-X0| < a, stopping the movement in the X direction, and enabling the moving camera to move only in the Y direction;
step 33, when the moving camera moves to Y-Y0 < b, stopping the movement in the Y direction, and moving the moving camera only in the X direction;
or:
when | x-x0| < a and | y-y0| < b simultaneously, the moving camera stops moving, and the boxed area is already in the center area of the moving camera.
Motion control strategy 4:
step 41, controlling the moving camera to move to the lower right direction according to the coordinate points x > x0 and y < y0 in the step S321, namely, the coordinate (x, y) of the center point of the frame selection area is at the lower right position of the coordinate (x 0, y 0) of the center point in the center area;
step 42, when the moving camera moves to | X-X0| < a, stopping the movement in the X direction, and moving the moving camera only in the Y direction;
when the moving camera moves to the Y-Y0 < b, stopping the movement in the Y direction, and moving the moving camera only in the X direction;
or:
when | x-x0| < a and | y-y0| < b, the moving camera stops moving, and the framing area is already in the center area of the moving camera.
In the invention, the image matching and the motion control can be completed only under the rectangular coordinate system without involving coordinate conversion, so that the motion control algorithm is simple, and the smooth and accurate motion of the motion camera can be realized only by simple coordinate position comparison. The method avoids the conversion of longitude and latitude coordinates and reduces the cost of additional equipment such as a differential GPS and the like.
Referring to fig. 4, the system for quickly positioning and capturing a panoramic object by a motion camera according to the present invention uses a method for quickly positioning and capturing a panoramic object by a motion camera and embodiments 1 to 6 thereof, and the embodiments of the system for quickly positioning and capturing a panoramic object by a motion camera are as follows:
example A:
the invention provides a system for quickly positioning and capturing a panoramic target by a moving camera, which comprises the moving camera and a plurality of fixed cameras, wherein the moving camera and the fixed cameras are arranged in a complex scene;
a plurality of fixed cameras for obtaining source data of panoramic video pictures in a complex scene;
and the motion camera is used for obtaining the local detail video picture in the panoramic video picture and realizing the positioning capture of the local detail video picture of the panoramic video.
According to the embodiment, the local detail video picture in the panoramic video picture is obtained by utilizing the mapping relation table of the preset position of the moving camera and the panoramic video picture of the fixed camera, so that the local detail video picture of the panoramic video picture is positioned and captured, the image searching and matching range is reduced, and the searching and matching efficiency is improved.
Example B:
the system for quickly positioning and capturing the panoramic target by the moving camera comprises a plurality of fixed cameras, a moving camera, a first switch and a second switch, wherein:
the moving camera and the fixed cameras are arranged in a complex scene;
a plurality of fixed cameras for obtaining source data of panoramic seamless video pictures in a complex scene;
a motion camera for obtaining the local detail video picture in the panoramic seamless video picture and realizing the positioning capture of the local detail video picture of the panoramic seamless video;
the first switch is connected with the corresponding fixed camera and the corresponding moving camera through network cables;
the first switch and the second switch are connected and used for transmitting video pictures of the fixed camera and the moving camera and sending preset bit commands to the moving camera. The number of the fixed cameras generally takes 4-8.
In the system of the present invention, based on an image stitching processing algorithm, video frames of N fixed cameras are stitched and fused into a panoramic seamless video frame, and the number N of the fixed cameras is set according to the size of a scene. In the system for locating the frame selection area in the panoramic seamless video picture in a linkage manner, the first switch and the second switch are connected and transmit the video pictures of the fixed camera and the moving camera and the corresponding preset position commands, so that the search matching image in the panoramic video picture is converted into the search matching image in the video picture of the moving camera, and the image search matching range is greatly reduced.
Example C:
the embodiment provides a system for quickly positioning and capturing a panoramic target by a moving camera based on embodiment B, which includes: a plurality of fixed cameras, a motion camera, first switch, second switch, the system still includes: concatenation processing unit, control processing unit, wherein:
the moving camera and the fixed cameras are arranged in a complex scene;
a plurality of fixed cameras for obtaining panoramic seamless video pictures in a complex scene;
the motion camera is used for obtaining a local detail video picture in the panoramic video picture and realizing the positioning capture of the local detail video picture of the panoramic video;
the first switch is connected with the corresponding fixed camera and the corresponding moving camera through network cables;
the first switch and the second switch are connected and used for transmitting video pictures of the fixed camera and the moving camera and sending a preset bit command to the moving camera;
the splicing processing unit is connected with the second switch,
the splicing processing unit is used for processing splicing fusion of video picture information of the fixed cameras, obtaining panoramic video pictures, constructing grids, identifying the position of a mouse and transmitting the position information of the mouse;
the control processing unit is connected with the second switch;
the control processing unit decodes the video image of the motion camera, stores the mapping table, receives the mouse position information from the splicing processing unit, inquires the two-dimensional mapping table, obtains the motion camera and the preset position component, sends a preset position command to the motion camera by utilizing a Pelco-P or Pelco-D protocol, drives the motion camera to rotate to a proper angle, and automatically zooms and focuses.
In the embodiment, the splicing processing unit and the control processing unit are adopted, the splicing processing unit transmits information to the control processing unit through the second switch, and the image search matching in the panoramic video picture is converted into the image search matching of the moving camera video picture by combining the preset bit mapping relation list lis and the image matching and motion control method, so that the resolution is greatly reduced, and the search matching efficiency is improved.
Example D:
the embodiment provides a system for capturing panoramic target by fast positioning of a moving camera, which comprises: the system comprises a plurality of fixed cameras, a moving camera, a first switch and a second switch, and further comprises a splicing processing unit and a control processing unit, wherein one of the splicing processing unit and the control processing unit is as follows: wherein:
the moving camera and the fixed cameras are arranged in a complex scene;
a plurality of fixed cameras for obtaining panoramic seamless video pictures in a complex scene; the fixed cameras are arranged in the same shield bracket;
the motion camera is used for obtaining a local detail video picture in the panoramic video picture and realizing the positioning capture of the local detail video picture of the panoramic video;
the first switch is connected with the corresponding fixed camera and the corresponding moving camera through network cables;
the first switch and the second switch are connected and used for transmitting video pictures of the fixed camera and the moving camera and sending a preset bit command to the moving camera;
the splicing processing unit is connected with the second switch;
the splicing processing unit is used for processing splicing fusion of video picture information of the fixed cameras, acquiring panoramic video pictures, identifying the position of a mouse and transmitting the position information of the mouse; or
The control processing unit is connected with the second switch;
the control processing unit decodes the video image of the motion camera, stores the mapping table, receives the mouse position from the splicing processing unit, inquires the two-dimensional mapping table, obtains the motion camera and the preset position component, sends a preset position command to the motion camera by utilizing a Pelco-D or Pelco-P protocol, drives the motion camera to rotate to a proper angle, and automatically zooms and focuses.
In this embodiment, based on the control strategies of the motion cameras provided in embodiments 1 to 5 and embodiments B to C, a frame selection area is found in the motion camera by using an image search matching algorithm; and moving the frame selection area to a central area of an image shot by the motion camera through a motion camera control algorithm until the motion camera stops moving, thereby realizing the rapid positioning and capturing of the panoramic target. The motion control strategy for controlling the motion camera is determined by comparing the coordinate of the central point of the frame area of the motion camera with the orientation relation of the central point of the central area of the image shot by the motion camera, so that the motion control of the motion camera can be realized. The motion camera control strategy of the invention is simple and effective. In the invention, the image matching and the motion control can be completed only under the rectangular coordinate system without involving coordinate conversion, so that the motion control algorithm is simple, and the smooth and accurate motion of the motion camera can be realized only by simple coordinate position comparison. The method avoids the conversion of longitude and latitude coordinates and reduces the cost of additional equipment such as a differential GPS and the like.
Example E:
referring to fig. 5, a shield structure is shown, in this embodiment, the fixed camera is mounted in the same shield bracket; the number of the fixed cameras and the number N of the moving cameras with different high and low positions are set according to the size of a scene, and the selection of the lens of the moving camera is selected randomly according to actual conditions. The moving camera needs to be mounted on the horizontal plane or horizontal parallel plane of the fixed camera.
Referring to fig. 5, a shield support structure of the present embodiment includes: mount table 1, network equipment box 2, pylon 3, upper portion pylon 4, support bracket 5, support frame 6, frame 7, frame lid 8, bracing piece 9, support 10, wherein:
the bottoms of the network equipment box 2 and the bottom tower 3 are correspondingly arranged on the mounting platform 1;
the upper tower 4 is correspondingly connected with the support bracket 5 and the bottom tower 3;
the support frame 6 and the support 10 are correspondingly connected with the support bracket 5; the lightning arrester is connected with the bracket 10
The supporting frame 6 is connected with the frame 7; the frame 7 is connected with a plurality of fixed cameras;
the frame cover 8 is arranged between the frame 7 and the support rod 9, and the support rod 9 is connected with the motion camera.
The shield structure of the present embodiment can ensure that the fixed camera mounted in the frame 7 and the moving camera on the support bar 9 are on the horizontal parallel plane; the direct irradiation of the sun to the fixed camera is basically prevented, and the backlight imaging is avoided; so that the moving camera and the lens thereof can be arbitrarily selected according to actual needs.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (9)

1. A method for quickly positioning and capturing a panoramic target by a motion camera is characterized by comprising the following steps:
step S1: the mapping corresponding relation between a panoramic video picture and a preset position of a motion camera in a complex scene is utilized to realize the primary positioning of the motion camera, and a frame selection area is arranged in the video picture of the motion camera;
step S2: matching the frame selection area with an image in a video picture of the motion camera to obtain the position of the frame selection area in the video picture of the motion camera;
and step S3: moving the frame selection area to the central area position of the video picture of the motion camera by utilizing a motion camera control strategy to realize the positioning capture of the local detail video picture of the panoramic video;
the specific implementation steps of the motion camera control strategy comprise the following steps:
step S31: setting the cutting frame selection area matched with the grids as a frame selection area of the previous frame;
step S32: acquiring a new frame of video image of a moving camera, and matching a frame selection area (x 1, y1, w1, h 1) of a previous frame in the new frame of video image by using an image search matching algorithm to obtain a new frame selection area (x 2, y2, w2, h 2) of the new frame of video image, wherein x2 and y2 are coordinate points at the upper left corner of the new frame selection area, and w2 and h2 are the length and the width of the new frame selection area;
step S33: moving the new frame selection area (x 2, y2, w2, h 2) to a central area (x 0, y0, w0, h 0) of an image taken by the motion camera through a motion camera control algorithm, wherein x0 and y0 are coordinate points of the central area (x 0, y 0), and w0 and h0 are the length and the width of the central area; assigning the position information of the frame selection area (x 2, y2, w2, h 2) to the frame selection area (x 1, y1, w1, h 1);
step S34: new video images are acquired from the moving camera and steps S32 and S33 are looped until the moving camera stops moving.
2. The method of claim 1, wherein obtaining the panoramic video picture comprises: and splicing and fusing the video pictures of the plurality of fixed cameras into a seamless panoramic video picture by utilizing image splicing processing.
3. The method according to claim 1, wherein obtaining the mapping correspondence between the panoramic video picture and the preset position of the motion camera comprises the following steps: and constructing a grid on the panoramic video picture, and establishing a mapping table of the grid and preset positions of the motion camera.
4. The method of claim 1, wherein the step of initial positioning of the motion camera comprises:
step S21: selecting a region on a panoramic video picture;
step S22: cutting the frame selection area to obtain a cut frame selection area;
step S23: setting the cutting frame selection area in a single grid to obtain a cutting frame selection area matched with the grid;
step S24: and driving and primarily positioning the motion camera by inquiring the mapping table, and setting the cutting frame selection area matched with the grids in the video picture of the motion camera.
5. A system for fast positioning and capturing panoramic objects using a moving camera according to the method of any of claims 1 to 4, characterized in that it comprises: the system comprises a moving camera and a plurality of fixed cameras which are arranged in a complex scene;
a plurality of fixed cameras for obtaining source data of panoramic video pictures in a complex scene;
and the motion camera is used for obtaining the local detail video picture in the panoramic video picture and realizing the positioning capture of the local detail video picture of the panoramic video.
6. The system of claim 5, further comprising:
the first switch is connected with the corresponding fixed camera and the corresponding moving camera through network cables;
the first switch and the second switch are connected and used for transmitting video pictures of the fixed camera and the moving camera and sending preset bit commands to the moving camera.
7. The system of claim 6, further comprising:
the splicing processing unit is connected with the second switch;
and the splicing processing unit is used for splicing and fusing the video picture information of the fixed cameras, obtaining a panoramic picture, constructing a grid, identifying a mouse position and transmitting the mouse position information.
8. The system of claim 6, further comprising:
the control processing unit is connected with the second switch;
and the control processing unit is used for decoding a video picture of the motion camera, storing a mapping table, receiving mouse position information from the splicing processing unit, inquiring the two-dimensional mapping table, acquiring components of the motion camera and a preset position, sending a preset position command to the motion camera by utilizing a Pelco-D or Pelco-P transmission protocol, driving the motion camera to rotate to a proper angle, and automatically zooming and focusing.
9. The system of claim 5, wherein the fixed cameras are installed in the same shield, the number of the fixed cameras is set according to the size of the scene, and the selection of the lens of the moving camera is arbitrarily selected according to actual conditions.
CN201610355437.6A 2016-05-25 2016-05-25 Method and system for quickly positioning and capturing panoramic target by motion camera Active CN107438152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610355437.6A CN107438152B (en) 2016-05-25 2016-05-25 Method and system for quickly positioning and capturing panoramic target by motion camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610355437.6A CN107438152B (en) 2016-05-25 2016-05-25 Method and system for quickly positioning and capturing panoramic target by motion camera

Publications (2)

Publication Number Publication Date
CN107438152A CN107438152A (en) 2017-12-05
CN107438152B true CN107438152B (en) 2023-04-07

Family

ID=60453307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610355437.6A Active CN107438152B (en) 2016-05-25 2016-05-25 Method and system for quickly positioning and capturing panoramic target by motion camera

Country Status (1)

Country Link
CN (1) CN107438152B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108198199B (en) * 2017-12-29 2022-02-01 北京地平线信息技术有限公司 Moving object tracking method, moving object tracking device and electronic equipment
CN109242772B (en) * 2018-08-23 2023-01-31 上海圭目机器人有限公司 Airport pavement surface image splicing method based on intelligent platform area-array camera acquisition
CN109348291B (en) * 2018-11-16 2021-05-18 深圳市梦网视讯有限公司 Panoramic video code stream distribution method and system based on motion analysis
CN109525816A (en) * 2018-12-10 2019-03-26 北京智汇云舟科技有限公司 A kind of more ball fusion linked systems of multiple gun based on three-dimensional geographic information and method
CN110062153A (en) * 2019-03-18 2019-07-26 北京当红齐天国际文化发展集团有限公司 A kind of panorama is taken pictures UAV system and panorama photographic method
CN110706447B (en) * 2019-10-14 2022-05-03 浙江大华技术股份有限公司 Disaster position determination method, disaster position determination device, storage medium, and electronic device
CN111833243B (en) * 2020-09-20 2020-12-01 武汉中科通达高新技术股份有限公司 Data display method, mobile terminal and storage medium
CN112532886B (en) * 2020-11-30 2022-06-10 深圳创维新世界科技有限公司 Panorama shooting method, device and computer readable storage medium
CN115376114B (en) * 2022-09-05 2023-06-30 润芯微科技(江苏)有限公司 Multi-mode view finding method and system for image of automobile camera

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005073091A (en) * 2003-08-27 2005-03-17 Hitachi Ltd Camera position measurement apparatus and method, and camera position control method
WO2008103418A2 (en) * 2007-02-22 2008-08-28 Roy Sandberg Method and apparatus for panning, tilting, and adjusting the height of a remotely controlled camera
CN101707671A (en) * 2009-11-30 2010-05-12 杭州普维光电技术有限公司 Panoramic camera and PTZ camera combined control method and panoramic camera and PTZ camera combined control device
CN101902616A (en) * 2009-06-01 2010-12-01 金三立视频科技(深圳)有限公司 Quick stereo positioning method for video monitoring
CN102148965A (en) * 2011-05-09 2011-08-10 上海芯启电子科技有限公司 Video monitoring system for multi-target tracking close-up shooting
CN102291569A (en) * 2011-07-27 2011-12-21 上海交通大学 Double-camera automatic coordination multi-target eagle eye observation system and observation method thereof
WO2012082127A1 (en) * 2010-12-16 2012-06-21 Massachusetts Institute Of Technology Imaging system for immersive surveillance
CN102665067A (en) * 2012-04-25 2012-09-12 广东电网公司珠海供电局 Equipment area and equipment object oriented substation video monitoring method and system
CN103105858A (en) * 2012-12-29 2013-05-15 上海安维尔信息科技有限公司 Method capable of amplifying and tracking goal in master-slave mode between fixed camera and pan tilt zoom camera
CN103971375A (en) * 2014-05-22 2014-08-06 中国人民解放军国防科学技术大学 Panoramic gaze camera space calibration method based on image splicing
CN104125433A (en) * 2014-07-30 2014-10-29 西安冉科信息技术有限公司 Moving object video surveillance method based on multi-PTZ (pan-tilt-zoom)-camera linkage structure
CN104483983A (en) * 2014-11-24 2015-04-01 成都新舟锐视科技有限公司 Multi-camera real-time linkage double-cloud-deck control method
CN104639916A (en) * 2015-03-04 2015-05-20 合肥巨清信息科技有限公司 Large-scene multi-target tracking shooting video monitoring system and monitoring method thereof
CN104822045A (en) * 2015-04-15 2015-08-05 中国民用航空总局第二研究所 Method for realizing distributed linkage display of observing pictures through preset positions, and device thereof
CN105282449A (en) * 2015-11-20 2016-01-27 南京杰迈视讯科技有限公司 Method and device for adjusting and controlling visual field of PT camera

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5338498B2 (en) * 2009-06-09 2013-11-13 ソニー株式会社 Control device, camera system and program used in surveillance camera system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005073091A (en) * 2003-08-27 2005-03-17 Hitachi Ltd Camera position measurement apparatus and method, and camera position control method
WO2008103418A2 (en) * 2007-02-22 2008-08-28 Roy Sandberg Method and apparatus for panning, tilting, and adjusting the height of a remotely controlled camera
CN101902616A (en) * 2009-06-01 2010-12-01 金三立视频科技(深圳)有限公司 Quick stereo positioning method for video monitoring
CN101707671A (en) * 2009-11-30 2010-05-12 杭州普维光电技术有限公司 Panoramic camera and PTZ camera combined control method and panoramic camera and PTZ camera combined control device
WO2012082127A1 (en) * 2010-12-16 2012-06-21 Massachusetts Institute Of Technology Imaging system for immersive surveillance
CN102148965A (en) * 2011-05-09 2011-08-10 上海芯启电子科技有限公司 Video monitoring system for multi-target tracking close-up shooting
CN102291569A (en) * 2011-07-27 2011-12-21 上海交通大学 Double-camera automatic coordination multi-target eagle eye observation system and observation method thereof
CN102665067A (en) * 2012-04-25 2012-09-12 广东电网公司珠海供电局 Equipment area and equipment object oriented substation video monitoring method and system
CN103105858A (en) * 2012-12-29 2013-05-15 上海安维尔信息科技有限公司 Method capable of amplifying and tracking goal in master-slave mode between fixed camera and pan tilt zoom camera
CN103971375A (en) * 2014-05-22 2014-08-06 中国人民解放军国防科学技术大学 Panoramic gaze camera space calibration method based on image splicing
CN104125433A (en) * 2014-07-30 2014-10-29 西安冉科信息技术有限公司 Moving object video surveillance method based on multi-PTZ (pan-tilt-zoom)-camera linkage structure
CN104483983A (en) * 2014-11-24 2015-04-01 成都新舟锐视科技有限公司 Multi-camera real-time linkage double-cloud-deck control method
CN104639916A (en) * 2015-03-04 2015-05-20 合肥巨清信息科技有限公司 Large-scene multi-target tracking shooting video monitoring system and monitoring method thereof
CN104822045A (en) * 2015-04-15 2015-08-05 中国民用航空总局第二研究所 Method for realizing distributed linkage display of observing pictures through preset positions, and device thereof
CN105282449A (en) * 2015-11-20 2016-01-27 南京杰迈视讯科技有限公司 Method and device for adjusting and controlling visual field of PT camera

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
机器视觉多视场协同测量方法;何博侠等;《光学精密工程》;20121215(第12期);全文 *

Also Published As

Publication number Publication date
CN107438152A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
CN107438152B (en) Method and system for quickly positioning and capturing panoramic target by motion camera
CN102148965B (en) Video monitoring system for multi-target tracking close-up shooting
CN112053446B (en) Real-time monitoring video and three-dimensional scene fusion method based on three-dimensional GIS
JP6587113B2 (en) Image processing apparatus and image processing method
CN106550182B (en) Shared unmanned aerial vehicle viewing system
CN109547766B (en) Panoramic image generation method and device
US8723951B2 (en) Interactive wide-angle video server
CN205693769U (en) A kind of motion cameras positioning capturing quick to panorama target system
CN107659774A (en) A kind of video imaging system and method for processing video frequency based on multiple dimensioned camera array
CN104822045A (en) Method for realizing distributed linkage display of observing pictures through preset positions, and device thereof
CN111815672B (en) Dynamic tracking control method, device and control equipment
JP6019729B2 (en) Image processing apparatus, image processing method, and program
CN102831816B (en) Device for providing real-time scene graph
CN105812640A (en) Spherical omni-directional camera device and video image transmission method thereof
CN111429518A (en) Labeling method, labeling device, computing equipment and storage medium
KR100888935B1 (en) Method for cooperation between two cameras in intelligent video surveillance systems
CN112040140A (en) Wide-view-field high-resolution hybrid imaging device based on light field
CN104539893B (en) Realize the method, apparatus and system of virtual head monitoring effect
CN116228888B (en) Conversion method and system for geographic coordinates and PTZ camera coordinates
CN111105505A (en) Method and system for quickly splicing dynamic images of holder based on three-dimensional geographic information
CN108492254B (en) Image acquisition system and method
CN115529450A (en) Light field-based dense camera real-time acquisition equipment and data preprocessing method
JP2019133214A (en) Image display apparatus, video display system including apparatus, image display method and program for displaying image
KR102587759B1 (en) Method and apparatus for determining rotation angle for spherical multimedia content.
CN110913161B (en) Method and device for recording banner video through vertical screen

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