WO2021189471A1 - Photographing method, apparatus and device, and computer-readable storage medium - Google Patents
Photographing method, apparatus and device, and computer-readable storage medium Download PDFInfo
- Publication number
- WO2021189471A1 WO2021189471A1 PCT/CN2020/081835 CN2020081835W WO2021189471A1 WO 2021189471 A1 WO2021189471 A1 WO 2021189471A1 CN 2020081835 W CN2020081835 W CN 2020081835W WO 2021189471 A1 WO2021189471 A1 WO 2021189471A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- shooting
- focus motor
- focus
- magnification
- angle
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
Definitions
- This application relates to the field of photographing technology, and in particular to a photographing method, device, equipment, and computer-readable storage medium.
- the camera has become a necessity in people's daily work and life, and various pictures are taken through the camera.
- the camera takes pictures in single shooting mode, continuous shooting mode, timed shooting mode, etc.
- the user wants to take multiple pictures continuously, the user needs to set manually before shooting and set the camera to continuous shooting mode before proceeding.
- Shooting moreover, for cameras that support focusing, you can generally control the camera to focus on close-range or long-range shots to obtain clear pictures of people, buildings, pets and other target objects with blurred background.
- the focusing process requires the user to click to focus The camera will focus according to the area clicked by the user.
- users are required to perform various manual operations, and the camera only passively executes according to the user's manual operations. Therefore, the current camera shooting pictures is not smart and convenient enough.
- the present application provides a shooting method, device, equipment, and computer-readable storage medium to improve the intelligence and convenience of the camera for shooting pictures.
- this application provides a shooting method, including:
- the present application also provides a photographing device, the photographing device including a memory and a processor;
- the memory is used to store a computer program
- the processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
- the present application also provides a photographing device, which includes the above-mentioned photographing device.
- the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned shooting method.
- the photographing method, photographing device, photographing equipment, and computer-readable storage medium disclosed in the present application improve the intelligence and convenience of photographing pictures.
- Fig. 1 is a schematic block diagram of a photographing device provided by an embodiment of the present application.
- FIG. 2 is a schematic diagram of a display of a focus block provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of displaying a high-definition picture provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of picture display corresponding to an operation of zooming in a picture provided by an embodiment of the present application.
- FIG. 5 is a schematic flowchart of steps of a shooting method provided by an embodiment of the present application.
- FIG. 6 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of displaying at least one picture taken based on a picture index according to an embodiment of the present application.
- FIG. 8 is a schematic flowchart of steps for determining at least one set of shooting parameters according to an embodiment of the present application.
- FIG. 9 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application.
- FIG. 10 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application.
- FIG. 11 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application.
- Fig. 12 is a schematic block diagram of a photographing device provided by an embodiment of the present application.
- the embodiments of the present application provide a shooting method, a shooting device, a shooting device, and a computer-readable storage medium, which are used to improve the intelligence and convenience of a camera for shooting pictures.
- FIG. 1 is a schematic block diagram of a photographing device according to an embodiment of the application.
- the photographing device 1000 may include a housing 100, a photographing device 200, and a display device 300, wherein the photographing device 200 is connected to the display device 300, the photographing device 200 is used for photographing, and the display device 300 is used for displaying the photographing device. 200 pictures taken.
- the photographing device 1000 may be mounted on a pan-tilt.
- the photographing device 1000 may also be an integrated pan-tilt camera.
- the pan/tilt includes an electronic speed governor (referred to as an ESC) and a motor.
- the motors are three-axis motors, which are pitch (pitch) axis motors, roll (roll) axis motors and translation (yaw) axis motors, which are used to change the attitude of the pan/tilt during shooting. It is understandable that the motor can be a DC motor or an AC motor.
- the pan/tilt can also be a 360-degree rotating pan/tilt.
- the photographing device 200 includes, but is not limited to, a camera, a video camera, and the like.
- the photographing device 200 takes a picture, according to at least one target photographic subject in the current photographing scene of the photographing device, the target photographic subject includes but not limited to people, cute pets, landscapes, buildings, etc., to determine that the photographing device is currently focused and photographed.
- At least one set of shooting parameters, and the shooting parameters include at least one of focus motor position, zoom magnification, and field of view. Then, according to the determined at least one set of shooting parameters, a shooting adjustment operation is performed.
- the shooting adjustment operation includes at least one of the following:
- the photographing device 200 performs photographing with the currently adjusted photographing parameters, acquires at least one photographed picture, and saves at least one photographed picture. In this way, the user does not need to perform various operations of manually adjusting the shooting parameters during the entire process of taking pictures, and therefore, the intelligence and convenience of taking pictures are improved.
- the display device 300 includes, but is not limited to, an LED display screen, a liquid crystal display screen, and the like.
- the picture taken by the photographing device 200 is displayed on the display device 300.
- the at least one picture and the shooting parameter corresponding to the at least one picture are stored in association with each other based on the taken at least one picture and the shooting parameter corresponding to each of the pictures taken.
- shooting information such as the position of the focus motor, the depth of field range, and the position of the field of view (Field of view, hereinafter referred to as FOV) corresponding to each picture is recorded.
- the shooting information can be stored in a custom image file format (Exchangeable Image File, hereinafter referred to as exif).
- exif is specifically set for the photos of the digital camera and can record the attribute information and shooting data of the digital photos; or there are new settings
- Descriptive files such as Extensible Markup Language (XML) files, are packaged with pictures.
- the shooting range of the shooting device 1000 is divided into multiple sub-shooting ranges. For example, taking FOV as an example, the entire FOV of the shooting device 1000 is divided into 32x32, a total of 1024 blocks. Child FOV. Then, according to the divided multiple sub-photographing ranges, multiple focus areas of the photographing device 1000 are determined.
- the target subject includes but not limited to people, cute pets, landscapes, buildings, etc.
- it is determined that at least A sub-shooting range in which a target subject is located within the divided multiple sub-shooting ranges and a block corresponding to the determined sub-shooting range is determined as a focus block.
- the framing area displayed by the display device 300 is divided into n*n blocks, and the block corresponding to at least one target shooting object in the n*n blocks is determined, and at least one The block corresponding to the target subject is determined as the focus block.
- the multiple focus blocks are focused to determine the focus positions corresponding to the multiple focus blocks.
- the focus position is the focus motor position corresponding to the maximum corresponding statistical value (for example, the sharpness evaluation function value) obtained by the automatic focus (AF) operation of the focus block. That is, in an example, the maximum value of the corresponding statistical value obtained by the autofocus operation is the maximum value of the sharpness evaluation function.
- the present invention is not limited to this.
- the focus operation is performed on each block, and then according to the depth-of-field coverage principle, all the sub-FOVs are determined The focus position of the block, and further determine the corresponding sequence about the position of the focus motor.
- the camera 200 starts a global search of the focus motor, and obtains statistical values obtained by performing auto-focusing operations on each focus block located at a different focus motor position (for example, at different focus positions, the function of sharpness is obtained) Function value), where the statistical values obtained by auto-focusing operations corresponding to different focus motor positions are not the same. Compare the multiple statistical values obtained from the focusing operations performed for each focus block corresponding to different focus motor positions, and determine the focus motor position corresponding to the maximum value of the multiple statistical values of each focus block It is the focus position of each focus zone.
- the position of the focus motor refers to the relative position of the focus motor with respect to the shooting device 1000 with the shooting device 1000 as a reference object.
- the shooting device 1000 needs to focus to 1m, 2m, 2.5m, and take 4 pictures, but According to the principle of depth of field coverage, if you focus to 2m, the depth of field of the shooting device 1000 can cover 1.5m-3m, then you don't need to shoot separately at 2.5m, you only need to focus to 1m, 2m, 5m, and take 3 pictures. . That is, the at least one focus motor position corresponding to the focus motor of the photographing device 1000 includes a focus motor position corresponding to 1 m, 2 m, and 5 m.
- performing the shooting adjustment operation includes controlling the focus motor of the shooting device 1000 to move to the determined at least one focus motor position. For example, according to the determined at least one focus motor position, a sequence of corresponding focus motor positions is generated, and according to the sequence of focus motor positions, the focus motor of the photographing device 1000 is sequentially moved to each focus motor position in the sequence of focus motor positions .
- a picture index corresponding to the at least one picture is also generated, so as to display at least one picture based on the generated picture index.
- the picture index includes but is not limited to XML files, pictures, etc.
- a picture is randomly generated, or any one of the at least one picture is used as a picture index to open an entrance for displaying the at least one picture.
- an XML file can also be generated, and the at least one picture is displayed through the XML file index.
- the photographing device 200 acquires the reference object corresponding to the user's touch operation.
- the reference object includes, but is not limited to, the touch area and the touch object corresponding to the touch operation.
- the picture with the highest picture definition of the reference object is called the second picture, and the second picture is displayed.
- the clearest one of the touch area A is called out from at least one picture according to the touch area A that the user clicks to operate.
- a second picture is also displayed, that is, the definition of the touch area A in the second picture is higher than the definition of the touch area A in the first picture.
- the photographing device 200 further performs picture fusion processing on the taken at least one picture to generate a composite picture corresponding to the at least one picture. For example, according to the corresponding FOV position of each picture, the pictures taken at different FOV positions are merged together to synthesize a panoramic and deep composite picture. All areas of the composite picture are the clearest, and the camera 200 is realized. Panoramic deep sweep focus function.
- At least one magnification value of the zoom magnification of the photographing device 1000 is determined according to at least one target photographic subject in the current shooting scene of the photographing device 1000.
- the focusing stroke can be focused on the object distance range.
- the corresponding focusable object distance range is 0.1m-1m.
- the magnification value is 3x, the corresponding object distance range for focusing is 0.5m-4m, and when it exceeds 4m, it will be overfocus;
- the magnification value is 10x, the corresponding object distance range for focusing is 5m-10m. Over 10m, it will be over-focused.
- the zoom magnification of the photographing device 1000 is sequentially adjusted among the at least one magnification value, and the picture is taken with the adjusted magnification value.
- At least one picture obtained by shooting and the shooting parameter corresponding to the at least one picture are saved in association. Later, when the user views the at least one picture, the user performs a corresponding picture enlargement operation on the currently displayed picture, such as a two-finger sliding operation.
- the currently displayed picture is referred to as the third picture below.
- the third picture is any one of the at least one picture.
- the photographing device 200 When receiving a picture magnification operation based on the currently displayed third picture, the photographing device 200 obtains the magnified object corresponding to the user’s picture magnification operation, and based on the at least one picture saved in association and the corresponding photographing parameter, from the at least one picture Among the pictures, one or more pictures containing the magnified object are obtained, and the magnification value of the corresponding zoom magnification when the one or more pictures is taken is greater than the magnification value of the corresponding zoom magnification when the third picture is taken.
- the one or more pictures containing the enlarged object are referred to as the fourth picture below, and the one or more fourth pictures are displayed.
- the central area of the third picture contains object B, that is, when the user zooms in on object B, At least one of the pictures obtained contains picture 1, picture 2, and picture 3 of object B, where the corresponding zoom magnification value of picture 1, picture 2, and picture 3 is greater than that of the corresponding zoom magnification when the third picture was taken Magnification value, and display picture 1, picture 2, and picture 3.
- the specific display method is not limited here.
- the photographing device 200 automatically switches to a picture taken at a magnification value greater than the first magnification value.
- the effect achieved is that the user can view the central area image in a hierarchical manner with high resolution, achieving a lossless magnification view effect.
- the photographing device 1000 is mounted on a pan-tilt, and a preset sequence of movement of the pan-tilt is preset, where the preset sequence includes at least one of from left to right, from top to bottom, and from front to back.
- the pan/tilt may be a 360-degree rotating pan/tilt, and the pan/tilt may control the 360° rotation of the shooting device 1000 up and down, left and right, and forward and backward to perform photography of a 360-degree spherical area.
- the zoom magnification of the photographing device 1000 is adjusted in turn under each magnification value, and the focus motor is moved to Each focus motor position for shooting, that is, combined with adjusting the zoom magnification and the focus motor position for shooting.
- the focus positions corresponding to the multiple focus blocks of the shooting device 1000 are acquired, and the focus positions corresponding to the multiple focus blocks are acquired, and at least one target subject is distanced from the shooting device 1000.
- To determine the position of each focus motor corresponding to the focus motor of the photographing device refer to the description in the above embodiment for details, which will not be repeated here.
- the farthest focusing object distance corresponding to each magnification value of the zoom magnification of the photographing device 1000 is obtained, and when shooting, the zoom magnification of the photographing device 1000 is adjusted to each Under the magnification value, the focus motor is sequentially moved to each focus motor position for shooting until the shooting device 1000 focuses to the corresponding farthest focusing object distance at each magnification value for shooting.
- a first magnification value such as 1x
- the focus motor is moved to the second focus motor position.
- the first focus motor position and the second focus motor position are different, and the first magnification value
- Continue shooting with the second focus motor position and again determine whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest focus object distance corresponding to the first magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device 1000 currently focuses to the farthest focus object distance corresponding to the first magnification value.
- the shooting device 1000 has not yet focused to the farthest focusing object distance corresponding to the first magnification value, it means that the shooting device 1000 can continue to focus further by adjusting the focus motor position under the first magnification value.
- the shooting device 1000 If the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device 1000 to the second magnification value.
- the first and second magnification values are different, and the focus motor is moved to
- the third focus motor position is used for shooting at the second magnification value and the third focus motor position, and it is determined whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the second magnification value.
- Shooting is performed sequentially with the second magnification value and each focus motor position until the shooting device 1000 currently focuses to the farthest focusing object distance corresponding to the second magnification value.
- the position of the first focus motor, the position of the second focus motor, and the position of the third focus motor are different from each other.
- the foregoing shooting operation is repeated until the shooting device 1000 focuses at each magnification value to the corresponding farthest focusing object distance for shooting. Or, until the shooting device 1000 zooms to the tele end, the shooting ends.
- the zoom magnification of the photographing device 1000 includes 1x, 3x, and 10x.
- the corresponding focus motor positions are position a1, position b1, and position c1.
- the corresponding focus motor positions are position a2, position b2, and position c2.
- the corresponding focus motor positions are position a3, position b3, and position c3.
- the above locations are different.
- the number of focus motor positions corresponding to each zoom ratio can be changed.
- the zoom magnification of the shooting device 1000 is adjusted 3x, and move the focus motor to the position a2 to shoot, and determine whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
- the focus motor is moved to position b2, shooting is performed, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
- the zoom magnification of the shooting device 1000 is adjusted 10x, and move the focus motor to the position a3 to shoot, and determine whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
- the focus motor is moved to position b3 to shoot, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x. If the photographing device 1000 has not currently focused to the farthest focusing object distance corresponding to 10x, the focus motor is moved to position c3 to perform shooting, and continues to determine whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
- the shooting device 1000 When the focus object distance corresponding to the position c3 is the farthest focus object distance, if the shooting device 1000 currently focuses to the farthest focus object distance corresponding to 10x (ie, the focus motor is located at the position c3), the shooting ends.
- At least one photograph taken and the corresponding photographing parameter are associated and saved.
- the photographing apparatus 200 performs picture fusion processing on at least one photographed picture, and generates a composite picture corresponding to the at least one picture.
- the user when the user zooms in the central area of the picture taken at the first magnification value, it will automatically switch to the picture taken at a magnification value greater than the first magnification value until the user switches to the picture taken at the telephoto end.
- the achieved effect is that the user can view the image of the central area with high resolution and hierarchically, to achieve a lossless magnification view effect, and realize the function of panoramic deep scanning of the camera 200 and automatic super-resolution of the central area.
- the angle of view of the photographing device is sequentially adjusted to each angle, and the focus motor is moved To each focus motor position for shooting, that is, combined with adjusting the focus motor position and the angle of view to shoot.
- the angle of view of the photographing device 1000 is adjusted to the first angle
- the focus motor is moved to the first focus motor position
- the first angle and the first focus motor position are used for shooting.
- the pan-tilt After shooting at the first angle and the positions of the focus motors, move the pan-tilt to adjust the angle of view of the shooting device 1000 to the second angle.
- the first angle and the second angle are different, and the focus motor is moved to the first angle.
- Focus motor position shooting at the second angle and the first focus motor position.
- the focus motor is moved to the second focus motor position, and shooting is performed at the second angle and the second focus motor position. The shooting operation is looped until the shooting is performed at the second angle and each focus motor position.
- the above-mentioned shooting operation is similarly looped until the shooting device 1000 shoots at each angle and each focus motor position.
- the angle of view of the photographing device 1000 is sequentially adjusted to each angle, and the angle of the photographing device 1000 is adjusted
- the zoom magnification is each magnification value for shooting, that is, shooting is combined with adjusting the zoom magnification and the angle of view.
- first magnification value such as 1x
- the zoom magnification of the shooting device 1000 When the shooting operation of shooting at the first angle and the first magnification value is completed, adjust the zoom magnification of the shooting device 1000 to the second magnification value.
- the first magnification value and the second magnification value are different, and the first angle and the second magnification value are different. Value for shooting.
- the zoom magnification is sequentially adjusted to each magnification value, and shooting is performed at the first angle and each magnification value.
- the above-mentioned shooting operation is similarly looped until the shooting device 1000 performs shooting at each angle and each magnification value.
- the angles of the photographing device 1000 are adjusted in turn.
- the angle of view is each angle
- the zoom magnification of the shooting device 1000 is at each magnification value
- the focus motor is moved to each focus motor position for shooting, that is, shooting is combined with adjusting the focus motor position, zoom magnification, and field angle.
- the farthest focusing object distance corresponding to each magnification value of the zoom magnification of the shooting device 1000 is obtained.
- the angle of view of the shooting device 1000 is adjusted to various angles, and the zoom magnification of the shooting device 1000 is
- the focus motor is sequentially moved to each focus motor position for shooting until the shooting device 1000 focuses at each magnification value to the corresponding farthest focus object distance for shooting.
- the zoom magnification of the photographing device 1000 is the first magnification value, such as 1x
- the focus motor is moved to the position of the first focus motor, with the first angle
- the first magnification value and the first focus motor position perform shooting, and it is determined whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the first magnification value.
- the focusing motor is moved to the second focusing motor position.
- the first focusing motor position and the second focusing motor position are different.
- the first magnification value and the second focus motor position are used for shooting, and it is determined again whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest focus object distance corresponding to the first magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device 1000 currently focuses to the farthest focus object distance corresponding to the first magnification value.
- the shooting device 1000 If the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device 1000 to the second magnification value.
- the first and second magnification values are different, and the focus motor is moved to
- the third focus motor position is used for shooting at the first angle, the second magnification value, and the third focus motor position, and it is determined whether the shooting device 1000 is currently focused to the farthest focus object distance corresponding to the second magnification value.
- the shooting device 1000 does not currently focus to the farthest focusing object distance corresponding to the second magnification value, move the focus motor to the fourth focus motor position, and shoot at the first angle, the second magnification value, and the fourth focus motor position. And again, it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to the second magnification value. If still not focusing to the farthest focus object distance corresponding to the second magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device 1000 currently focuses to the farthest focus object distance corresponding to the second magnification value. Shooting is performed at the first angle, the second magnification value, and each focus motor position in sequence, until the shooting device 1000 currently focuses to the farthest focusing object distance corresponding to the second magnification value.
- the shooting device 1000 Until the shooting device 1000 focuses on the corresponding farthest focus object distance at the first angle and each magnification value for shooting, or until the shooting device 1000 zooms to the tele end at the first angle, move the pan/tilt to adjust The field of view of the photographing device 1000 is the second angle, and the first angle is different from the second angle.
- the zoom magnification of the photographing device 1000 is adjusted to the first magnification value, and the focus motor is moved to the position of the first focus motor.
- the first magnification value and the first focus motor position are used for shooting, and it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to the first magnification value.
- the above-mentioned shooting operation is repeated until the shooting device 1000 focuses at each angle and at each magnification value to the corresponding farthest focusing object distance for shooting.
- the shooting ends until the shooting device 1000 zooms to the tele end at various angles.
- the position of the first focus motor, the position of the second focus motor, the position of the third focus motor, and the position of the fourth focus motor are different.
- the zoom magnification of the photographing device 1000 includes 1x, 3x, and 10x.
- the corresponding focus motor positions are position a1, position b1, and position c1.
- the corresponding focus motor positions are position a2, position b2, and position c2.
- the corresponding focus motor positions are position a3, position b3, and position c3.
- the shooting angle of view includes angle 1, angle 2, angle 3, and angle 4.
- the shooting device 1000 When shooting, first adjust the angle of view of the shooting device 1000 to angle 1, the zoom magnification is 1x, move the focus motor to position a1, position b1, and position c1, and then shoot. When the shooting is completed, it is determined that the shooting device 1000 is currently Whether to focus to the farthest object distance corresponding to 1x.
- the focus object distance corresponding to position c1 is the farthest focus object distance
- the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to 1x (that is, the focus motor moves to position c1)
- the zoom magnification of the shooting device 1000 is adjusted It is 3x, and the focus motor is moved to the position a2 for shooting, and it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
- the focus motor is moved to position b2, shooting is performed, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
- the zoom magnification of the shooting device 1000 is adjusted It is 10x, and the focus motor is moved to the position a3 to shoot, and it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
- the focus motor is moved to position b3 to shoot, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x. If the photographing device 1000 has not currently focused to the farthest focusing object distance corresponding to 10x, the focus motor is moved to position c3 to perform shooting, and continues to determine whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
- the shooting device 1000 When the focus object distance corresponding to position c3 is the farthest focus object distance, if the shooting device 1000 currently focuses to the farthest focus object distance corresponding to 10x (that is, the focus motor moves to position c3), then the field of view of the shooting device 1000 is adjusted The angle is angle 2, and the zoom magnification is 1x, 3x, and 10x respectively. Move the focus motor to position a1, position b1, position c1, position a2, position b2, position c2, position a3, position b3, and position c3, Then, the shooting is performed, and when the shooting is completed, it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 1x.
- the zoom magnifications are 1x, 3x, and 10x respectively, and the focus motor is moved to position a1, position b1, position c1, position a2, position b2, position c2, position a3, position b3, and position c3, and then shoot.
- the above-mentioned shooting operation is repeated until the shooting device 1000 focuses to the farthest in-focus object distance corresponding to 10x when the field of view is angle 4, and shooting ends.
- At least one photograph taken and the corresponding photographing parameter are associated and saved.
- the photographing apparatus 200 performs picture fusion processing on at least one photographed picture, and generates a composite picture corresponding to the at least one picture.
- the pan/tilt is a 360-degree rotating pan/tilt.
- the platform is moved in the order from left to right, top to bottom, and near to far, and the angle of the field of view of the shooting device 1000 is sequentially adjusted to perform multiple panoramic depths. Sweep and zoom magnification corresponds to the automatic super-resolution shooting under the angle of view, until the 360-degree spherical area is taken, the captured picture is obtained and saved, so as to realize the panoramic deep sweeping and full-focusing of the three-dimensional space centered on the shooting device 1000 The field of view is automatically super-resolution shooting.
- the shooting method provided in the embodiment of the present application will be introduced in detail based on the shooting device and the shooting device in the shooting device. It should be understood that the shooting device in FIG. 1 does not constitute a limitation on the application scenario of the shooting method.
- FIG. 5 is a schematic flowchart of a shooting method provided by an embodiment of the present application. This method can be used in any of the shooting devices provided in the above embodiments to improve the intelligence and convenience of the camera in taking pictures.
- the shooting method specifically includes steps S101 to S104.
- S101 Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device.
- the shooting device When the shooting device is shooting a picture, according to at least one target subject in the current shooting scene of the shooting device, where the target shooting object includes but not limited to people, cute pets, landscapes, buildings, etc., it is determined that the shooting device currently focuses at least A set of shooting parameters, where the shooting parameters include at least one of focus motor position, zoom magnification, and field of view.
- S102 Perform a shooting adjustment operation based on the at least one set of shooting parameters.
- a shooting adjustment operation is performed according to the determined at least one set of shooting parameters.
- the shooting adjustment operation includes at least one of the following:
- At least one shooting adjustment operation of automatically adjusting the position of the focus motor of the shooting device, adjusting the zoom magnification of the shooting device, and adjusting the angle of the pan/tilt on which the shooting device is mounted is performed.
- the shooting device When the shooting adjustment operation is completed, the shooting device performs shooting with the currently adjusted shooting parameters, obtains at least one shot picture, and saves at least one shot picture. In this way, the user does not need to perform various operations of manually adjusting the shooting parameters during the entire process of taking pictures, and therefore, the intelligence and convenience of taking pictures are improved.
- the step S104 specifically includes the step S1041.
- step S1041 the at least one picture and the shooting parameters corresponding to the at least one picture are associated and saved.
- the at least one picture and the shooting parameter corresponding to the at least one picture are stored in association. For example, for at least one picture taken, shooting information such as the position of the focus motor, the range of depth of field, and the position of the FOV corresponding to each picture is recorded. These shooting information can be stored in a custom exif, which is specifically set for photos of digital cameras, which can record the attribute information and shooting data of the digital photos; or there are newly set description files, such as XML files, and the pictures are packaged in Together.
- the method may further include: generating a picture index corresponding to the at least one picture, so as to display the at least one picture based on the picture index.
- the generated picture index includes but is not limited to XML files, pictures, etc.
- a picture is randomly generated, or any one of the at least one picture is used as a picture index to open an entrance for displaying the at least one picture.
- multiple picture indexes are displayed on the current display interface of the shooting device.
- the user clicks on the picture index 1 multiple pictures corresponding to the picture index 1 are opened and displayed, including picture a, picture b, Picture c, picture d, etc.
- an XML file can also be generated, and the at least one picture is displayed through the XML file index.
- the method may further include: performing picture fusion processing on the at least one picture to generate a composite picture corresponding to the at least one picture.
- the pictures taken at different FOV positions are merged together to synthesize a panoramic and deep composite picture. All areas of the composite picture are the clearest, realizing the shooting equipment Panoramic deep sweep focus function.
- the step S101 specifically includes step S1011 to step S1014.
- the entire FOV of the shooting device is divided into 32x32 sub-FOVs with a total of 1024 blocks.
- the target subject includes but is not limited to people, cute pets, landscapes, buildings, etc.
- the sub-shooting range where the target shooting object is located within the divided multiple sub-shooting ranges, and the block corresponding to the determined sub-shooting range is determined as the focus block.
- the framing area displayed by the display device 300 is divided into n*n blocks, and the block corresponding to at least one target shooting object in the n*n blocks is determined, and at least one The block corresponding to the target subject is determined as the focus block.
- the focus position is the focus motor position corresponding to the maximum value of the multiple statistical values obtained by performing different focusing operations in the focus block.
- the shooting device starts a global search of the focus motor, and obtains multiple statistical values (also referred to as auto-focus statistical values or focus statistical values in this article) obtained by performing auto-focus operations at different focus motor positions for each focusing block, where , The focus statistics values corresponding to different focus motor positions are not the same. Compare the focus statistics of each focus block corresponding to different focus motor positions, and determine the focus motor position corresponding to the maximum focus statistics of each focus block as the focus position of each focus block .
- S1014 Determine at least one focus motor position corresponding to the focus motor of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
- the shooting device needs to focus to 1m, 2m, 2.5m, 5m away from the shooting device, in principle, the shooting device needs to focus to 1m, 2m, 2.5m, 5m, and shoot 4 pictures, but according to the depth of field Coverage principle, if you focus to 2m, the depth of field of the shooting device can cover 1.5m-3m, then you don't need to shoot separately at 2.5m, you only need to focus to 1m, 2m, 5m, and shoot 3 pictures. That is, the at least one focus motor position corresponding to the focus motor of the photographing device includes a focus motor position corresponding to 1 m, 2 m, and 5 m.
- the position of the focus motor refers to the relative position of the focus motor with respect to the shooting device 1000 with the shooting device 1000 as a reference object.
- the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: controlling to move the focus motor to the at least one focus motor position.
- a corresponding focus motor position sequence is generated, and the focus motor of the shooting device is sequentially moved to each focus motor position in the focus motor position sequence according to the focus motor position sequence.
- step S1041 the step S105 to the step S106 may be further included.
- Step S105 When a touch operation based on the first picture currently displayed is received, a reference object corresponding to the touch operation is obtained; wherein, the first picture is any one of the at least one picture .
- the user When the user views the at least one picture, the user performs a corresponding touch operation, such as a click operation, on the currently displayed picture.
- a corresponding touch operation such as a click operation
- the currently displayed picture is referred to as the first picture below.
- the first picture is any one of the at least one picture.
- the photographing device acquires the reference object corresponding to the user's touch operation.
- the reference object includes, but is not limited to, the touch area and the touch object corresponding to the touch operation.
- Step S106 Based on the at least one picture stored in association and the corresponding shooting parameters, determine the second picture with the highest picture definition of the reference object from the at least one picture, and display the The second picture.
- the picture with the highest picture definition of the reference object is determined.
- the picture with the highest definition of the picture of the reference object is called the second picture, and the second picture is displayed.
- the clearest one of the touch area A is called out from at least one picture according to the touch area A that the user clicks to operate.
- a second picture is also displayed, that is, the definition of the touch area A in the second picture is higher than the definition of the touch area A in the first picture.
- the determining at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device includes: determining according to the at least one target shooting object At least one magnification value of the zoom magnification of the photographing device.
- the range of the object distance that can be focused on the focusing stroke at each magnification value For example, when the magnification value is 1x, the corresponding object distance range that can be focused is 0.1m-1m, and if it exceeds 1m, Super focus; when the magnification value is 3x, the corresponding object distance range for focusing is 0.5m-4m, and when it exceeds 4m, it will be overfocus; when the magnification value is 10x, the corresponding object distance range for focusing is 5m-10m, which exceeds 10m will be super focus.
- the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: adjusting the zoom magnification of the shooting device according to at least one magnification value of the zoom magnification of the shooting device.
- the zoom magnification of the photographing device is sequentially adjusted among the at least one magnification value, and the picture is taken with the adjusted magnification value.
- the method further includes: when a picture enlargement operation based on the currently displayed third picture is received, obtaining all the pictures At least one fourth picture corresponding to the zoomed-in object of the third picture, and displaying the at least one fourth picture; wherein the magnification value of the zoom magnification corresponding to the third picture is smaller than the at least one fourth picture The magnification value of the corresponding zoom magnification.
- the user When the user views the at least one picture, the user performs a corresponding picture enlargement operation on the currently displayed picture, such as a two-finger sliding operation.
- a corresponding picture enlargement operation on the currently displayed picture such as a two-finger sliding operation.
- the currently displayed picture is referred to as the third picture below.
- the third picture is any one of the at least one picture.
- the photographing device When receiving a picture magnification operation based on the currently displayed third picture, the photographing device acquires the magnified object corresponding to the user’s picture magnification operation, and based on the at least one picture saved in association and the corresponding photographing parameter, from the at least one picture In the picture, one or more pictures containing the magnified object are obtained, and the magnification value of the corresponding zoom magnification when the one or more pictures is taken is greater than the magnification value of the corresponding zoom magnification when the third picture is taken.
- the one or more pictures containing the enlarged object are referred to as the fourth picture below, and the one or more fourth pictures are displayed.
- the central area of the third picture contains object B, that is, when the user zooms in on object B, At least one of the pictures obtained contains picture 1, picture 2, and picture 3 of object B, where the corresponding zoom magnification value of picture 1, picture 2, and picture 3 is greater than that of the corresponding zoom magnification when the third picture was taken Magnification value, and display picture 1, picture 2, and picture 3.
- the specific display method is not limited here.
- the camera automatically switches to the picture taken at a magnification value greater than the first magnification value.
- the effect achieved is that the user can view the central area image with high resolution and hierarchical levels, achieving a non-destructive magnification view effect.
- the photographing device is mounted on the pan/tilt
- the photographing adjustment operation based on the at least one set of photographing parameters includes: moving the pan/tilt according to a preset sequence and changing the angle of the pan/tilt, To adjust the angle of view of the photographing device.
- the pan-tilt When taking pictures, move the pan-tilt in a preset sequence to change the angle of the pan-tilt to adjust the angle of view of the shooting device, and take pictures with the adjusted angle of view in turn to obtain at least one picture.
- the preset sequence includes at least one of from left to right, top to bottom, and front to back.
- the pan/tilt is a 360-degree rotating pan/tilt, and the pan/tilt can control the shooting device 1000 to rotate 360° up and down, left and right, and forward and backward to perform photography of a 360-degree spherical area.
- the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: various magnification values according to the zoom magnification of the shooting device, and respective focus motor positions corresponding to the focus motors of the shooting device , Adjust the zoom magnification of the photographing device in sequence at various magnification values, and move the focus motor to the respective focus motor positions to perform shooting.
- the step of sequentially adjusting the zoom magnification of the shooting device at various magnification values, and before moving the focus motor to the respective focus motor positions further includes: acquiring a plurality of focus blocks of the shooting device Corresponding focus position; determining the respective focus motor positions corresponding to the focus motors of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
- the method of acquiring the focus positions corresponding to the multiple focus blocks and determining the respective focus motor positions corresponding to the focus motors of the photographing device according to the focus positions can be referred to the above embodiments, which will not be repeated here.
- the step of sequentially adjusting the zoom magnification of the photographing device at various magnification values, and before moving the focus motor to the respective focus motor positions further includes: acquiring each magnification of the zoom magnification of the photographing device The farthest focusing object distance corresponding to the value;
- the step of sequentially adjusting the zoom magnification of the photographing device to each magnification value and moving the focus motor to the respective focus motor positions to perform photography includes: adjusting the zoom magnification of the photographing device to each magnification value Next, sequentially move the focus motor to each focus motor position for shooting until the shooting device focuses to the corresponding farthest focus object distance for shooting at each magnification value.
- the farthest focusing object distance corresponding to each magnification value of the zoom magnification of the photographing device is obtained according to each magnification value of the zoom magnification of the photographing device, and when shooting, the zoom magnification of the photographing device is adjusted to be lower than each magnification value.
- the adjusting the zoom magnification of the photographing device for each magnification value, sequentially moving the focus motor to each focus motor position for shooting specifically includes step S1020 to step S1050.
- Step S1020 Adjust the zoom magnification of the photographing device to a first magnification value, move the focus motor to the first focus motor position, and shoot with the first magnification value and the first focus motor position.
- the first magnification value such as 1x
- Step S1030 determining whether the photographing device is currently focused to the farthest in-focus object distance corresponding to the first magnification value; if yes, perform step S1050; if not, perform step S1040;
- Step S1040 moving the focus motor to a second focus motor position, and shoot with the first magnification value and the second focus motor position;
- Step S1050 Adjust the zoom magnification of the photographing device to a second magnification value, move the focus motor to the third focus motor position, and shoot with the second magnification value and the third focus motor position; Wherein, the first magnification value and the second magnification value are different, and the position of the first focus motor, the position of the second focus motor, and the position of the third focus motor are different.
- the camera If the camera is not currently focusing to the farthest focus object distance corresponding to the first magnification value, move the focus motor to the second focus motor position.
- the first focus motor position and the second focus motor position are different, and the first magnification value and Continue shooting at the second focus motor position, and again determine whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest object distance corresponding to the first magnification value, continue to adjust the position of the focus motor until the camera is currently focusing to the farthest object distance corresponding to the first magnification value.
- the shooting device If the shooting device is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device to the second magnification value.
- the first and second magnification values are different, and the focus motor is moved to the third
- the focus motor position is used for shooting at the second magnification value and the third focus motor position, and it is determined whether the shooting device is currently focused to the farthest focusing object distance corresponding to the second magnification value.
- the above-mentioned shooting operation is repeated until the shooting device focuses on the corresponding farthest focusing object distance at each magnification value for shooting. Or, until the shooting device zooms to the tele end, the shooting ends.
- the user when the user zooms in the central area of the picture taken at the first magnification value, it will automatically switch to the picture taken at a magnification value greater than the first magnification value until the user switches to the picture taken at the telephoto end.
- the effect achieved is that the user can view the central area image in high resolution and hierarchically, achieving a non-destructive magnification view effect, realizing the panoramic deep scanning focus of the shooting device and the automatic super-resolution function of the central area.
- the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: according to each focus motor position corresponding to the focus motor of the shooting device, and each corresponding to the field angle of the shooting device Angle, adjust the field of view of the photographing device to various angles in sequence, and move the focus motor to the position of each focus motor for shooting.
- the step of sequentially adjusting the angle of view of the photographing device to various angles, and moving the focus motor to each of the focus motor positions for shooting includes: adjusting the angle of view of the photographing device Is the first angle, move the focus motor to the first focus motor position, and shoot at the first angle and the first focus motor position; in the first angle and the first focus motor position
- the focus motor is moved to the second focus motor position, and the shooting is performed at the first angle and the second focus motor position
- adjusting the angle of view of the shooting device to the second Angle move the focus motor to the first focus motor position, and shoot at the second angle and the first focus motor position; wherein, the first angle and the second angle are different, so The position of the first focus motor and the position of the second focus motor are different.
- the above-mentioned shooting operation is similarly looped until the shooting device shoots at each angle and each focus motor position.
- the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: various magnification values according to the zoom magnification of the shooting device, and various angles corresponding to the field of view of the shooting device, Adjusting the angle of view of the photographing device sequentially to each angle, adjusting the zoom magnification of the photographing device to the respective magnification values, to perform shooting.
- the sequentially adjusting the angle of view of the photographing device to each angle, and adjusting the zoom magnification of the photographing device to the respective magnification values to perform shooting includes: adjusting the field of view of the photographing device The angle is the first angle, the zoom magnification of the photographing device is the first magnification value, and shooting is performed at the first angle and the first magnification value;
- the zoom magnification of the shooting device is adjusted to the second magnification value, and shooting is performed at the first angle and the second magnification value;
- the angle of view of the shooting device is adjusted to the second angle ,
- the zoom magnification of the photographing device is the first magnification value, and shooting is performed at the second angle and the first magnification value; wherein the first angle and the second angle are different, and the first angle The first magnification value is different from the second magnification value.
- the zoom magnification of the shooting device is the first magnification value, such as 1x, and shooting is performed at the first angle and the first magnification value.
- the zoom magnification of the shooting device When the shooting operation of shooting at the first angle and the first magnification value is completed, adjust the zoom magnification of the shooting device to the second magnification value.
- the first magnification value and the second magnification value are different, and the first angle and the second magnification value Take a shot.
- the zoom magnification is sequentially adjusted to each magnification value, and shooting is performed at the first angle and each magnification value.
- the shooting operation is looped until shooting is performed at the second angle and each magnification value.
- the above-mentioned shooting operation is similarly looped until the shooting device shoots at each angle and each magnification value.
- the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: according to each magnification value of the zoom magnification of the shooting device, each focus motor position corresponding to the focus motor of the shooting device, And each angle corresponding to the field of view of the shooting device, adjusting the field of view of the shooting device to each angle in turn, the zooming magnification of the shooting device is each magnification value, and the focusing motor is moved to each focus Motor position for shooting.
- the step of sequentially adjusting the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is at various magnification values, before moving the focus motor to each focus motor position further includes: acquiring The farthest focusing object distance corresponding to each magnification value of the zoom magnification of the photographing device;
- the step of sequentially adjusting the field of view of the photographing device to various angles, and the zoom magnification of the photographing device at various magnification values, and moving the focus motor to each focus motor position for shooting includes: adjusting the The field of view of the photographing device is at various angles, and the zoom magnification of the photographing device is at each magnification value, and the focus motor is sequentially moved to each focus motor position for shooting until the photographing device focuses at each magnification value Until the corresponding farthest focus object distance for shooting.
- the angle of view of the photographing device is sequentially adjusted to various angles, and the zoom magnification of the photographing device is at various magnification values, and the focus motor is moved to each focus motor position.
- the shooting specifically includes step S1120 to step S1160.
- Step S1120 Adjust the angle of view of the photographing device to a first angle, and the zoom magnification of the photographing device is a first magnification value, and the focus motor is moved to the first focus motor position. Shooting with the first magnification value and the first focus motor position.
- the zoom magnification of the shooting device is the first magnification value, such as 1x
- the focus motor is moved to the first focus motor position, and the first angle, the first magnification value and the first A focus motor position for shooting.
- Step S1130 Determine whether the photographing device is currently focused to the farthest in-focus object distance corresponding to the first magnification value; if yes, perform step S1150; if not, perform step S1140;
- Step S1140 moving the focus motor to a second focus motor position, and shoot with the first angle, the first magnification value, and the second focus motor position;
- Step S1150 Adjust the zoom magnification of the photographing device to a second magnification value, move the focus motor to the third focus motor position, and use the first angle, the second magnification value and the third Focus on the motor position to shoot.
- the camera If the camera is not currently focusing to the farthest focus object distance corresponding to the first magnification value, move the focus motor to the second focus motor position.
- the first focus motor position and the second focus motor position are different. Perform shooting with a magnification value and a second focus motor position, and again determine whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest focusing object distance corresponding to the first magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device currently focuses to the farthest focusing object distance corresponding to the first magnification value.
- the shooting device If the shooting device is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device to the second magnification value.
- the first and second magnification values are different, and the focus motor is moved to the third Focus motor position, shoot with the first angle, the second magnification value, and the third focus motor position.
- the third focus motor position is different from the first focus motor position and the second focus motor position, and it is determined whether the shooting device is currently focused to the first focus motor position.
- the farthest focusing object distance corresponding to the double magnification value If the shooting device is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device to the second magnification value.
- the first and second magnification values are different, and the focus motor is moved to the third Focus motor position, shoot with the first angle, the second magnification value, and the third focus motor position.
- the third focus motor position is different from the first
- the shooting device If the shooting device is not currently focusing to the farthest focusing object distance corresponding to the second magnification value, move the focus motor to the fourth focus motor position, and shoot at the first angle, the second magnification value, and the fourth focus motor position.
- the four focus motor positions are different from the first focus motor position, the second focus motor position, and the third focus motor position, and it is determined again whether the shooting device is currently focusing to the farthest focusing object distance corresponding to the second magnification value. If still not focusing to the farthest object distance corresponding to the second magnification value, continue to adjust the position of the focus motor and cycle shooting operations until the camera is currently focusing to the farthest object distance corresponding to the second magnification value.
- Step S1160 When the shooting operation of shooting at the first angle is completed, adjust the angle of view of the shooting device to a second angle, the zoom magnification of the shooting device is the first magnification value, and the The focus motor is moved to the first focus motor position, and the second angle, the first magnification value, and the first focus motor position are used for shooting; wherein the first angle and the second angle are different , The first magnification value and the second magnification value are different, and the position of the first focus motor, the position of the second focus motor, the position of the third focus motor, and the position of the fourth focus motor are different.
- the shooting device focuses on the corresponding farthest object distance at the first angle and each magnification value to shoot, or when the shooting device zooms to the telephoto end at the first angle, move the pan/tilt to adjust the vision of the shooting device.
- the field angle is the second angle, the first angle and the second angle are different, and the zoom magnification of the shooting device is adjusted to the first magnification value, and the focus motor is moved to the first focus motor position, and the second angle, the first magnification value and The first focus motor position performs shooting, and it is determined whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value.
- the above-mentioned shooting operation is repeated until the shooting device focuses on the corresponding farthest focusing object distance at various angles and various magnification values for shooting. Or, until the shooting device zooms to the tele end at various angles, the shooting ends.
- At least one photograph taken and the corresponding photographing parameter are associated and saved.
- the pan/tilt is a 360-degree rotating pan/tilt.
- the platform is moved in the order from left to right, top to bottom, and near to far, and the angle of the field of view of the shooting device is sequentially adjusted to perform multiple panoramic deep sweeps.
- Focus and zoom magnification corresponds to the automatic super-resolution shooting under the angle of view, until the 360-degree spherical area is taken, the captured picture is obtained and saved, so as to realize the panoramic deep sweeping focus and full field of view in the three-dimensional space centered on the shooting device Angle automatic super resolution shooting.
- FIG. 12 is a schematic block diagram of a photographing device provided by an embodiment of the present application.
- the camera 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected by a bus, such as an I2C (Inter-integrated Circuit) bus.
- I2C Inter-integrated Circuit
- the processor 301 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
- MCU micro-controller unit
- CPU central processing unit
- DSP Digital Signal Processor
- the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
- the processor is used to run a computer program stored in a memory, and implement the following steps when executing the computer program:
- the shooting parameter includes at least one of focus motor position, zoom magnification, and angle of view;
- the shooting adjustment operation includes at least one of the following:
- the processor when the processor implements the determination of at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device, it specifically implements:
- the processor When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the processor when the processor implements the determination of the in-focus positions corresponding to the multiple focus blocks, it specifically implements:
- the focus motor position corresponding to the maximum statistical value of each focus block is determined as the focus position of each focus block.
- the processor when the processor implements the saving of the at least one picture, it specifically implements:
- the at least one picture and the shooting parameter corresponding to the at least one picture are saved in association.
- the processor after implementing the associated saving of the at least one picture and the shooting parameter corresponding to the at least one picture, the processor further implements:
- the processor when the processor implements the determination of at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device, it specifically implements:
- the processor When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the processor when the processor implements the saving of the at least one picture, it specifically implements:
- the processor After implementing the associated saving of the at least one picture and the shooting parameter corresponding to the at least one picture, the processor further implements:
- the processor when the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the preset order includes at least one of left to right, top to bottom, and front to back.
- the pan/tilt is a 360-degree rotating pan/tilt.
- the shooting parameters include a focus motor position and a zoom magnification.
- the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the zoom magnification of the shooting device is adjusted in turn at each magnification value, and the focus motor is moved to The positions of the respective focus motors for shooting.
- the processor before the processor realizes the sequential adjustment of the zoom magnification of the photographing device to the respective magnification values, before moving the focus motor to the respective focus motor positions, it further realizes:
- the processor before the processor realizes the sequential adjustment of the zoom magnification of the photographing device to the respective magnification values, before moving the focus motor to the respective focus motor positions, it further realizes:
- the processor realizes that the zoom magnification of the photographing device is sequentially adjusted to each magnification value, when the focus motor is moved to each of the focus motor positions for shooting, it specifically implements:
- the processor when the processor realizes that the zoom magnification of the shooting device is adjusted for each magnification value, when the focus motor is sequentially moved to each focus motor position for shooting, it specifically implements:
- Adjust the zoom magnification of the photographing device to the first magnification value move the focus motor to the first focus motor position, shoot with the first magnification value and the first focus motor position, and determine the shooting Whether the device is currently focusing to the farthest focusing object distance corresponding to the first magnification value;
- the focusing motor is moved to the second focusing motor position, and the first magnification value and the second focusing Motor position for shooting;
- the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the second magnification value and the third focus motor position;
- the first magnification value and the second magnification value are different, and the position of the first focus motor, the position of the second focus motor, and the position of the third focus motor are different. That is, the first focus motor position, the second focus motor position, and the third focus motor position are different focus motor positions.
- the shooting parameters include a focus motor position and a field of view angle.
- the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the angle of view of the shooting device is sequentially adjusted to each angle, and the focus motor is moved To the respective focus motor positions for shooting.
- the specific implementation is :
- the focus motor is moved to the second focus motor position, and the first angle and the second focus motor position Location for shooting;
- first angle and the second angle are different, and the position of the first focus motor and the position of the second focus motor are different.
- the shooting parameters include a zoom magnification and a field of view
- the processor when the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the various magnification values of the zoom magnification of the photographing device and the angles corresponding to the angle of view of the photographing device sequentially adjust the angle of view of the photographing device to each angle, and adjust the zoom magnification of the photographing device Is the respective magnification value for shooting.
- the processor adjusts the zoom magnification of the photographing device to the respective magnification values under the condition that the angle of the field of view of the photographing device is sequentially adjusted to each angle, so that when photographing is performed, specific accomplish:
- the zoom magnification of the photographing device is a first magnification value, and shooting is performed at the first angle and the first magnification value;
- the zoom magnification of the shooting device is adjusted to the second magnification value, and the first angle and the second magnification value are used to perform the shooting operation.
- the angle of view of the shooting device is adjusted to a second angle, the zoom magnification of the shooting device is the first magnification value, and the second angle is Shooting with the first magnification value;
- first angle and the second angle are different, and the first magnification value and the second magnification value are different.
- the shooting parameters include a focus motor position, a zoom magnification, and a field of view angle.
- the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
- the positions of the respective focus motors corresponding to the focus motors of the shooting device, and the respective angles corresponding to the angle of view of the shooting device, the field of view of the shooting device is sequentially adjusted
- the angles are various angles
- the zoom magnification of the photographing device is at various magnification values
- the focus motor is moved to each focus motor position for shooting.
- the processor moves the focus motor to each focus after realizing the sequential adjustment of the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is each magnification value. Before the motor position, it also realizes:
- the processor moves the focus motor to each focus motor position to perform shooting when the processor realizes the sequential adjustment of the angle of view of the shooting device to various angles, and the zoom magnification of the shooting device is each magnification value.
- the processor moves the focus motor to each focus after realizing the sequential adjustment of the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is each magnification value.
- the specific realization is as follows:
- the zoom magnification of the photographing device is a first magnification value
- the focus motor is moved to the position of the first focus motor. Shooting with a magnification value and the position of the first focus motor, and determining whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value;
- the focus motor is moved to the second focus motor position, and the first angle and the first magnification value Shooting with the second focus motor position;
- the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the first angle, the second magnification value, and the third focus motor position;
- the angle of view of the shooting device is adjusted to the second angle, the zoom magnification of the shooting device is the first magnification value, and the focus motor is moved To the first focus motor position, shooting at the second angle, the first magnification value, and the first focus motor position;
- the first angle and the second angle are different, the first magnification value and the second magnification value are different, the first focus motor position, the second focus motor position, and the third The focus motor is different.
- the first focus motor position, the second focus motor position, and the third focus motor are different focus motor positions.
- the processor after implementing the saving of the at least one picture, the processor further implements:
- a picture index corresponding to the at least one picture is generated to display the at least one picture based on the picture index.
- the picture index includes an extensible markup language file.
- the processor after the processor implements the acquisition of at least one picture, it further implements:
- the embodiment of the present application also provides a photographing device, and the photographing device includes the photographing device 300 in the above-mentioned embodiment.
- the shooting device determines at least one set of shooting parameters corresponding to the current focus shooting of the shooting device, and performs shooting adjustment operations based on the at least one set of shooting parameters.
- the shooting adjustment operation is completed, use the current Shoot with adjusted shooting parameters, acquire at least one picture, and save the at least one picture.
- the steps of the shooting method provided in the embodiment of the present application which will not be repeated here.
- An embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and a processor executes the program instructions to implement the embodiments of the present application. Provide the steps of the shooting method.
- the computer-readable storage medium may be the internal storage unit of the photographing device or the photographing device described in the foregoing embodiment, for example, the hard disk or memory of the photographing device or the photographing device.
- the computer-readable storage medium may also be an external storage device of the photographing device or the photographing device, such as a plug-in hard disk equipped on the photographing device or the photographing device, a smart memory card (Smart Media Card, SMC), and a safe Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc.
- a photographing method, a photographing device, a photographing device, and a computer-readable storage medium are proposed.
- the shooting adjustment operation uses the current Shooting with adjusted shooting parameters, acquire at least one picture, and save the at least one picture, so that the user does not need to perform various manual adjustments of shooting parameters during the entire process of picture shooting, thus improving the shooting picture The intelligence and convenience.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- Lens Barrels (AREA)
Abstract
A photographing method, a photographing apparatus, a photographing device, and a computer-readable storage medium. The method comprises: according to at least one target photographing object in a current photographing scene of a photographing device, determining at least one set of photographing parameters corresponding to current focus photographing of the photographing device, and performing a photographing adjustment operation on the basis of the at least one set of photographing parameters; when the photographing adjustment operation is complete, photographing using the currently adjusted photographing parameters to acquire at least one picture; and saving the at least one picture. As a result, users do not need to perform various operations of manually adjusting the photographing parameters during the entire process of photographing pictures. Therefore, the intelligence and convenience of photographing pictures are improved.
Description
本申请涉及摄像技术领域,尤其涉及一种拍摄方法、装置、设备及计算机可读存储介质。This application relates to the field of photographing technology, and in particular to a photographing method, device, equipment, and computer-readable storage medium.
随着时代发展,相机已经成为人们日常工作和生活中的必需品,通过相机来进行各种图片拍摄。目前,相机拍摄图片的模式一般有单拍、连拍、定时拍等,当用户要连拍获得多张图片时,需要用户在拍摄之前进行手动设置,将相机预先设置为连拍模式后再进行拍摄;而且,对于支持对焦的相机,一般可以通过控制相机对焦近景、或者对焦远景,来获得人物、建筑、宠物等目标对象清晰、背景虚化的图片,通常,对焦过程需要由用户点击要对焦的区块,相机根据用户点击的区块进行对焦。在图片拍摄的整个阶段中,需要用户进行各种手动操作,相机只根据用户的手动操作被动执行,因此,目前相机拍摄图片还不够智能和便捷。With the development of the times, the camera has become a necessity in people's daily work and life, and various pictures are taken through the camera. Currently, the camera takes pictures in single shooting mode, continuous shooting mode, timed shooting mode, etc. When the user wants to take multiple pictures continuously, the user needs to set manually before shooting and set the camera to continuous shooting mode before proceeding. Shooting; moreover, for cameras that support focusing, you can generally control the camera to focus on close-range or long-range shots to obtain clear pictures of people, buildings, pets and other target objects with blurred background. Usually, the focusing process requires the user to click to focus The camera will focus according to the area clicked by the user. In the entire stage of picture shooting, users are required to perform various manual operations, and the camera only passively executes according to the user's manual operations. Therefore, the current camera shooting pictures is not smart and convenient enough.
发明内容Summary of the invention
基于此,本申请提供了一种拍摄方法、装置、设备及计算机可读存储介质,以提高相机拍摄图片的智能性和便捷性。Based on this, the present application provides a shooting method, device, equipment, and computer-readable storage medium to improve the intelligence and convenience of the camera for shooting pictures.
第一方面,本申请提供了一种拍摄方法,包括:In the first aspect, this application provides a shooting method, including:
根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数;Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device;
基于所述至少一组拍摄参数进行拍摄调节操作;Performing a shooting adjustment operation based on the at least one set of shooting parameters;
当所述拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片;When the shooting adjustment operation is completed, shooting is performed with the currently adjusted shooting parameters, and at least one picture is acquired;
保存所述至少一张图片。Save the at least one picture.
第二方面,本申请还提供了一种拍摄装置,所述拍摄装置包括存储器和处 理器;In the second aspect, the present application also provides a photographing device, the photographing device including a memory and a processor;
所述存储器用于存储计算机程序;The memory is used to store a computer program;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:
根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数;Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device;
基于所述至少一组拍摄参数进行拍摄调节操作;Performing a shooting adjustment operation based on the at least one set of shooting parameters;
当所述拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片;When the shooting adjustment operation is completed, shooting is performed with the currently adjusted shooting parameters, and at least one picture is acquired;
保存所述至少一张图片。Save the at least one picture.
第三方面,本申请还提供了一种拍摄设备,所述拍摄设备包括如上述的拍摄装置。In a third aspect, the present application also provides a photographing device, which includes the above-mentioned photographing device.
第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上述的拍摄方法。In a fourth aspect, the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned shooting method.
本申请公开的拍摄方法、拍摄装置、拍摄设备及计算机可读存储介质,提高了拍摄图片的智能性和便捷性。The photographing method, photographing device, photographing equipment, and computer-readable storage medium disclosed in the present application improve the intelligence and convenience of photographing pictures.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1是本申请的实施例提供的一种拍摄设备的示意性框图;Fig. 1 is a schematic block diagram of a photographing device provided by an embodiment of the present application;
图2是本申请的实施例提供的一种对焦区块的显示示意图;FIG. 2 is a schematic diagram of a display of a focus block provided by an embodiment of the present application;
图3是本申请的实施例提供的一种显示高清晰度图片的示意图;FIG. 3 is a schematic diagram of displaying a high-definition picture provided by an embodiment of the present application;
图4是本申请的实施例提供的一种放大图片操作对应的图片显示示意图;FIG. 4 is a schematic diagram of picture display corresponding to an operation of zooming in a picture provided by an embodiment of the present application; FIG.
图5是本申请的实施例提供的一种拍摄方法的步骤示意流程图;FIG. 5 is a schematic flowchart of steps of a shooting method provided by an embodiment of the present application;
图6是本申请的实施例提供的另一种拍摄方法的步骤示意流程图;6 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application;
图7是本申请的实施例提供的一种基于图片索引显示拍摄的至少一张图片的示意图;FIG. 7 is a schematic diagram of displaying at least one picture taken based on a picture index according to an embodiment of the present application; FIG.
图8是本申请的实施例提供的一种确定至少一组拍摄参数的步骤示意流程图;FIG. 8 is a schematic flowchart of steps for determining at least one set of shooting parameters according to an embodiment of the present application;
图9是本申请的实施例提供的另一种拍摄方法的步骤示意流程图;9 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application;
图10是本申请的实施例提供的另一种拍摄方法的步骤示意流程图;10 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application;
图11是本申请的实施例提供的另一种拍摄方法的步骤示意流程图;11 is a schematic flowchart of steps of another shooting method provided by an embodiment of the present application;
图12是本申请的实施例提供的一种拍摄装置的示意性框图。Fig. 12 is a schematic block diagram of a photographing device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowchart shown in the drawings is only an example, and does not necessarily include all contents and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to actual conditions.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, unless the context clearly indicates other circumstances, the singular forms "a", "an" and "the" are intended to include plural forms.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be understood that the term "and/or" used in the specification and appended claims of this application refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本申请的实施例提供了一种拍摄方法、拍摄装置、拍摄设备及计算机可读 存储介质,用于提高相机拍摄图片的智能性和便捷性。The embodiments of the present application provide a shooting method, a shooting device, a shooting device, and a computer-readable storage medium, which are used to improve the intelligence and convenience of a camera for shooting pictures.
请参阅图1,图1为本申请实施例提供的一种拍摄设备的示意性框图。如图1所示,拍摄设备1000可以包括壳体100、拍摄装置200和显示装置300,其中,拍摄装置200连接显示装置300,拍摄装置200用于进行图片拍摄,显示装置300用于显示拍摄装置200拍摄的图片。Please refer to FIG. 1. FIG. 1 is a schematic block diagram of a photographing device according to an embodiment of the application. As shown in FIG. 1, the photographing device 1000 may include a housing 100, a photographing device 200, and a display device 300, wherein the photographing device 200 is connected to the display device 300, the photographing device 200 is used for photographing, and the display device 300 is used for displaying the photographing device. 200 pictures taken.
示例性的,拍摄设备1000可挂载于云台上。可选地,拍摄设备1000也可以是一体化云台相机。云台包括电子调速器(简称电调)和电机。电机为三轴电机,分别为俯仰(pitch)轴电机、横滚(roll)轴电机和平移(yaw)轴电机,用于改变拍摄时的云台姿态。可以理解的,电机可以是直流电机,也可以是交流电机。此外,云台还可以为360度旋转云台。Exemplarily, the photographing device 1000 may be mounted on a pan-tilt. Optionally, the photographing device 1000 may also be an integrated pan-tilt camera. The pan/tilt includes an electronic speed governor (referred to as an ESC) and a motor. The motors are three-axis motors, which are pitch (pitch) axis motors, roll (roll) axis motors and translation (yaw) axis motors, which are used to change the attitude of the pan/tilt during shooting. It is understandable that the motor can be a DC motor or an AC motor. In addition, the pan/tilt can also be a 360-degree rotating pan/tilt.
示例性的,拍摄装置200包括但不限于相机、摄像机等。拍摄装置200在进行图片拍摄时,根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,其中目标拍摄对象包括但不限于人物、萌宠、风景、建筑等等,确定拍摄设备当前对焦拍摄对应的至少一组拍摄参数,拍摄参数包括对焦电机位置、变焦倍率、视场角中的至少一种。之后根据确定的至少一组拍摄参数,进行拍摄调节操作。Exemplarily, the photographing device 200 includes, but is not limited to, a camera, a video camera, and the like. When the photographing device 200 takes a picture, according to at least one target photographic subject in the current photographing scene of the photographing device, the target photographic subject includes but not limited to people, cute pets, landscapes, buildings, etc., to determine that the photographing device is currently focused and photographed. At least one set of shooting parameters, and the shooting parameters include at least one of focus motor position, zoom magnification, and field of view. Then, according to the determined at least one set of shooting parameters, a shooting adjustment operation is performed.
示例性的,拍摄调节操作包括以下至少一种:Exemplarily, the shooting adjustment operation includes at least one of the following:
调节拍摄设备的对焦电机的位置;Adjust the position of the focus motor of the shooting device;
调节拍摄设备的变焦倍率;Adjust the zoom magnification of the shooting equipment;
调节挂载拍摄设备的云台的角度。Adjust the angle of the pan/tilt on which the camera is mounted.
也即,在拍摄前先进行自动调节拍摄设备的对焦电机的位置、调节拍摄设备的变焦倍率、调节挂载拍摄设备的云台的角度当中的至少一种拍摄调节操作,当拍摄调节操作完成时,拍摄装置200以当前调节的拍摄参数进行拍摄,获取至少一张拍摄的图片,并保存拍摄的至少一张图片。从而实现在图片拍摄的整个过程中,不需要用户进行各种手动调节拍摄参数的操作,因此,提高了拍摄图片的智能性和便捷性。That is, before shooting, perform at least one shooting adjustment operation of automatically adjusting the position of the focus motor of the shooting device, adjusting the zoom magnification of the shooting device, and adjusting the angle of the pan/tilt on which the shooting device is mounted. When the shooting adjustment operation is completed , The photographing device 200 performs photographing with the currently adjusted photographing parameters, acquires at least one photographed picture, and saves at least one photographed picture. In this way, the user does not need to perform various operations of manually adjusting the shooting parameters during the entire process of taking pictures, and therefore, the intelligence and convenience of taking pictures are improved.
示例性的,显示装置300包括但不限于LED显示屏、液晶显示屏等。通过显示装置300显示拍摄装置200拍摄的图片。Exemplarily, the display device 300 includes, but is not limited to, an LED display screen, a liquid crystal display screen, and the like. The picture taken by the photographing device 200 is displayed on the display device 300.
示例性的,基于拍摄的至少一张图片、以及拍摄其中每张图片对应的拍摄参数,将该至少一张图片、以及该至少一张图片对应的拍摄参数关联保存。Exemplarily, the at least one picture and the shooting parameter corresponding to the at least one picture are stored in association with each other based on the taken at least one picture and the shooting parameter corresponding to each of the pictures taken.
例如,对于拍摄的至少一张图片,记录拍摄每张图片对应的对焦电机位置、景深范围、视场角(Field of view,以下简称为FOV)位置等拍摄信息。这些拍摄信息可以存在自定义的图像文件格式(Exchangeable Image File,以下简称为exif)里面,exif是专门为数码相机的照片设定的,可以记录数码照片的属性信息和拍摄数据;或者存在新设置的描述文件,如可扩展标记语言(Extensible Markup Language,以下简称为XML)文件,和图片打包在一起。For example, for at least one picture taken, shooting information such as the position of the focus motor, the depth of field range, and the position of the field of view (Field of view, hereinafter referred to as FOV) corresponding to each picture is recorded. The shooting information can be stored in a custom image file format (Exchangeable Image File, hereinafter referred to as exif). The exif is specifically set for the photos of the digital camera and can record the attribute information and shooting data of the digital photos; or there are new settings Descriptive files, such as Extensible Markup Language (XML) files, are packaged with pictures.
在一些实施例中,进行图片拍摄之前,先将拍摄设备1000的拍摄范围分为多个子拍摄范围,例如,以FOV为例,将拍摄设备1000的整个FOV分为32x32,共计1024个区块的子FOV。然后根据划分的多个子拍摄范围,确定关于拍摄设备1000的多个对焦区块。例如,根据所划分的多个子拍摄范围,以及拍摄设备1000当前拍摄场景下的至少一个目标拍摄对象所在的位置,其中目标拍摄对象包括但不限于人物、萌宠、风景、建筑等等,确定至少一个目标拍摄对象在划分的多个子拍摄范围内所位于的子拍摄范围,将确定的子拍摄范围所对应的区块确定为对焦区块。比如,如图2所示,将显示装置300显示的取景框区域划分成n*n个区块,并确定在n*n个区块中至少一个目标拍摄对象所对应的区块,将至少一个目标拍摄对象所对应的区块确定为对焦区块。之后对多个对焦区块进行对焦,以确定多个对焦区块对应的合焦位置。其中,合焦位置为对焦区块的关于自动对焦(Automatic Focus,以下简称为AF)操作得到的对应统计值(例如,清晰度评价函数值)最大时对应的对焦电机位置。也就是说,在一个示例中,自动对焦操作得到的对应的统计值的最大值为清晰度评价函数的最大值。然而,本发明并非限于此。在另一实施方式中,在将拍摄设备1000的整个FOV分为32x32之后,由于存在1024个区块的子FOV,因此对每一个区块均进行对焦操作,然后再按照景深覆盖原则,确定所有区块的合焦位置,并进一步确定出对应的关于对焦电机的位置的序列。In some embodiments, before taking a picture, the shooting range of the shooting device 1000 is divided into multiple sub-shooting ranges. For example, taking FOV as an example, the entire FOV of the shooting device 1000 is divided into 32x32, a total of 1024 blocks. Child FOV. Then, according to the divided multiple sub-photographing ranges, multiple focus areas of the photographing device 1000 are determined. For example, according to the divided multiple sub-shooting ranges and the location of at least one target subject in the current shooting scene of the shooting device 1000, where the target subject includes but not limited to people, cute pets, landscapes, buildings, etc., it is determined that at least A sub-shooting range in which a target subject is located within the divided multiple sub-shooting ranges, and a block corresponding to the determined sub-shooting range is determined as a focus block. For example, as shown in FIG. 2, the framing area displayed by the display device 300 is divided into n*n blocks, and the block corresponding to at least one target shooting object in the n*n blocks is determined, and at least one The block corresponding to the target subject is determined as the focus block. Afterwards, the multiple focus blocks are focused to determine the focus positions corresponding to the multiple focus blocks. Wherein, the focus position is the focus motor position corresponding to the maximum corresponding statistical value (for example, the sharpness evaluation function value) obtained by the automatic focus (AF) operation of the focus block. That is, in an example, the maximum value of the corresponding statistical value obtained by the autofocus operation is the maximum value of the sharpness evaluation function. However, the present invention is not limited to this. In another embodiment, after the entire FOV of the shooting device 1000 is divided into 32x32, since there are 1024 sub-FOVs of blocks, the focus operation is performed on each block, and then according to the depth-of-field coverage principle, all the sub-FOVs are determined The focus position of the block, and further determine the corresponding sequence about the position of the focus motor.
示例性的,拍摄装置200启动对焦电机全局搜索,获取每个对焦区块分别位于不同对焦电机位置进行自动对焦操作得到的统计值(例如,在不同对焦位置时,得到的关于清晰度的函数的函数值),其中,不同对焦电机位置对应的自动对焦操作得到的统计值不相同。将获取的每个对焦区块分别对应不同对焦 电机位置的进行的对焦操作得到的多个统计值进行比对,将每个对焦区块的多个统计值的最大值对应的对焦电机位置,确定为每个对焦区块的合焦位置。Exemplarily, the camera 200 starts a global search of the focus motor, and obtains statistical values obtained by performing auto-focusing operations on each focus block located at a different focus motor position (for example, at different focus positions, the function of sharpness is obtained) Function value), where the statistical values obtained by auto-focusing operations corresponding to different focus motor positions are not the same. Compare the multiple statistical values obtained from the focusing operations performed for each focus block corresponding to different focus motor positions, and determine the focus motor position corresponding to the maximum value of the multiple statistical values of each focus block It is the focus position of each focus zone.
确定多个对焦区块对应的合焦位置后,根据多个对焦区块对应的合焦位置,以及至少一个目标拍摄对象距离拍摄设备1000的物距,确定拍摄设备1000的对焦电机对应的至少一个对焦电机位置。需要说明的是,对焦电机位置表示以拍摄设备1000为参照物下,对焦电机相对于拍摄设备1000的相对位置。After determining the focus positions corresponding to the multiple focus blocks, according to the focus positions corresponding to the multiple focus blocks and the object distance of at least one target subject from the shooting device 1000, determine at least one of the focus motors of the shooting device 1000 Focus motor position. It should be noted that the position of the focus motor refers to the relative position of the focus motor with respect to the shooting device 1000 with the shooting device 1000 as a reference object.
例如,若至少一个目标拍摄对象距离拍摄设备1000的物距分别为1m、2m、2.5m、5m,原则上拍摄设备1000需要分别对焦到1m,2m,2.5m,5m,拍摄4张图片,但按照景深覆盖原则,如果对焦到2m,拍摄设备1000的景深可以覆盖到1.5m-3m,那么2.5m时不需要单独拍摄,则只需要分别对焦到1m,2m,5m,拍摄3张图片即可。也即,拍摄设备1000的对焦电机对应的至少一个对焦电机位置包括对焦到1m,2m,5m对应的对焦电机位置。For example, if at least one target object is 1m, 2m, 2.5m, and 5m away from the shooting device 1000, in principle, the shooting device 1000 needs to focus to 1m, 2m, 2.5m, 5m and take 4 pictures, but According to the principle of depth of field coverage, if you focus to 2m, the depth of field of the shooting device 1000 can cover 1.5m-3m, then you don't need to shoot separately at 2.5m, you only need to focus to 1m, 2m, 5m, and take 3 pictures. . That is, the at least one focus motor position corresponding to the focus motor of the photographing device 1000 includes a focus motor position corresponding to 1 m, 2 m, and 5 m.
具体地,进行拍摄调节操作包括控制将拍摄设备1000的对焦电机移动至所确定的至少一个对焦电机位置。例如,根据确定的至少一个对焦电机位置,生成对应的对焦电机位置的序列,根据该对焦电机位置的序列,依次将拍摄设备1000的对焦电机移动至该对焦电机位置的序列中的各个对焦电机位置。Specifically, performing the shooting adjustment operation includes controlling the focus motor of the shooting device 1000 to move to the determined at least one focus motor position. For example, according to the determined at least one focus motor position, a sequence of corresponding focus motor positions is generated, and according to the sequence of focus motor positions, the focus motor of the photographing device 1000 is sequentially moved to each focus motor position in the sequence of focus motor positions .
每当将对焦电机移动至所确定的其中一个对焦电机位置后,在该对焦电机位置下进行拍摄,在当前次拍摄完成后,再将对焦电机移动至所确定的下一个对焦电机位置,在下一个对焦电机位置下进行拍摄。循环上述操作,直至完成在确定的每一个对焦电机位置下进行拍摄为止。Whenever the focus motor is moved to one of the determined focus motor positions, shooting will be performed at that focus motor position. After the current shooting is completed, the focus motor will be moved to the next determined focus motor position. Shoot under the focus motor position. Repeat the above operations until you finish shooting at each determined focus motor position.
示例性的,保存拍摄的至少一张图片之后,还生成该至少一张图片对应的图片索引,以基于生成的图片索引显示至少一张图片。其中,图片索引包括但不限于XML文件、图片等。Exemplarily, after saving the taken at least one picture, a picture index corresponding to the at least one picture is also generated, so as to display at least one picture based on the generated picture index. Among them, the picture index includes but is not limited to XML files, pictures, etc.
例如,随机生成一张图片,或者以该至少一张图片中的任意一张图片,作为图片索引,用于打开显示该至少一张图片的一个入口。又如,也可以生成一个XML文件,通过XML文件索引显示该至少一张图片。For example, a picture is randomly generated, or any one of the at least one picture is used as a picture index to open an entrance for displaying the at least one picture. For another example, an XML file can also be generated, and the at least one picture is displayed through the XML file index.
示例性的,在用户查看该至少一张图片时,用户在当前显示的图片上执行相应的触控操作,例如点击操作,为了便于描述,下文将当前显示的图片称为第一图片。其中,第一图片为该至少一张图片中的任意一张图片。在接收到基 于当前显示的第一图片的触控操作时,拍摄装置200获取用户的触控操作对应的查阅对象。其中,查阅对象包括但不限于触控操作对应的触控区域、触控物体等。并根据所获取的查阅对象,基于关联保存的至少一张图片、以及对应的拍摄参数,从该至少一张图片中,确定查阅对象的图片清晰度最高的一张图片,为了便于区分描述,下文将查阅对象的图片清晰度最高的一张图片称为第二图片,显示该第二图片。Exemplarily, when the user views the at least one picture, the user performs a corresponding touch operation, such as a click operation, on the currently displayed picture. For ease of description, the currently displayed picture is referred to as the first picture below. Wherein, the first picture is any one of the at least one picture. When receiving the touch operation based on the first picture currently displayed, the photographing device 200 acquires the reference object corresponding to the user's touch operation. Among them, the reference object includes, but is not limited to, the touch area and the touch object corresponding to the touch operation. And according to the obtained reference object, based on at least one picture saved in association and corresponding shooting parameters, from the at least one picture, determine the picture with the highest picture definition of the reference object. In order to facilitate the distinction and description, the following The picture with the highest definition of the picture of the reference object is called the second picture, and the second picture is displayed.
例如,如图3所示,当用户点击当前显示的第一图片中的任意位置时,根据用户点击操作的触控区域A,从至少一张图片中调出该触控区域A最清晰的一张第二图片并显示,也即第二图片中触控区域A的清晰度高于第一图片中触控区域A的清晰度。For example, as shown in FIG. 3, when the user clicks on any position in the first picture currently displayed, the clearest one of the touch area A is called out from at least one picture according to the touch area A that the user clicks to operate. A second picture is also displayed, that is, the definition of the touch area A in the second picture is higher than the definition of the touch area A in the first picture.
示例性的,拍摄装置200拍摄至少一张图片之后,还将拍摄的至少一张图片进行图片融合处理,生成该至少一张图片对应的合成图片。例如,根据每张图片拍摄对应的FOV位置,将不同FOV位置对焦拍摄的图片融合在一起,合成一张全景深的合成图片,该合成图片的所有区域都是最清晰的,实现了拍摄装置200的全景深扫焦功能。Exemplarily, after taking at least one picture, the photographing device 200 further performs picture fusion processing on the taken at least one picture to generate a composite picture corresponding to the at least one picture. For example, according to the corresponding FOV position of each picture, the pictures taken at different FOV positions are merged together to synthesize a panoramic and deep composite picture. All areas of the composite picture are the clearest, and the camera 200 is realized. Panoramic deep sweep focus function.
在一些实施例中,进行图片拍摄之前,先根据拍摄设备1000当前拍摄场景下的至少一个目标拍摄对象,确定拍摄设备1000的变焦倍率的至少一个倍率值。In some embodiments, before the picture is taken, at least one magnification value of the zoom magnification of the photographing device 1000 is determined according to at least one target photographic subject in the current shooting scene of the photographing device 1000.
例如,基于拍摄设备1000的变焦倍率的每个倍率值下聚焦的行程可合焦的物距范围,比如倍率值为1x时,对应可合焦的物距范围为0.1m-1m,超过1m就会超焦;倍率值为3x时,对应可合焦的物距范围为0.5m-4m,超过4m就会超焦;倍率值为10x时,对应可合焦的物距范围为5m-10m,超过10m就会超焦。根据当前拍摄场景下的至少一个目标拍摄对象距离拍摄设备1000的物距,以及拍摄设备1000配置的各倍率值及对应可合焦的物距范围,确定拍摄设备1000的变焦倍率的至少一个倍率值。For example, based on the zoom magnification of the shooting device 1000 at each magnification value, the focusing stroke can be focused on the object distance range. For example, when the magnification value is 1x, the corresponding focusable object distance range is 0.1m-1m. When the magnification value is 3x, the corresponding object distance range for focusing is 0.5m-4m, and when it exceeds 4m, it will be overfocus; when the magnification value is 10x, the corresponding object distance range for focusing is 5m-10m. Over 10m, it will be over-focused. Determine at least one magnification value of the zoom magnification of the shooting device 1000 according to the object distance of at least one target subject in the current shooting scene from the shooting device 1000, as well as the respective magnification values configured by the shooting device 1000 and the corresponding focusable object distance range .
之后,根据确定的拍摄设备1000的变焦倍率的至少一个倍率值,依次调节拍摄设备的变焦倍率为该至少一个倍率值中的倍率值,并以调节的倍率值进行图片拍摄。After that, according to the determined at least one magnification value of the zoom magnification of the photographing device 1000, the zoom magnification of the photographing device is sequentially adjusted among the at least one magnification value, and the picture is taken with the adjusted magnification value.
示例性的,将拍摄获得的至少一张图片、以及该至少一张图片对应的拍摄参数关联保存。之后,当用户查看该至少一张图片时,用户在当前显示的图片 上执行相应的图片放大操作,例如双指相向滑动操作,为了便于描述,下文将当前显示的图片称为第三图片。其中,第三图片为该至少一张图片中的任意一张图片。在接收到基于当前显示的第三图片的图片放大操作时,拍摄装置200获取用户的图片放大操作对应的放大对象,并基于关联保存的至少一张图片、以及对应的拍摄参数,从该至少一张图片中,获取包含放大对象的一张或多张图片,该一张或多张图片拍摄时对应的变焦倍率的倍率值大于第三图片拍摄时对应的变焦倍率的倍率值。为了便于区分描述,下文将包含放大对象的一张或多张图片称为第四图片,显示该一张或多张第四图片。Exemplarily, at least one picture obtained by shooting and the shooting parameter corresponding to the at least one picture are saved in association. Later, when the user views the at least one picture, the user performs a corresponding picture enlargement operation on the currently displayed picture, such as a two-finger sliding operation. For ease of description, the currently displayed picture is referred to as the third picture below. Wherein, the third picture is any one of the at least one picture. When receiving a picture magnification operation based on the currently displayed third picture, the photographing device 200 obtains the magnified object corresponding to the user’s picture magnification operation, and based on the at least one picture saved in association and the corresponding photographing parameter, from the at least one picture Among the pictures, one or more pictures containing the magnified object are obtained, and the magnification value of the corresponding zoom magnification when the one or more pictures is taken is greater than the magnification value of the corresponding zoom magnification when the third picture is taken. In order to facilitate the distinguishing and description, the one or more pictures containing the enlarged object are referred to as the fourth picture below, and the one or more fourth pictures are displayed.
例如,如图4所示,当用户放大以第一倍率值拍摄的第三图片的中心区域时,其中,第三图片的中心区域内包含对象B,也即用户在放大对象B时,从拍摄的至少一张图片中获取到包含对象B的图片1、图片2、图片3,其中图片1、图片2、图片3拍摄时对应的变焦倍率的倍率值大于第三图片拍摄时对应的变焦倍率的倍率值,并显示图片1、图片2、图片3。需要说明的是,可以如图4中所示那样,同时显示图片1、图片2、图片3,也可以依次切换显示图片1、图片2、图片3,也即首先切换显示图片1,之后在切换显示图片2,最后切换显示图片3,具体显示方式在此不作具体限制。拍摄装置200自动切换到以比第一倍率值更大的倍率值拍摄的图片,达到的效果就是用户能以高分辨率,分层次的查看中心区域画面,达到一种无损放大看图效果。For example, as shown in Figure 4, when the user zooms in the central area of the third picture taken at the first magnification value, the central area of the third picture contains object B, that is, when the user zooms in on object B, At least one of the pictures obtained contains picture 1, picture 2, and picture 3 of object B, where the corresponding zoom magnification value of picture 1, picture 2, and picture 3 is greater than that of the corresponding zoom magnification when the third picture was taken Magnification value, and display picture 1, picture 2, and picture 3. It should be noted that, as shown in Figure 4, you can display Picture 1, Picture 2, and Picture 3 at the same time, or you can switch to display Picture 1, Picture 2, and Picture 3 in turn, that is, first switch to display Picture 1, and then switch Display picture 2 and finally switch to display picture 3. The specific display method is not limited here. The photographing device 200 automatically switches to a picture taken at a magnification value greater than the first magnification value. The effect achieved is that the user can view the central area image in a hierarchical manner with high resolution, achieving a lossless magnification view effect.
在一些实施例中,拍摄设备1000挂载于云台上,预先设置云台移动的预设顺序,其中预设顺序包括从左到右、从上到下、从前到后中至少一种。In some embodiments, the photographing device 1000 is mounted on a pan-tilt, and a preset sequence of movement of the pan-tilt is preset, where the preset sequence includes at least one of from left to right, from top to bottom, and from front to back.
进行图片拍摄时,按照预设顺序移动云台来改变云台的角度,以调节拍摄设备1000的视场角,并依次以调节的视场角进行图片拍摄,获得至少一张图片。When taking pictures, move the pan/tilt according to a preset sequence to change the angle of the pan/tilt to adjust the angle of view of the photographing device 1000, and take pictures with the adjusted angle of view in turn to obtain at least one picture.
示例性的,云台可为360度旋转云台,该云台可以控制拍摄设备1000上下、左右、前后360°旋转,进行360度球形区域的拍摄。Exemplarily, the pan/tilt may be a 360-degree rotating pan/tilt, and the pan/tilt may control the 360° rotation of the shooting device 1000 up and down, left and right, and forward and backward to perform photography of a 360-degree spherical area.
在一些实施例中,根据拍摄设备1000的变焦倍率的各个倍率值,以及拍摄设备1000的对焦电机对应的各个对焦电机位置,依次调节拍摄设备的变焦倍率为各个倍率值下,将对焦电机移动至各个对焦电机位置,以进行拍摄,也即结合调节变焦倍率和对焦电机位置进行拍摄。In some embodiments, according to the respective magnification values of the zoom magnification of the photographing device 1000 and the positions of the respective focus motors corresponding to the focus motors of the photographing device 1000, the zoom magnification of the photographing device is adjusted in turn under each magnification value, and the focus motor is moved to Each focus motor position for shooting, that is, combined with adjusting the zoom magnification and the focus motor position for shooting.
示例性的,在进行拍摄之前,获取拍摄设备1000的多个对焦区块对应的合 焦位置,并根据多个对焦区块对应的合焦位置,以及至少一个目标拍摄对象距离拍摄设备1000的物距,确定拍摄设备的对焦电机对应的各个对焦电机位置,具体可参考上面的实施例中所述,在此不再赘述。Exemplarily, before shooting, the focus positions corresponding to the multiple focus blocks of the shooting device 1000 are acquired, and the focus positions corresponding to the multiple focus blocks are acquired, and at least one target subject is distanced from the shooting device 1000. To determine the position of each focus motor corresponding to the focus motor of the photographing device, refer to the description in the above embodiment for details, which will not be repeated here.
示例性的,根据拍摄设备1000的变焦倍率的各个倍率值,获取拍摄设备1000的变焦倍率的各个倍率值对应的最远对焦物距,在进行拍摄时,调节拍摄设备1000的变焦倍率为每个倍率值下,依次将对焦电机移动至各个对焦电机位置进行拍摄,直至拍摄设备1000在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Exemplarily, according to each magnification value of the zoom magnification of the photographing device 1000, the farthest focusing object distance corresponding to each magnification value of the zoom magnification of the photographing device 1000 is obtained, and when shooting, the zoom magnification of the photographing device 1000 is adjusted to each Under the magnification value, the focus motor is sequentially moved to each focus motor position for shooting until the shooting device 1000 focuses to the corresponding farthest focusing object distance at each magnification value for shooting.
示例性的,调节拍摄设备1000的变焦倍率为第一倍率值,如1x,将对焦电机移动至第一对焦电机位置,以第一倍率值和第一对焦电机位置进行拍摄,并判断拍摄设备1000当前是否对焦到第一倍率值对应的最远对焦物距。Exemplarily, adjust the zoom magnification of the shooting device 1000 to a first magnification value, such as 1x, move the focus motor to the first focus motor position, shoot with the first magnification value and the first focus motor position, and determine the shooting device 1000 Whether the current focus is to the farthest focusing object distance corresponding to the first magnification value.
若拍摄设备1000当前没有对焦到第一倍率值对应的最远对焦物距,则将对焦电机移动至第二对焦电机位置,第一对焦电机位置和第二对焦电机位置不同,以第一倍率值和第二对焦电机位置继续进行拍摄,并再次判断拍摄设备1000当前是否对焦到第一倍率值对应的最远对焦物距。若还是没有对焦到第一倍率值对应的最远对焦物距,则继续调节对焦电机位置,循环拍摄操作,直至拍摄设备1000当前对焦到第一倍率值对应的最远对焦物距。需要说明的是,若拍摄设备1000还未对焦到第一倍率值对应的最远对焦物距,也即说明拍摄设备1000还可以在第一倍率值下继续通过调节对焦电机位置对焦到更远的距离进行拍摄;反之,若已经对焦到第一倍率值对应的最远对焦物距,也即已经达到了在第一倍率值下对焦距离的上限,再调节对焦电机位置并不能对焦到更远的距离,因此,结束拍摄设备1000以第一倍率值进行的拍摄。If the shooting device 1000 is not currently focusing to the farthest focus object distance corresponding to the first magnification value, the focus motor is moved to the second focus motor position. The first focus motor position and the second focus motor position are different, and the first magnification value Continue shooting with the second focus motor position, and again determine whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest focus object distance corresponding to the first magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device 1000 currently focuses to the farthest focus object distance corresponding to the first magnification value. It should be noted that if the shooting device 1000 has not yet focused to the farthest focusing object distance corresponding to the first magnification value, it means that the shooting device 1000 can continue to focus further by adjusting the focus motor position under the first magnification value. Shooting at a distance; on the other hand, if you have already focused to the farthest focus distance corresponding to the first magnification value, that is, you have reached the upper limit of the focus distance at the first magnification value, and then adjust the focus motor position and you cannot focus further Therefore, the shooting by the shooting device 1000 at the first magnification value is ended.
若拍摄设备1000当前对焦到第一倍率值对应的最远对焦物距,则调节拍摄设备1000的变焦倍率为第二倍率值,第一倍率值和第二倍率值不同,并将对焦电机移动至第三对焦电机位置,以第二倍率值和第三对焦电机位置进行拍摄,并判断拍摄设备1000当前是否对焦到第二倍率值对应的最远对焦物距。依次以第二倍率值和各个对焦电机位置进行拍摄,直至拍摄设备1000当前对焦到第二倍率值对应的最远对焦物距。所述第一对焦电机位置、所述第二对焦电机位置和所述第三对焦电机位置各不相同。If the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device 1000 to the second magnification value. The first and second magnification values are different, and the focus motor is moved to The third focus motor position is used for shooting at the second magnification value and the third focus motor position, and it is determined whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the second magnification value. Shooting is performed sequentially with the second magnification value and each focus motor position until the shooting device 1000 currently focuses to the farthest focusing object distance corresponding to the second magnification value. The position of the first focus motor, the position of the second focus motor, and the position of the third focus motor are different from each other.
对于变焦倍率的其他倍率值,循环上述拍摄操作,直至拍摄设备1000在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。或者,直至拍摄设备1000变焦到长焦tele端为止,拍摄结束。For other magnification values of the zoom magnification, the foregoing shooting operation is repeated until the shooting device 1000 focuses at each magnification value to the corresponding farthest focusing object distance for shooting. Or, until the shooting device 1000 zooms to the tele end, the shooting ends.
例如,若拍摄设备1000的变焦倍率包括有1x、3x、10x。其中,变焦倍率为1x时,对应的对焦电机位置有位置a1、位置b1、位置c1。变焦倍率为3x时,对应的对焦电机位置有位置a2、位置b2、位置c2。变焦倍率为10x时,对应的对焦电机位置有位置a3、位置b3、位置c3。上述位置各不相同。每一个变焦倍率对应的对焦电机位置的个数可以改变。For example, if the zoom magnification of the photographing device 1000 includes 1x, 3x, and 10x. Among them, when the zoom magnification is 1x, the corresponding focus motor positions are position a1, position b1, and position c1. When the zoom magnification is 3x, the corresponding focus motor positions are position a2, position b2, and position c2. When the zoom magnification is 10x, the corresponding focus motor positions are position a3, position b3, and position c3. The above locations are different. The number of focus motor positions corresponding to each zoom ratio can be changed.
在进行拍摄时,首先调节拍摄设备1000的变焦倍率为1x,将对焦电机分别移动至位置a1、位置b1、位置c1,然后进行拍摄,拍摄完成时,判断拍摄设备1000当前是否对焦到1x对应的最远对焦物距。When shooting, first adjust the zoom magnification of the shooting device 1000 to 1x, move the focus motors to positions a1, b1, and c1 respectively, and then shoot. When the shooting is completed, determine whether the shooting device 1000 is currently focused to the 1x corresponding The farthest focus distance.
当位置c1对应的对焦物距是最远对焦物距时,若拍摄设备1000当前对焦到1x对应的最远对焦物距(即,对焦电机位于位置c1),则调节拍摄设备1000的变焦倍率为3x,并将对焦电机移动至位置a2,进行拍摄,并判断拍摄设备1000当前是否对焦到3x对应的最远对焦物距。When the focus object distance corresponding to position c1 is the farthest focus object distance, if the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to 1x (that is, the focus motor is at position c1), then the zoom magnification of the shooting device 1000 is adjusted 3x, and move the focus motor to the position a2 to shoot, and determine whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
若拍摄设备1000当前未对焦到3x对应的最远对焦物距,则将对焦电机移动至位置b2,进行拍摄,并判断拍摄设备1000当前是否对焦到3x对应的最远对焦物距。If the photographing device 1000 is not currently focusing to the farthest focusing object distance corresponding to 3x, the focus motor is moved to position b2, shooting is performed, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
当位置c2对应的对焦物距是最远对焦物距时,若拍摄设备1000当前对焦到3x对应的最远对焦物距(即,对焦电机位于位置c2),则调节拍摄设备1000的变焦倍率为10x,并将对焦电机移动至位置a3,进行拍摄,并判断拍摄设备1000当前是否对焦到10x对应的最远对焦物距。When the focus object distance corresponding to position c2 is the farthest focus object distance, if the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to 3x (that is, the focus motor is located at position c2), then the zoom magnification of the shooting device 1000 is adjusted 10x, and move the focus motor to the position a3 to shoot, and determine whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
若拍摄设备1000当前未对焦到10x对应的最远对焦物距,则将对焦电机移动至位置b3,进行拍摄,并判断拍摄设备1000当前是否对焦到10x对应的最远对焦物距。若拍摄设备1000当前还未对焦到10x对应的最远对焦物距,则将对焦电机移动至位置c3,进行拍摄,并继续判断拍摄设备1000当前是否对焦到10x对应的最远对焦物距。If the photographing device 1000 is not currently focusing to the farthest focusing object distance corresponding to 10x, the focus motor is moved to position b3 to shoot, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x. If the photographing device 1000 has not currently focused to the farthest focusing object distance corresponding to 10x, the focus motor is moved to position c3 to perform shooting, and continues to determine whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
当位置c3对应的对焦物距是最远对焦物距时,若拍摄设备1000当前对焦到10x对应的最远对焦物距(即,对焦电机位于位置c3),则拍摄结束。When the focus object distance corresponding to the position c3 is the farthest focus object distance, if the shooting device 1000 currently focuses to the farthest focus object distance corresponding to 10x (ie, the focus motor is located at the position c3), the shooting ends.
示例性的,将拍摄的至少一张图片、以及对应的拍摄参数关联保存。具体可参考上面实施例所述,在此不再赘述。Exemplarily, at least one photograph taken and the corresponding photographing parameter are associated and saved. For details, please refer to the description in the above embodiment, which will not be repeated here.
示例性的,拍摄装置200将拍摄的至少一张图片进行图片融合处理,生成该至少一张图片对应的合成图片。Exemplarily, the photographing apparatus 200 performs picture fusion processing on at least one photographed picture, and generates a composite picture corresponding to the at least one picture.
示例性的,当用户放大以第一倍率值拍摄的图片的中心区域时,自动切换到以比第一倍率值更大的倍率值拍摄的图片,直至切换到长焦tele端拍摄的图片为止,达到的效果就是用户能以高分辨率,分层次的查看中心区域画面,达到一种无损放大看图效果,实现了拍摄装置200的全景深扫焦加中心区域自动超解析的功能。Exemplarily, when the user zooms in the central area of the picture taken at the first magnification value, it will automatically switch to the picture taken at a magnification value greater than the first magnification value until the user switches to the picture taken at the telephoto end. The achieved effect is that the user can view the image of the central area with high resolution and hierarchically, to achieve a lossless magnification view effect, and realize the function of panoramic deep scanning of the camera 200 and automatic super-resolution of the central area.
在一些实施例中,根据拍摄设备1000的对焦电机对应的各个对焦电机位置,以及拍摄设备1000的视场角对应的各个角度,依次调节拍摄设备的视场角为各个角度下,将对焦电机移动至各个对焦电机位置,以进行拍摄,也即结合调节对焦电机位置和视场角进行拍摄。In some embodiments, according to the position of each focus motor corresponding to the focus motor of the photographing device 1000 and the angles corresponding to the angle of view of the photographing device 1000, the angle of view of the photographing device is sequentially adjusted to each angle, and the focus motor is moved To each focus motor position for shooting, that is, combined with adjusting the focus motor position and the angle of view to shoot.
示例性的,首先调节拍摄设备1000的视场角为第一角度,将对焦电机移动至第一对焦电机位置,以第一角度和第一对焦电机位置进行拍摄。Exemplarily, first, the angle of view of the photographing device 1000 is adjusted to the first angle, the focus motor is moved to the first focus motor position, and the first angle and the first focus motor position are used for shooting.
在以第一角度和第一对焦电机位置进行拍摄的拍摄操作完成时,将对焦电机移动至第二对焦电机位置,第一对焦电机位置和第二对焦电机位置不同,以第一角度和第二对焦电机位置进行拍摄。When the shooting operation of shooting at the first angle and the first focus motor position is completed, move the focus motor to the second focus motor position. The first focus motor position and the second focus motor position are different, and the first angle and the second focus motor position are different. Focus on the motor position to shoot.
直至以第一角度和各个对焦电机位置进行了拍摄后,移动云台,以调节拍摄设备1000的视场角为第二角度,第一角度和第二角度不同,并将对焦电机移动至第一对焦电机位置,以第二角度和第一对焦电机位置进行拍摄。在以第二角度和第一对焦电机位置进行拍摄的拍摄操作完成时,将对焦电机移动至第二对焦电机位置,以第二角度和第二对焦电机位置进行拍摄。循环拍摄操作,直至以第二角度和各个对焦电机位置进行了拍摄。After shooting at the first angle and the positions of the focus motors, move the pan-tilt to adjust the angle of view of the shooting device 1000 to the second angle. The first angle and the second angle are different, and the focus motor is moved to the first angle. Focus motor position, shooting at the second angle and the first focus motor position. When the shooting operation of shooting at the second angle and the first focus motor position is completed, the focus motor is moved to the second focus motor position, and shooting is performed at the second angle and the second focus motor position. The shooting operation is looped until the shooting is performed at the second angle and each focus motor position.
对于视场角的其他角度,也是同样地循环上述拍摄操作,直至拍摄设备1000以各个角度和各个对焦电机位置进行拍摄为止。For other angles of the field of view, the above-mentioned shooting operation is similarly looped until the shooting device 1000 shoots at each angle and each focus motor position.
在一些实施例中,根据拍摄设备1000的变焦倍率的各个倍率值,以及拍摄设备1000的视场角对应的各个角度,依次调节拍摄设备1000的视场角为各个角度下,调节拍摄设备1000的变焦倍率为各个倍率值,以进行拍摄,也即结合 调节变焦倍率和视场角进行拍摄。In some embodiments, according to the various magnification values of the zoom magnification of the photographing device 1000 and the angles corresponding to the angle of view of the photographing device 1000, the angle of view of the photographing device 1000 is sequentially adjusted to each angle, and the angle of the photographing device 1000 is adjusted The zoom magnification is each magnification value for shooting, that is, shooting is combined with adjusting the zoom magnification and the angle of view.
示例性的,首先调节拍摄设备1000的视场角为第一角度,拍摄设备1000的变焦倍率为第一倍率值,如1x,以第一角度和第一倍率值进行拍摄。Exemplarily, first adjust the angle of view of the photographing device 1000 to the first angle, and the zoom magnification of the photographing device 1000 is the first magnification value, such as 1x, and shooting is performed at the first angle and the first magnification value.
在以第一角度和第一倍率值进行拍摄的拍摄操作完成时,调节拍摄设备1000的变焦倍率为第二倍率值,第一倍率值和第二倍率值不同,以第一角度和第二倍率值进行拍摄。在视场角为第一角度下,依次调节变焦倍率为各个倍率值,以第一角度和各个倍率值进行拍摄。When the shooting operation of shooting at the first angle and the first magnification value is completed, adjust the zoom magnification of the shooting device 1000 to the second magnification value. The first magnification value and the second magnification value are different, and the first angle and the second magnification value are different. Value for shooting. When the field of view is the first angle, the zoom magnification is sequentially adjusted to each magnification value, and shooting is performed at the first angle and each magnification value.
直至以第一角度和各个倍率值进行拍摄后,调节拍摄设备1000的视场角为第二角度,第一角度和第二角度不同,并调节拍摄设备1000的变焦倍率为第一倍率值,以第二角度和第一倍率值进行拍摄。循环拍摄操作,直至以第二角度和各个倍率值进行了拍摄。After shooting at the first angle and each magnification value, adjust the angle of view of the shooting device 1000 to the second angle, the first angle and the second angle are different, and adjust the zoom magnification of the shooting device 1000 to the first magnification value, Shoot at the second angle and the first magnification value. The shooting operation is looped until shooting is performed at the second angle and each magnification value.
对于视场角的其他角度,也是同样地循环上述拍摄操作,直至拍摄设备1000以各个角度和各个倍率值进行拍摄为止。For other angles of the field of view, the above-mentioned shooting operation is similarly looped until the shooting device 1000 performs shooting at each angle and each magnification value.
在一些实施例中,根据拍摄设备1000的变焦倍率的各个倍率值,拍摄设备1000的对焦电机对应的各个对焦电机位置,以及拍摄设备1000的视场角对应的各个角度,依次调节拍摄设备1000的视场角为各个角度,拍摄设备1000的变焦倍率为各个倍率值下,将对焦电机移动至各个对焦电机位置,以进行拍摄,也即结合调节对焦电机位置、变焦倍率和视场角进行拍摄。In some embodiments, according to the various magnification values of the zoom magnification of the photographing device 1000, the positions of the focusing motors corresponding to the focusing motors of the photographing device 1000, and the angles corresponding to the field of view of the photographing device 1000, the angles of the photographing device 1000 are adjusted in turn. The angle of view is each angle, and the zoom magnification of the shooting device 1000 is at each magnification value, and the focus motor is moved to each focus motor position for shooting, that is, shooting is combined with adjusting the focus motor position, zoom magnification, and field angle.
示例性的,在进行拍摄之前,获取拍摄设备1000的变焦倍率的各个倍率值对应的最远对焦物距,拍摄过程中,调节拍摄设备1000的视场角为各个角度,拍摄设备1000的变焦倍率为各个倍率值下,依次将对焦电机移动至各个对焦电机位置进行拍摄,直至拍摄设备1000在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Exemplarily, before shooting, the farthest focusing object distance corresponding to each magnification value of the zoom magnification of the shooting device 1000 is obtained. During the shooting, the angle of view of the shooting device 1000 is adjusted to various angles, and the zoom magnification of the shooting device 1000 is For each magnification value, the focus motor is sequentially moved to each focus motor position for shooting until the shooting device 1000 focuses at each magnification value to the corresponding farthest focus object distance for shooting.
示例性的,首先调节拍摄设备1000的视场角为第一角度,拍摄设备1000的变焦倍率为第一倍率值,如1x,以及将对焦电机移动至第一对焦电机位置,以第一角度、第一倍率值和第一对焦电机位置进行拍摄,并判断拍摄设备1000当前是否对焦到第一倍率值对应的最远对焦物距。Exemplarily, first adjust the angle of view of the photographing device 1000 to the first angle, the zoom magnification of the photographing device 1000 is the first magnification value, such as 1x, and the focus motor is moved to the position of the first focus motor, with the first angle, The first magnification value and the first focus motor position perform shooting, and it is determined whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the first magnification value.
若拍摄设备1000当前没有对焦到第一倍率值对应的最远对焦物距,则将对焦电机移动至第二对焦电机位置,第一对焦电机位置和第二对焦电机位置不同, 以第一角度、第一倍率值和第二对焦电机位置进行拍摄,并再次判断拍摄设备1000当前是否对焦到第一倍率值对应的最远对焦物距。若还是没有对焦到第一倍率值对应的最远对焦物距,则继续调节对焦电机位置,循环拍摄操作,直至拍摄设备1000当前对焦到第一倍率值对应的最远对焦物距。If the photographing device 1000 is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focusing motor is moved to the second focusing motor position. The first focusing motor position and the second focusing motor position are different. The first magnification value and the second focus motor position are used for shooting, and it is determined again whether the shooting device 1000 is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest focus object distance corresponding to the first magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device 1000 currently focuses to the farthest focus object distance corresponding to the first magnification value.
若拍摄设备1000当前对焦到第一倍率值对应的最远对焦物距,则调节拍摄设备1000的变焦倍率为第二倍率值,第一倍率值和第二倍率值不同,并将对焦电机移动至第三对焦电机位置,以第一角度、第二倍率值和第三对焦电机位置进行拍摄,并判断拍摄设备1000当前是否对焦到第二倍率值对应的最远对焦物距。If the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device 1000 to the second magnification value. The first and second magnification values are different, and the focus motor is moved to The third focus motor position is used for shooting at the first angle, the second magnification value, and the third focus motor position, and it is determined whether the shooting device 1000 is currently focused to the farthest focus object distance corresponding to the second magnification value.
若拍摄设备1000当前没有对焦到第二倍率值对应的最远对焦物距,则将对焦电机移动至第四对焦电机位置,以第一角度、第二倍率值和第四对焦电机位置进行拍摄,并再次判断拍摄设备1000当前是否对焦到第二倍率值对应的最远对焦物距。若还是没有对焦到第二倍率值对应的最远对焦物距,则继续调节对焦电机位置,循环拍摄操作,直至拍摄设备1000当前对焦到第二倍率值对应的最远对焦物距。依次以第一角度、第二倍率值和各个对焦电机位置进行拍摄,直至拍摄设备1000当前对焦到第二倍率值对应的最远对焦物距。If the shooting device 1000 does not currently focus to the farthest focusing object distance corresponding to the second magnification value, move the focus motor to the fourth focus motor position, and shoot at the first angle, the second magnification value, and the fourth focus motor position. And again, it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to the second magnification value. If still not focusing to the farthest focus object distance corresponding to the second magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device 1000 currently focuses to the farthest focus object distance corresponding to the second magnification value. Shooting is performed at the first angle, the second magnification value, and each focus motor position in sequence, until the shooting device 1000 currently focuses to the farthest focusing object distance corresponding to the second magnification value.
直至拍摄设备1000在第一角度和各个倍率值下对焦到对应的最远对焦物距进行拍摄为止,或者直至拍摄设备1000在第一角度下变焦到长焦tele端为止,移动云台,以调节拍摄设备1000的视场角为第二角度,第一角度和第二角度不同,并调节拍摄设备1000的变焦倍率为第一倍率值,将对焦电机移动至第一对焦电机位置,以第二角度、第一倍率值和第一对焦电机位置进行拍摄,并判断拍摄设备1000当前是否对焦到第一倍率值对应的最远对焦物距。Until the shooting device 1000 focuses on the corresponding farthest focus object distance at the first angle and each magnification value for shooting, or until the shooting device 1000 zooms to the tele end at the first angle, move the pan/tilt to adjust The field of view of the photographing device 1000 is the second angle, and the first angle is different from the second angle. The zoom magnification of the photographing device 1000 is adjusted to the first magnification value, and the focus motor is moved to the position of the first focus motor. , The first magnification value and the first focus motor position are used for shooting, and it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to the first magnification value.
循环上述拍摄操作,直至拍摄设备1000在各个角度以及各个倍率值下对焦到对应的最远对焦物距进行拍摄为止。或者,直至拍摄设备1000在各个角度下变焦到长焦tele端为止,拍摄结束。需要说明的是,第一对焦电机位置、第二对焦电机位置、第三对焦电机位置和第四对焦电机位置不同。The above-mentioned shooting operation is repeated until the shooting device 1000 focuses at each angle and at each magnification value to the corresponding farthest focusing object distance for shooting. Alternatively, the shooting ends until the shooting device 1000 zooms to the tele end at various angles. It should be noted that the position of the first focus motor, the position of the second focus motor, the position of the third focus motor, and the position of the fourth focus motor are different.
例如,若拍摄设备1000的变焦倍率包括有1x、3x、10x。其中,变焦倍率为1x时,对应的对焦电机位置有位置a1、位置b1、位置c1。变焦倍率为3x时,对应的对焦电机位置有位置a2、位置b2、位置c2。变焦倍率为10x时, 对应的对焦电机位置有位置a3、位置b3、位置c3。拍摄的视场角包括有角度1、角度2、角度3、角度4。For example, if the zoom magnification of the photographing device 1000 includes 1x, 3x, and 10x. Among them, when the zoom magnification is 1x, the corresponding focus motor positions are position a1, position b1, and position c1. When the zoom magnification is 3x, the corresponding focus motor positions are position a2, position b2, and position c2. When the zoom magnification is 10x, the corresponding focus motor positions are position a3, position b3, and position c3. The shooting angle of view includes angle 1, angle 2, angle 3, and angle 4.
在进行拍摄时,首先调节拍摄设备1000的视场角为角度1,变焦倍率为1x,将对焦电机移动至位置a1、位置b1、位置c1,然后进行拍摄,拍摄完成时,判断拍摄设备1000当前是否对焦到1x对应的最远对焦物距。When shooting, first adjust the angle of view of the shooting device 1000 to angle 1, the zoom magnification is 1x, move the focus motor to position a1, position b1, and position c1, and then shoot. When the shooting is completed, it is determined that the shooting device 1000 is currently Whether to focus to the farthest object distance corresponding to 1x.
当位置c1对应的对焦物距是最远对焦物距时,若拍摄设备1000当前对焦到1x对应的最远对焦物距(即,对焦电机移动至位置c1),则调节拍摄设备1000的变焦倍率为3x,并将对焦电机移动至位置a2,进行拍摄,并判断拍摄设备1000当前是否对焦到3x对应的最远对焦物距。When the focus object distance corresponding to position c1 is the farthest focus object distance, if the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to 1x (that is, the focus motor moves to position c1), then the zoom magnification of the shooting device 1000 is adjusted It is 3x, and the focus motor is moved to the position a2 for shooting, and it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
若拍摄设备1000当前未对焦到3x对应的最远对焦物距,则将对焦电机移动至位置b2,进行拍摄,并判断拍摄设备1000当前是否对焦到3x对应的最远对焦物距。If the photographing device 1000 is not currently focusing to the farthest focusing object distance corresponding to 3x, the focus motor is moved to position b2, shooting is performed, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 3x.
当位置c2对应的对焦物距是最远对焦物距时,若拍摄设备1000当前对焦到3x对应的最远对焦物距(即,对焦电机移动至位置c2),则调节拍摄设备1000的变焦倍率为10x,并将对焦电机移动至位置a3,进行拍摄,并判断拍摄设备1000当前是否对焦到10x对应的最远对焦物距。When the focus object distance corresponding to position c2 is the farthest focus object distance, if the shooting device 1000 is currently focusing to the farthest focus object distance corresponding to 3x (that is, the focus motor moves to position c2), then the zoom magnification of the shooting device 1000 is adjusted It is 10x, and the focus motor is moved to the position a3 to shoot, and it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
若拍摄设备1000当前未对焦到10x对应的最远对焦物距,则将对焦电机移动至位置b3,进行拍摄,并判断拍摄设备1000当前是否对焦到10x对应的最远对焦物距。若拍摄设备1000当前还未对焦到10x对应的最远对焦物距,则将对焦电机移动至位置c3,进行拍摄,并继续判断拍摄设备1000当前是否对焦到10x对应的最远对焦物距。If the photographing device 1000 is not currently focusing to the farthest focusing object distance corresponding to 10x, the focus motor is moved to position b3 to shoot, and it is determined whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x. If the photographing device 1000 has not currently focused to the farthest focusing object distance corresponding to 10x, the focus motor is moved to position c3 to perform shooting, and continues to determine whether the photographing device 1000 is currently focusing to the farthest focusing object distance corresponding to 10x.
当位置c3对应的对焦物距是最远对焦物距时,若拍摄设备1000当前对焦到10x对应的最远对焦物距(即,对焦电机移动至位置c3),则调节拍摄设备1000的视场角为角度2,变焦倍率依次分别为1x、3x、10x,将对焦电机分别移动至位置a1、位置b1、位置c1、位置a2、位置b2、位置c2、位置a3、位置b3、以及位置c3,然后进行拍摄,拍摄完成时,判断拍摄设备1000当前是否对焦到1x对应的最远对焦物距。When the focus object distance corresponding to position c3 is the farthest focus object distance, if the shooting device 1000 currently focuses to the farthest focus object distance corresponding to 10x (that is, the focus motor moves to position c3), then the field of view of the shooting device 1000 is adjusted The angle is angle 2, and the zoom magnification is 1x, 3x, and 10x respectively. Move the focus motor to position a1, position b1, position c1, position a2, position b2, position c2, position a3, position b3, and position c3, Then, the shooting is performed, and when the shooting is completed, it is determined whether the shooting device 1000 is currently focusing to the farthest focusing object distance corresponding to 1x.
依照以视场角为角度2进行调节拍摄的操作,直至拍摄设备1000在视场角为角度2下当前对焦到10x对应的最远对焦物距,则调节拍摄设备1000的视场 角为角度3,变焦倍率为依次分别为1x、3x、10x,将对焦电机移动至位置a1、位置b1、位置c1、位置a2、位置b2、位置c2、位置a3、位置b3、以及位置c3,然后进行拍摄。循环上述拍摄操作,直至拍摄设备1000在视场角为角度4下对焦到10x对应的最远对焦物距,拍摄结束。Adjust the shooting operation with the field of view as angle 2 until the camera 1000 is currently focusing to the farthest focus object distance corresponding to 10x when the field of view is angle 2, then adjust the field of view of the camera 1000 to angle 3 , The zoom magnifications are 1x, 3x, and 10x respectively, and the focus motor is moved to position a1, position b1, position c1, position a2, position b2, position c2, position a3, position b3, and position c3, and then shoot. The above-mentioned shooting operation is repeated until the shooting device 1000 focuses to the farthest in-focus object distance corresponding to 10x when the field of view is angle 4, and shooting ends.
示例性的,将拍摄的至少一张图片、以及对应的拍摄参数关联保存。具体可参考上面实施例所述,在此不再赘述,实现了拍摄装置200的全景深扫焦加变焦倍率对应视场角下自动超解析的功能。Exemplarily, at least one photograph taken and the corresponding photographing parameter are associated and saved. For details, please refer to the description in the above embodiment, which will not be repeated here, and realizes the function of automatic super resolution under the angle of field of view corresponding to the panoramic deep scan and zoom magnification of the camera 200.
示例性的,拍摄装置200将拍摄的至少一张图片进行图片融合处理,生成该至少一张图片对应的合成图片。Exemplarily, the photographing apparatus 200 performs picture fusion processing on at least one photographed picture, and generates a composite picture corresponding to the at least one picture.
在一些实施例中,云台为360度旋转云台。依照上实施例中的拍摄方式,示例性的,按照从左到右、从上到下、从近到远的顺序移动平台,依次调节拍摄设备1000的视场角的角度,进行多次全景深扫焦加变焦倍率对应视场角下自动超解析拍摄,直至360度球形区域都完成了拍摄,获得拍摄的图片并保存,从而实现以拍摄设备1000为中心的三维空间的全景深扫焦加全视场角自动超解析拍摄。In some embodiments, the pan/tilt is a 360-degree rotating pan/tilt. According to the shooting method in the above embodiment, for example, the platform is moved in the order from left to right, top to bottom, and near to far, and the angle of the field of view of the shooting device 1000 is sequentially adjusted to perform multiple panoramic depths. Sweep and zoom magnification corresponds to the automatic super-resolution shooting under the angle of view, until the 360-degree spherical area is taken, the captured picture is obtained and saved, so as to realize the panoramic deep sweeping and full-focusing of the three-dimensional space centered on the shooting device 1000 The field of view is automatically super-resolution shooting.
可以理解的,上述对于拍摄设备1000各部件的命名仅仅出于标识的目的,并不因此对本申请实施例进行限制。It can be understood that the above-mentioned naming of the components of the photographing device 1000 is only for identification purposes, and does not limit the embodiments of the present application accordingly.
以下将基于拍摄设备、所述拍摄设备中的拍摄装置对本申请的实施例提供的拍摄方法进行详细介绍。需知,图1中的拍摄设备并不构成对该拍摄方法应用场景的限定。Hereinafter, the shooting method provided in the embodiment of the present application will be introduced in detail based on the shooting device and the shooting device in the shooting device. It should be understood that the shooting device in FIG. 1 does not constitute a limitation on the application scenario of the shooting method.
请参阅图5,图5是本申请的实施例提供的一种拍摄方法的示意流程图。该方法可以用于上述实施例提供的任意一种拍摄设备中,以提高相机拍摄图片的智能性和便捷性。Please refer to FIG. 5, which is a schematic flowchart of a shooting method provided by an embodiment of the present application. This method can be used in any of the shooting devices provided in the above embodiments to improve the intelligence and convenience of the camera in taking pictures.
如图5所示,该拍摄方法具体包括步骤S101至步骤S104。As shown in FIG. 5, the shooting method specifically includes steps S101 to S104.
S101、根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数。S101: Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device.
拍摄设备在进行图片拍摄时,根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,其中目标拍摄对象包括但不限于人物、萌宠、风景、建筑等等,确定拍摄设备当前对焦拍摄对应的至少一组拍摄参数,其中拍摄参数包括对焦 电机位置、变焦倍率、视场角中的至少一种。When the shooting device is shooting a picture, according to at least one target subject in the current shooting scene of the shooting device, where the target shooting object includes but not limited to people, cute pets, landscapes, buildings, etc., it is determined that the shooting device currently focuses at least A set of shooting parameters, where the shooting parameters include at least one of focus motor position, zoom magnification, and field of view.
S102、基于所述至少一组拍摄参数进行拍摄调节操作。S102: Perform a shooting adjustment operation based on the at least one set of shooting parameters.
确定了拍摄设备当前对焦拍摄对应的至少一组拍摄参数之后,根据确定的至少一组拍摄参数,进行拍摄调节操作。After the at least one set of shooting parameters corresponding to the current focus shooting of the shooting device is determined, a shooting adjustment operation is performed according to the determined at least one set of shooting parameters.
示例性的,拍摄调节操作包括以下至少一种:Exemplarily, the shooting adjustment operation includes at least one of the following:
调节拍摄设备的对焦电机的位置;Adjust the position of the focus motor of the shooting device;
调节拍摄设备的变焦倍率;Adjust the zoom magnification of the shooting equipment;
调节挂载拍摄设备的云台的角度。Adjust the angle of the pan/tilt on which the camera is mounted.
也即,在拍摄前先进行自动调节拍摄设备的对焦电机的位置、调节拍摄设备的变焦倍率、调节挂载拍摄设备的云台的角度当中的至少一种拍摄调节操作。That is, before shooting, at least one shooting adjustment operation of automatically adjusting the position of the focus motor of the shooting device, adjusting the zoom magnification of the shooting device, and adjusting the angle of the pan/tilt on which the shooting device is mounted is performed.
S103、当所述拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片。S103: When the shooting adjustment operation is completed, shooting is performed with the currently adjusted shooting parameters, and at least one picture is acquired.
S104、保存所述至少一张图片。S104. Save the at least one picture.
当拍摄调节操作完成时,拍摄设备以当前调节的拍摄参数进行拍摄,获取至少一张拍摄的图片,并保存拍摄的至少一张图片。从而实现在图片拍摄的整个过程中,不需要用户进行各种手动调节拍摄参数的操作,因此,提高了拍摄图片的智能性和便捷性。When the shooting adjustment operation is completed, the shooting device performs shooting with the currently adjusted shooting parameters, obtains at least one shot picture, and saves at least one shot picture. In this way, the user does not need to perform various operations of manually adjusting the shooting parameters during the entire process of taking pictures, and therefore, the intelligence and convenience of taking pictures are improved.
示例性的,如图6所示,所述步骤S104具体包括步骤S1041。Exemplarily, as shown in FIG. 6, the step S104 specifically includes the step S1041.
步骤S1041,将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存。In step S1041, the at least one picture and the shooting parameters corresponding to the at least one picture are associated and saved.
基于拍摄的至少一张图片、以及拍摄其中每张图片对应的拍摄参数,将该至少一张图片、以及该至少一张图片对应的拍摄参数关联保存。例如,对于拍摄的至少一张图片,记录拍摄每张图片对应的对焦电机位置、景深范围、FOV位置等拍摄信息。这些拍摄信息可以存在自定义的exif里面,exif是专门为数码相机的照片设定的,可以记录数码照片的属性信息和拍摄数据;或者存在新设置的描述文件,如XML文件,和图片打包在一起。Based on the taken at least one picture and the shooting parameter corresponding to each of the pictures taken, the at least one picture and the shooting parameter corresponding to the at least one picture are stored in association. For example, for at least one picture taken, shooting information such as the position of the focus motor, the range of depth of field, and the position of the FOV corresponding to each picture is recorded. These shooting information can be stored in a custom exif, which is specifically set for photos of digital cameras, which can record the attribute information and shooting data of the digital photos; or there are newly set description files, such as XML files, and the pictures are packaged in Together.
示例性的,所述保存所述至少一张图片之后,还可以包括:生成所述至少一张图片对应的图片索引,以基于所述图片索引显示所述至少一张图片。Exemplarily, after the saving of the at least one picture, the method may further include: generating a picture index corresponding to the at least one picture, so as to display the at least one picture based on the picture index.
其中,生成的图片索引包括但不限于XML文件、图片等。Among them, the generated picture index includes but is not limited to XML files, pictures, etc.
例如,随机生成一张图片,或者以该至少一张图片中的任意一张图片,作为图片索引,用于打开显示该至少一张图片的一个入口。比如,如图7所示,在拍摄设备的当前显示界面显示多个图片索引,当用户点击其中的图片索引1时,打开显示该图片索引1对应的多张图片,包括图片a、图片b、图片c、图片d等。For example, a picture is randomly generated, or any one of the at least one picture is used as a picture index to open an entrance for displaying the at least one picture. For example, as shown in Figure 7, multiple picture indexes are displayed on the current display interface of the shooting device. When the user clicks on the picture index 1, multiple pictures corresponding to the picture index 1 are opened and displayed, including picture a, picture b, Picture c, picture d, etc.
又如,也可以生成一个XML文件,通过XML文件索引显示该至少一张图片。For another example, an XML file can also be generated, and the at least one picture is displayed through the XML file index.
示例性的,所述获取至少一张图片之后,还可以包括:将所述至少一张图片进行图片融合处理,生成所述至少一张图片对应的合成图片。Exemplarily, after the acquiring at least one picture, the method may further include: performing picture fusion processing on the at least one picture to generate a composite picture corresponding to the at least one picture.
例如,根据每张图片拍摄对应的FOV位置,将不同FOV位置对焦拍摄的图片融合在一起,合成一张全景深的合成图片,该合成图片的所有区域都是最清晰的,实现了拍摄设备的全景深扫焦功能。For example, according to the corresponding FOV position of each picture, the pictures taken at different FOV positions are merged together to synthesize a panoramic and deep composite picture. All areas of the composite picture are the clearest, realizing the shooting equipment Panoramic deep sweep focus function.
在一些实施例中,如图8所示,所述步骤S101具体包括步骤S1011至步骤S1014。In some embodiments, as shown in FIG. 8, the step S101 specifically includes step S1011 to step S1014.
S1011、将所述拍摄设备的拍摄范围分为多个子拍摄范围。S1011. Divide the shooting range of the shooting device into multiple sub-shooting ranges.
例如,以FOV为例,将拍摄设备的整个FOV分为32x32,共计1024个区块的子FOV。For example, taking FOV as an example, the entire FOV of the shooting device is divided into 32x32 sub-FOVs with a total of 1024 blocks.
S1012、根据所述多个子拍摄范围,确定关于所述拍摄设备的多个对焦区块。S1012. Determine a plurality of focus blocks related to the shooting device according to the plurality of sub-shooting ranges.
例如,根据所划分的多个子拍摄范围,以及拍摄设备当前拍摄场景下的至少一个目标拍摄对象所在的位置,其中目标拍摄对象包括但不限于人物、萌宠、风景、建筑等等,确定至少一个目标拍摄对象在划分的多个子拍摄范围内所位于的子拍摄范围,将确定的子拍摄范围所对应的区块确定为对焦区块。比如,如图2所示,将显示装置300显示的取景框区域划分成n*n个区块,并确定在n*n个区块中至少一个目标拍摄对象所对应的区块,将至少一个目标拍摄对象所对应的区块确定为对焦区块。For example, according to the divided multiple sub-shooting ranges and the location of at least one target subject in the current shooting scene of the shooting device, where the target subject includes but is not limited to people, cute pets, landscapes, buildings, etc., at least one is determined The sub-shooting range where the target shooting object is located within the divided multiple sub-shooting ranges, and the block corresponding to the determined sub-shooting range is determined as the focus block. For example, as shown in FIG. 2, the framing area displayed by the display device 300 is divided into n*n blocks, and the block corresponding to at least one target shooting object in the n*n blocks is determined, and at least one The block corresponding to the target subject is determined as the focus block.
S1013、对所述多个对焦区块进行对焦,以确定所述多个对焦区块对应的合焦位置。S1013. Focusing on the plurality of focus blocks to determine focus positions corresponding to the plurality of focus blocks.
其中,合焦位置为对焦区块的在进行不同对焦操作得到的关于多个统计值的最大值所对应的对焦电机位置。例如,拍摄设备启动对焦电机全局搜索,获取每个对焦区块分别对应在不同对焦电机位置进行自动对焦操作得到的多个统计值(本文中也称为自动对焦统计值或对焦统计值),其中,不同对焦电机位置对应的对焦统计值不相同。将获取的每个对焦区块分别对应不同对焦电机位置的对焦统计值进行比对,将每个对焦区块的最大对焦统计值对应的对焦电机位置,确定为每个对焦区块的合焦位置。Wherein, the focus position is the focus motor position corresponding to the maximum value of the multiple statistical values obtained by performing different focusing operations in the focus block. For example, the shooting device starts a global search of the focus motor, and obtains multiple statistical values (also referred to as auto-focus statistical values or focus statistical values in this article) obtained by performing auto-focus operations at different focus motor positions for each focusing block, where , The focus statistics values corresponding to different focus motor positions are not the same. Compare the focus statistics of each focus block corresponding to different focus motor positions, and determine the focus motor position corresponding to the maximum focus statistics of each focus block as the focus position of each focus block .
S1014、根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的至少一个对焦电机位置。S1014: Determine at least one focus motor position corresponding to the focus motor of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
例如,若至少一个目标拍摄对象距离拍摄设备的物距分别为1m、2m、2.5m、5m,原则上拍摄设备需要分别对焦到1m,2m,2.5m,5m,拍摄4张图片,但按照景深覆盖原则,如果对焦到2m,拍摄设备的景深可以覆盖到1.5m-3m,那么2.5m时不需要单独拍摄,则只需要分别对焦到1m,2m,5m,拍摄3张图片即可。也即,拍摄设备的对焦电机对应的至少一个对焦电机位置包括对焦到1m,2m,5m对应的对焦电机位置。For example, if at least one target object is 1m, 2m, 2.5m, 5m away from the shooting device, in principle, the shooting device needs to focus to 1m, 2m, 2.5m, 5m, and shoot 4 pictures, but according to the depth of field Coverage principle, if you focus to 2m, the depth of field of the shooting device can cover 1.5m-3m, then you don't need to shoot separately at 2.5m, you only need to focus to 1m, 2m, 5m, and shoot 3 pictures. That is, the at least one focus motor position corresponding to the focus motor of the photographing device includes a focus motor position corresponding to 1 m, 2 m, and 5 m.
需要说明的是,对焦电机位置表示以拍摄设备1000为参照物下,对焦电机相对于拍摄设备1000的相对位置。It should be noted that the position of the focus motor refers to the relative position of the focus motor with respect to the shooting device 1000 with the shooting device 1000 as a reference object.
示例性的,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:控制将所述对焦电机移动至所述至少一个对焦电机位置。Exemplarily, the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: controlling to move the focus motor to the at least one focus motor position.
例如,根据确定的至少一个对焦电机位置,生成对应的对焦电机位置序列,根据该对焦电机位置序列,依次将拍摄设备的对焦电机移动至该对焦电机位置序列中的各个对焦电机位置。For example, according to the determined at least one focus motor position, a corresponding focus motor position sequence is generated, and the focus motor of the shooting device is sequentially moved to each focus motor position in the focus motor position sequence according to the focus motor position sequence.
每当将对焦电机移动至所确定的其中一个对焦电机位置后,在该对焦电机位置下进行拍摄,在当前次拍摄完成后,再将对焦电机移动至所确定的下一个对焦电机位置,在下一个对焦电机位置下进行拍摄。循环上述操作,直至完成在确定的每一个对焦电机位置下进行拍摄为止。Whenever the focus motor is moved to one of the determined focus motor positions, shooting will be performed at that focus motor position. After the current shooting is completed, the focus motor will be moved to the next determined focus motor position. Shoot under the focus motor position. Repeat the above operations until you finish shooting at each determined focus motor position.
示例性的,如图9所示,所述步骤S1041之后,还可以包括步骤S105至步骤S106。Exemplarily, as shown in FIG. 9, after the step S1041, the step S105 to the step S106 may be further included.
步骤S105,在接收到基于当前显示的第一图片的触控操作时,获取所述触控操作对应的查阅对象;其中,所述第一图片为所述至少一张图片中的任意一张图片。Step S105: When a touch operation based on the first picture currently displayed is received, a reference object corresponding to the touch operation is obtained; wherein, the first picture is any one of the at least one picture .
在用户查看该至少一张图片时,用户在当前显示的图片上执行相应的触控操作,例如点击操作,为了便于描述,下文将当前显示的图片称为第一图片。其中,第一图片为该至少一张图片中的任意一张图片。在接收到基于当前显示的第一图片的触控操作时,拍摄设备获取用户的触控操作对应的查阅对象。其中,查阅对象包括但不限于触控操作对应的触控区域、触控物体等。When the user views the at least one picture, the user performs a corresponding touch operation, such as a click operation, on the currently displayed picture. For ease of description, the currently displayed picture is referred to as the first picture below. Wherein, the first picture is any one of the at least one picture. When receiving the touch operation based on the first picture currently displayed, the photographing device acquires the reference object corresponding to the user's touch operation. Among them, the reference object includes, but is not limited to, the touch area and the touch object corresponding to the touch operation.
步骤S106,基于关联保存的所述至少一张图片、以及对应的所述拍摄参数,从所述至少一张图片中,确定所述查阅对象的图片清晰度最高的第二图片,并显示所述第二图片。Step S106: Based on the at least one picture stored in association and the corresponding shooting parameters, determine the second picture with the highest picture definition of the reference object from the at least one picture, and display the The second picture.
根据所获取的查阅对象,基于关联保存的至少一张图片、以及对应的拍摄参数,从该至少一张图片中,确定查阅对象的图片清晰度最高的一张图片,为了便于区分描述,下文将查阅对象的图片清晰度最高的一张图片称为第二图片,显示该第二图片。According to the obtained reference object, based on at least one picture saved in association and corresponding shooting parameters, from the at least one picture, the picture with the highest picture definition of the reference object is determined. In order to facilitate the distinction and description, the following will The picture with the highest definition of the picture of the reference object is called the second picture, and the second picture is displayed.
例如,如图3所示,当用户点击当前显示的第一图片中的任意位置时,根据用户点击操作的触控区域A,从至少一张图片中调出该触控区域A最清晰的一张第二图片并显示,也即第二图片中触控区域A的清晰度高于第一图片中触控区域A的清晰度。For example, as shown in FIG. 3, when the user clicks on any position in the first picture currently displayed, the clearest one of the touch area A is called out from at least one picture according to the touch area A that the user clicks to operate. A second picture is also displayed, that is, the definition of the touch area A in the second picture is higher than the definition of the touch area A in the first picture.
在一些实施例中,所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数,包括:根据所述至少一个目标拍摄对象,确定所述拍摄设备的变焦倍率的至少一个倍率值。In some embodiments, the determining at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device includes: determining according to the at least one target shooting object At least one magnification value of the zoom magnification of the photographing device.
例如,基于拍摄设备的变焦倍率的每个倍率值下聚焦的行程可合焦的物距范围,比如倍率值为1x时,对应可合焦的物距范围为0.1m-1m,超过1m就会超焦;倍率值为3x时,对应可合焦的物距范围为0.5m-4m,超过4m就会超焦;倍率值为10x时,对应可合焦的物距范围为5m-10m,超过10m就会超焦。根据当前拍摄场景下的至少一个目标拍摄对象距离拍摄设备的物距,以及拍摄设备配置的各倍率值及对应可合焦的物距范围,确定拍摄设备的变焦倍率的至少一个倍率值。For example, based on the zoom magnification of the camera, the range of the object distance that can be focused on the focusing stroke at each magnification value. For example, when the magnification value is 1x, the corresponding object distance range that can be focused is 0.1m-1m, and if it exceeds 1m, Super focus; when the magnification value is 3x, the corresponding object distance range for focusing is 0.5m-4m, and when it exceeds 4m, it will be overfocus; when the magnification value is 10x, the corresponding object distance range for focusing is 5m-10m, which exceeds 10m will be super focus. Determine at least one magnification value of the zoom magnification of the photographing device according to the object distance of at least one target subject in the current photographing scene from the photographing device, and various magnification values configured by the photographing device and the corresponding focusable object distance range.
示例性的,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:根据所述拍摄设备的变焦倍率的至少一个倍率值,调节所述拍摄设备的变焦倍率。Exemplarily, the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: adjusting the zoom magnification of the shooting device according to at least one magnification value of the zoom magnification of the shooting device.
根据确定的拍摄设备的变焦倍率的至少一个倍率值,依次调节拍摄设备的变焦倍率为该至少一个倍率值中的倍率值,并以调节的倍率值进行图片拍摄。According to the determined at least one magnification value of the zoom magnification of the photographing device, the zoom magnification of the photographing device is sequentially adjusted among the at least one magnification value, and the picture is taken with the adjusted magnification value.
示例性的,所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还包括:在接收到基于当前显示的第三图片的图片放大操作时,获取所述第三图片的放大对象对应的至少一张第四图片,并显示所述至少一张第四图片;其中,所述第三图片对应的变焦倍率的倍率值小于所述至少一张第四图片对应的变焦倍率的倍率值。Exemplarily, after the at least one picture and the shooting parameter corresponding to the at least one picture are associated and saved, the method further includes: when a picture enlargement operation based on the currently displayed third picture is received, obtaining all the pictures At least one fourth picture corresponding to the zoomed-in object of the third picture, and displaying the at least one fourth picture; wherein the magnification value of the zoom magnification corresponding to the third picture is smaller than the at least one fourth picture The magnification value of the corresponding zoom magnification.
当用户查看该至少一张图片时,用户在当前显示的图片上执行相应的图片放大操作,例如双指相向滑动操作,为了便于描述,下文将当前显示的图片称为第三图片。其中,第三图片为该至少一张图片中的任意一张图片。在接收到基于当前显示的第三图片的图片放大操作时,拍摄设备获取用户的图片放大操作对应的放大对象,并基于关联保存的至少一张图片、以及对应的拍摄参数,从该至少一张图片中,获取包含放大对象的一张或多张图片,该一张或多张图片拍摄时对应的变焦倍率的倍率值大于第三图片拍摄时对应的变焦倍率的倍率值。为了便于区分描述,下文将包含放大对象的一张或多张图片称为第四图片,显示该一张或多张第四图片。When the user views the at least one picture, the user performs a corresponding picture enlargement operation on the currently displayed picture, such as a two-finger sliding operation. For ease of description, the currently displayed picture is referred to as the third picture below. Wherein, the third picture is any one of the at least one picture. When receiving a picture magnification operation based on the currently displayed third picture, the photographing device acquires the magnified object corresponding to the user’s picture magnification operation, and based on the at least one picture saved in association and the corresponding photographing parameter, from the at least one picture In the picture, one or more pictures containing the magnified object are obtained, and the magnification value of the corresponding zoom magnification when the one or more pictures is taken is greater than the magnification value of the corresponding zoom magnification when the third picture is taken. In order to facilitate the distinguishing and description, the one or more pictures containing the enlarged object are referred to as the fourth picture below, and the one or more fourth pictures are displayed.
例如,如图4所示,当用户放大以第一倍率值拍摄的第三图片的中心区域时,其中,第三图片的中心区域内包含对象B,也即用户在放大对象B时,从拍摄的至少一张图片中获取到包含对象B的图片1、图片2、图片3,其中图片1、图片2、图片3拍摄时对应的变焦倍率的倍率值大于第三图片拍摄时对应的变焦倍率的倍率值,并显示图片1、图片2、图片3。需要说明的是,可以如图4中所示那样,同时显示图片1、图片2、图片3,也可以依次切换显示图片1、图片2、图片3,也即首先切换显示图片1,之后在切换显示图片2,最后切换显示图片3,具体显示方式在此不作具体限制。拍摄装置自动切换到以比第一倍率值更大的倍率值拍摄的图片,达到的效果就是用户能以高分辨率,分层次的查看中心区域画面,达到一种无损放大看图效果。For example, as shown in Figure 4, when the user zooms in the central area of the third picture taken at the first magnification value, the central area of the third picture contains object B, that is, when the user zooms in on object B, At least one of the pictures obtained contains picture 1, picture 2, and picture 3 of object B, where the corresponding zoom magnification value of picture 1, picture 2, and picture 3 is greater than that of the corresponding zoom magnification when the third picture was taken Magnification value, and display picture 1, picture 2, and picture 3. It should be noted that, as shown in Figure 4, you can display Picture 1, Picture 2, and Picture 3 at the same time, or you can switch to display Picture 1, Picture 2, and Picture 3 in turn, that is, first switch to display Picture 1, and then switch Display picture 2 and finally switch to display picture 3. The specific display method is not limited here. The camera automatically switches to the picture taken at a magnification value greater than the first magnification value. The effect achieved is that the user can view the central area image with high resolution and hierarchical levels, achieving a non-destructive magnification view effect.
在一些实施例中,拍摄设备挂载于云台上,所述基于所述至少一组拍摄参 数进行拍摄调节操作,包括:按照预设顺序移动所述云台,改变所述云台的角度,以调节所述拍摄设备的视场角。In some embodiments, the photographing device is mounted on the pan/tilt, and the photographing adjustment operation based on the at least one set of photographing parameters includes: moving the pan/tilt according to a preset sequence and changing the angle of the pan/tilt, To adjust the angle of view of the photographing device.
进行图片拍摄时,按照预设顺序移动云台来改变云台的角度,以调节拍摄设备的视场角,并依次以调节的视场角进行图片拍摄,获得至少一张图片。其中,预设顺序包括从左到右、从上到下、从前到后中至少一种。When taking pictures, move the pan-tilt in a preset sequence to change the angle of the pan-tilt to adjust the angle of view of the shooting device, and take pictures with the adjusted angle of view in turn to obtain at least one picture. Wherein, the preset sequence includes at least one of from left to right, top to bottom, and front to back.
示例性的,云台为360度旋转云台,该云台可以控制拍摄设备1000上下、左右、前后360°旋转,进行360度球形区域的拍摄。Exemplarily, the pan/tilt is a 360-degree rotating pan/tilt, and the pan/tilt can control the shooting device 1000 to rotate 360° up and down, left and right, and forward and backward to perform photography of a 360-degree spherical area.
在一些实施例中,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的对焦电机对应的各个对焦电机位置,依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。In some embodiments, the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: various magnification values according to the zoom magnification of the shooting device, and respective focus motor positions corresponding to the focus motors of the shooting device , Adjust the zoom magnification of the photographing device in sequence at various magnification values, and move the focus motor to the respective focus motor positions to perform shooting.
也即,结合调节拍摄设备的变焦倍率和对焦电机位置,进行拍摄。示例性的,所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还包括:获取所述拍摄设备的多个对焦区块对应的合焦位置;根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的所述各个对焦电机位置。That is, shooting is performed in combination with adjusting the zoom magnification of the shooting device and the position of the focus motor. Exemplarily, the step of sequentially adjusting the zoom magnification of the shooting device at various magnification values, and before moving the focus motor to the respective focus motor positions, further includes: acquiring a plurality of focus blocks of the shooting device Corresponding focus position; determining the respective focus motor positions corresponding to the focus motors of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
具体地,获取多个对焦区块对应的合焦位置,以及根据合焦位置确定拍摄设备的对焦电机对应的各个对焦电机位置的方式可参考上面的实施例中所述,在此不再赘述。Specifically, the method of acquiring the focus positions corresponding to the multiple focus blocks and determining the respective focus motor positions corresponding to the focus motors of the photographing device according to the focus positions can be referred to the above embodiments, which will not be repeated here.
示例性的,所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还包括:获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Exemplarily, the step of sequentially adjusting the zoom magnification of the photographing device at various magnification values, and before moving the focus motor to the respective focus motor positions, further includes: acquiring each magnification of the zoom magnification of the photographing device The farthest focusing object distance corresponding to the value;
所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄,包括:调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。The step of sequentially adjusting the zoom magnification of the photographing device to each magnification value and moving the focus motor to the respective focus motor positions to perform photography includes: adjusting the zoom magnification of the photographing device to each magnification value Next, sequentially move the focus motor to each focus motor position for shooting until the shooting device focuses to the corresponding farthest focus object distance for shooting at each magnification value.
可选地,根据拍摄设备的变焦倍率的各个倍率值,获取拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距,在进行拍摄时,调节拍摄设备的变焦倍 率为每个倍率值下,依次将对焦电机移动至各个对焦电机位置进行拍摄,直至拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Optionally, the farthest focusing object distance corresponding to each magnification value of the zoom magnification of the photographing device is obtained according to each magnification value of the zoom magnification of the photographing device, and when shooting, the zoom magnification of the photographing device is adjusted to be lower than each magnification value. , Sequentially move the focus motor to each focus motor position for shooting, until the shooting device focuses to the corresponding farthest focus object distance for shooting at each magnification value.
示例性的,如图10所示,所述调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,具体包括步骤S1020至步骤S1050。Exemplarily, as shown in FIG. 10, the adjusting the zoom magnification of the photographing device for each magnification value, sequentially moving the focus motor to each focus motor position for shooting, specifically includes step S1020 to step S1050.
步骤S1020,调节所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一倍率值和所述第一对焦电机位置进行拍摄。Step S1020: Adjust the zoom magnification of the photographing device to a first magnification value, move the focus motor to the first focus motor position, and shoot with the first magnification value and the first focus motor position.
首先,调节拍摄设备的变焦倍率为第一倍率值,如1x,将对焦电机移动至第一对焦电机位置,以第一倍率值和第一对焦电机位置进行拍摄,并判断拍摄设备当前是否对焦到第一倍率值对应的最远对焦物距。需要说明的是,若拍摄设备还未对焦到第一倍率值对应的最远对焦物距,也即说明拍摄设备还可以在第一倍率值下继续通过调节对焦电机位置对焦到更远的距离进行拍摄;反之,若已经对焦到第一倍率值对应的最远对焦物距,也即已经达到了在第一倍率值下对焦距离的上限,再调节对焦电机位置并不能对焦到更远的距离,因此,结束拍摄设备以第一倍率值进行的拍摄。First, adjust the zoom magnification of the shooting device to the first magnification value, such as 1x, move the focus motor to the first focus motor position, shoot with the first magnification value and the first focus motor position, and determine whether the shooting device is currently focused The farthest focusing object distance corresponding to the first magnification value. It should be noted that if the shooting device has not yet focused to the farthest focusing object distance corresponding to the first magnification value, it means that the shooting device can continue to focus to a longer distance by adjusting the focus motor position under the first magnification value. Shooting; on the other hand, if the farthest focus distance corresponding to the first magnification value has been focused, that is, the upper limit of the focus distance under the first magnification value has been reached, and then adjusting the focus motor position will not focus to a further distance. Therefore, the shooting performed by the shooting device at the first magnification value is ended.
步骤S1030,判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;若是,则执行步骤S1050;若否,则执行步骤S1040;Step S1030, determining whether the photographing device is currently focused to the farthest in-focus object distance corresponding to the first magnification value; if yes, perform step S1050; if not, perform step S1040;
步骤S1040,将所述对焦电机移动至第二对焦电机位置,以所述第一倍率值和所述第二对焦电机位置进行拍摄;Step S1040, moving the focus motor to a second focus motor position, and shoot with the first magnification value and the second focus motor position;
步骤S1050,调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第二倍率值和所述第三对焦电机位置进行拍摄;其中,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置和所述第三对焦电机位置不同。Step S1050: Adjust the zoom magnification of the photographing device to a second magnification value, move the focus motor to the third focus motor position, and shoot with the second magnification value and the third focus motor position; Wherein, the first magnification value and the second magnification value are different, and the position of the first focus motor, the position of the second focus motor, and the position of the third focus motor are different.
若拍摄设备当前没有对焦到第一倍率值对应的最远对焦物距,则将对焦电机移动至第二对焦电机位置,第一对焦电机位置和第二对焦电机位置不同,以第一倍率值和第二对焦电机位置继续进行拍摄,并再次判断拍摄设备当前是否对焦到第一倍率值对应的最远对焦物距。若还是没有对焦到第一倍率值对应的最远对焦物距,则继续调节对焦电机位置,直至拍摄设备当前对焦到第一倍率 值对应的最远对焦物距。If the camera is not currently focusing to the farthest focus object distance corresponding to the first magnification value, move the focus motor to the second focus motor position. The first focus motor position and the second focus motor position are different, and the first magnification value and Continue shooting at the second focus motor position, and again determine whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest object distance corresponding to the first magnification value, continue to adjust the position of the focus motor until the camera is currently focusing to the farthest object distance corresponding to the first magnification value.
若拍摄设备当前对焦到第一倍率值对应的最远对焦物距,则调节拍摄设备的变焦倍率为第二倍率值,第一倍率值和第二倍率值不同,并将对焦电机移动至第三对焦电机位置,以第二倍率值和第三对焦电机位置进行拍摄,并判断拍摄设备当前是否对焦到第二倍率值对应的最远对焦物距。依次以第二倍率值和各个对焦电机位置进行拍摄,直至拍摄设备当前对焦到第二倍率值对应的最远对焦物距。If the shooting device is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device to the second magnification value. The first and second magnification values are different, and the focus motor is moved to the third The focus motor position is used for shooting at the second magnification value and the third focus motor position, and it is determined whether the shooting device is currently focused to the farthest focusing object distance corresponding to the second magnification value. Shoot with the second magnification value and each focus motor position in sequence until the shooting device currently focuses to the farthest focusing object distance corresponding to the second magnification value.
对于变焦倍率的其他倍率值,循环上述拍摄操作,直至拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。或者,直至拍摄设备变焦到长焦tele端为止,拍摄结束。For other magnification values of the zoom magnification, the above-mentioned shooting operation is repeated until the shooting device focuses on the corresponding farthest focusing object distance at each magnification value for shooting. Or, until the shooting device zooms to the tele end, the shooting ends.
示例性的,当用户放大以第一倍率值拍摄的图片的中心区域时,自动切换到以比第一倍率值更大的倍率值拍摄的图片,直至切换到长焦tele端拍摄的图片为止,达到的效果就是用户能以高分辨率,分层次的查看中心区域画面,达到一种无损放大看图效果,实现了拍摄设备的全景深扫焦加中心区域自动超解析的功能。Exemplarily, when the user zooms in the central area of the picture taken at the first magnification value, it will automatically switch to the picture taken at a magnification value greater than the first magnification value until the user switches to the picture taken at the telephoto end. The effect achieved is that the user can view the central area image in high resolution and hierarchically, achieving a non-destructive magnification view effect, realizing the panoramic deep scanning focus of the shooting device and the automatic super-resolution function of the central area.
在一些实施例中,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:根据所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。In some embodiments, the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: according to each focus motor position corresponding to the focus motor of the shooting device, and each corresponding to the field angle of the shooting device Angle, adjust the field of view of the photographing device to various angles in sequence, and move the focus motor to the position of each focus motor for shooting.
也即,结合调节拍摄设备的对焦电机位置和视场角,进行拍摄。示例性的,所述依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄,包括:调节所述拍摄设备的视场角为第一角度,将所述对焦电机移动至第一对焦电机位置,以所述第一角度和所述第一对焦电机位置进行拍摄;在以所述第一角度和所述第一对焦电机位置进行拍摄的拍摄操作完成时,将所述对焦电机移动至第二对焦电机位置,以所述第一角度和所述第二对焦电机位置进行拍摄;调节所述拍摄设备的视场角为第二角度,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度和所述第一对焦电机位置进行拍摄;其中,所述第一角度和所述第二角度不同,所述第一对焦电机位置和所述第二对焦电机位置不同。That is, shooting is performed in conjunction with adjusting the position of the focus motor and the angle of view of the shooting device. Exemplarily, the step of sequentially adjusting the angle of view of the photographing device to various angles, and moving the focus motor to each of the focus motor positions for shooting includes: adjusting the angle of view of the photographing device Is the first angle, move the focus motor to the first focus motor position, and shoot at the first angle and the first focus motor position; in the first angle and the first focus motor position When the shooting operation of shooting is completed, the focus motor is moved to the second focus motor position, and the shooting is performed at the first angle and the second focus motor position; adjusting the angle of view of the shooting device to the second Angle, move the focus motor to the first focus motor position, and shoot at the second angle and the first focus motor position; wherein, the first angle and the second angle are different, so The position of the first focus motor and the position of the second focus motor are different.
首先调节拍摄设备的视场角为第一角度,将对焦电机移动至第一对焦电机位置,以第一角度和第一对焦电机位置进行拍摄。First, adjust the field of view of the shooting device to the first angle, move the focus motor to the first focus motor position, and shoot at the first angle and the first focus motor position.
在以第一角度和第一对焦电机位置进行拍摄的拍摄操作完成时,将对焦电机移动至第二对焦电机位置,第一对焦电机位置和第二对焦电机位置不同,以第一角度和第二对焦电机位置进行拍摄。When the shooting operation of shooting at the first angle and the first focus motor position is completed, move the focus motor to the second focus motor position. The first focus motor position and the second focus motor position are different, and the first angle and the second focus motor position are different. Focus on the motor position to shoot.
直至以第一角度和各个对焦电机位置进行了拍摄后,移动云台,以调节拍摄设备的视场角为第二角度,第一角度和第二角度不同,并将对焦电机移动至第一对焦电机位置,以第二角度和第一对焦电机位置进行拍摄。在以第二角度和第一对焦电机位置进行拍摄的拍摄操作完成时,将对焦电机移动至第二对焦电机位置,以第二角度和第二对焦电机位置进行拍摄。循环拍摄操作,直至以第二角度和各个对焦电机位置进行了拍摄。After shooting at the first angle and each focus motor position, move the pan-tilt to adjust the field of view of the shooting device to the second angle, the first angle and the second angle are different, and move the focus motor to the first focus Motor position, shooting at the second angle and the first focus motor position. When the shooting operation of shooting at the second angle and the first focus motor position is completed, the focus motor is moved to the second focus motor position, and shooting is performed at the second angle and the second focus motor position. The shooting operation is looped until the shooting is performed at the second angle and each focus motor position.
对于视场角的其他角度,也是同样地循环上述拍摄操作,直至拍摄设备以各个角度和各个对焦电机位置进行拍摄为止。For other angles of the field of view, the above-mentioned shooting operation is similarly looped until the shooting device shoots at each angle and each focus motor position.
在一些实施例中,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄。In some embodiments, the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: various magnification values according to the zoom magnification of the shooting device, and various angles corresponding to the field of view of the shooting device, Adjusting the angle of view of the photographing device sequentially to each angle, adjusting the zoom magnification of the photographing device to the respective magnification values, to perform shooting.
也即,结合调节变焦倍率和视场角进行拍摄。示例性的,所述依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄,包括:调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,以所述第一角度和所述第一倍率值进行拍摄;在以所述第一角度和所述第一倍率值进行拍摄的拍摄操作完成时,调节所述拍摄设备的变焦倍率为第二倍率值,以所述第一角度和所述第二倍率值进行拍摄;调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,以所述第二角度和所述第一倍率值进行拍摄;其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同。That is, shooting is performed in conjunction with adjusting the zoom magnification and the angle of view. Exemplarily, the sequentially adjusting the angle of view of the photographing device to each angle, and adjusting the zoom magnification of the photographing device to the respective magnification values to perform shooting includes: adjusting the field of view of the photographing device The angle is the first angle, the zoom magnification of the photographing device is the first magnification value, and shooting is performed at the first angle and the first magnification value; When the shooting operation of shooting is completed, the zoom magnification of the shooting device is adjusted to the second magnification value, and shooting is performed at the first angle and the second magnification value; the angle of view of the shooting device is adjusted to the second angle , The zoom magnification of the photographing device is the first magnification value, and shooting is performed at the second angle and the first magnification value; wherein the first angle and the second angle are different, and the first angle The first magnification value is different from the second magnification value.
首先调节拍摄设备的视场角为第一角度,拍摄设备的变焦倍率为第一倍率值,如1x,以第一角度和第一倍率值进行拍摄。First, adjust the field of view of the shooting device to the first angle, and the zoom magnification of the shooting device is the first magnification value, such as 1x, and shooting is performed at the first angle and the first magnification value.
在以第一角度和第一倍率值进行拍摄的拍摄操作完成时,调节拍摄设备的 变焦倍率为第二倍率值,第一倍率值和第二倍率值不同,以第一角度和第二倍率值进行拍摄。在视场角为第一角度下,依次调节变焦倍率为各个倍率值,以第一角度和各个倍率值进行拍摄。When the shooting operation of shooting at the first angle and the first magnification value is completed, adjust the zoom magnification of the shooting device to the second magnification value. The first magnification value and the second magnification value are different, and the first angle and the second magnification value Take a shot. When the field of view is the first angle, the zoom magnification is sequentially adjusted to each magnification value, and shooting is performed at the first angle and each magnification value.
直至以第一角度和各个倍率值进行拍摄后,调节拍摄设备的视场角为第二角度,第一角度和第二角度不同,并调节拍摄设备的变焦倍率为第一倍率值,以第二角度和第一倍率值进行拍摄。循环拍摄操作,直至以第二角度和各个倍率值进行了拍摄。After shooting at the first angle and each magnification value, adjust the field of view of the shooting device to the second angle, the first angle and the second angle are different, and adjust the zoom magnification of the shooting device to the first magnification value, and the second Angle and first magnification value for shooting. The shooting operation is looped until shooting is performed at the second angle and each magnification value.
对于视场角的其他角度,也是同样地循环上述拍摄操作,直至拍摄设备以各个角度和各个倍率值进行拍摄为止。For other angles of the field of view, the above-mentioned shooting operation is similarly looped until the shooting device shoots at each angle and each magnification value.
在一些实施例中,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:根据所述拍摄设备的变焦倍率的各个倍率值,所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄。In some embodiments, the performing the shooting adjustment operation based on the at least one set of shooting parameters includes: according to each magnification value of the zoom magnification of the shooting device, each focus motor position corresponding to the focus motor of the shooting device, And each angle corresponding to the field of view of the shooting device, adjusting the field of view of the shooting device to each angle in turn, the zooming magnification of the shooting device is each magnification value, and the focusing motor is moved to each focus Motor position for shooting.
也即,结合调节拍摄设备的对焦电机位置、变焦倍率和视场角,进行拍摄。示例性的,所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置之前,还包括:获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;That is, shooting is performed in conjunction with adjusting the focus motor position, zoom magnification, and angle of view of the shooting device. Exemplarily, the step of sequentially adjusting the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is at various magnification values, before moving the focus motor to each focus motor position, further includes: acquiring The farthest focusing object distance corresponding to each magnification value of the zoom magnification of the photographing device;
所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄,包括:调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。The step of sequentially adjusting the field of view of the photographing device to various angles, and the zoom magnification of the photographing device at various magnification values, and moving the focus motor to each focus motor position for shooting includes: adjusting the The field of view of the photographing device is at various angles, and the zoom magnification of the photographing device is at each magnification value, and the focus motor is sequentially moved to each focus motor position for shooting until the photographing device focuses at each magnification value Until the corresponding farthest focus object distance for shooting.
具体地,获取拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距可参考上面的实施例中所述,在此不再赘述。Specifically, for obtaining the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device, reference may be made to the description in the above embodiment, which will not be repeated here.
示例性的,如图11所示,所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置进行拍摄,具体包括步骤S1120至步骤S1160。Exemplarily, as shown in FIG. 11, the angle of view of the photographing device is sequentially adjusted to various angles, and the zoom magnification of the photographing device is at various magnification values, and the focus motor is moved to each focus motor position. The shooting specifically includes step S1120 to step S1160.
步骤S1120,调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变 焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一角度、所述第一倍率值和所述第一对焦电机位置进行拍摄。Step S1120: Adjust the angle of view of the photographing device to a first angle, and the zoom magnification of the photographing device is a first magnification value, and the focus motor is moved to the first focus motor position. Shooting with the first magnification value and the first focus motor position.
首先调节拍摄设备的视场角为第一角度,拍摄设备的变焦倍率为第一倍率值,如1x,以及将对焦电机移动至第一对焦电机位置,以第一角度、第一倍率值和第一对焦电机位置进行拍摄。First adjust the field of view of the shooting device to the first angle, the zoom magnification of the shooting device is the first magnification value, such as 1x, and the focus motor is moved to the first focus motor position, and the first angle, the first magnification value and the first A focus motor position for shooting.
步骤S1130,判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;若是,则执行步骤S1150;若否,则执行步骤S1140;Step S1130: Determine whether the photographing device is currently focused to the farthest in-focus object distance corresponding to the first magnification value; if yes, perform step S1150; if not, perform step S1140;
步骤S1140,将所述对焦电机移动至第二对焦电机位置,以所述第一角度、所述第一倍率值和所述第二对焦电机位置进行拍摄;Step S1140, moving the focus motor to a second focus motor position, and shoot with the first angle, the first magnification value, and the second focus motor position;
步骤S1150,调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第一角度、所述第二倍率值和所述第三对焦电机位置进行拍摄。Step S1150: Adjust the zoom magnification of the photographing device to a second magnification value, move the focus motor to the third focus motor position, and use the first angle, the second magnification value and the third Focus on the motor position to shoot.
判断拍摄设备当前是否对焦到第一倍率值对应的最远对焦物距。Determine whether the camera is currently focused to the farthest focusing object distance corresponding to the first magnification value.
若拍摄设备当前没有对焦到第一倍率值对应的最远对焦物距,则将对焦电机移动至第二对焦电机位置,第一对焦电机位置和第二对焦电机位置不同,以第一角度、第一倍率值和第二对焦电机位置进行拍摄,并再次判断拍摄设备当前是否对焦到第一倍率值对应的最远对焦物距。若还是没有对焦到第一倍率值对应的最远对焦物距,则继续调节对焦电机位置,循环拍摄操作,直至拍摄设备当前对焦到第一倍率值对应的最远对焦物距。If the camera is not currently focusing to the farthest focus object distance corresponding to the first magnification value, move the focus motor to the second focus motor position. The first focus motor position and the second focus motor position are different. Perform shooting with a magnification value and a second focus motor position, and again determine whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value. If still not focusing to the farthest focusing object distance corresponding to the first magnification value, continue to adjust the position of the focus motor, and loop the shooting operation until the shooting device currently focuses to the farthest focusing object distance corresponding to the first magnification value.
若拍摄设备当前对焦到第一倍率值对应的最远对焦物距,则调节拍摄设备的变焦倍率为第二倍率值,第一倍率值和第二倍率值不同,并将对焦电机移动至第三对焦电机位置,以第一角度、第二倍率值和第三对焦电机位置进行拍摄,第三对焦电机位置与第一对焦电机位置、第二对焦电机位置不同,并判断拍摄设备当前是否对焦到第二倍率值对应的最远对焦物距。If the shooting device is currently focusing to the farthest focus object distance corresponding to the first magnification value, adjust the zoom magnification of the shooting device to the second magnification value. The first and second magnification values are different, and the focus motor is moved to the third Focus motor position, shoot with the first angle, the second magnification value, and the third focus motor position. The third focus motor position is different from the first focus motor position and the second focus motor position, and it is determined whether the shooting device is currently focused to the first focus motor position. The farthest focusing object distance corresponding to the double magnification value.
若拍摄设备当前没有对焦到第二倍率值对应的最远对焦物距,则将对焦电机移动至第四对焦电机位置,以第一角度、第二倍率值和第四对焦电机位置进行拍摄,第四对焦电机位置与第一对焦电机位置、第二对焦电机位置、第三对焦电机位置不同,并再次判断拍摄设备当前是否对焦到第二倍率值对应的最远对焦物距。若还是没有对焦到第二倍率值对应的最远对焦物距,则继续调节对 焦电机位置,循环拍摄操作,直至拍摄设备当前对焦到第二倍率值对应的最远对焦物距。依次以第一角度、第二倍率值和各个对焦电机位置进行拍摄,直至拍摄设备当前对焦到第二倍率值对应的最远对焦物距。直至拍摄设备在第一角度和各个倍率值下对焦到对应的最远对焦物距进行拍摄,或者直至拍摄设备在第一角度下变焦到长焦tele端。If the shooting device is not currently focusing to the farthest focusing object distance corresponding to the second magnification value, move the focus motor to the fourth focus motor position, and shoot at the first angle, the second magnification value, and the fourth focus motor position. The four focus motor positions are different from the first focus motor position, the second focus motor position, and the third focus motor position, and it is determined again whether the shooting device is currently focusing to the farthest focusing object distance corresponding to the second magnification value. If still not focusing to the farthest object distance corresponding to the second magnification value, continue to adjust the position of the focus motor and cycle shooting operations until the camera is currently focusing to the farthest object distance corresponding to the second magnification value. Shooting is performed at the first angle, the second magnification value, and each focus motor position in sequence, until the shooting device currently focuses to the farthest focusing object distance corresponding to the second magnification value. Until the shooting device focuses on the corresponding farthest focus object distance at the first angle and each magnification value for shooting, or until the shooting device zooms to the tele end at the first angle.
步骤S1160,在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度、所述第一倍率值和所述第一对焦电机位置进行拍摄;其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置、所述第三对焦电机位置和所述第四对焦电机位置不同。Step S1160: When the shooting operation of shooting at the first angle is completed, adjust the angle of view of the shooting device to a second angle, the zoom magnification of the shooting device is the first magnification value, and the The focus motor is moved to the first focus motor position, and the second angle, the first magnification value, and the first focus motor position are used for shooting; wherein the first angle and the second angle are different , The first magnification value and the second magnification value are different, and the position of the first focus motor, the position of the second focus motor, the position of the third focus motor, and the position of the fourth focus motor are different.
若拍摄设备在第一角度和各个倍率值下对焦到对应的最远对焦物距进行拍摄,或者拍摄设备在第一角度下变焦到长焦tele端时,移动云台,以调节拍摄设备的视场角为第二角度,第一角度和第二角度不同,并调节拍摄设备的变焦倍率为第一倍率值,将对焦电机移动至第一对焦电机位置,以第二角度、第一倍率值和第一对焦电机位置进行拍摄,并判断拍摄设备当前是否对焦到第一倍率值对应的最远对焦物距。If the shooting device focuses on the corresponding farthest object distance at the first angle and each magnification value to shoot, or when the shooting device zooms to the telephoto end at the first angle, move the pan/tilt to adjust the vision of the shooting device. The field angle is the second angle, the first angle and the second angle are different, and the zoom magnification of the shooting device is adjusted to the first magnification value, and the focus motor is moved to the first focus motor position, and the second angle, the first magnification value and The first focus motor position performs shooting, and it is determined whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value.
循环上述拍摄操作,直至拍摄设备在各个角度以及各个倍率值下对焦到对应的最远对焦物距进行拍摄为止。或者,直至拍摄设备在各个角度下变焦到长焦tele端为止,拍摄结束。The above-mentioned shooting operation is repeated until the shooting device focuses on the corresponding farthest focusing object distance at various angles and various magnification values for shooting. Or, until the shooting device zooms to the tele end at various angles, the shooting ends.
示例性的,将拍摄的至少一张图片、以及对应的拍摄参数关联保存。具体可参考上面实施例所述,在此不再赘述,实现了拍摄装置200的全景深扫焦加变焦倍率对应视场角下自动超解析的功能。Exemplarily, at least one photograph taken and the corresponding photographing parameter are associated and saved. For details, please refer to the description in the above embodiment, which will not be repeated here, and realizes the function of automatic super resolution under the angle of field of view corresponding to the panoramic deep scan and zoom magnification of the camera 200.
在一些实施例中,云台为360度旋转云台。依照上实施例中的拍摄方式,示例性的,按照从左到右、从上到下、从近到远的顺序移动平台,依次调节拍摄设备的视场角的角度,进行多次全景深扫焦加变焦倍率对应视场角下自动超解析拍摄,直至360度球形区域都完成了拍摄,获得拍摄的图片并保存,从而实现以拍摄设备为中心的三维空间的全景深扫焦加全视场角自动超解析拍摄。In some embodiments, the pan/tilt is a 360-degree rotating pan/tilt. According to the shooting method in the above embodiment, for example, the platform is moved in the order from left to right, top to bottom, and near to far, and the angle of the field of view of the shooting device is sequentially adjusted to perform multiple panoramic deep sweeps. Focus and zoom magnification corresponds to the automatic super-resolution shooting under the angle of view, until the 360-degree spherical area is taken, the captured picture is obtained and saved, so as to realize the panoramic deep sweeping focus and full field of view in the three-dimensional space centered on the shooting device Angle automatic super resolution shooting.
请参阅图12,图12是本申请实施例提供的一种拍摄装置的示意性框图。 如图12所示,该拍摄装置300包括处理器301和存储器302,处理器301和存储器302通过总线连接,该总线比如为I2C(Inter-integrated Circuit)总线。Please refer to FIG. 12, which is a schematic block diagram of a photographing device provided by an embodiment of the present application. As shown in FIG. 12, the camera 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected by a bus, such as an I2C (Inter-integrated Circuit) bus.
具体地,处理器301可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 301 may be a micro-controller unit (MCU), a central processing unit (CPU), a digital signal processor (Digital Signal Processor, DSP), or the like.
具体地,存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk, or a mobile hard disk.
其中,所述处理器用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor is used to run a computer program stored in a memory, and implement the following steps when executing the computer program:
根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数;Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device;
基于所述至少一组拍摄参数进行拍摄调节操作;Performing a shooting adjustment operation based on the at least one set of shooting parameters;
当所述拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片;When the shooting adjustment operation is completed, shooting is performed with the currently adjusted shooting parameters, and at least one picture is acquired;
保存所述至少一张图片。Save the at least one picture.
在一些实施例中,所述拍摄参数包括对焦电机位置、变焦倍率、视场角中的至少一种;所述拍摄调节操作包括以下至少一种:In some embodiments, the shooting parameter includes at least one of focus motor position, zoom magnification, and angle of view; the shooting adjustment operation includes at least one of the following:
调节所述拍摄设备的对焦电机的位置;Adjusting the position of the focus motor of the photographing device;
调节所述拍摄设备的变焦倍率;Adjusting the zoom magnification of the photographing device;
调节挂载所述拍摄设备的云台的角度。Adjust the angle of the pan/tilt on which the photographing device is mounted.
在一些实施例中,所述处理器在实现所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数时,具体实现:In some embodiments, when the processor implements the determination of at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device, it specifically implements:
将所述拍摄设备的拍摄范围分为多个子拍摄范围;Dividing the shooting range of the shooting device into multiple sub-shooting ranges;
根据所述多个子拍摄范围,确定关于所述拍摄设备的多个对焦区块;According to the multiple sub-photographing ranges, determining multiple focus blocks related to the photographing device;
对所述多个对焦区块进行对焦,以确定所述多个对焦区块对应的合焦位置;Focusing on the plurality of focus blocks to determine the focus positions corresponding to the plurality of focus blocks;
根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的至少一个对焦电机位置;Determine at least one focus motor position corresponding to the focus motor of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device;
所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时具 体实现:When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
控制将所述对焦电机移动至所述至少一个对焦电机位置。Controlling to move the focus motor to the at least one focus motor position.
在一些实施例中,所述处理器在实现所述确定所述多个对焦区块对应的合焦位置时,具体实现:In some embodiments, when the processor implements the determination of the in-focus positions corresponding to the multiple focus blocks, it specifically implements:
获取每个对焦区块分别对应不同对焦电机位置进行对焦操作得到的多个统计值;Acquire multiple statistical values obtained by focusing operations on each focusing block corresponding to different focusing motor positions;
确定所述每个对焦区块的所述多个统计值的最大统计值;Determining the maximum statistical value of the plurality of statistical values of each focus block;
将所述每个对焦区块的最大统计值对应的对焦电机位置,确定为所述每个对焦区块的合焦位置。The focus motor position corresponding to the maximum statistical value of each focus block is determined as the focus position of each focus block.
在一些实施例中,所述处理器在实现所述保存所述至少一张图片时,具体实现:In some embodiments, when the processor implements the saving of the at least one picture, it specifically implements:
将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存。The at least one picture and the shooting parameter corresponding to the at least one picture are saved in association.
在一些实施例中,所述处理器在实现所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还实现:In some embodiments, after implementing the associated saving of the at least one picture and the shooting parameter corresponding to the at least one picture, the processor further implements:
在接收到基于当前显示的第一图片的触控操作时,获取所述触控操作对应的查阅对象;其中,所述第一图片为所述至少一张图片中的任意一张图片;When a touch operation based on the first picture currently displayed is received, acquiring a reference object corresponding to the touch operation; wherein the first picture is any one of the at least one picture;
基于关联保存的所述至少一张图片、以及对应的所述拍摄参数,从所述至少一张图片中,确定所述查阅对象的图片清晰度最高的第二图片,并显示所述第二图片。Based on the at least one picture stored in association and the corresponding shooting parameters, from the at least one picture, determine the second picture with the highest picture definition of the reference object, and display the second picture .
在一些实施例中,所述处理器在实现所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数时,具体实现:In some embodiments, when the processor implements the determination of at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device, it specifically implements:
根据所述至少一个目标拍摄对象,确定所述拍摄设备的变焦倍率的至少一个倍率值;Determining at least one magnification value of the zoom magnification of the photographing device according to the at least one target photographing object;
所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
根据所述拍摄设备的变焦倍率的至少一个倍率值,调节所述拍摄设备的变焦倍率。Adjust the zoom magnification of the photographing device according to at least one magnification value of the zoom magnification of the photographing device.
在一些实施例中,所述处理器在实现所述保存所述至少一张图片时,具体 实现:In some embodiments, when the processor implements the saving of the at least one picture, it specifically implements:
将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存;Saving the at least one picture and the shooting parameters corresponding to the at least one picture in association;
所述处理器在实现所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还实现:After implementing the associated saving of the at least one picture and the shooting parameter corresponding to the at least one picture, the processor further implements:
在接收到基于当前显示的第三图片的图片放大操作时,获取所述第三图片的放大对象对应的至少一张第四图片,并显示所述至少一张第四图片;其中,所述第三图片对应的变焦倍率的倍率值小于所述至少一张第四图片对应的变焦倍率的倍率值。When receiving a picture magnification operation based on the currently displayed third picture, acquire at least one fourth picture corresponding to the magnified object of the third picture, and display the at least one fourth picture; wherein, the first picture The magnification value of the zoom magnification corresponding to the three pictures is smaller than the magnification value of the zoom magnification corresponding to the at least one fourth picture.
在一些实施例中,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:In some embodiments, when the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
按照预设顺序移动所述云台,改变所述云台的角度,以调节所述拍摄设备的视场角。Move the pan-tilt according to a preset sequence and change the angle of the pan-tilt to adjust the angle of view of the photographing device.
在一些实施例中,所述预设顺序包括从左到右、从上到下、从前到后中至少一种。In some embodiments, the preset order includes at least one of left to right, top to bottom, and front to back.
在一些实施例中,所述云台为360度旋转云台。In some embodiments, the pan/tilt is a 360-degree rotating pan/tilt.
在一些实施例中,所述拍摄参数包括对焦电机位置和变焦倍率,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:In some embodiments, the shooting parameters include a focus motor position and a zoom magnification. When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的对焦电机对应的各个对焦电机位置,依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。According to the respective magnification values of the zoom magnification of the shooting device and the respective focus motor positions corresponding to the focus motor of the shooting device, the zoom magnification of the shooting device is adjusted in turn at each magnification value, and the focus motor is moved to The positions of the respective focus motors for shooting.
在一些实施例中,所述处理器在实现所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还实现:In some embodiments, before the processor realizes the sequential adjustment of the zoom magnification of the photographing device to the respective magnification values, before moving the focus motor to the respective focus motor positions, it further realizes:
获取所述拍摄设备的多个对焦区块对应的合焦位置;Acquiring focus positions corresponding to multiple focus blocks of the photographing device;
根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的所述各个对焦电机位置。Determine the respective focus motor positions corresponding to the focus motors of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
在一些实施例中,所述处理器在实现所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还实现:In some embodiments, before the processor realizes the sequential adjustment of the zoom magnification of the photographing device to the respective magnification values, before moving the focus motor to the respective focus motor positions, it further realizes:
获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Acquiring the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device;
所述处理器在实现所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄时,具体实现:When the processor realizes that the zoom magnification of the photographing device is sequentially adjusted to each magnification value, when the focus motor is moved to each of the focus motor positions for shooting, it specifically implements:
调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Adjust the zoom magnification of the shooting device at each magnification value, and move the focus motor to each focus motor position in turn for shooting until the shooting device focuses to the corresponding farthest focusing object distance at each magnification value Until shooting.
在一些实施例中,所述处理器在实现所述调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄时,具体实现:In some embodiments, when the processor realizes that the zoom magnification of the shooting device is adjusted for each magnification value, when the focus motor is sequentially moved to each focus motor position for shooting, it specifically implements:
调节所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一倍率值和所述第一对焦电机位置进行拍摄,并判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;Adjust the zoom magnification of the photographing device to the first magnification value, move the focus motor to the first focus motor position, shoot with the first magnification value and the first focus motor position, and determine the shooting Whether the device is currently focusing to the farthest focusing object distance corresponding to the first magnification value;
若所述拍摄设备当前没有对焦到所述第一倍率值对应的最远对焦物距,则将所述对焦电机移动至第二对焦电机位置,以所述第一倍率值和所述第二对焦电机位置进行拍摄;If the photographing device is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focusing motor is moved to the second focusing motor position, and the first magnification value and the second focusing Motor position for shooting;
若所述拍摄设备当前对焦到所述第一倍率值对应的最远对焦物距,则调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第二倍率值和所述第三对焦电机位置进行拍摄;If the photographing device is currently focused to the farthest focusing object distance corresponding to the first magnification value, the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the second magnification value and the third focus motor position;
其中,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置和第三对焦电机位置不同。也就是说,所述第一对焦电机位置、所述第二对焦电机位置和第三对焦电机位置为不同的对焦电机位置。Wherein, the first magnification value and the second magnification value are different, and the position of the first focus motor, the position of the second focus motor, and the position of the third focus motor are different. That is, the first focus motor position, the second focus motor position, and the third focus motor position are different focus motor positions.
在一些实施例中,所述拍摄参数包括对焦电机位置和视场角,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:In some embodiments, the shooting parameters include a focus motor position and a field of view angle. When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
根据所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。According to the position of each focus motor corresponding to the focus motor of the shooting device and the angles corresponding to the angle of view of the shooting device, the angle of view of the shooting device is sequentially adjusted to each angle, and the focus motor is moved To the respective focus motor positions for shooting.
在一些实施例中,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄时,具体实现:In some embodiments, when the processor realizes the sequential adjustment of the angle of view of the photographing device to various angles, and moves the focus motor to each of the focus motor positions for shooting, the specific implementation is :
调节所述拍摄设备的视场角为第一角度,将所述对焦电机移动至第一对焦电机位置,以所述第一角度和所述第一对焦电机位置进行拍摄;Adjusting the angle of view of the photographing device to a first angle, moving the focus motor to the first focus motor position, and shooting at the first angle and the first focus motor position;
在以所述第一角度和所述第一对焦电机位置进行拍摄的拍摄操作拍摄完成时,将所述对焦电机移动至第二对焦电机位置,以所述第一角度和所述第二对焦电机位置进行拍摄;When the shooting operation of shooting at the first angle and the first focus motor position is completed, the focus motor is moved to the second focus motor position, and the first angle and the second focus motor position Location for shooting;
调节所述拍摄设备的视场角为第二角度,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度和所述第一对焦电机位置进行拍摄;Adjusting the angle of view of the shooting device to a second angle, moving the focus motor to the first focus motor position, and shooting at the second angle and the first focus motor position;
其中,所述第一角度和所述第二角度不同,所述第一对焦电机位置和所述第二对焦电机位置不同。Wherein, the first angle and the second angle are different, and the position of the first focus motor and the position of the second focus motor are different.
在一些实施例中,所述拍摄参数包括变焦倍率和视场角,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:In some embodiments, the shooting parameters include a zoom magnification and a field of view, and when the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄。According to the various magnification values of the zoom magnification of the photographing device and the angles corresponding to the angle of view of the photographing device, sequentially adjust the angle of view of the photographing device to each angle, and adjust the zoom magnification of the photographing device Is the respective magnification value for shooting.
在一些实施例中,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄时,具体实现:In some embodiments, the processor adjusts the zoom magnification of the photographing device to the respective magnification values under the condition that the angle of the field of view of the photographing device is sequentially adjusted to each angle, so that when photographing is performed, specific accomplish:
调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,以所述第一角度和所述第一倍率值进行拍摄;Adjusting the angle of view of the photographing device to a first angle, the zoom magnification of the photographing device is a first magnification value, and shooting is performed at the first angle and the first magnification value;
在以所述第一角度和所述第一倍率值进行拍摄的拍摄操作成时,调节所述拍摄设备的变焦倍率为第二倍率值,以所述第一角度和所述第二倍率值进行拍摄;When the shooting operation of shooting at the first angle and the first magnification value is completed, the zoom magnification of the shooting device is adjusted to the second magnification value, and the first angle and the second magnification value are used to perform the shooting operation. Filming
在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,以所述第二角度和所述第一倍率值进行拍摄;When the shooting operation of shooting at the first angle is completed, the angle of view of the shooting device is adjusted to a second angle, the zoom magnification of the shooting device is the first magnification value, and the second angle is Shooting with the first magnification value;
其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同。Wherein, the first angle and the second angle are different, and the first magnification value and the second magnification value are different.
在一些实施例中,所述拍摄参数包括对焦电机位置、变焦倍率和视场角,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体 实现:In some embodiments, the shooting parameters include a focus motor position, a zoom magnification, and a field of view angle. When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:
根据所述拍摄设备的变焦倍率的各个倍率值,所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄。According to the respective magnification values of the zoom magnification of the shooting device, the positions of the respective focus motors corresponding to the focus motors of the shooting device, and the respective angles corresponding to the angle of view of the shooting device, the field of view of the shooting device is sequentially adjusted The angles are various angles, and the zoom magnification of the photographing device is at various magnification values, and the focus motor is moved to each focus motor position for shooting.
在一些实施例中,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置之前,还实现:In some embodiments, the processor moves the focus motor to each focus after realizing the sequential adjustment of the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is each magnification value. Before the motor position, it also realizes:
获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Acquiring the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device;
所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄时,具体实现:The processor moves the focus motor to each focus motor position to perform shooting when the processor realizes the sequential adjustment of the angle of view of the shooting device to various angles, and the zoom magnification of the shooting device is each magnification value. When, the specific realization:
调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Adjust the field of view of the photographing device to various angles, and the zoom magnification of the photographing device is at each magnification value, and the focus motor is sequentially moved to each focus motor position for shooting until the photographing device is at each magnification. Focus to the corresponding farthest object distance under the value to shoot.
在一些实施例中,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置进行拍摄时,具体实现:In some embodiments, the processor moves the focus motor to each focus after realizing the sequential adjustment of the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is each magnification value. When shooting at the motor position, the specific realization is as follows:
调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一角度、所述第一倍率值和所述第一对焦电机位置进行拍摄,并判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;Adjust the angle of view of the photographing device to a first angle, the zoom magnification of the photographing device is a first magnification value, and the focus motor is moved to the position of the first focus motor. Shooting with a magnification value and the position of the first focus motor, and determining whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value;
若所述拍摄设备当前没有对焦到所述第一倍率值对应的最远对焦物距,则将所述对焦电机移动至第二对焦电机位置,以所述第一角度、所述第一倍率值和所述第二对焦电机位置进行拍摄;If the photographing device is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focus motor is moved to the second focus motor position, and the first angle and the first magnification value Shooting with the second focus motor position;
若所述拍摄设备当前对焦到所述第一倍率值对应的最远对焦物距,则调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第一角度、所述第二倍率值和所述第三对焦电机位置进行拍摄;If the photographing device is currently focused to the farthest focusing object distance corresponding to the first magnification value, the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the first angle, the second magnification value, and the third focus motor position;
在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度、所述第一倍率值和所述第一对焦电机位置进行拍摄;When the shooting operation of shooting at the first angle is completed, the angle of view of the shooting device is adjusted to the second angle, the zoom magnification of the shooting device is the first magnification value, and the focus motor is moved To the first focus motor position, shooting at the second angle, the first magnification value, and the first focus motor position;
其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置和所述第三对焦电机不同。也就是说,所述第一对焦电机位置、所述第二对焦电机位置和所述第三对焦电机为不同的对焦电机位置。Wherein, the first angle and the second angle are different, the first magnification value and the second magnification value are different, the first focus motor position, the second focus motor position, and the third The focus motor is different. In other words, the first focus motor position, the second focus motor position, and the third focus motor are different focus motor positions.
在一些实施例中,所述处理器在实现所述保存所述至少一张图片之后,还实现:In some embodiments, after implementing the saving of the at least one picture, the processor further implements:
生成所述至少一张图片对应的图片索引,以基于所述图片索引显示所述至少一张图片。A picture index corresponding to the at least one picture is generated to display the at least one picture based on the picture index.
在一些实施例中,所述图片索引包括可扩展标记语言文件。In some embodiments, the picture index includes an extensible markup language file.
在一些实施例中,所述处理器在实现所述获取至少一张图片之后,还实现:In some embodiments, after the processor implements the acquisition of at least one picture, it further implements:
将所述至少一张图片进行图片融合处理,生成所述至少一张图片对应的合成图片。Perform picture fusion processing on the at least one picture to generate a composite picture corresponding to the at least one picture.
本申请的实施例中还提供一种拍摄设备,该拍摄设备包括上述实施例中的拍摄装置300。拍摄设备根据当前拍摄场景下的至少一个目标拍摄对象,确定拍摄设备当前对焦拍摄对应的至少一组拍摄参数,并基于该至少一组拍摄参数进行拍摄调节操作,当拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片,并保存该至少一张图片,具体操作可参考本申请实施例提供的拍摄方法的步骤,在此不再赘述。The embodiment of the present application also provides a photographing device, and the photographing device includes the photographing device 300 in the above-mentioned embodiment. According to at least one target subject in the current shooting scene, the shooting device determines at least one set of shooting parameters corresponding to the current focus shooting of the shooting device, and performs shooting adjustment operations based on the at least one set of shooting parameters. When the shooting adjustment operation is completed, use the current Shoot with adjusted shooting parameters, acquire at least one picture, and save the at least one picture. For specific operations, please refer to the steps of the shooting method provided in the embodiment of the present application, which will not be repeated here.
本申请的实施例中还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,处理器执行所述程序指令,实现本申请实施例提供的拍摄方法的步骤。An embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and a processor executes the program instructions to implement the embodiments of the present application. Provide the steps of the shooting method.
其中,所述计算机可读存储介质可以是前述实施例所述的拍摄装置或拍摄设备的内部存储单元,例如所述拍摄装置或拍摄设备的硬盘或内存。所述计算机可读存储介质也可以是所述拍摄装置或拍摄设备的外部存储设备,例如所述拍摄装置或拍摄设备上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。Wherein, the computer-readable storage medium may be the internal storage unit of the photographing device or the photographing device described in the foregoing embodiment, for example, the hard disk or memory of the photographing device or the photographing device. The computer-readable storage medium may also be an external storage device of the photographing device or the photographing device, such as a plug-in hard disk equipped on the photographing device or the photographing device, a smart memory card (Smart Media Card, SMC), and a safe Digital (Secure Digital, SD) card, Flash Card (Flash Card), etc.
根据本发明实施方式,提出了拍摄方法、拍摄装置、拍摄设备及计算机可读存储介质。根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定拍摄设备当前对焦拍摄对应的至少一组拍摄参数,并基于该至少一组拍摄参数进行拍摄调节操作,当拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片,并保存该至少一张图片,从而实现在图片拍摄的整个过程中,不需要用户进行各种手动调节拍摄参数的操作,因此,提高了拍摄图片的智能性和便捷性。According to the embodiments of the present invention, a photographing method, a photographing device, a photographing device, and a computer-readable storage medium are proposed. According to at least one target subject in the current shooting scene of the shooting device, determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device, and perform shooting adjustment operations based on the at least one set of shooting parameters. When the shooting adjustment operation is completed, use the current Shooting with adjusted shooting parameters, acquire at least one picture, and save the at least one picture, so that the user does not need to perform various manual adjustments of shooting parameters during the entire process of picture shooting, thus improving the shooting picture The intelligence and convenience.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Anyone familiar with the technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
Claims (52)
- 一种拍摄方法,其特征在于,包括:A photographing method, characterized in that it comprises:根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数;Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device;基于所述至少一组拍摄参数进行拍摄调节操作;Performing a shooting adjustment operation based on the at least one set of shooting parameters;当所述拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片;When the shooting adjustment operation is completed, shooting is performed with the currently adjusted shooting parameters, and at least one picture is acquired;保存所述至少一张图片。Save the at least one picture.
- 根据权利要求1所述的拍摄方法,其特征在于,所述拍摄参数包括对焦电机位置、变焦倍率、视场角中的至少一种;所述拍摄调节操作包括以下至少一种:The shooting method according to claim 1, wherein the shooting parameters include at least one of a focus motor position, a zoom magnification, and a field of view; the shooting adjustment operation includes at least one of the following:调节所述拍摄设备的对焦电机的位置;Adjusting the position of the focus motor of the photographing device;调节所述拍摄设备的变焦倍率;Adjusting the zoom magnification of the photographing device;调节挂载所述拍摄设备的云台的角度。Adjust the angle of the pan/tilt on which the photographing device is mounted.
- 根据权利要求1所述的拍摄方法,其特征在于,The photographing method according to claim 1, wherein:所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数,包括:The determining at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device includes:将所述拍摄设备的拍摄范围分为多个子拍摄范围;Dividing the shooting range of the shooting device into multiple sub-shooting ranges;根据所述多个子拍摄范围,确定关于所述拍摄设备的多个对焦区块;According to the multiple sub-photographing ranges, determining multiple focus blocks related to the photographing device;对所述多个对焦区块进行对焦,以确定所述多个对焦区块对应的合焦位置;Focusing on the plurality of focus blocks to determine the focus positions corresponding to the plurality of focus blocks;根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的至少一个对焦电机位置;Determine at least one focus motor position corresponding to the focus motor of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device;所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The performing a shooting adjustment operation based on the at least one set of shooting parameters includes:控制将所述对焦电机移动至所述至少一个对焦电机位置。Controlling to move the focus motor to the at least one focus motor position.
- 根据权利要求3所述的拍摄方法,其特征在于,所述确定所述多个对焦区块对应的合焦位置,包括:The shooting method according to claim 3, wherein the determining the in-focus positions corresponding to the multiple focus blocks comprises:获取每个对焦区块分别对应不同对焦电机位置进行对焦操作得到的多个统 计值;Obtain multiple statistical values obtained by focusing operations on each focusing block corresponding to different focusing motor positions;确定所述每个对焦区块的所述多个统计值的最大统计值;Determining the maximum statistical value of the plurality of statistical values of each focus block;将所述每个对焦区块的所述最大统计值对应的对焦电机位置,确定为所述每个对焦区块的合焦位置。The focus motor position corresponding to the maximum statistical value of each focus block is determined as the focus position of each focus block.
- 根据权利要求1所述的拍摄方法,其特征在于,所述保存所述至少一张图片,包括:The shooting method according to claim 1, wherein the saving the at least one picture comprises:将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存。The at least one picture and the shooting parameter corresponding to the at least one picture are saved in association.
- 根据权利要求5所述的拍摄方法,其特征在于,所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还包括:The shooting method according to claim 5, wherein after the at least one picture and the shooting parameter corresponding to the at least one picture are associated and saved, the method further comprises:在接收到基于当前显示的第一图片的触控操作时,获取所述触控操作对应的查阅对象;其中,所述第一图片为所述至少一张图片中的任意一张图片;When a touch operation based on the first picture currently displayed is received, acquiring a reference object corresponding to the touch operation; wherein the first picture is any one of the at least one picture;基于关联保存的所述至少一张图片、以及对应的所述拍摄参数,从所述至少一张图片中,确定所述查阅对象的图片清晰度最高的第二图片,并显示所述第二图片。Based on the at least one picture stored in association and the corresponding shooting parameters, from the at least one picture, determine the second picture with the highest picture definition of the reference object, and display the second picture .
- 根据权利要求1所述的拍摄方法,其特征在于,The photographing method according to claim 1, wherein:所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数,包括:The determining at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device includes:根据所述至少一个目标拍摄对象,确定所述拍摄设备的变焦倍率的至少一个倍率值;Determining at least one magnification value of the zoom magnification of the photographing device according to the at least one target photographing object;所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The performing a shooting adjustment operation based on the at least one set of shooting parameters includes:根据所述拍摄设备的变焦倍率的至少一个倍率值,调节所述拍摄设备的变焦倍率。Adjust the zoom magnification of the photographing device according to at least one magnification value of the zoom magnification of the photographing device.
- 根据权利要求7所述的拍摄方法,其特征在于,The shooting method according to claim 7, wherein:所述保存所述至少一张图片,包括:The saving of the at least one picture includes:将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存;Saving the at least one picture and the shooting parameters corresponding to the at least one picture in association;所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还包括:After the at least one picture and the shooting parameter corresponding to the at least one picture are associated and saved, the method further includes:在接收到基于当前显示的第三图片的图片放大操作时,获取所述第三图片的放大对象对应的至少一张第四图片,并显示所述至少一张第四图片;其中, 所述第三图片对应的变焦倍率的倍率值小于所述至少一张第四图片对应的变焦倍率的倍率值。When a picture enlargement operation based on the currently displayed third picture is received, at least one fourth picture corresponding to the enlarged object of the third picture is acquired, and the at least one fourth picture is displayed; wherein, the first picture The magnification value of the zoom magnification corresponding to the three pictures is smaller than the magnification value of the zoom magnification corresponding to the at least one fourth picture.
- 根据权利要求1所述的拍摄方法,其特征在于,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The shooting method according to claim 1, wherein the performing a shooting adjustment operation based on the at least one set of shooting parameters comprises:按照预设顺序移动所述云台,改变所述云台的角度,以调节所述拍摄设备的视场角。Move the pan-tilt according to a preset sequence and change the angle of the pan-tilt to adjust the angle of view of the photographing device.
- 根据权利要求9所述的拍摄方法,其特征在于,所述预设顺序包括从左到右、从上到下、从前到后中至少一种。The shooting method according to claim 9, wherein the preset sequence includes at least one of from left to right, from top to bottom, and from front to back.
- 根据权利要求9或10所述的拍摄方法,其特征在于,所述云台为360度旋转云台。The photographing method according to claim 9 or 10, wherein the pan/tilt is a 360-degree rotating pan/tilt.
- 根据权利要求1所述的拍摄方法,其特征在于,所述拍摄参数包括对焦电机位置和变焦倍率,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The shooting method according to claim 1, wherein the shooting parameters include a focus motor position and a zoom magnification, and performing a shooting adjustment operation based on the at least one set of shooting parameters includes:根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的对焦电机对应的各个对焦电机位置,依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。According to the respective magnification values of the zoom magnification of the shooting device and the respective focus motor positions corresponding to the focus motor of the shooting device, the zoom magnification of the shooting device is adjusted in turn at each magnification value, and the focus motor is moved to The positions of the respective focus motors for shooting.
- 根据权利要求12所述的拍摄方法,其特征在于,所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还包括:The shooting method according to claim 12, wherein the step of sequentially adjusting the zoom magnification of the shooting device to each magnification value before moving the focus motor to each focus motor position further comprises:获取所述拍摄设备的多个对焦区块对应的合焦位置;Acquiring focus positions corresponding to multiple focus blocks of the photographing device;根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的所述各个对焦电机位置。Determine the respective focus motor positions corresponding to the focus motors of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
- 根据权利要求12或13所述的拍摄方法,其特征在于,The photographing method according to claim 12 or 13, characterized in that:所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还包括:The step of sequentially adjusting the zoom magnification of the photographing device to each magnification value before moving the focus motor to the position of each focus motor further includes:获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Acquiring the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device;所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄,包括:The step of sequentially adjusting the zoom magnification of the photographing device at various magnification values, and moving the focus motor to the respective focus motor positions for shooting includes:调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动 至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Adjust the zoom magnification of the shooting device at each magnification value, and move the focus motor to each focus motor position in turn for shooting until the shooting device focuses to the corresponding farthest focusing object distance at each magnification value Until shooting.
- 根据权利要求14所述的拍摄方法,其特征在于,所述调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,包括:The shooting method according to claim 14, wherein the adjusting the zoom magnification of the shooting device for each magnification value, sequentially moving the focus motor to each focus motor position for shooting, comprises:调节所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一倍率值和所述第一对焦电机位置进行拍摄,并判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;Adjust the zoom magnification of the photographing device to the first magnification value, move the focus motor to the first focus motor position, shoot with the first magnification value and the first focus motor position, and determine the shooting Whether the device is currently focusing to the farthest focusing object distance corresponding to the first magnification value;若所述拍摄设备当前没有对焦到所述第一倍率值对应的最远对焦物距,则将所述对焦电机移动至第二对焦电机位置,以所述第一倍率值和所述第二对焦电机位置进行拍摄;If the photographing device is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focusing motor is moved to the second focusing motor position, and the first magnification value and the second focusing Motor position for shooting;若所述拍摄设备当前对焦到所述第一倍率值对应的最远对焦物距,则调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第二倍率值和所述第三对焦电机位置进行拍摄;If the photographing device is currently focused to the farthest focusing object distance corresponding to the first magnification value, the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the second magnification value and the third focus motor position;其中,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置、和所述第三对焦电机位置为不同的对焦电机位置。Wherein, the first magnification value and the second magnification value are different, and the first focus motor position, the second focus motor position, and the third focus motor position are different focus motor positions.
- 根据权利要求1所述的拍摄方法,其特征在于,所述拍摄参数包括对焦电机位置和视场角,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The shooting method according to claim 1, wherein the shooting parameters include a focus motor position and a field of view, and performing a shooting adjustment operation based on the at least one set of shooting parameters includes:根据所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。According to the position of each focus motor corresponding to the focus motor of the shooting device and the angles corresponding to the angle of view of the shooting device, the angle of view of the shooting device is sequentially adjusted to each angle, and the focus motor is moved To the respective focus motor positions for shooting.
- 根据权利要求16所述的拍摄方法,其特征在于,所述依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄,包括:The shooting method according to claim 16, wherein the step of sequentially adjusting the angle of view of the shooting device to various angles, and moving the focus motor to the respective focus motor positions for shooting, comprises :调节所述拍摄设备的视场角为第一角度,将所述对焦电机移动至第一对焦电机位置,以所述第一角度和所述第一对焦电机位置进行拍摄;Adjusting the angle of view of the photographing device to a first angle, moving the focus motor to the first focus motor position, and shooting at the first angle and the first focus motor position;在以所述第一角度和所述第一对焦电机位置进行拍摄的拍摄操作完成时,将所述对焦电机移动至第二对焦电机位置,以所述第一角度和所述第二对焦电 机位置进行拍摄;When the shooting operation of shooting at the first angle and the first focus motor position is completed, the focus motor is moved to the second focus motor position, and the first angle and the second focus motor position Take a shot调节所述拍摄设备的视场角为第二角度,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度和所述第一对焦电机位置进行拍摄;Adjusting the angle of view of the shooting device to a second angle, moving the focus motor to the first focus motor position, and shooting at the second angle and the first focus motor position;其中,所述第一角度和所述第二角度不同,所述第一对焦电机位置和所述第二对焦电机位置不同。Wherein, the first angle and the second angle are different, and the position of the first focus motor and the position of the second focus motor are different.
- 根据权利要求1所述的拍摄方法,其特征在于,所述拍摄参数包括变焦倍率和视场角,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The shooting method according to claim 1, wherein the shooting parameters include a zoom magnification and a field of view, and the performing a shooting adjustment operation based on the at least one set of shooting parameters includes:根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄。According to the various magnification values of the zoom magnification of the photographing device and the angles corresponding to the angle of view of the photographing device, sequentially adjust the angle of view of the photographing device to each angle, and adjust the zoom magnification of the photographing device Is the respective magnification value for shooting.
- 根据权利要求18所述的拍摄方法,其特征在于,所述依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄,包括:18. The photographing method according to claim 18, wherein the adjusting the field of view of the photographing device in sequence is at various angles, and adjusting the zoom magnification of the photographing device to the respective magnification values for photographing, include:调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,以所述第一角度和所述第一倍率值进行拍摄;Adjusting the angle of view of the photographing device to a first angle, the zoom magnification of the photographing device is a first magnification value, and shooting is performed at the first angle and the first magnification value;在以所述第一角度和所述第一倍率值进行拍摄的拍摄操作完成时,调节所述拍摄设备的变焦倍率为第二倍率值,以所述第一角度和所述第二倍率值进行拍摄;When the shooting operation of shooting at the first angle and the first magnification value is completed, the zoom magnification of the shooting device is adjusted to the second magnification value, and the first angle and the second magnification value are used to perform Filming在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,以所述第二角度和所述第一倍率值进行拍摄;When the shooting operation of shooting at the first angle is completed, the angle of view of the shooting device is adjusted to a second angle, the zoom magnification of the shooting device is the first magnification value, and the second angle is Shooting with the first magnification value;其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同。Wherein, the first angle and the second angle are different, and the first magnification value and the second magnification value are different.
- 根据权利要求1所述的拍摄方法,其特征在于,所述拍摄参数包括对焦电机位置、变焦倍率和视场角,所述基于所述至少一组拍摄参数进行拍摄调节操作,包括:The shooting method according to claim 1, wherein the shooting parameters include a focus motor position, a zoom magnification, and a field of view, and the shooting adjustment operation based on the at least one set of shooting parameters includes:根据所述拍摄设备的变焦倍率的各个倍率值,所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值 下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄。According to the respective magnification values of the zoom magnification of the shooting device, the positions of the respective focus motors corresponding to the focus motors of the shooting device, and the respective angles corresponding to the angle of view of the shooting device, the field of view of the shooting device is sequentially adjusted The angles are various angles, and the zoom magnification of the photographing device is at various magnification values, and the focus motor is moved to each focus motor position for shooting.
- 根据权利要求20所述的拍摄方法,其特征在于,The photographing method according to claim 20, wherein:所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置之前,还包括:The step of sequentially adjusting the field of view of the photographing device to various angles, and the zoom magnification of the photographing device at various magnification values, before moving the focus motor to each focus motor position, further includes:获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Acquiring the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device;所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄,包括:The step of sequentially adjusting the field of view of the photographing device to various angles, and the zooming magnification of the photographing device at various magnification values, moving the focus motor to each focus motor position for shooting, includes:调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Adjust the field of view of the photographing device to various angles, and the zoom magnification of the photographing device is at each magnification value, and the focus motor is sequentially moved to each focus motor position for shooting until the photographing device is at each magnification. Focus to the corresponding farthest object distance under the value to shoot.
- 根据权利要求21所述的拍摄方法,其特征在于,所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置进行拍摄,包括:22. The photographing method according to claim 21, wherein said adjusting the field of view of the photographing device sequentially to each angle, the zoom magnification of the photographing device is each magnification value, and the focusing motor is moved to Shooting at each focus motor position, including:调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一角度、所述第一倍率值和所述第一对焦电机位置进行拍摄,并判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;Adjust the angle of view of the photographing device to a first angle, the zoom magnification of the photographing device is a first magnification value, and the focus motor is moved to the position of the first focus motor. Shooting with a magnification value and the position of the first focus motor, and determining whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value;若所述拍摄设备当前没有对焦到所述第一倍率值对应的最远对焦物距,则将所述对焦电机移动至第二对焦电机位置,以所述第一角度、所述第一倍率值和所述第二对焦电机位置进行拍摄;If the photographing device is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focus motor is moved to the second focus motor position, and the first angle and the first magnification value Shooting with the second focus motor position;若所述拍摄设备当前对焦到所述第一倍率值对应的最远对焦物距,则调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第一角度、所述第二倍率值和所述第三对焦电机位置进行拍摄;If the photographing device is currently focused to the farthest focusing object distance corresponding to the first magnification value, the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the first angle, the second magnification value, and the third focus motor position;在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度、所述第一倍率值和所述第一对焦电机位置进行拍摄;When the shooting operation of shooting at the first angle is completed, the angle of view of the shooting device is adjusted to the second angle, the zoom magnification of the shooting device is the first magnification value, and the focus motor is moved To the first focus motor position, shooting at the second angle, the first magnification value, and the first focus motor position;其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置、和所述第三对焦电机位置为不同的对焦电机位置。Wherein, the first angle and the second angle are different, the first magnification value and the second magnification value are different, the first focusing motor position, the second focusing motor position, and the first The three focus motor positions are different focus motor positions.
- 根据权利要求1至22任一项所述的拍摄方法,其特征在于,所述保存所述至少一张图片之后,还包括:The shooting method according to any one of claims 1 to 22, wherein after the saving of the at least one picture, the method further comprises:生成所述至少一张图片对应的图片索引,以基于所述图片索引显示所述至少一张图片。A picture index corresponding to the at least one picture is generated to display the at least one picture based on the picture index.
- 根据权利要求23所述的拍摄方法,其特征在于,所述图片索引包括可扩展标记语言文件。The shooting method according to claim 23, wherein the picture index comprises an extensible markup language file.
- 根据权利要求1至24任一项所述的拍摄方法,其特征在于,所述获取至少一张图片之后,还包括:The photographing method according to any one of claims 1 to 24, wherein after the acquiring at least one picture, the method further comprises:将所述至少一张图片进行图片融合处理,生成所述至少一张图片对应的合成图片。Perform picture fusion processing on the at least one picture to generate a composite picture corresponding to the at least one picture.
- 一种拍摄装置,其特征在于,所述拍摄装置包括存储器和处理器;A photographing device, characterized in that the photographing device includes a memory and a processor;所述存储器用于存储计算机程序;The memory is used to store a computer program;所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and, when executing the computer program, implement the following steps:根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数;Determine at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device;基于所述至少一组拍摄参数进行拍摄调节操作;Performing a shooting adjustment operation based on the at least one set of shooting parameters;当所述拍摄调节操作完成时,以当前调节的拍摄参数进行拍摄,获取至少一张图片;When the shooting adjustment operation is completed, shooting is performed with the currently adjusted shooting parameters, and at least one picture is acquired;保存所述至少一张图片。Save the at least one picture.
- 根据权利要求26所述的拍摄装置,其特征在于,所述拍摄参数包括对焦电机位置、变焦倍率、视场角中的至少一种;所述拍摄调节操作包括以下至少一种:The photographing device according to claim 26, wherein the photographing parameter includes at least one of a focus motor position, a zoom magnification, and a field of view; the photographing adjustment operation includes at least one of the following:调节所述拍摄设备的对焦电机的位置;Adjusting the position of the focus motor of the photographing device;调节所述拍摄设备的变焦倍率;Adjusting the zoom magnification of the photographing device;调节挂载所述拍摄设备的云台的角度。Adjust the angle of the pan/tilt on which the photographing device is mounted.
- 根据权利要求26所述的拍摄装置,其特征在于,The photographing device according to claim 26, wherein:所述处理器在实现所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数时,具体实现:When the processor implements the determination of at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device, it specifically implements:将所述拍摄设备的拍摄范围分为多个子拍摄范围;Dividing the shooting range of the shooting device into multiple sub-shooting ranges;根据所述多个子拍摄范围,确定关于所述拍摄设备的多个对焦区块;According to the multiple sub-photographing ranges, determining multiple focus blocks related to the photographing device;对所述多个对焦区块进行对焦,以确定所述多个对焦区块对应的合焦位置;Focusing on the plurality of focus blocks to determine the focus positions corresponding to the plurality of focus blocks;根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的至少一个对焦电机位置;Determine at least one focus motor position corresponding to the focus motor of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device;所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时具体实现:The processor specifically implements when performing the shooting adjustment operation based on the at least one set of shooting parameters:控制将所述对焦电机移动至所述至少一个对焦电机位置。Controlling to move the focus motor to the at least one focus motor position.
- 根据权利要求28所述的拍摄装置,其特征在于,所述处理器在实现所述确定所述多个对焦区块对应的合焦位置时,具体实现:The photographing device according to claim 28, wherein when the processor realizes the determination of the in-focus positions corresponding to the plurality of focus blocks, it specifically realizes:获取每个对焦区块分别对应不同对焦电机位置进行对焦操作得到的多个统计值;Acquire multiple statistical values obtained by focusing operations on each focusing block corresponding to different focusing motor positions;确定所述每个对焦区块的所述多个统计值的最大统计值;Determining the maximum statistical value of the plurality of statistical values of each focus block;将所述每个对焦区块的所述最大统计值对应的对焦电机位置,确定为所述每个对焦区块的合焦位置。The focus motor position corresponding to the maximum statistical value of each focus block is determined as the focus position of each focus block.
- 根据权利要求26所述的拍摄装置,其特征在于,所述处理器在实现所述保存所述至少一张图片时,具体实现:The photographing device according to claim 26, wherein when the processor realizes the saving of the at least one picture, it specifically realizes:将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存。The at least one picture and the shooting parameter corresponding to the at least one picture are saved in association.
- 根据权利要求30所述的拍摄装置,其特征在于,所述处理器在实现所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还实现:The photographing device according to claim 30, wherein, after the processor realizes the associated saving of the at least one picture and the photographing parameter corresponding to the at least one picture, the processor further realizes:在接收到基于当前显示的第一图片的触控操作时,获取所述触控操作对应的查阅对象;其中,所述第一图片为所述至少一张图片中的任意一张图片;When a touch operation based on the first picture currently displayed is received, acquiring a reference object corresponding to the touch operation; wherein the first picture is any one of the at least one picture;基于关联保存的所述至少一张图片、以及对应的所述拍摄参数,从所述至少一张图片中,确定所述查阅对象的图片清晰度最高的第二图片,并显示所述第二图片。Based on the at least one picture stored in association and the corresponding shooting parameters, from the at least one picture, determine the second picture with the highest picture definition of the reference object, and display the second picture .
- 根据权利要求26所述的拍摄装置,其特征在于,The photographing device according to claim 26, wherein:所述处理器在实现所述根据拍摄设备当前拍摄场景下的至少一个目标拍摄对象,确定所述拍摄设备当前对焦拍摄对应的至少一组拍摄参数时,具体实现:When the processor implements the determination of at least one set of shooting parameters corresponding to the current focus shooting of the shooting device according to at least one target shooting object in the current shooting scene of the shooting device, it specifically implements:根据所述至少一个目标拍摄对象,确定所述拍摄设备的变焦倍率的至少一个倍率值;Determining at least one magnification value of the zoom magnification of the photographing device according to the at least one target photographing object;所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:When the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, it specifically implements:根据所述拍摄设备的变焦倍率的至少一个倍率值,调节所述拍摄设备的变焦倍率。Adjust the zoom magnification of the photographing device according to at least one magnification value of the zoom magnification of the photographing device.
- 根据权利要求32所述的拍摄装置,其特征在于,The photographing device according to claim 32, wherein:所述处理器在实现所述保存所述至少一张图片时,具体实现:When the processor implements the saving of the at least one picture, it specifically implements:将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存;Saving the at least one picture and the shooting parameters corresponding to the at least one picture in association;所述处理器在实现所述将所述至少一张图片、以及所述至少一张图片对应的拍摄参数关联保存之后,还实现:After implementing the associated saving of the at least one picture and the shooting parameter corresponding to the at least one picture, the processor further implements:在接收到基于当前显示的第三图片的图片放大操作时,获取所述第三图片的放大对象对应的至少一张第四图片,并显示所述至少一张第四图片;其中,所述第三图片对应的变焦倍率的倍率值小于所述至少一张第四图片对应的变焦倍率的倍率值。When receiving a picture magnification operation based on the currently displayed third picture, acquire at least one fourth picture corresponding to the magnified object of the third picture, and display the at least one fourth picture; wherein, the first picture The magnification value of the zoom magnification corresponding to the three pictures is smaller than the magnification value of the zoom magnification corresponding to the at least one fourth picture.
- 根据权利要求26所述的拍摄装置,其特征在于,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:The photographing device according to claim 26, wherein when the processor implements the photographing adjustment operation based on the at least one set of photographing parameters, it specifically implements:按照预设顺序移动所述云台,改变所述云台的角度,以调节所述拍摄设备的视场角。Move the pan-tilt according to a preset sequence and change the angle of the pan-tilt to adjust the angle of view of the photographing device.
- 根据权利要求34所述的拍摄装置,其特征在于,所述预设顺序包括从左到右、从上到下、从前到后中至少一种。The photographing device according to claim 34, wherein the preset sequence includes at least one of from left to right, from top to bottom, and from front to back.
- 根据权利要求34或35所述的拍摄装置,其特征在于,所述云台为360度旋转云台。The photographing device according to claim 34 or 35, wherein the pan/tilt is a 360-degree rotating pan/tilt.
- 根据权利要求26所述的拍摄装置,其特征在于,所述拍摄参数包括对焦电机位置和变焦倍率,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:The shooting device according to claim 26, wherein the shooting parameters include a focus motor position and a zoom magnification, and the processor implements the shooting adjustment operation based on the at least one set of shooting parameters. :根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的对焦电机对应的各个对焦电机位置,依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。According to the respective magnification values of the zoom magnification of the shooting device and the respective focus motor positions corresponding to the focus motor of the shooting device, the zoom magnification of the shooting device is adjusted in turn at each magnification value, and the focus motor is moved to The positions of the respective focus motors for shooting.
- 根据权利要求37所述的拍摄装置,其特征在于,所述处理器在实现所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还实现:37. The photographing device according to claim 37, wherein the processor moves the focus motor to the respective focus motor positions when the processor realizes the sequential adjustment of the zoom magnification of the photographing device to each magnification value. Before, it also realized:获取所述拍摄设备的多个对焦区块对应的合焦位置;Acquiring focus positions corresponding to multiple focus blocks of the photographing device;根据多个所述合焦位置,以及所述至少一个目标拍摄对象距离所述拍摄设备的物距,确定所述拍摄设备的对焦电机对应的所述各个对焦电机位置。Determine the respective focus motor positions corresponding to the focus motors of the shooting device according to the plurality of focus positions and the object distance of the at least one target shooting object from the shooting device.
- 根据权利要求37或38所述的拍摄装置,其特征在于,The photographing device according to claim 37 or 38, wherein:所述处理器在实现所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置之前,还实现:Before the processor realizes the sequential adjustment of the zoom magnification of the photographing device to the respective magnification values, before moving the focus motor to the respective focus motor positions, it also realizes:获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Acquiring the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device;所述处理器在实现所述依次调节所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄时,具体实现:When the processor realizes that the zoom magnification of the photographing device is sequentially adjusted to each magnification value, when the focus motor is moved to each of the focus motor positions for shooting, it specifically implements:调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Adjust the zoom magnification of the shooting device at each magnification value, and move the focus motor to each focus motor position in turn for shooting until the shooting device focuses to the corresponding farthest focusing object distance at each magnification value Until shooting.
- 根据权利要求39所述的拍摄装置,其特征在于,所述处理器在实现所述调节所述拍摄设备的变焦倍率为每个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄时,具体实现:The photographing device according to claim 39, wherein the processor sequentially moves the focus motor to each focus motor position for each magnification value of the adjustment of the zoom magnification of the photographing device. When shooting, the specific realization:调节所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一倍率值和所述第一对焦电机位置进行拍摄,并判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;Adjust the zoom magnification of the photographing device to the first magnification value, move the focus motor to the first focus motor position, shoot with the first magnification value and the first focus motor position, and determine the shooting Whether the device is currently focusing to the farthest focusing object distance corresponding to the first magnification value;若所述拍摄设备当前没有对焦到所述第一倍率值对应的最远对焦物距,则将所述对焦电机移动至第二对焦电机位置,以所述第一倍率值和所述第二对焦电机位置进行拍摄;If the photographing device is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focusing motor is moved to the second focusing motor position, and the first magnification value and the second focusing Motor position for shooting;若所述拍摄设备当前对焦到所述第一倍率值对应的最远对焦物距,则调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦 电机位置,以所述第二倍率值和所述第三对焦电机位置进行拍摄;If the photographing device is currently focused to the farthest focusing object distance corresponding to the first magnification value, the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the second magnification value and the third focus motor position;其中,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置、和所述第三对焦电机位置为不同的对焦电机位置。Wherein, the first magnification value and the second magnification value are different, and the first focus motor position, the second focus motor position, and the third focus motor position are different focus motor positions.
- 根据权利要求26所述的拍摄装置,其特征在于,所述拍摄参数包括对焦电机位置和视场角,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:The photographing device according to claim 26, wherein the shooting parameters include a focus motor position and a field of view, and when the processor implements the shooting adjustment operation based on the at least one set of shooting parameters, specifically accomplish:根据所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄。According to the position of each focus motor corresponding to the focus motor of the shooting device and the angles corresponding to the angle of view of the shooting device, the angle of view of the shooting device is sequentially adjusted to each angle, and the focus motor is moved To the respective focus motor positions for shooting.
- 根据权利要求41所述的拍摄装置,其特征在于,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度下,将所述对焦电机移动至所述各个对焦电机位置,以进行拍摄时,具体实现:The photographing device according to claim 41, wherein the processor moves the focus motor to each of the focus motor positions after realizing the sequential adjustment of the angle of view of the photographing device to various angles. , When shooting, the specific realization:调节所述拍摄设备的视场角为第一角度,将所述对焦电机移动至第一对焦电机位置,以所述第一角度和所述第一对焦电机位置进行拍摄;Adjusting the angle of view of the photographing device to a first angle, moving the focus motor to the first focus motor position, and shooting at the first angle and the first focus motor position;在以所述第一角度和所述第一对焦电机位置进行拍摄的拍摄操作拍摄完成时,将所述对焦电机移动至第二对焦电机位置,以所述第一角度和所述第二对焦电机位置进行拍摄;When the shooting operation of shooting at the first angle and the first focus motor position is completed, the focus motor is moved to the second focus motor position, and the first angle and the second focus motor position Location for shooting;调节所述拍摄设备的视场角为第二角度,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度和所述第一对焦电机位置进行拍摄;Adjusting the angle of view of the shooting device to a second angle, moving the focus motor to the first focus motor position, and shooting at the second angle and the first focus motor position;其中,所述第一角度和所述第二角度不同,所述第一对焦电机位置和所述第二对焦电机位置不同。Wherein, the first angle and the second angle are different, and the position of the first focus motor and the position of the second focus motor are different.
- 根据权利要求26所述的拍摄装置,其特征在于,所述拍摄参数包括变焦倍率和视场角,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:The shooting device according to claim 26, wherein the shooting parameters include a zoom magnification and a field of view, and the processor implements the shooting adjustment operation based on the at least one set of shooting parameters. :根据所述拍摄设备的变焦倍率的各个倍率值,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍率为所述各个倍率值,以进行拍摄。According to the various magnification values of the zoom magnification of the photographing device and the angles corresponding to the angle of view of the photographing device, sequentially adjust the angle of view of the photographing device to each angle, and adjust the zoom magnification of the photographing device Is the respective magnification value for shooting.
- 根据权利要求43所述的拍摄装置,其特征在于,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度下,调节所述拍摄设备的变焦倍 率为所述各个倍率值,以进行拍摄时,具体实现:The photographing device according to claim 43, wherein the processor adjusts the zoom magnification of the photographing equipment to the respective magnifications after realizing the sequential adjustment of the angle of view of the photographing equipment to various angles. Value to realize when shooting:调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,以所述第一角度和所述第一倍率值进行拍摄;Adjusting the angle of view of the photographing device to a first angle, the zoom magnification of the photographing device is a first magnification value, and shooting is performed at the first angle and the first magnification value;在以所述第一角度和所述第一倍率值进行拍摄的拍摄操作成时,调节所述拍摄设备的变焦倍率为第二倍率值,以所述第一角度和所述第二倍率值进行拍摄;When the shooting operation of shooting at the first angle and the first magnification value is completed, the zoom magnification of the shooting device is adjusted to the second magnification value, and the first angle and the second magnification value are used to perform the shooting operation. Filming在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,以所述第二角度和所述第一倍率值进行拍摄;When the shooting operation of shooting at the first angle is completed, the angle of view of the shooting device is adjusted to a second angle, the zoom magnification of the shooting device is the first magnification value, and the second angle is Shooting with the first magnification value;其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同。Wherein, the first angle and the second angle are different, and the first magnification value and the second magnification value are different.
- 根据权利要求26所述的拍摄装置,其特征在于,所述拍摄参数包括对焦电机位置、变焦倍率和视场角,所述处理器在实现所述基于所述至少一组拍摄参数进行拍摄调节操作时,具体实现:The photographing device according to claim 26, wherein the photographing parameters include a focus motor position, a zoom magnification, and a field of view, and the processor implements the photographing adjustment operation based on the at least one set of photographing parameters. When, the specific realization:根据所述拍摄设备的变焦倍率的各个倍率值,所述拍摄设备的对焦电机对应的各个对焦电机位置,以及所述拍摄设备的视场角对应的各个角度,依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄。According to the respective magnification values of the zoom magnification of the shooting device, the positions of the respective focus motors corresponding to the focus motors of the shooting device, and the respective angles corresponding to the angle of view of the shooting device, the field of view of the shooting device is sequentially adjusted The angles are various angles, and the zoom magnification of the photographing device is at various magnification values, and the focus motor is moved to each focus motor position for shooting.
- 根据权利要求45所述的拍摄装置,其特征在于,The photographing device according to claim 45, wherein:所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置之前,还实现:Before the processor realizes the sequential adjustment of the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device at various magnification values, before moving the focus motor to each focus motor position, it also implements :获取所述拍摄设备的变焦倍率的各个倍率值对应的最远对焦物距;Acquiring the farthest in-focus object distance corresponding to each magnification value of the zoom magnification of the photographing device;所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置,以进行拍摄时,具体实现:The processor moves the focus motor to each focus motor position to perform shooting when the processor realizes the sequential adjustment of the angle of view of the shooting device to various angles, and the zoom magnification of the shooting device is each magnification value. When, the specific realization:调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,依次将所述对焦电机移动至各个对焦电机位置进行拍摄,直至所述拍摄设备在每个倍率值下对焦到对应的最远对焦物距进行拍摄为止。Adjust the field of view of the photographing device to various angles, and the zoom magnification of the photographing device is at each magnification value, and the focus motor is sequentially moved to each focus motor position for shooting until the photographing device is at each magnification. Focus to the corresponding farthest object distance under the value to shoot.
- 根据权利要求46所述的拍摄装置,其特征在于,所述处理器在实现所述依次调节所述拍摄设备的视场角为各个角度,所述拍摄设备的变焦倍率为各个倍率值下,将所述对焦电机移动至各个对焦电机位置进行拍摄时,具体实现:The photographing apparatus according to claim 46, wherein the processor realizes the sequential adjustment of the angle of view of the photographing device to various angles, and the zoom magnification of the photographing device is each magnification value, and the When the focus motor is moved to each focus motor position for shooting, the specific implementation is as follows:调节所述拍摄设备的视场角为第一角度,所述拍摄设备的变焦倍率为第一倍率值,将所述对焦电机移动至第一对焦电机位置,以所述第一角度、所述第一倍率值和所述第一对焦电机位置进行拍摄,并判断所述拍摄设备当前是否对焦到所述第一倍率值对应的最远对焦物距;Adjust the angle of view of the photographing device to a first angle, the zoom magnification of the photographing device is a first magnification value, and the focus motor is moved to the position of the first focus motor. Shooting with a magnification value and the position of the first focus motor, and determining whether the shooting device is currently focused to the farthest focusing object distance corresponding to the first magnification value;若所述拍摄设备当前没有对焦到所述第一倍率值对应的最远对焦物距,则将所述对焦电机移动至第二对焦电机位置,以所述第一角度、所述第一倍率值和所述第二对焦电机位置进行拍摄;If the photographing device is not currently focusing to the farthest focusing object distance corresponding to the first magnification value, the focus motor is moved to the second focus motor position, and the first angle and the first magnification value Shooting with the second focus motor position;若所述拍摄设备当前对焦到所述第一倍率值对应的最远对焦物距,则调节所述拍摄设备的变焦倍率为第二倍率值,将所述对焦电机移动至所述第三对焦电机位置,以所述第一角度、所述第二倍率值和所述第三对焦电机位置进行拍摄;If the photographing device is currently focused to the farthest focusing object distance corresponding to the first magnification value, the zoom magnification of the photographing device is adjusted to the second magnification value, and the focusing motor is moved to the third focusing motor Position, shooting with the first angle, the second magnification value, and the third focus motor position;在以所述第一角度进行拍摄的拍摄操作完成时,调节所述拍摄设备的视场角为第二角度,所述拍摄设备的变焦倍率为所述第一倍率值,将所述对焦电机移动至所述第一对焦电机位置,以所述第二角度、所述第一倍率值和所述第一对焦电机位置进行拍摄;When the shooting operation of shooting at the first angle is completed, the angle of view of the shooting device is adjusted to the second angle, the zoom magnification of the shooting device is the first magnification value, and the focus motor is moved To the first focus motor position, shooting at the second angle, the first magnification value, and the first focus motor position;其中,所述第一角度和所述第二角度不同,所述第一倍率值和所述第二倍率值不同,所述第一对焦电机位置、所述第二对焦电机位置、和所述第三对焦电机位置为不同的对焦电机位置。Wherein, the first angle and the second angle are different, the first magnification value and the second magnification value are different, the first focusing motor position, the second focusing motor position, and the first The three focus motor positions are different focus motor positions.
- 根据权利要求26至47任一项所述的拍摄装置,其特征在于,所述处理器在实现所述保存所述至少一张图片之后,还实现:The photographing device according to any one of claims 26 to 47, wherein after the processor realizes the saving of the at least one picture, it further realizes:生成所述至少一张图片对应的图片索引,以基于所述图片索引显示所述至少一张图片。A picture index corresponding to the at least one picture is generated to display the at least one picture based on the picture index.
- 根据权利要求48所述的拍摄装置,其特征在于,所述图片索引包括可扩展标记语言文件。The photographing device according to claim 48, wherein the picture index comprises an extensible markup language file.
- 根据权利要求26至49任一项所述的拍摄装置,其特征在于,所述处理器在实现所述获取至少一张图片之后,还实现:The photographing device according to any one of claims 26 to 49, wherein after the processor implements the acquiring of at least one picture, it further implements:将所述至少一张图片进行图片融合处理,生成所述至少一张图片对应的合成图片。Perform picture fusion processing on the at least one picture to generate a composite picture corresponding to the at least one picture.
- 一种拍摄设备,其特征在于,所述拍摄设备包括如权利要求26至50中任一项所述的拍摄装置。A photographing equipment, characterized in that the photographing equipment comprises the photographing device according to any one of claims 26 to 50.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1至25中任一项所述的拍摄方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor realizes as described in any one of claims 1 to 25. The shooting method described.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/081835 WO2021189471A1 (en) | 2020-03-27 | 2020-03-27 | Photographing method, apparatus and device, and computer-readable storage medium |
CN202080005117.2A CN112823507A (en) | 2020-03-27 | 2020-03-27 | Photographing method, photographing device, photographing apparatus, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/081835 WO2021189471A1 (en) | 2020-03-27 | 2020-03-27 | Photographing method, apparatus and device, and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021189471A1 true WO2021189471A1 (en) | 2021-09-30 |
Family
ID=75858143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/081835 WO2021189471A1 (en) | 2020-03-27 | 2020-03-27 | Photographing method, apparatus and device, and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112823507A (en) |
WO (1) | WO2021189471A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006191524A (en) * | 2004-12-09 | 2006-07-20 | Nikon Corp | Auto framing device and photographing device |
US20140078325A1 (en) * | 2012-09-19 | 2014-03-20 | Canon Kabushiki Kaisha | Image capturing apparatus and control method therefor |
CN103873753A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Shooting method and electronic device |
CN104580901A (en) * | 2014-12-25 | 2015-04-29 | 魅族科技(中国)有限公司 | Shooting parameter determining method and terminal |
CN105516599A (en) * | 2015-12-31 | 2016-04-20 | 华勤通讯技术有限公司 | Automatic photographing method, device and mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102523376A (en) * | 2011-12-06 | 2012-06-27 | 鸿富锦精密工业(深圳)有限公司 | Shooting equipment and method |
CN107872614A (en) * | 2016-09-27 | 2018-04-03 | 中兴通讯股份有限公司 | A kind of image pickup method and filming apparatus |
WO2019176804A1 (en) * | 2018-03-16 | 2019-09-19 | 富士フイルム株式会社 | Image processing device, image capturing device, and image processing method |
CN110913139B (en) * | 2019-11-28 | 2022-03-25 | 维沃移动通信有限公司 | Photographing method and electronic equipment |
-
2020
- 2020-03-27 CN CN202080005117.2A patent/CN112823507A/en active Pending
- 2020-03-27 WO PCT/CN2020/081835 patent/WO2021189471A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006191524A (en) * | 2004-12-09 | 2006-07-20 | Nikon Corp | Auto framing device and photographing device |
US20140078325A1 (en) * | 2012-09-19 | 2014-03-20 | Canon Kabushiki Kaisha | Image capturing apparatus and control method therefor |
CN103873753A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Shooting method and electronic device |
CN104580901A (en) * | 2014-12-25 | 2015-04-29 | 魅族科技(中国)有限公司 | Shooting parameter determining method and terminal |
CN105516599A (en) * | 2015-12-31 | 2016-04-20 | 华勤通讯技术有限公司 | Automatic photographing method, device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112823507A (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104980644B (en) | A kind of image pickup method and device | |
RU2415513C1 (en) | Image recording apparatus, image recording method, image processing apparatus, image processing method and programme | |
KR101487516B1 (en) | Apparatus and method for multi-focus image capture using continuous auto focus | |
JP6106764B2 (en) | Imaging apparatus and time-lapse imaging method | |
CN102938825B (en) | A kind ofly to take pictures and the method for video and device | |
KR101503333B1 (en) | Image capturing apparatus and control method thereof | |
TWI399082B (en) | Display control device, display control method and program | |
TWI337286B (en) | Camera apparatus and program therefor | |
US8638372B2 (en) | Image capture unit with changeable image capture direction | |
JP4513903B2 (en) | Image processing apparatus and image processing method | |
WO2011064918A1 (en) | Image data creation support device and image data creation support method | |
CN104853105B (en) | The fast automatic focusing method of three-dimensional based on the inclined photographic device of controllable camera lens | |
CN106292162A (en) | Stereographic device and corresponding control methods | |
CN103813104A (en) | Method for realizing shift photography and three-dimensional multi-region automatic focusing through touch screen operation | |
WO2015192547A1 (en) | Method for taking three-dimensional picture based on mobile terminal, and mobile terminal | |
JP4241460B2 (en) | Electronic imaging device | |
CN104867125B (en) | Obtain the method and device of image | |
US20180262686A1 (en) | Shooting device, shooting method and shooting control method | |
JP2015059998A (en) | Photographing apparatus and imaging method | |
JP2013009189A (en) | Imaging device and imaging method | |
JP4640198B2 (en) | Electronic camera, multi-point simultaneous focusing frame display method, and program | |
JP6643036B2 (en) | Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium | |
WO2022156672A1 (en) | Photographing method and apparatus, electronic device and readable storage medium | |
JP6104077B2 (en) | Photographing equipment and photographing method | |
WO2021189471A1 (en) | Photographing method, apparatus and device, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20926812 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20926812 Country of ref document: EP Kind code of ref document: A1 |