CN114390182B - Shooting method and device and electronic equipment - Google Patents

Shooting method and device and electronic equipment Download PDF

Info

Publication number
CN114390182B
CN114390182B CN202210119409.XA CN202210119409A CN114390182B CN 114390182 B CN114390182 B CN 114390182B CN 202210119409 A CN202210119409 A CN 202210119409A CN 114390182 B CN114390182 B CN 114390182B
Authority
CN
China
Prior art keywords
lens
liquid crystal
region
shooting
focal length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210119409.XA
Other languages
Chinese (zh)
Other versions
CN114390182A (en
Inventor
黄春成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210119409.XA priority Critical patent/CN114390182B/en
Publication of CN114390182A publication Critical patent/CN114390182A/en
Application granted granted Critical
Publication of CN114390182B publication Critical patent/CN114390182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses a shooting method, a shooting device and electronic equipment, and belongs to the field of shooting. The shooting method is applied to a shooting device, the shooting device comprises a camera module, the camera module comprises a liquid crystal lens, and the method comprises the following steps: applying a first voltage to a first lens subregion of the liquid crystal lens so that a first focal length of the first lens subregion is different from a focal length of a second lens subregion of the liquid crystal lens; controlling the camera module to shoot an image based on the first focal length; wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.

Description

Shooting method and device and electronic equipment
Technical Field
The application belongs to the field of image pickup, and particularly relates to a shooting method, a shooting device and electronic equipment.
Background
With the rapid development of electronic equipment technology, the development of the camera device is also more and more rapid, and how to well utilize the camera device is an important problem to be solved at present.
However, the current image capturing device cannot capture the effect of different objects with different resolutions under the same depth of field.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, a shooting device and electronic equipment, which can realize different definition of different objects under the same depth of field.
In a first aspect, an embodiment of the present application provides a photographing method, where the photographing method is applied to a photographing device, the photographing device includes a camera module, the camera module includes a liquid crystal lens, and the method includes:
applying a first voltage to a first lens subregion of the liquid crystal lens so that a first focal length of the first lens subregion is different from a focal length of a second lens subregion of the liquid crystal lens;
controlling the camera module to shoot an image based on the first focal length;
Wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.
In a second aspect, an embodiment of the present application provides a photographing apparatus, where the photographing apparatus includes a camera module, the camera module includes a liquid crystal lens, and the photographing apparatus includes:
A voltage application module, configured to apply a first voltage to a first lens sub-region of the liquid crystal lens so that a first focal length of the first lens sub-region is different from a focal length of a second lens sub-region of the liquid crystal lens;
The control module is used for controlling the camera module to shoot images based on the first focal length; wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the photographing method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the shooting method according to the first aspect.
In the embodiment of the application, the first voltage is applied to the first lens subarea of the liquid crystal lens in the image pickup module in the image pickup device, so that the first focal length of the first lens subarea is different from the focal length of the second lens subarea of the liquid crystal lens, the image pickup module is controlled to pick up the image based on the first focal length, and the definition of the object of the picked-up image in the first lens subarea is different from the definition of the object in the second lens subarea, thereby realizing the different definition of the image of the object under the same depth of field.
Drawings
Fig. 1 is one of schematic structural views of a liquid crystal lens according to an exemplary embodiment of the present application;
fig. 2 is a second schematic diagram showing a structure of a liquid crystal lens according to an exemplary embodiment of the present application;
fig. 3 is a third schematic diagram of the structure of a liquid crystal lens according to an exemplary embodiment of the present application;
fig. 4 is a schematic diagram showing a structure of a liquid crystal lens according to an exemplary embodiment of the present application;
Fig. 5 is a schematic diagram showing a principle that a liquid crystal lens photographs an object under the same depth of field according to an exemplary embodiment of the present application;
Fig. 6 is a flowchart illustrating a photographing method according to an exemplary embodiment of the present application;
Fig. 7 is one of schematic views of area division of a liquid crystal lens according to an exemplary embodiment of the present application;
fig. 8 is a second schematic view of area division of a liquid crystal lens according to an exemplary embodiment of the present application;
fig. 9 is a schematic diagram showing photographing of a liquid crystal lens in the related art according to an exemplary embodiment of the present application;
Fig. 10 is a schematic view showing photographing of a liquid crystal lens in an embodiment of the present application according to an exemplary embodiment of the present application;
fig. 11 is a block diagram of a photographing apparatus according to an exemplary embodiment of the present application;
FIG. 12 is a block diagram of an electronic device, according to an exemplary embodiment of the present application;
fig. 13 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
As described in the background art, in the prior art, the liquid crystal lens may continuously adjust different focal lengths by voltage, so as to achieve focusing. Specifically, the arrangement of liquid crystal molecules in the liquid crystal lens can be controlled by applying two different voltages, when the two different voltages are applied to the liquid crystal lens, the magnetic field of the liquid crystal layer can be changed due to the two voltages, so that the phase difference of light passing through the liquid crystal lens is changed, and further the focal length is changed, and thus the focal length can be adjusted through different arrangements, and focusing is realized. The focal length is adjusted by applying two different voltages, which can be achieved specifically by:
As shown in fig. 1, fig. 1 to 4 are liquid crystal lenses constituting a liquid crystal lens, wherein fig. 1 is a front view of the liquid crystal lens, fig. 2 to 3 are sectional views of fig. 1, and fig. 4 is a top view of fig. 1. The liquid crystal lens includes an upper glass substrate 11 and a lower glass substrate 12, and a liquid crystal layer 13 between the upper glass substrate 11 and the lower glass substrate 12.
Before no voltage is applied, v0=v1, the arrangement of liquid crystal molecules in the liquid crystal layer is relatively uniform (as in fig. 2), and when a different voltage is applied (i.e., v0+.v1), the arrangement of liquid crystal molecules changes (as in fig. 3).
In fig. 1 to 4, V1 is a voltage value of a portion enclosed by the elliptical lens subregion a in fig. 1, and V0 is a voltage value of other portions of the liquid crystal lens except for the elliptical lens subregion a.
When different voltage values are applied to the liquid crystal lens (namely v0+.v1), the voltages of the elliptical lens subregion a and other lens subregions in the liquid crystal lens are different, a voltage difference occurs, and according to the voltage difference between the circle a part and other parts in the liquid crystal lens, the focal length of the liquid crystal lens can be determined, specifically, the focal length can be determined based on the following formula:
where D is the aperture of the liquid crystal lens, λ is the wavelength of light incident into the liquid crystal lens, and Δδ is the phase difference between the circular portion a and the other portion of the liquid crystal lens (i.e., the voltage difference between the elliptical lens sub-area a and the other sub-lens area of the liquid crystal lens).
The lens subregions here may be regions dividing all of the liquid crystal lens regions of fig. 1-4.
After different voltages are applied to the liquid crystal lens, the focal length of the liquid crystal lens can be calculated through the formula (1).
When an object under a certain depth of field is photographed, for example, as shown in fig. 1, when two different voltages are applied to the liquid crystal lens, for example, a voltage V1 is applied to the elliptical lens subregion a portion and a voltage V0 is applied to the portion other than the elliptical lens subregion a portion, so that the liquid crystal molecules in the elliptical lens subregion a portion can be changed, and when only two different voltages are applied, the phase difference between the elliptical lens subregion a and the lens subregion at the portion other than the elliptical lens subregion a is only one value, as can be seen from the formula (1), when the phase difference between the elliptical lens subregion a and the lens subregion at the portion other than the elliptical lens subregion a is a certain value, a focal length can be generated, and the object under a certain depth of field is at a focal point corresponding to the focal length, that is the same definition for the object under the certain depth of field, and the definition of the object under the certain depth of field cannot be realized. The principle is as follows:
When two different voltages are applied to the liquid crystal lens, only one focal length can be generated on the imaging surface of the liquid crystal lens, and the whole imaging surface can be focused by changing f according to a Gaussian imaging formula (shown as a formula (2)), and if v is unchanged (i.e. for an object under the same depth of field), u is unchanged (i.e. the distance between the imaged image and the liquid crystal lens is the same, i.e. the imaged image is the same definition).
1/f=1/u+1/v (2)
Where f is the focal length, u is the object distance, and v is the image distance.
In some embodiments of the present application, u is the distance between the photographed object and the liquid crystal lens, and v is the distance between the image formed by the photographed object and the liquid crystal lens.
In one example, according to the imaging principle described above, as shown in fig. 5, when two different voltages are applied to the liquid crystal lens 51 for the object 1, the object 2, and the object 3 under a certain depth of field, a focal length is generated, where the object 1, the object 2, and the object 3 photographed by the focal length are all in the same sharpness, and the object 1 cannot be made sharp, and the object 2 and the object 3 are blurred.
It should be noted that, the liquid crystal lens is similar to a convex lens, and during imaging, mainly depends on the convex portion in the middle of the liquid crystal lens (i.e. the portion where the elliptical lens subregion a is located in fig. 1), and after different voltages are applied to the liquid crystal lens (i.e. the voltage V1 is applied to the portion where the elliptical lens subregion a is located, and the voltage V0 is applied to the portion of the lens subregion other than the elliptical lens subregion a), so that the arrangement mode of the liquid crystal molecules in the portion where the elliptical lens subregion a is located is changed, and a focal length is generated.
Based on the principle of the liquid crystal lens imaging, in order to solve the problem that the definition of different areas is different under the condition that the same depth of field cannot be achieved in the prior art, the embodiment of the application can apply the first voltage to the first lens subarea of the liquid crystal lens in the image pickup module in the image pickup device, so that the first focal length of the first lens subarea is different from the focal length of the second lens subarea of the liquid crystal lens, and the camera module can be controlled to pick up an image based on the first focal length, so that the definition of an object in the first lens subarea of the picked-up image is different from the definition of an object in the second lens subarea, and the definition of the object under the same depth of field is different.
The shooting method provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The following first exemplifies two specific shooting scenes, and the following embodiments will be described by taking these two shooting scenes as examples:
shooting a first scene: the shooting scene may be a scenery map, in which there is a flower and grass around the flower. Wherein the flowers and the grass are two different objects under the same depth of field.
Shooting a second scene: the shooting scene can be shown in fig. 5, which shows three objects, object 1, object 2 and object 3. Wherein object 1, object 2 and object 3 are located at the same depth of field.
Fig. 6 is a schematic flow chart of a photographing method provided by an embodiment of the present application, an execution subject of the photographing method may be a photographing device, the photographing device may include a camera module, the camera module may include a liquid crystal lens, the liquid crystal lens may include the liquid crystal lenses of fig. 1 to 4, the liquid crystal lens may include at least two lens sub-areas, and each lens sub-area is provided with an electrode respectively. The execution body is not limited to the present application.
In some embodiments of the present application, the liquid crystal lens may be divided into at least two lens sub-areas, as shown in fig. 7 (a) and fig. 7 (b), where fig. 7 (a) and fig. 7 (b) are top views of the liquid crystal lens in fig. 1, the liquid crystal lens may be divided into 4 lens sub-areas (as shown in fig. 7 (a)), and the liquid crystal lens may be further divided into 8 lens sub-areas (as shown in fig. 7 (b)), and specifically, the number of lens sub-areas into which the liquid crystal lens is divided may be set according to the user's needs.
In fig. 7 (a) and 7 (b), the liquid crystal lens may be equally divided or not, and the shape of the division may be set according to the user's needs, which is not limited herein.
In fig. 7 (a) and fig. 7 (b), the portions of the liquid crystal lens other than the elliptical lens subregion a may be divided, or the portions of the liquid crystal lens other than the elliptical lens subregion a may be divided, as shown in fig. 8, and the specific dividing manner may be set according to the user's needs, which is not limited herein.
As shown in fig. 6, the photographing method provided by the embodiment of the present application may include steps 610 to 620.
Step 610, applying a first voltage to a first lens sub-region of the liquid crystal lens so that a first focal length of the first lens sub-region is different from a focal length of a second lens sub-region of the liquid crystal lens.
The second lens subregion may be any one of lens subregions other than the first lens subregion in the lens region of the liquid crystal lens.
Step 620, based on the first focal length, controlling the camera module to capture an image.
In the embodiment of the application, the first voltage is applied to the first lens subarea of the liquid crystal lens in the image pickup module in the image pickup device, so that the first focal length of the first lens subarea is different from the focal length of the second lens subarea of the liquid crystal lens, the image pickup module is controlled to pick up the image based on the first focal length, and the definition of the object of the picked-up image in the first lens subarea is different from the definition of the object in the second lens subarea, thereby realizing the different definition of the image of the object under the same depth of field.
The photographing method in the embodiment of the present application will be described in detail.
Referring first to step 610, a first voltage is applied to a first lens sub-region of a liquid crystal lens such that a first focal length of the first lens sub-region is different from a focal length of a second lens sub-region of the liquid crystal lens.
The first lens subarea may be any subarea of lens areas of the liquid crystal lens.
The second lens subregion may be any one of lens subregions other than the first lens subregion among lens regions of the liquid crystal lens.
In one example, as shown in fig. 8, if lens subregion C is a first lens subregion, then lens subregion B may be a second lens subregion.
The first voltage may be a voltage applied to a first lens sub-region of the liquid crystal lens.
The first focal length may be a focal length of the first lens subregion upon application of a voltage to the first lens subregion.
In some embodiments of the present application, in order to further achieve the difference in the sharpness of the images of the objects under the same depth of field, at least one electrode is disposed in each lens sub-area of the liquid crystal lens. Step 610 may specifically include:
The at least one electrode is controlled to apply a first voltage to a first lens sub-region of the liquid crystal lens.
In some embodiments of the present application, at least one electrode is disposed in each lens sub-region, and the electrode may be disposed in such a manner that one electrode film is attached to the lens sub-region, and specifically, as shown in fig. 2, the electrode film may be attached to the upper glass substrate 11 and the lower glass substrate 12 of the liquid crystal lens. The electrode films may be adhered to the upper glass substrate 11 and the lower glass substrate 12, respectively, or may be adhered to only one glass substrate. When an electrode film is stuck on only one glass substrate, the other glass substrate is grounded.
In the embodiment of the application, the first voltage is applied to the first lens subarea of the liquid crystal lens by controlling the at least one electrode, so that the first voltage can be precisely applied to the first lens subarea through the electrode, the first focal length of the first lens subarea can be further made to be different from the focal length of the second lens subarea, different definition of images of the object under the same depth of field can be realized, and meanwhile, as the voltages in the first lens subarea and the second lens subarea are executed at the same time, the focusing time is greatly shortened, and the focusing efficiency is improved. Meanwhile, the electrode is used for accurately applying the first voltage to the first lens subarea, so that when focusing is performed, the picture does not have stretching sense, and the display effect of the image is optimized.
In some embodiments of the present application, in order to further implement the difference in sharpness of the images of the objects under the same depth of field, the first voltage is first determined before step 610, so before step 610, the above-mentioned photographing method may further include:
determining a region of interest in a shooting preview interface;
determining a first lens subregion corresponding to the region of interest;
acquiring an image distance of a shooting object in a region of interest;
Determining a first focal length of the first lens subarea according to the image distance of the shooting object;
The first voltage is determined based on the first focal length.
The shooting preview interface may be an interface that the shooting device presents a shooting preview screen when shooting an object to be shot.
In one example, when a user turns on a camera module of the photographing device, after capturing a photographing scene by using the camera module, an interface displaying a picture on the photographing device is a photographing preview interface. If the user opens the camera module of the photographing device in the photographing scene 1, the scenery map (specifically, flowers and grass) in the scene 1 can be presented on the display interface of the photographing device, and the display interface of the photographing device can be the photographing preview interface.
The region of interest may be a region of interest to the user, and specifically may be a region of interest where the user wants to have a good region definition.
In an example, as shown in fig. 5 of the second shot scene, the object 1, the object 2 and the object 3 are located in the same depth of field, and if the user wants the definition of the object 1 to be clear, the definition of the object 2 and the definition of the object 3 are compared with the difference point of the object 1, the area where the object 1 is located (specifically, the area with the object 1 as the center and within the preset distance range) is the region of interest.
In the embodiment of the application, the first lens subarea of the shooting interest area can be determined by determining the interest area in the shooting preview interface and then determining the first lens subarea corresponding to the interest area. And then acquiring the image distance of the shooting object in the interested area, determining the first focal length of the first lens subarea based on a preset calculation mode according to the image distance, determining the first voltage according to the first focal length, and accurately determining the first voltage so as to obtain the accurate definition of the shooting object in the first lens subarea, thereby realizing the focusing definition of the shooting object interested by the user in a plurality of shooting objects with the same depth of field and improving the user experience.
In some embodiments of the present application, the region of interest in the shooting preview interface may be determined in two ways.
(1) And carrying out feature recognition on the preview image displayed in the shooting preview interface, and determining the region of interest.
The preview image may be an image of the object to be photographed, which is displayed on the photographing preview interface.
In one example, as shown in fig. 5 in the shooting scene 2, to shoot the object 1, the object 2 and the object 3, images including the object 1, the object 2 and the object 3 may be displayed on a shooting preview interface of the shooting device, and the images including the object 1, the object 2 and the object 3 are preview images.
In some embodiments of the present application, feature recognition may be performed on a preview image displayed in a shooting preview interface by using image recognition software or an image recognition algorithm, etc., to determine a region of interest. Specifically, by which way the preview image displayed in the shooting preview interface is subjected to feature recognition, the region of interest is determined, and the application is not limited.
In the embodiment of the application, the interested region is determined by carrying out feature recognition on the preview image, so that the interested region can be rapidly and accurately determined, and the recognition efficiency of the interested region is improved.
(2) In a case where a first input of a user to the photographing preview interface is received, the first input determination area is determined as an area of interest.
Wherein the first input may be used to determine a region of interest. The first input may be, but is not limited to, a touch input, a voice input, a gesture input, or other possible inputs, and may be a combination of at least two of the above inputs, which is not limited herein.
In some embodiments of the present application, in the case where the first input is a touch input, the first input may be, but is not limited to, a click input, a double click input, a sliding input, or a fill input on the shooting preview interface to the target object (or an area within a preset distance range of the target object) on the preview image, and may also be a combination input of at least two of the above inputs, which is not limited herein.
The determination region may be a region determined by the first input.
In an example, the target object may be an object with better definition that the user wants, as shown in fig. 5 in the shooting scene 2, taking the first input as a click input as an example, the preview image is an image including an object 1, an object 2 and an object 3, in which the user wants the object 1 with better definition than the object 2 and the object 3, the user may click on the object 1 (or an area within a preset distance range of the object 1), the object 1 is the target object, and the area where the object 1 is located is the determined area, that is, the area of interest.
In the embodiment of the application, the first input determining area is determined as the interested area under the condition that the first input of the user to the shooting preview interface is received, so that the interested area can be selected according to the user requirement, and the accuracy of the determination of the interested area is improved.
In some embodiments of the present application, after the region of interest is determined in both ways, a first lens sub-region corresponding to the region of interest may be determined.
In one example, as shown in fig. 5 and 8, to photograph the object 1, the object 2 and the object 3, determine the area where the object 1 is located as the region of interest, photograph the object 1 as the lens sub-area C in fig. 8, then determine the area C as the first lens sub-area corresponding to the region of interest.
After determining the first lens subregion corresponding to the region of interest, an image distance of the photographic subject in the region of interest may be acquired. The photographic subject here may be a subject whose photographic definition is desired, i.e., the subject 1 in the above example.
In some embodiments of the present application, the image distance of the photographic subject in the region of interest may be acquired by an image distance detection algorithm. After the image distance is determined, the first focal length of the first lens sub-region can be calculated by the above formula (2). The voltage difference between the first voltage to the first lens subregion and the voltage of the second lens subregion can then be calculated based on the above equation (1), thereby determining the first voltage of the first lens subregion.
In some embodiments of the present application, after determining the first voltage, at least one electrode correspondingly disposed to the first lens subregion may be controlled to apply the first voltage to the first lens subregion.
Finally, in step 620, the camera module is controlled to capture an image based on the first focal length.
In some embodiments of the present application, after determining the first focal length, the camera module may be controlled to capture an image based on the first focal length, where the sharpness of the object at different positions in the captured image under the same depth of field is different.
In one example, if the user wants the flower definition in the shooting scene 1 to be clearer than the grass definition, the user determines that the region of interest in the shooting preview interface is the region where the flower is located, then determines the first lens subarea corresponding to the region where the flower is located, then acquires the shooting object (i.e. the flower) in the region of interest, acquires the image distance of the flower, determines the first focal length of the first lens subarea according to the image distance, determines the first voltage according to the focal length, and applies the first voltage to the electrode of the first lens subarea based on the first voltage to obtain the shooting image with clear flower and relatively blurred grass.
It should be noted that, in some embodiments of the present application, if the lens area of the liquid crystal lens is divided (i.e., divided in the manner shown in fig. 7 (a) and 7 (b)) except for the portion where the liquid crystal lens protrudes, different voltage values may be applied to different lens sub-areas in fig. 7 when the voltage is applied, so that the sharpness at different positions under the same depth of field may be obtained.
In one example, as shown in fig. 9, when the liquid crystal lens 111 is divided in the manner shown in fig. 7 (a), and when the liquid crystal lens 111 photographs an object 112 positioned under the same depth of field, if the same voltage is applied to electrodes in different lens sub-areas in the liquid crystal lens, that is, v1=v2=v3=v4, the liquid crystal lens has an effect similar to that of a solid lens such as conventional glass in a manner equivalent to that of the voltage applied in the prior art, and the effect shown in fig. 9 is obtained.
In another example, as shown in fig. 10, when the liquid crystal lens 121 is divided in the manner shown in fig. 7 (a), when the liquid crystal lens 121 photographs an object 122 and an object 123 located under the same depth of field, if different voltages are applied to electrodes in different lens sub-areas in the liquid crystal lens, for example, v1=5v, v2=v3=v4=8v (where V1 corresponds to the object 122, v2=v3=v4=8v corresponds to the object 123), the effect shown in fig. 10 can be obtained, that is, only the object 122 is based on the effect similar to that of a solid lens such as a conventional glass.
It should be noted that, in the photographing method provided in the embodiment of the present application, the execution subject may be a photographing device, or a control module in the photographing device for executing the photographing method. In the embodiment of the present application, an example of a photographing method performed by a photographing device is described as a photographing device provided by the embodiment of the present application.
Based on the same application conception as the shooting method, the application also provides a shooting device which comprises a camera module, wherein the camera module comprises a liquid crystal lens. The following describes in detail a photographing device according to an embodiment of the present application with reference to fig. 11.
Fig. 11 is a block diagram illustrating a configuration of a photographing apparatus according to an exemplary embodiment.
As shown in fig. 11, the photographing device may include:
A voltage application module 1110, configured to apply a first voltage to a first lens sub-region of the liquid crystal lens so that a first focal length of the first lens sub-region is different from a focal length of a second lens sub-region of the liquid crystal lens;
The control module 1120 is configured to control the camera module to capture an image based on the first focal length; wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.
In the embodiment of the application, the first voltage is applied to the first lens subarea of the liquid crystal lens in the image pickup module in the image pickup device, so that the first focal length of the first lens subarea is different from the focal length of the second lens subarea of the liquid crystal lens, the image pickup module is controlled to pick up the image based on the first focal length, and the definition of the object of the picked-up image in the first lens subarea is different from the definition of the object in the second lens subarea, thereby realizing the different definition of the image of the object under the same depth of field.
In some embodiments of the present application, at least one electrode is disposed corresponding to each lens subarea of the liquid crystal lens; to further enable different sharpness at different locations of the same depth of field, the voltage application module 1110 has a logic for:
and controlling the at least one electrode to apply a first voltage to a first lens subarea of the liquid crystal lens.
In some embodiments of the present application, in order to further make the sharpness at different positions in the same depth of field different, the above-mentioned photographing apparatus may further include:
the first determining module is used for determining a region of interest in a shooting preview interface;
A second determining module, configured to determine a first lens sub-region corresponding to the region of interest;
the acquisition module is used for acquiring the image distance of the shooting object in the region of interest;
a third determining module, configured to determine a first focal length of the first lens sub-region according to an image distance of the shooting object;
A fourth determination module for determining the first voltage based on the first focal length;
Correspondingly, the voltage applying module 1110 may specifically be configured to:
And controlling at least one electrode correspondingly arranged on the first lens subarea to apply a first voltage to the first lens subarea.
In some embodiments of the present application, in order to quickly determine the region of interest, the first determining module may specifically be configured to:
performing feature recognition on the preview image displayed in the shooting preview interface to determine an interested region;
Or alternatively
In the case that a first input of a user to a shooting preview interface is received, the first input determination area is determined as an area of interest.
The shooting device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The photographing device in the embodiment of the application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The photographing device provided by the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 6 to 10, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, and a program or an instruction stored in the memory 1202 and capable of running on the processor 1201, where the program or the instruction implements each process of the above-mentioned shooting method embodiment when executed by the processor 1201, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.
Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1310 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1307 is configured to apply a first voltage to a first lens sub-region of the liquid crystal lens so that a first focal length of the first lens sub-region is different from a focal length of a second lens sub-region of the liquid crystal lens;
a processor 1310, configured to control the camera module to capture an image based on the first focal length; wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.
Therefore, the first focal length of the first lens subarea is different from the focal length of the second lens subarea of the liquid crystal lens by applying the first voltage to the first lens subarea of the liquid crystal lens in the shooting module in the shooting device, and the shooting of the image by the camera module can be controlled based on the first focal length, so that the definition of the shot image in the first lens subarea is different from the definition of the shot image in the second lens subarea, and the difference of the definition of the shot image in the same depth of field is realized.
Optionally, at least one electrode is disposed corresponding to each lens sub-region of the liquid crystal lens, and the user input unit 1307 is further configured to control the at least one electrode to apply a first voltage to the first lens sub-region of the liquid crystal lens.
Therefore, the first voltage is applied to the first lens subarea of the liquid crystal lens by controlling at least one electrode, so that the first voltage can be accurately applied to the first lens subarea through the electrode, the first focal length of the first lens subarea can be further different from the focal length of the second lens subarea, different definition of images of objects under the same depth of field is realized, and meanwhile, as the voltages in the first lens subarea and the second lens subarea are executed at the same time, the focusing time is greatly shortened, and the focusing efficiency is improved. Meanwhile, the electrode is used for accurately applying the first voltage to the first lens subarea, so that when focusing is performed, the picture does not have stretching feeling, and the sensory experience of a user is improved.
Optionally, before the applying the first voltage to the first lens sub-region of the liquid crystal lens, the processor 1310 may be further configured to:
determining a region of interest in a shooting preview interface;
determining a first lens subregion corresponding to the region of interest;
acquiring an image distance of a shooting object in the region of interest;
determining a first focal length of the first lens subarea according to the image distance of the shooting object;
the first voltage is determined based on the first focal length.
Thus, by determining the region of interest in the shooting preview interface and then determining the first lens subregion corresponding to the region of interest, the first lens subregion of the shooting region of interest can be determined. And then acquiring the image distance of the shooting object in the interested area, determining the first focal length of the first lens subarea based on a preset calculation mode according to the image distance, determining the first voltage according to the first focal length, and accurately determining the first voltage so as to obtain the accurate definition of the shooting object in the first lens subarea, thereby realizing the focusing definition of the shooting object interested by the user in a plurality of shooting objects with the same depth of field and improving the user experience.
Optionally, the processor 1310 may be further configured to perform feature recognition on a preview image displayed in the capturing preview interface to determine a region of interest.
Therefore, the region of interest is determined by carrying out feature recognition on the preview image, so that the region of interest can be rapidly and accurately determined, and the recognition efficiency of the region of interest is improved.
Optionally, the processor 1310 may be further configured to determine, when a first input of the user to the shooting preview interface is received, the first input determination area as the area of interest.
Therefore, under the condition that the first input of the user to the shooting preview interface is received, the first input determination area is determined to be the region of interest, and the region of interest can be selected according to the user requirement, so that the accuracy of determining the region of interest is improved.
It should be appreciated that in embodiments of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, the graphics processor 13041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072. Touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 1309 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1310 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1310.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-described shooting method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the shooting method embodiment, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (6)

1. The shooting method is applied to a shooting device and is characterized in that the shooting device comprises a camera module, the camera module comprises a liquid crystal lens, and the method comprises the following steps:
determining a region of interest in a shooting preview interface;
determining a first lens subarea of the liquid crystal lens corresponding to the region of interest;
acquiring an image distance of a shooting object in the region of interest;
determining a first focal length of the first lens subarea according to the image distance of the shooting object;
Determining a first voltage based on the first focal length;
controlling at least one electrode correspondingly arranged on the first lens subarea to apply the first voltage to the first lens subarea so as to enable a first focal length of the first lens subarea to be different from a focal length of a second lens subarea of the liquid crystal lens;
controlling the camera module to shoot an image based on the first focal length;
Wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.
2. The method of claim 1, wherein the determining a region of interest in the shot preview interface comprises:
and carrying out feature recognition on the preview image displayed in the shooting preview interface, and determining the region of interest.
3. The method of claim 1, wherein the determining a region of interest in the shot preview interface comprises:
in the case that a first input of a user to a shooting preview interface is received, the first input determination area is determined as an area of interest.
4. The utility model provides a shooting device, its characterized in that, shooting device includes the camera module, the camera module includes liquid crystal lens, shooting device includes:
the first determining module is used for determining a region of interest in a shooting preview interface;
a second determining module, configured to determine a first lens sub-region of the liquid crystal lens corresponding to the region of interest;
the acquisition module is used for acquiring the image distance of the shooting object in the region of interest;
a third determining module, configured to determine a first focal length of the first lens sub-region according to an image distance of the shooting object;
a fourth determining module for determining a first voltage based on the first focal length;
The voltage application module is used for controlling at least one electrode correspondingly arranged on the first lens subarea to apply the first voltage to the first lens subarea so as to enable the first focal length of the first lens subarea to be different from the focal length of the second lens subarea of the liquid crystal lens;
The control module is used for controlling the camera module to shoot images based on the first focal length; wherein the second lens subregion is any lens subregion except the first lens subregion in the lens region of the liquid crystal lens.
5. The photographing device of claim 4, wherein the first determining module is specifically configured to:
performing feature recognition on the preview image displayed in the shooting preview interface to determine an interested region;
Or in the case that a first input of a shooting preview interface by a user is received, determining the first input determination area as an area of interest.
6. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the shooting method of any of claims 1-3.
CN202210119409.XA 2022-02-08 Shooting method and device and electronic equipment Active CN114390182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210119409.XA CN114390182B (en) 2022-02-08 Shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210119409.XA CN114390182B (en) 2022-02-08 Shooting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114390182A CN114390182A (en) 2022-04-22
CN114390182B true CN114390182B (en) 2024-06-07

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108195A (en) * 2011-11-10 2013-05-15 鸿富锦精密工业(深圳)有限公司 Device capable of shooting in stereoscopic mode
CN104345423A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Image collecting method and image collecting equipment
CN105827922A (en) * 2016-05-25 2016-08-03 京东方科技集团股份有限公司 Image shooting device and shooting method thereof
CN106572305A (en) * 2016-11-03 2017-04-19 乐视控股(北京)有限公司 Image shooting method, image processing method, apparatuses and electronic device
CN110221459A (en) * 2019-05-24 2019-09-10 广州永士达医疗科技有限责任公司 Adjustable focal length OCT probe and OCT detecting devices
CN113376837A (en) * 2021-06-09 2021-09-10 Oppo广东移动通信有限公司 Near-eye display optical system, near-eye display apparatus and method
CN113514988A (en) * 2021-04-28 2021-10-19 南昌虚拟现实研究院股份有限公司 Zoom liquid crystal lens and driving method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108195A (en) * 2011-11-10 2013-05-15 鸿富锦精密工业(深圳)有限公司 Device capable of shooting in stereoscopic mode
CN104345423A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Image collecting method and image collecting equipment
CN105827922A (en) * 2016-05-25 2016-08-03 京东方科技集团股份有限公司 Image shooting device and shooting method thereof
CN106572305A (en) * 2016-11-03 2017-04-19 乐视控股(北京)有限公司 Image shooting method, image processing method, apparatuses and electronic device
CN110221459A (en) * 2019-05-24 2019-09-10 广州永士达医疗科技有限责任公司 Adjustable focal length OCT probe and OCT detecting devices
CN113514988A (en) * 2021-04-28 2021-10-19 南昌虚拟现实研究院股份有限公司 Zoom liquid crystal lens and driving method thereof
CN113376837A (en) * 2021-06-09 2021-09-10 Oppo广东移动通信有限公司 Near-eye display optical system, near-eye display apparatus and method

Similar Documents

Publication Publication Date Title
JP7311418B2 (en) Focusing method, terminal and computer readable storage medium
US9699389B2 (en) Image displaying apparatus and image displaying method
CN110290324B (en) Device imaging method and device, storage medium and electronic device
KR20120022512A (en) Electronic camera, image processing apparatus, and image processing method
CN112637500B (en) Image processing method and device
CN112738397A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112532808A (en) Image processing method and device and electronic equipment
CN114390201A (en) Focusing method and device thereof
CN113727001B (en) Shooting method and device and electronic equipment
CN113866782A (en) Image processing method and device and electronic equipment
CN114554085A (en) Focusing method and device, electronic equipment and storage medium
CN113747067A (en) Photographing method and device, electronic equipment and storage medium
CN114390197A (en) Shooting method and device, electronic equipment and readable storage medium
CN114390182B (en) Shooting method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112672058B (en) Shooting method and device
CN115134532A (en) Image processing method, image processing device, storage medium and electronic equipment
CN111654623B (en) Photographing method and device and electronic equipment
CN112653841B (en) Shooting method and device and electronic equipment
CN114025100A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113873147A (en) Video recording method and device and electronic equipment
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN114390182A (en) Shooting method and device and electronic equipment
CN113873160B (en) Image processing method, device, electronic equipment and computer storage medium
CN113709436B (en) Purple fringing correction method and device based on continuous zooming and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant