CN113225480A - Image acquisition method, image acquisition device, electronic equipment and medium - Google Patents

Image acquisition method, image acquisition device, electronic equipment and medium Download PDF

Info

Publication number
CN113225480A
CN113225480A CN202110482214.7A CN202110482214A CN113225480A CN 113225480 A CN113225480 A CN 113225480A CN 202110482214 A CN202110482214 A CN 202110482214A CN 113225480 A CN113225480 A CN 113225480A
Authority
CN
China
Prior art keywords
acquisition
angle
preset
image
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110482214.7A
Other languages
Chinese (zh)
Inventor
杨民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Deep Vision Technology Nanjing Co ltd
Original Assignee
Deep Vision Technology Nanjing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Deep Vision Technology Nanjing Co ltd filed Critical Deep Vision Technology Nanjing Co ltd
Priority to CN202110482214.7A priority Critical patent/CN113225480A/en
Publication of CN113225480A publication Critical patent/CN113225480A/en
Priority to PCT/CN2022/086509 priority patent/WO2022228119A1/en
Priority to CN202280003451.3A priority patent/CN115769592A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Abstract

The embodiment of the application discloses an image acquisition method, an image acquisition device, electronic equipment and a medium. The method comprises the following steps: determining an acquisition angle difference value when two adjacent images are acquired according to a preset acquisition angle and the number of preset images; according to the acquisition angle difference, the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table are determined, so that the angle rotated by the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time; and controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain the collected images with the preset number of images. According to the technical scheme, the shooting of multiple angles of the object to be shot can be completed through one image collector, the problems that the shooting means is complex and the cost is high due to the fact that multiple image collectors are used are solved, and a low-cost scheme is provided for 3D content manufacturing.

Description

Image acquisition method, image acquisition device, electronic equipment and medium
Technical Field
The embodiment of the application relates to the technical field of machine vision, in particular to an image acquisition method, an image acquisition device, electronic equipment and a medium.
Background
Image acquisition is a means for acquiring real-time image information by utilizing a modern technology, and plays an important role in the modern multimedia technology. The method has wide application in the fields of daily life, biomedicine, aerospace and the like.
At present, in the application of image acquisition, multi-view images of an object are often required to be acquired so as to acquire multi-directional information of the object. However, multiple stereoscopic cameras are generally required to shoot multiple views synchronously, the cameras are complex to erect and need to be accurately corrected, shooting equipment is complex and high in cost, multiple cameras need to be carefully corrected during shooting every time, and operation is complex.
Disclosure of Invention
The embodiment of the application provides an image acquisition method, an image acquisition device, electronic equipment and a medium, which can finish the acquisition of multi-view images of an object by using the image acquisition device, thereby providing image materials for the production of 3D contents at lower cost.
In a first aspect, an embodiment of the present application provides an image capturing method, where an object to be photographed is placed on a turntable, and an image capturing device is located on one side of the turntable, and is used to capture an image of the object to be photographed on the turntable, where the method includes:
determining an acquisition angle difference value when two adjacent images are acquired according to a preset acquisition angle and the number of preset images;
according to the acquisition angle difference, the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table are determined, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time;
and controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain collected images with preset image quantity.
In a second aspect, an embodiment of the present application provides an image capturing apparatus, including:
the angle difference determining module is used for determining the acquisition angle difference when two adjacent images are acquired according to a preset acquisition angle and the number of preset images;
the determining module is used for determining the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table according to the acquisition angle difference value, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference value in the acquisition interval time;
and the image acquisition module is used for controlling the rotary table to rotate based on the target rotating speed and controlling the image collector to continuously acquire images of the object to be shot according to the acquisition interval time to obtain the acquired images with preset image quantity.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the image capturing method according to the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the image capturing method according to the present application.
According to the technical scheme provided by the embodiment of the application, the acquisition angle difference value when two adjacent images are acquired is determined according to the preset acquisition angle and the preset number of images; according to the acquisition angle difference, the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table are determined, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time; based on the target rotating speed, the rotating platform is controlled to rotate, the image collector is controlled to continuously collect images of the object to be shot according to the collection interval time, the shooting of the object to be shot at multiple angles through one image collector is completed, the limitation that multiple image collectors are used for obtaining multi-angle images in the prior art is overcome, and the effects of simplicity and convenience in measuring method and low cost are achieved.
Drawings
FIG. 1 is a flowchart of an image capturing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a shooting system provided in an embodiment of the present application;
FIG. 3 is a schematic view of a human eye simulating observation of a rotating object according to an embodiment of the present application;
FIG. 4 is a flowchart of an image capturing method according to a second embodiment of the present disclosure;
fig. 5 is a schematic diagram of multi-view image stitching provided in the second embodiment of the present application;
fig. 6 is a schematic diagram illustrating a stitching effect of a multi-view image according to a second embodiment of the present application;
fig. 7 is a schematic structural diagram of an image capturing device according to a third embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an image capturing method according to an embodiment of the present disclosure, where the present disclosure is applicable to a scene in which an image of an object that a user wishes to present conforms to an imaging habit of an eye of the user, and the method may be executed by an image capturing apparatus according to an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be integrated in an electronic device, and the electronic device may be an intelligent device such as a computer or a tablet computer.
As shown in fig. 1, the image acquisition method includes:
and S110, determining the difference value of the acquisition angles when two adjacent images are acquired according to the preset acquisition angles and the preset number of images.
The preset acquisition angle refers to the angle of an object to be shot, and can be set according to the requirements of a user.
Illustratively, as shown in fig. 2, fig. 2 is a schematic diagram of a camera system. The object to be shot is placed on the rotary table, and the image collector is located on one side of the rotary table and used for collecting images of the object to be shot on the rotary table. An object to be shot is placed on the middle rotary table, and the rotary table rotates at a certain rotating speed. The image collector is fixed at a position away from the object to be photographed by a certain distance, and the object to be photographed rotating on the turntable is photographed by using the shutter, wherein the interval time for controlling the image collector to trigger the shutter is the collection interval time, which may be 1s, 2s or other time, which is not limited in this embodiment. The electronic equipment is used for controlling the shooting of the image collector and the rotating speed of the rotary table. Optionally, the preset collection angle may be 360 degrees, 270 degrees, and the like, and the angle may be set according to the requirement of the user. If the preset collection angle is 360 degrees, the rotating platform rotates for a circle, and in the process of rotating for a circle, the image collector triggers the shutter at certain time intervals to shoot the rotating object to be shot. The present embodiment does not limit the position relationship between the image collector, the turntable, and the electronic device.
The preset image quantity refers to the actual quantity of collected images obtained after the rotation angle of an object to be shot on the rotary table reaches a preset collection angle.
For example, if the preset capturing angle is 360 degrees, the number of images captured by the image capturing device after the object to be captured rotates one circle is the preset number of images.
In this embodiment, optionally, the number of preset images may be determined according to a distance between the image acquirer and the object to be photographed, a pupil distance between two eyes, and a preset acquisition angle.
Illustratively, as shown in FIG. 3, FIG. 3 is a schematic view of a human eye simulated for viewing a rotating object. Wherein the left eye or the right eye represents an image collector, the eye distance between the left eye and the right eye is d, and the point B is the midpoint of a connecting line between the left eye and the right eye. The point a represents an object to be photographed, and the circle represents a turn table on which the object to be photographed is placed. The distance between the point A and the image collector is S. The included angle between the left eye and the two connecting lines of the point A and the right eye is the left-right eye parallax angle, and theta represents half of the left-right eye parallax angle and is called half left-right eye parallax angle. Firstly, calculating to obtain a half left-right eye parallax angle theta according to the eye distance and the distance S between the point A and the image collector, wherein the left-right eye parallax angle is 2 theta. When the rotation angle of the object to be shot is equal to the left-right eye parallax angle, the image collector presses the shutter once to obtain one image, when the object to be shot is rotated by the preset collection angle, the theoretical number of the images can be obtained, and the angle difference between the collected images shot at every two adjacent shutters is equal to the left-right eye parallax angle. The preset number of images may be determined based on a theoretical number of images, and the preset number of images may be greater than or equal to the theoretical number of images.
The acquisition angle difference is the rotation angle of the object to be shot between two adjacent shutter pressing times of the actually set image acquisition device. Since the number of the preset images is greater than or equal to the number of the theoretical images, that is, the number of the preset images may be different from the number of the theoretical images, the difference value of the collection angle needs to be calculated according to the preset collection angle and the number of the preset images.
And S120, determining the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table according to the acquisition angle difference value, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference value in the acquisition interval time.
For example, the acquisition interval time may be preset, and the target rotation speed of the turntable may be determined according to the acquisition angle difference and the acquisition interval time, so that the angle that the turntable rotates at the target rotation speed is consistent with the acquisition angle difference in the acquisition interval time. Illustratively, the target rotating speed r of the rotary table is calculated according to the acquisition angle difference value alpha and the acquisition interval time T, so that the rotating angle of the rotary table in the time T is alpha.
Or the target rotating speed can be preset, and the acquisition interval time is determined according to the acquisition angle difference and the target rotating speed of the rotary table, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time; illustratively, the acquisition interval time T is calculated according to the acquisition angle difference value α and the target rotation speed r of the turntable, so that the turntable rotates by the angle α within the time T.
In this embodiment, the image collector may be a video camera, a scanner, or other devices with a photographing function, such as a mobile phone and a tablet computer, which is not limited in this embodiment.
The acquisition interval time of the image collector is the time interval between the image collector and the adjacent two images, and the acquisition interval time of the image collector corresponds to the acquisition angle difference.
For example, if the acquisition angle difference is α, the time of the first image acquired by the image is T, and the time of the second image acquired by the image is T + T, the time interval between the two acquisitions is T, and the rotation angle of the object to be photographed on the rotating table is equal to the acquisition angle difference α within the time T.
Wherein the target rotating speed of the rotary table is the number of turns in unit time.
And S130, controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain collected images with preset image quantity.
Illustratively, a technician inputs the eye distance d of a user and the distance S between an object to be shot and an image collector into electronic equipment, and calculates a half left-right eye parallax angle theta; inputting the set preset acquisition angle into the electronic equipment, and calculating an acquisition angle difference value alpha when two adjacent images are acquired by the electronic equipment according to the preset acquisition angle and the half left-right eye parallax angle theta; inputting the acquisition interval time T of the image acquisition device into the electronic equipment, and calculating the target rotating speed of the rotary table by the electronic equipment according to the acquisition interval time T and the acquisition angle difference alpha; and the electronic equipment controls the rotary table to rotate at a target rotating speed according to the calculation result, and simultaneously controls the image collector to collect the images of the object to be shot rotating on the rotary table, so as to finally obtain the collected images with the preset number of images. In this embodiment, the electronic device may be a device, such as a computer, for calculating a target rotation speed of the turntable and controlling the rotation of the turntable.
According to the technical scheme provided by the embodiment of the application, the acquisition angle difference value when two adjacent images are acquired is determined according to the preset acquisition angle and the preset number of images; determining the target rotating speed of the rotary table according to the acquisition angle difference and the acquisition interval time of the image acquisition device; based on the target rotating speed, the rotating platform is controlled to rotate, the image collector is controlled to continuously collect images of the object to be shot according to the collection interval time, the shooting of the object to be shot at multiple angles through one image collector is completed, the limitation that multiple image collectors are used for obtaining multi-angle images in the prior art is overcome, and the effects of simplicity and convenience in measuring method and low cost are achieved.
Example two
Fig. 4 is a flowchart of an image capturing method in the second embodiment of the present application, which is optimized based on the above embodiments, and for details described in the embodiments of the present application, the above embodiments are described in detail.
As shown in fig. 4, the method of this embodiment specifically includes the following steps:
and S210, determining the parallax angle of the left eye and the right eye according to the distance between the image collector and the object to be shot and the pupil distance of the two eyes.
Illustratively, the interpupillary distance between two eyes is d, and the distance between the object to be photographed and the image collector is S, then the parallax angle of the left and right half eyes can be calculated by the following formula:
Figure BDA0003049703560000081
the left and right eye parallax angle is 2 theta.
And S220, determining the number of preset images according to the ratio of the preset acquisition angle to the parallax angle of the left eye and the right eye.
For example, if the preset acquisition angle is 360 ° and the preset number of images is N, then N can be determined according to the following formula:
Figure BDA0003049703560000082
wherein the content of the first and second substances,
Figure BDA0003049703560000083
i.e. the theoretical number of images.
And S230, determining the difference value of the acquisition angles when two adjacent images are acquired according to the preset acquisition angles and the preset number of images.
For example, if the difference between the acquisition angles of two adjacent images is α, α can be calculated by the following formula:
Figure BDA0003049703560000091
at the moment, alpha is less than or equal to theta, namely, the frequency of the image acquisition device is higher, the overlapping part of two adjacent acquired images is more, the number of the acquired images is more, and the selection and splicing application of subsequent target images are more convenient.
S240, according to the acquisition angle difference, determining acquisition interval time of an image acquisition device and a target rotating speed of the rotary table, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time;
optionally, the acquisition interval time may be preset, and the target rotation speed of the turntable is determined according to the acquisition angle difference and the acquisition interval time, so that the angle of the turntable rotating at the target rotation speed is consistent with the acquisition angle difference within the acquisition interval time. The acquisition time required for the acquisition angle to reach the preset acquisition angle can be determined according to the following formula:
Figure BDA0003049703560000092
wherein T 'is the acquisition time required for the acquisition angle to reach the preset acquisition angle, theta' is the preset acquisition angle, alpha is the acquisition angle difference, and T is the acquisition interval time.
And determining the rotation time required by the rotation of the turntable for one circle according to the preset acquisition angle and the 360-degree angle. Assuming that the time required for one rotation of the turntable is T ', T' can be calculated according to the following formula:
Figure BDA0003049703560000093
and finally, determining the target rotating speed of the rotary table according to the rotating time required by one turn of rotation of the rotary table.
Wherein, the target rotating speed of the turntable is the number of turns which can be rotated in a unit time t.
Assuming the target rotating speed of the turntable as r, r can be calculated according to the following formula:
Figure BDA0003049703560000101
or determining the acquisition interval time according to the acquisition angle difference and the target rotating speed of the rotary table, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time; for example, if the acquisition angle difference and the target rotation speed of the turntable are known, the rotation time T ", T" required for one rotation of the turntable is calculated according to the following formula:
Figure BDA0003049703560000102
wherein r is the target rotating speed of the rotary table.
And calculating the acquisition time T 'required by the rotation angle of the rotary table to reach the preset acquisition angle according to the rotation time required by the rotary table rotating for one circle, wherein the T' can be calculated according to the following formula:
Figure BDA0003049703560000103
wherein θ' is a preset collection angle.
And finally, calculating the acquisition interval time T of the image acquisition device according to the acquisition time required by the acquisition angle of the rotary table to reach a preset acquisition angle and the acquisition angle difference, wherein the T can be calculated according to the following formula:
Figure BDA0003049703560000104
wherein alpha is the acquisition angle difference.
S250, based on the target rotating speed, the rotating platform is controlled to rotate, and the image collector is controlled to continuously collect images of the object to be shot according to the collecting interval time, so that collected images with preset image quantity are obtained.
And S260, in the collected images corresponding to the view angle range of the preset viewpoint, if the difference value of the collection angles of any two collected images meets the left-right eye view difference angle, taking the two collected images as target images.
The preset viewpoint is a viewpoint point for observing the object to be shot from a certain angle and a certain distance, and the preset viewpoint can be set according to the requirements of users. The angle of view range is the spatial range that can be seen when looking at the object to be photographed from a preset viewpoint. The object to be shot is seen from a certain angle and different distances away from the object, and the visual angle ranges are different.
For example, after acquiring images of a preset number of images, setting a preset viewpoint to be a due north direction 1 m away from the article, finding out an image within a view angle range of the due north direction from the acquired images, and if an acquisition angle difference between the acquired image a and the acquired image B is equal to a left-eye and right-eye view difference angle, selecting the acquired image a and the acquired image B as a target image, and obtaining a view angle image of the due north direction view angle after stitching. When the target images are spliced to obtain the visual angle images, attention needs to be paid to the splicing sequence of the target images so as to meet the visual effect of human eyes. For example, if the turntable rotates clockwise when viewed from a top view angle, the turntable rotates from right to left relative to the image collector, and the target image a is collected first and then the target image b is collected, the target image a is taken as a viewing image in a left eye view angle, and the target image b is taken as a viewing image in a right eye view angle, that is, the target image a is placed on the left side of the target image b for splicing. If the turntable rotates anticlockwise under the overlooking angle, the turntable rotates from left to right relative to the image collector to collect the target image a firstly and collect the target image b secondly, the target image a is used as a watching image under the right eye viewing angle, the target image b is used as a watching image under the left eye viewing angle, and the target image b is placed on the left side of the target image a for splicing.
The embodiment can obtain the image according with the eye imaging habit of the user according to the visual angle difference of the user.
And S270, constructing a multi-view image according to the target image.
After acquiring images of a preset number of images, acquiring a set of target images from different preset viewpoints at a fixed distance. And splicing the target images obtained according to each preset viewpoint to obtain the view angle images corresponding to the viewpoints, and further constructing the multi-view image according to the view angle images of the viewpoints.
Illustratively, as shown in fig. 5, fig. 5 is a schematic diagram of multi-view image stitching. 9 target images were obtained from 9 preset viewpoints. Then, the 9 images are horizontally and vertically reduced to 1/3, and finally spliced into 9 grid pictures, and the splicing effect picture is shown in fig. 6. The graph can simulate 9-view parallax relation according to the rotation angle of the turntable. In the embodiment of the present application, the target images may also be arranged and output in the frame order.
According to the technical scheme provided by the embodiment of the application, the parallax angle of the left eye and the right eye is determined according to the distance between the image collector and the object to be shot and the interpupillary distance of the two eyes; determining the number of preset images according to the ratio of a preset acquisition angle to the parallax angle of the left eye and the right eye; determining an acquisition angle difference value when two adjacent images are acquired according to a preset acquisition angle and the number of preset images; determining the acquisition time required by the acquisition angle to reach the preset acquisition angle according to the preset acquisition angle, the acquisition angle difference value and the acquisition interval time; determining the rotation time required by the rotary table to rotate for one circle according to a preset acquisition angle and a 360-degree angle; determining the target rotating speed of the rotary table according to the rotating time required by the rotary table to rotate for one circle; controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain the collected images with the preset number of images; selecting any two images of which the difference value of the acquisition angles meets the left eye and right eye parallax angles from the acquired images corresponding to the visual angle range of the preset viewpoint as target images; and obtaining a multi-view image according to the target image. The scheme can realize presenting images according with personal eye imaging habits according to the eye distance and the visual angle difference of different users by the means, and achieves the effect of presenting diversity of the images.
EXAMPLE III
Fig. 7 is a block diagram of an image capturing device according to a third embodiment of the present application, where the device is capable of executing an image capturing method according to any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 7, the apparatus may include:
an angle difference determining module 310, configured to determine, according to a preset acquisition angle and a preset number of images, an acquisition angle difference when two adjacent images are acquired;
a determining module 320, configured to determine, according to the acquisition angle difference, acquisition interval time of the image acquirer and a target rotation speed of the turntable, so that an angle that the turntable rotates at the target rotation speed is consistent with the acquisition angle difference in the acquisition interval time;
and the image obtaining module 330 is configured to control the turntable to rotate based on the target rotation speed, and control the image collector to continuously collect images of the object to be photographed according to the collection interval time, so as to obtain collected images of a preset number of images.
The angle difference determination module 310 includes:
and the preset image quantity determining unit is used for determining the quantity of the preset images according to the distance between the image collector and the object to be shot, the pupil distance of two eyes and the preset collecting angle.
The determination module 320 includes:
and the first acquisition time determining unit is used for determining the acquisition time required by the acquisition angle reaching the preset acquisition angle according to the acquisition angle difference and the acquisition interval time of the image acquisition device.
And the first rotation time determining unit is used for determining the rotation time required by one rotation of the rotary table according to the preset acquisition angle and the 360-degree angle.
A target rotation speed determination unit for determining a target rotation speed of the turntable according to a rotation time required for one rotation of the turntable, or the determination module 320 includes:
and the second rotation time determining unit is used for determining the rotation time required by one rotation of the rotary table according to the target rotation speed of the rotary table.
And the second acquisition time determining unit is used for determining the acquisition time required by the rotation angle of the rotary table to reach a preset acquisition angle according to the rotation time required by the rotary table rotating for one circle.
And the acquisition interval time determining unit is used for determining the acquisition interval time of the image acquisition device according to the acquisition time required by the acquisition angle of the rotary table reaching a preset acquisition angle and the acquisition angle difference value.
The preset image quantity determining unit is specifically used for determining the parallax angle of the left eye and the right eye according to the distance between the image collector and the object to be shot and the pupil distance of the two eyes; and determining the number of preset images according to the ratio of the preset acquisition angle to the parallax angle of the left eye and the right eye.
The acquisition time determining unit is specifically configured to determine acquisition time required for an acquisition angle to reach a preset acquisition angle according to the following formula:
Figure BDA0003049703560000141
wherein T 'is the acquisition time required for the acquisition angle to reach the preset acquisition angle, theta' is the preset acquisition angle, alpha is the acquisition angle difference, and T is the acquisition interval time.
The device also includes:
and a target image selecting module 340, configured to select a target image from the collected images according to the collection angle difference and a preset viewpoint.
A multi-view image constructing module 350, configured to construct a multi-view image according to the target image.
The target image selection module is specifically configured to, in the collected images corresponding to the view angle range of the preset viewpoint, if a difference value of the collection angles of any two collected images meets a left-right eye view difference angle, use the two collected images as the target image.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 8 is a schematic structural diagram of an electronic device in a fourth embodiment of the present application. FIG. 8 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present application. The electronic device 12 shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in FIG. 8, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, and commonly referred to as a "hard drive"). Although not shown in FIG. 8, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. In the electronic device 12 of the present embodiment, the display 24 is not provided as a separate body but is embedded in the mirror surface, and when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, to implement the image capturing method provided in the embodiment of the present application:
determining an acquisition angle difference value when two adjacent images are acquired according to a preset acquisition angle and the number of preset images;
according to the acquisition angle difference, the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table are determined, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time;
and controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain collected images with preset image quantity.
EXAMPLE five
An embodiment five of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the image capturing method provided in all the inventive embodiments of the present application:
determining an acquisition angle difference value when two adjacent images are acquired according to a preset acquisition angle and the number of preset images;
according to the acquisition angle difference, the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table are determined, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time;
and controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain collected images with preset image quantity.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that it is not limited to the particular embodiments described herein, but is capable of various obvious modifications, rearrangements and substitutions without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. An image acquisition method is characterized in that an object to be shot is placed on a rotary table, an image acquisition device is positioned on one side of the rotary table and used for acquiring images of the object to be shot on the rotary table, and the method comprises the following steps:
determining an acquisition angle difference value when two adjacent images are acquired according to a preset acquisition angle and the number of preset images;
according to the acquisition angle difference, the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table are determined, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference in the acquisition interval time;
and controlling the rotary table to rotate based on the target rotating speed, and controlling the image collector to continuously collect images of the object to be shot according to the collection interval time to obtain collected images with preset image quantity.
2. The method according to claim 1, wherein the determining of the number of preset images comprises:
and determining the number of preset images according to the distance between the image collector and the object to be shot, the interpupillary distance between two eyes and a preset collection angle.
3. The method of claim 2, wherein determining the number of preset images according to the distance between the image collector and the object to be photographed, the interpupillary distance between two eyes and the preset collection angle comprises:
determining a left eye parallax angle and a right eye parallax angle according to the distance between the image collector and an object to be shot and the pupil distance of two eyes;
and determining the number of preset images according to the ratio of the preset acquisition angle to the parallax angle of the left eye and the right eye.
4. The method of claim 1, wherein determining the acquisition interval time of the image acquisition device and the target rotation speed of the turntable comprises:
according to the acquisition angle difference and the acquisition interval time of the image acquisition device, determining the acquisition time required by the acquisition angle reaching a preset acquisition angle;
determining the rotation time required by the rotary table to rotate for one circle according to the preset acquisition angle and the 360-degree angle;
determining the target rotating speed of the rotary table according to the rotating time required by the rotary table to rotate for one circle; alternatively, the first and second electrodes may be,
determining the rotation time required by the rotary table to rotate for one circle according to the target rotation speed of the rotary table;
determining the acquisition time required by the rotation angle of the rotary table to reach a preset acquisition angle according to the rotation time required by the rotary table rotating for one circle;
and determining the acquisition interval time of the image acquisition device according to the acquisition time required by the acquisition angle of the rotary table reaching a preset acquisition angle and the acquisition angle difference value.
5. The method of claim 4, wherein determining the acquisition time required for the acquisition angle to reach the preset acquisition angle according to the acquisition angle difference and the acquisition interval time of the image acquisition device comprises:
determining the acquisition time required by the acquisition angle to reach the preset acquisition angle according to the following formula:
Figure FDA0003049703550000021
wherein T 'is the acquisition time required for the acquisition angle to reach the preset acquisition angle, theta' is the preset acquisition angle, alpha is the acquisition angle difference, and T is the acquisition interval time.
6. The method of claim 1, wherein after obtaining a preset number of images of the captured images, the method further comprises:
selecting a target image from the collected images according to the collection angle difference and a preset viewpoint;
and constructing a multi-view image according to the target image.
7. The method of claim 6, wherein selecting a target image from the captured images according to the capturing angle difference and a preset viewpoint comprises:
and in the collected images corresponding to the view angle range of the preset viewpoint, if the difference value of the collection angles of the two collected images meets the left-right eye view difference angle, taking the two collected images as target images.
8. An image acquisition apparatus, comprising:
the angle difference determining module is used for determining the acquisition angle difference when two adjacent images are acquired according to a preset acquisition angle and the number of preset images;
the determining module is used for determining the acquisition interval time of the image acquisition device and the target rotating speed of the rotary table according to the acquisition angle difference value, so that the rotating angle of the rotary table at the target rotating speed is consistent with the acquisition angle difference value in the acquisition interval time;
and the image acquisition module is used for controlling the rotary table to rotate based on the target rotating speed and controlling the image collector to continuously acquire images of the object to be shot according to the acquisition interval time to obtain the acquired images with preset image quantity.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the image acquisition method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the image acquisition method according to any one of claims 1 to 7.
CN202110482214.7A 2021-04-30 2021-04-30 Image acquisition method, image acquisition device, electronic equipment and medium Withdrawn CN113225480A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202110482214.7A CN113225480A (en) 2021-04-30 2021-04-30 Image acquisition method, image acquisition device, electronic equipment and medium
PCT/CN2022/086509 WO2022228119A1 (en) 2021-04-30 2022-04-13 Image acquisition method and apparatus, electronic device, and medium
CN202280003451.3A CN115769592A (en) 2021-04-30 2022-04-13 Image acquisition method, image acquisition device, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110482214.7A CN113225480A (en) 2021-04-30 2021-04-30 Image acquisition method, image acquisition device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN113225480A true CN113225480A (en) 2021-08-06

