Disclosure of Invention
In order to solve the above problems in the background art, the present invention provides a shooting method and a shooting device for oblique photography three-dimensional modeling.
The technical scheme adopted by the invention for solving the technical problems is as follows: a shooting method of oblique photography three-dimensional modeling is characterized in that a single-lens camera is mounted on a three-axis holder provided with a pitching axis, a rolling axis and a direction axis and capable of rotating in three dimensions, and in the process that an aircraft carrying the three-axis holder flies along a bow-shaped course line in a target area, a holder controller respectively controls a pitching axis motor, a rolling axis motor and a direction axis motor to point the camera lens at a set angle, then a camera shutter is triggered to shoot, and meanwhile space position coordinate information during shooting is recorded; the camera shooting direction angle is: shooting at five different visual angles of front 45 degrees, right below 90 degrees, rear 45 degrees, left 45 degrees and right 45 degrees; and continuously shooting five visual angles by the aircraft in the process of carrying out the bow-shaped air route flight on the target area.
Furthermore, the shooting sequence of the five different visual angles can be different sequences, and after the shooting angle sequences are set, the aircraft can circularly shoot according to the shooting angle sequences set in the bow-shaped course flight process of the target area.
Further, the holder controller sends set 1000-2000 us PWM signals to the pitch axis motor, the roll axis motor and the direction axis motor respectively according to the set interval duration between two times of shooting and the position parameters of the pitch axis motor, the roll axis motor and the direction axis motor of each shooting direction angle, controls the pitch axis motor, the roll axis motor and the direction axis motor to make corresponding actions by adopting a pulse width modulation control mode, enables a camera lens to point at the set angle, then sends a switch signal to trigger a camera shutter to shoot, and simultaneously records the space position coordinate information of the camera during shooting.
Further, in the cyclic shooting process, a time control mode is adopted to control a camera shutter, the interval duration between two times of shooting can be determined according to the shooting overlapping degree, and the calculation formula of the interval duration is as follows:
the interval duration is as follows: t = L/5V
Wherein L is the length of the flight path photography baseline: l = Bx Px
In the formula: t is interval duration (unit s); l is the shooting baseline length (unit m) of the flight route; v is the average speed of flight (in m/s); bx is the base length of the route (in m); px is shot overlap (unit%).
Further, an STM32FL03C8T6 single-chip microcomputer serving as a main control chip is arranged in the cradle head controller, the cradle head controller is provided with an input end and four output ends, the input end is connected with a shooting enabling port of a flight controller of an aircraft and used for receiving a shooting start-stop signal, and after the cradle head controller receives the shooting start-stop signal, the mechanical actions of the pitch shaft motor, the roll shaft motor and the direction shaft motor and the shooting action of the camera are started or stopped;
the first output end of the holder controller is connected with a pitch shaft motor and is used for controlling the pitch shaft to rotate to a specified angle; the second output end is connected with a transverse roller motor and is used for controlling the transverse roller to rotate to a specified angle; the third output end is connected with a direction shaft motor and is used for controlling the direction shaft to rotate to a specified angle; and the fourth output end is connected with the camera shutter trigger and the POS data recording unit and is used for triggering the camera to shoot and simultaneously recording the spatial position coordinate information of the camera during shooting.
The invention also provides a shooting device for oblique photography three-dimensional modeling, which comprises a flight controller, a holder controller, a pitching axis motor, a rolling axis motor, a direction axis motor, a camera trigger, a POS data recording unit and a single-lens camera;
the flight controller is connected with the pan-tilt controller, the pan-tilt controller is respectively connected with the pitching shaft motor, the rolling shaft motor, the direction shaft motor, the camera trigger and the POS data recording unit, and the camera trigger is connected with the camera;
the flight controller is used for controlling the aircraft to reach a shooting position and fly along a set air route;
the holder controller is used for controlling the pitching shaft motor, the rolling shaft motor and the direction shaft motor to enable the camera lens to point to a set angle; sending a switch signal to a camera trigger to trigger the camera to shoot, and sending the switch signal to a POS data recording unit to record the spatial position coordinate information of the camera during shooting;
the camera trigger is used for triggering camera shooting.
Furthermore, an STM32FL03C8T6 single-chip microcomputer serving as a main control chip is arranged in the cradle head controller, the cradle head controller is provided with an input end and four output ends, the input end of the cradle head controller is connected with a shooting enabling port of a flight controller of an aircraft and used for receiving a shooting start-stop signal, and after the cradle head controller receives the shooting start-stop signal, the mechanical actions of the pitch shaft motor, the roll shaft motor and the direction shaft motor and the camera shooting action are started or stopped;
the first output end of the holder controller is connected with a pitch shaft motor and is used for controlling the pitch shaft to rotate to a specified angle; the second output end is connected with a transverse roller motor and is used for controlling the transverse roller to rotate to a specified angle; the third output end is connected with a direction shaft motor and is used for controlling the direction shaft to rotate to a specified angle; the fourth output end is connected with the camera trigger and the POS data recording unit and used for triggering the camera to shoot and simultaneously recording the spatial position coordinate information of the camera during shooting.
Further, the POS data recording unit is configured to record spatial position coordinate information of the camera during shooting, where the spatial position coordinate information includes position information and attitude information, and the position information includes: longitude, latitude, altitude, barometric altitude, attitude information including: pitch angle, roll angle, course angle.
The implementation process comprises the following steps: the flight controller controls the aircraft to reach and shoot the position, carries out the bow font airline flight to the target area, and at the flight in-process, cloud platform controller control pitch axis motor, roll axis motor and direction axis motor are with the directional angle of setting of camera lens, trigger the camera shutter and shoot, and the spatial position coordinate information when the shooting of record simultaneously, camera shooting direction angle is: five different visual angles of front 45 degrees, right below 90 degrees, rear 45 degrees, left side 45 degrees and right side 45 degrees, the aircraft continuously circulates according to the shooting sequence in the process of carrying out the bow-shaped air route flight on the target area, and the aircraft carries out the bow-shaped air route flight on the target area once, so that a series of shooting at five angles can be realized, and the data acquisition of the three-dimensional modeling of the target area is completed.
The shooting sequence of the five different visual angles can be randomly sequenced, and after the shooting angle sequencing is set, the aircraft can continuously and circularly shoot according to the shooting angle sequencing set in the whole process of carrying out the bow-shaped course flight on the target area.
The cloud platform controller sends set 1000-2000 us PWM signals to the pitch axis motor, the roll axis motor and the direction axis motor respectively according to the set interval length between two times of shooting and the position parameters of the pitch axis motor, the roll axis motor and the direction axis motor of each shooting direction angle, controls the pitch axis motor, the roll axis motor and the direction axis motor to make corresponding actions by adopting a pulse width modulation control mode, enables a camera lens to point to the set angle when reaching a specified position, then sends a switch signal to trigger a camera shutter to shoot, and sends the switch signal to record space position coordinate information of the camera during shooting.
In the cyclic shooting process, a time control mode is adopted to control a camera shutter, the interval duration between two times of shooting can be determined according to the shooting overlapping degree, and the calculation formula of the interval duration is as follows:
the interval duration is as follows: t = L/5V
Wherein L is the length of the flight path photography baseline: l = Bx Px
In the formula: t is interval duration (unit s); l is the shooting baseline length (unit m) of the flight route; v is the average speed of flight (in m/s); bx is the base length of the route (in m); px is shot overlap (unit%).
An STM32FL03C8T6 single-chip microcomputer is arranged in the cradle head controller and serves as a main control chip, the cradle head controller is provided with an input end and four output ends, the input end of the cradle head controller is connected with a shooting enabling port of a flight controller of an aircraft and used for receiving shooting start-stop signals, and after the cradle head controller receives the shooting start-stop signals, mechanical actions of a pitch shaft motor, a roll shaft motor and a direction shaft motor and camera shooting actions are started or stopped;
the first output end of the holder controller is connected with a pitch shaft motor and is used for controlling the pitch shaft to rotate to a specified angle; the second output end is connected with a transverse roller motor and is used for controlling the transverse roller to rotate to a specified angle; the third output end is connected with a direction shaft motor and is used for controlling the direction shaft to rotate to a specified angle; the fourth output end is connected with the camera trigger and the POS data recording unit and used for triggering the camera to shoot and simultaneously recording the spatial position coordinate information of the camera during shooting.
The aircraft flies on the target area by a zigzag airline once, so that a series of shooting at five angles can be realized, and data acquisition of three-dimensional modeling of the target area is completed.
The POS data recording unit records spatial position coordinate information of the camera during shooting, wherein the spatial position coordinate information comprises position information and attitude information, and the position information comprises: longitude, latitude, altitude, barometric altitude, attitude information including: pitch angle, roll angle, course angle.
The invention has the beneficial effects that: the adoption carries out the bow font airline flight to the target area, and at the flight in-process, cloud platform controller control pitch axis motor, roll shaft motor and direction axis motor are directional with the camera lens and are set for the angle, trigger the camera shutter and shoot, the spatial position coordinate information when simultaneously taking the record, the shooting angle is: the shooting data acquisition at five angles can be acquired by continuously shooting the target area at five visual angles in the process of one-time bow-shaped air route flight by the aircraft at 45 degrees in front, 90 degrees right below, 45 degrees behind, 45 degrees on the left side and 45 degrees on the right side, and the data acquisition of the oblique shooting of the three-dimensional modeling of the target area is completed.
The cloud deck controller sends set 1000-2000 us PWM signals to the pitch axis motor, the roll axis motor and the direction axis motor respectively according to the set interval duration between two times of shooting and the position parameters of the pitch axis motor, the roll axis motor and the direction axis motor of each shooting direction angle, controls the pitch axis motor, the roll axis motor and the direction axis motor to make corresponding actions by adopting a control mode of pulse width modulation, enables a camera lens to point to the set angle when reaching a specified position, controls a camera shutter by adopting a time control mode, sends a switch signal to trigger the camera shutter to shoot, and sends the switch signal to record space position coordinate information of the camera during shooting; the synchronization of camera shooting and spatial position coordinate information can be realized.
The invention adopts the single-lens camera to be arranged on the three-axis pan-tilt with the pitching axis, the rolling axis and the direction axis capable of three-dimensionally rotating, has small volume, light weight and low manufacturing cost, is arranged on the small unmanned aerial vehicle, and can finish the image data acquisition of five-angle three-dimensional modeling by carrying out the bow-shaped course flight on the target area once, thereby greatly improving the shooting efficiency of oblique photography and reducing the shooting cost.
Detailed Description
The invention is further illustrated with reference to the following figures and examples.
As shown in fig. 1, a shooting method of oblique photography three-dimensional modeling, a single-lens camera is installed on a three-axis pan-tilt provided with a pitch axis, a roll axis and a direction axis capable of three-dimensionally rotating, and in the process that an aircraft carrying the three-axis pan-tilt flies along a bow-shaped air route in a target area, a pan-tilt controller respectively controls a pitch axis motor, a roll axis motor and a direction axis motor to point a camera lens at a set angle, then a camera shutter is triggered to shoot, and simultaneously, spatial position coordinate information during shooting is recorded; the camera shooting direction angle is: shooting at five different visual angles of front 45 degrees, right below 90 degrees, rear 45 degrees, left 45 degrees and right 45 degrees; and continuously shooting five visual angles by the aircraft in the process of carrying out the bow-shaped air route flight on the target area.
As shown in fig. 2, a shooting device for oblique photography three-dimensional modeling comprises a flight controller 1, a pan-tilt controller 2, a pitch axis motor 3, a roll axis motor 4, a direction axis motor 5, a camera trigger 6, a POS data recording unit 7 and a single-lens camera 8;
the flight controller 1 is connected with the holder controller 2, the holder controller 2 is respectively connected with a pitching shaft motor 3, a rolling shaft motor 4, a direction shaft motor 5, a camera trigger 6 and a POS data recording unit 7, and the camera trigger 6 is connected with a camera 8;
the flight controller 1 is used for controlling the aircraft to reach a shooting position and fly along a set air route;
the holder controller 2 is used for controlling the pitching shaft motor 3, the rolling shaft motor 4 and the direction shaft motor 5 to enable the camera 8 to point to a set angle; sending a switch signal to the camera trigger 6 to trigger the camera 8 to shoot, and sending the switch signal to the POS data recording unit 7 to record the spatial position coordinate information of the camera 8 during shooting;
the camera trigger 6 is used to trigger the camera 8 to take a picture.
The specific implementation process of the invention is as follows:
firstly, setting the flight altitude and the route spacing distance according to the Low-altitude digital aerial photography Specification (CHZ 3005-2010), planning a shooting bow-shaped route meeting the standard, and then calculating the interval duration between two times of shooting according to the distance required by the overlapping degree of course photos:
the interval duration is as follows: t = L/5V
Wherein L is the length of the flight path photography baseline: l = Bx Px
In the formula: t is interval duration (unit s); l is the shooting baseline length (unit m) of the flight route; v is the average speed of flight (in m/s); bx is the base length of the route (in m); px is shot overlap (unit%).
And inputting the interval duration value between two times of shooting into the holder controller 2, and controlling the angle of the camera 8 and shooting by the holder controller 2 according to the interval duration.
Flight controller 1 control carries on the aircraft of triaxial cloud platform and arrives the shooting position, carries out the bow font airline flight to the target area, and at the flight in-process, cloud platform controller 2 control pitch axis motor 3, roll axis motor 4 and direction axis motor 5 with 8 camera lens directional settlement angles of camera, trigger 8 camera shutters and shoot, the spatial position coordinate information when simultaneously the record is shot, the shooting order is: the front is 45 degrees, the right lower is 90 degrees, the rear is 45 degrees, the left side is 45 degrees and the right side is 45 degrees, and the flying controller 1 continuously cycles according to the shooting sequence in the process of carrying out the bow-shaped air route flying on the target area.
The holder controller 2 sends set 1000-2000 us PWM signals to the pitch axis motor 3, the roll axis motor 4 and the direction axis motor 5 respectively according to the set interval duration between two times of shooting and the position parameters of the pitch axis motor 3, the roll axis motor 4 and the direction axis motor 5 of each shooting direction angle, controls the pitch axis motor 3, the roll axis motor 4 and the direction axis motor 5 to make corresponding actions by adopting a pulse width modulation control mode, enables a camera 8 lens to point at the set angle when reaching a specified position, controls a camera 8 shutter by adopting a time control mode, sends a switch signal to trigger the camera 8 shutter to shoot, sends the switch signal to the POS data recording unit 7 at the same time, and records the space position coordinate information of the camera 8 during shooting.
As shown in fig. 1, the oblique photography process is specifically as follows: according to a set shooting sequence, a holder controller 2 firstly controls a pitching shaft motor 3, a rolling shaft motor 4 and a direction shaft motor 5, points a camera 8 lens at a set angle, then triggers a camera 8 shutter, and simultaneously sends a recording signal to a POS data recording unit 7, so that the POS data recording unit 7 records the space position coordinate information of the camera 8 during shooting; then turning to the next shooting angle to repeat the steps.
In this embodiment, the step of controlling the shooting direction and angle of the camera 8 is set as follows: shooting at five different visual angles of 45 degrees in front, 90 degrees right below, 45 degrees behind, 45 degrees on the left side and 45 degrees on the right side, and continuously and circularly shooting in sequence when the aircraft carries out bow-shaped course flight on the target area.
The shooting sequence of the five different visual angles can be randomly sequenced, and after the shooting angle sequencing is set, the aircraft can continuously and circularly shoot according to the shooting angle sequencing set in the whole process of carrying out the bow-shaped course flight on the target area.
Wherein, be equipped with STM32FL03C8T6 singlechip in cloud platform controller 2 as main control chip, cloud platform controller 2 is equipped with an input and four outputs, and its input is connected with the shooting enable port of flight control ware 1 of aircraft for receive and shoot and stop the signal, after cloud platform controller 2 received and shoots and stop the signal, start or stop pitching axis motor 3, roll axis motor 4, the mechanical action of direction axle motor 5 and the action of shooting of camera 8.
The first output end of the holder controller 2 is connected with the pitching shaft motor 3 and is used for controlling the pitching shaft to rotate to a specified angle; the second output end is connected with a transverse roller motor 4 and is used for controlling the transverse roller to rotate to a specified angle; the third output end is connected with a direction shaft motor 5 and is used for controlling the direction shaft to rotate to a specified angle; the fourth output end is connected with the camera trigger 6 and the POS data recording unit 7 and used for triggering the camera 8 to shoot, and the POS data recording unit 7 simultaneously records the space position coordinate information of the camera 8 during shooting.
The POS data recording unit 7 records spatial position coordinate information of the camera 8 at the time of shooting including position information and attitude information, the position information including: longitude, latitude, altitude, barometric altitude, attitude information including: pitch angle, roll angle, course angle.
The flight controller 1 controls the flight platform to carry out one-time bow-shaped air route flight on the target area, so that series of shooting at five angles can be realized, and the acquisition of oblique photography data of three-dimensional modeling of the target area is completed.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.