Family

ID=77090693

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110482214.7A Withdrawn CN113225480A (en) 2021-04-30 2021-04-30 Image acquisition method, image acquisition device, electronic equipment and medium
CN202280003451.3A Pending CN115769592A (en) 2021-04-30 2022-04-13 Image acquisition method, image acquisition device, electronic device, and medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202280003451.3A Pending CN115769592A (en) 2021-04-30 2022-04-13 Image acquisition method, image acquisition device, electronic device, and medium

Country Status (2)

Country Link
CN (2) CN113225480A (en)
WO (1) WO2022228119A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923317A (en) * 2021-08-30 2022-01-11 珠海视熙科技有限公司 Camera frame synchronization test method, device and storage medium
WO2022228119A1 (en) * 2021-04-30 2022-11-03 纵深视觉科技(南京)有限责任公司 Image acquisition method and apparatus, electronic device, and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170064289A1 (en) * 2015-08-26 2017-03-02 Holumino Limited System and method for capturing and displaying images
CN107659772B (en) * 2017-09-26 2020-10-09 歌尔科技有限公司 3D image generation method and device and electronic equipment
WO2020019201A1 (en) * 2018-07-25 2020-01-30 深圳市大疆创新科技有限公司 Method for capturing image and mobile platform
CN110113537A (en) * 2019-06-12 2019-08-09 北京百度网讯科技有限公司 Rotary taking system, method and apparatus
CN111757084A (en) * 2020-07-30 2020-10-09 北京博清科技有限公司 Acquisition method and acquisition device for three-dimensional image and readable storage medium
CN113225480A (en) * 2021-04-30 2021-08-06 纵深视觉科技(南京)有限责任公司 Image acquisition method, image acquisition device, electronic equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228119A1 (en) * 2021-04-30 2022-11-03 纵深视觉科技(南京)有限责任公司 Image acquisition method and apparatus, electronic device, and medium
CN113923317A (en) * 2021-08-30 2022-01-11 珠海视熙科技有限公司 Camera frame synchronization test method, device and storage medium
CN113923317B (en) * 2021-08-30 2022-11-15 珠海视熙科技有限公司 Camera frame synchronization test method, device and storage medium

Also Published As

Publication number Publication date
CN115769592A (en) 2023-03-07
WO2022228119A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
US11748906B2 (en) Gaze point calculation method, apparatus and device
WO2021012855A1 (en) Panoramic image generating system and panoramic image generating method
US10021340B2 (en) Method and an apparatus for generating data representative of a light field
US9286718B2 (en) Method using 3D geometry data for virtual reality image presentation and control in 3D space
WO2017028498A1 (en) 3d scenario display method and apparatus
CN109934931B (en) Method and device for collecting image and establishing target object recognition model
JP2012084146A (en) User device and method providing augmented reality (ar)
CN115769592A (en) Image acquisition method, image acquisition device, electronic device, and medium
CN101673395A (en) Image mosaic method and image mosaic device
CN111737518A (en) Image display method and device based on three-dimensional scene model and electronic equipment
EP2787735A1 (en) Image processing device, image processing method and program
CN108616733B (en) Panoramic video image splicing method and panoramic camera
CN102692806A (en) Methods for acquiring and forming free viewpoint four-dimensional space video sequence
US20150326847A1 (en) Method and system for capturing a 3d image using single camera
CN113079364A (en) Three-dimensional display method, device, medium and electronic equipment for static object
CN108282650B (en) Naked eye three-dimensional display method, device and system and storage medium
CN107786808B (en) Method and apparatus for generating data representative of a shot associated with light field data
CN105791663A (en) Distance estimating system and distance estimating method
CN109587572B (en) Method and device for displaying product, storage medium and electronic equipment
Baker et al. CasualStereo: Casual capture of stereo panoramas with spherical structure-from-motion
Popovic et al. Image blending in a high frame rate FPGA-based multi-camera system
EP3188123A1 (en) A method and an apparatus for generating data representative of a pixel beam
Gava et al. Dense scene reconstruction from spherical light fields
EP3882846B1 (en) Method and device for collecting images of a scene for generating virtual reality data
US20190101765A1 (en) A method and an apparatus for generating data representative of a pixel beam

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210806

WW01 Invention patent application withdrawn after publication