WO2022088882A1 - Photographing method and apparatus, and terminal, and computer readable storage medium - Google Patents

Photographing method and apparatus, and terminal, and computer readable storage medium Download PDF

Info

Publication number
WO2022088882A1
WO2022088882A1 PCT/CN2021/114347 CN2021114347W WO2022088882A1 WO 2022088882 A1 WO2022088882 A1 WO 2022088882A1 CN 2021114347 W CN2021114347 W CN 2021114347W WO 2022088882 A1 WO2022088882 A1 WO 2022088882A1
Authority
WO
WIPO (PCT)
Prior art keywords
sample image
focus value
value
moiré
focus
Prior art date
Application number
PCT/CN2021/114347
Other languages
French (fr)
Chinese (zh)
Inventor
牛超
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022088882A1 publication Critical patent/WO2022088882A1/en

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/67Focus control based on electronic image sensor signals
    • 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
    • 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/62Control of parameters via user interfaces

Definitions

  • the present application relates to, but is not limited to, the field of terminal technologies, and in particular, relates to a photographing method, device, terminal, and computer-readable storage medium.
  • the shooting function of terminal is more and more favored by people, and there are a wide range of application scenarios in daily life.
  • the resulting image usually has moiré patterns, which affects the image quality.
  • moiré patterns There are two main forms of common moiré patterns.
  • One is that the camera of the terminal uses photosensitive elements such as charge-coupled device (CCD) and complementary metal oxide semiconductor (CMOS).
  • CCD charge-coupled device
  • CMOS complementary metal oxide semiconductor
  • the spatial frequency of the element is close to the spatial frequency of the object to be photographed, and the incoming light will have a beat effect on the photosensitive element, forming a high-frequency red and green moiré pattern in the formed image; the other is the result of shooting.
  • the image resolution is high and contains too much image information, resulting in moiré patterns of gray and black.
  • the existing method mainly adopts an image processing technology. Although the moiré can be eliminated, the image processing takes a certain amount of time, which affects the user experience.
  • Embodiments of the present application provide a photographing method, apparatus, terminal, and computer-readable storage medium.
  • an embodiment of the present application provides a shooting method, which is applied to a terminal, including: acquiring a first sample image according to a current first focus value; and when detecting that the first sample image contains moiré, A second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value; when a shooting instruction is detected, shooting is performed according to the second focus value.
  • an embodiment of the present application further provides a photographing device, including: a first focus value acquisition unit, configured to acquire a first sample image according to a current first focus value; a second focus value acquisition unit, set to It is set so that when it is detected that the first sample image contains moiré, a second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value a photographing unit configured to perform photographing according to the second focus value when a photographing instruction is detected.
  • a photographing device including: a first focus value acquisition unit, configured to acquire a first sample image according to a current first focus value; a second focus value acquisition unit, set to It is set so that when it is detected that the first sample image contains moiré, a second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value a photographing unit configured to perform photographing according to the second focus value when a photographing instruction is detected.
  • an embodiment of the present application further provides a terminal, including: a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the computer program as described in Section 3 when the processor executes the computer program.
  • a terminal including: a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the computer program as described in Section 3 when the processor executes the computer program. The shooting method described in one aspect.
  • an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the shooting method according to the first aspect.
  • FIG. 1 is a flowchart of a shooting method applied to a terminal provided by an embodiment of the present application
  • FIG. 2 is a flowchart of determining moiré according to image registration in a shooting method provided by another embodiment of the present application
  • FIG. 3 is a flowchart of determining moiré patterns according to sub-pixels in a shooting method provided by another embodiment of the present application.
  • FIG. 4 is a flowchart of determining a second focus value according to a mapping relationship in a shooting method provided by another embodiment of the present application.
  • FIG. 5 is a schematic diagram of a mapping relationship provided by another embodiment of the present application.
  • FIG. 6 is a flowchart of cleaning a sample image in a shooting method provided by another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a photographing device provided by another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal for executing a photographing method provided by another embodiment of the present application.
  • the terminal may be in any type of product form, such as a common mobile phone, tablet computer, handheld device, smart wearable device, etc.
  • the embodiments of the present application do not limit the specific form of the terminal too much.
  • the present application provides a photographing method, device, terminal and computer-readable storage medium.
  • the photographing method includes: acquiring a first sample image according to a current first focus value; when it is detected that the first sample image contains moiré , determining a second focus value according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value; when a shooting instruction is detected, shooting is performed according to the second focus value.
  • the focal length can be further increased when it is detected that the first sample image contains moiré, so that the ingested light is more dispersed, and the beat effect of the light is reduced. The increase will make the image blur to a certain extent, reduce the image information, eliminate the moiré pattern during the shooting process, and improve the user experience.
  • FIG. 1 is a flowchart of a photographing method provided by an embodiment of the present application.
  • the photographing method includes but is not limited to step S110 , step S120 and step S130 .
  • Step S110 acquiring a first sample image according to the current first focus value.
  • the first focus value may be the focus value after the shooting function of the terminal is activated and the shooting parameters are automatically adjusted. After the shooting function of the terminal is activated, the terminal will adjust the camera or the off-screen camera according to the clarity of the preview image.
  • the shooting parameters of the device such as automatic adjustment of the focal length, so that the preview image can meet a certain definition requirement, the specific adjustment method is not an improvement made by this embodiment, and will not be repeated here.
  • the specific value of the first focus value can be directly determined, or the percentage used to adjust the focus distance can be obtained, and the first focus value can be obtained by multiplying the percentage by the automatically adjusted focus value.
  • the specific determination method may be selected according to actual requirements, which is not limited in this embodiment.
  • the first sample image may be an image obtained by shooting, or may be a real-time image in a viewfinder of the terminal, and a specific obtaining method may be selected according to actual requirements.
  • Step S120 when it is detected that the first sample image contains moiré, a second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value.
  • any method may be used to determine that the first sample image contains moiré, which is not limited in this embodiment. It can be understood that, since there are two types of common moiré patterns, and the reasons for their formation are different from each other, after it is determined that the first sample image contains moiré patterns, the types of moiré patterns can be further determined. For example, it is determined according to the color of the moiré pattern, and this embodiment does not limit the specific determination method.
  • the mapping relationship may be in any common form, such as a common table, a corresponding relationship, etc., which is not limited in this embodiment, and the second focus value can be determined according to the first focus value and the mapping relationship, that is, Can.
  • the second focus value can be determined according to the first focus value and the mapping relationship, that is, Can.
  • the specific value of the focusing coefficient can be preset, so that the value of the second focusing value can fall within a certain value range, so as to meet the needs of image clarity and avoid excessive focus adjustment. cause out of focus.
  • the larger the focal length the lower the degree of convergence of the incoming light. Therefore, adjusting the first focus value to the second focus value with a larger value can effectively reduce the beat effect of light, thereby avoiding the formation of high The frequency of red and green moiré; and, after the focal length is increased, the imaged image is blurred than before the focus is adjusted, so that the image information is less, so as to avoid the gray and black moiré caused by too rich image information.
  • Step S130 when a shooting instruction is detected, shooting is performed according to the second focus value.
  • the purpose of shooting with the second focus value is to eliminate the moiré in the image. Therefore, the shooting can be performed using the second focus value when it is detected that the image contains moiré, or it can be set in the terminal. In a specific shooting mode, there is no need to detect moiré in this shooting mode, and shooting is directly performed according to the second focus value, for example, it may be a screen shooting mode for shooting a screen.
  • the real-time focus value of the preview interface can be used as the first focus value.
  • a focus value is determined, and a second focus value is determined in real time or periodically according to the first focus value, so that the second focus value can be directly applied to shoot after the shooting instruction is obtained.
  • the shooting instruction can be generated in any way, for example, the user clicks the shooting button on the shooting interface of the terminal, or, for a terminal that supports voice control, the shooting instruction can be recognized from the voice instruction input by the user.
  • the speech recognition method described above is not an improvement made by this embodiment, and will not be repeated here.
  • step 120 in the embodiment shown in FIG. 1 further includes but is not limited to the following steps:
  • Step S210 obtaining a preset adjustment value, and determining a third focus value according to the first focus value and the adjustment value;
  • Step S220 acquiring a second sample image according to the third focus value
  • Step S230 performing image registration on the first sample image and the second sample image, and when detecting that there is a periodic color shift between the pixel information of the first sample image and the pixel information of the second sample image, determine the first sample image Contains moiré.
  • the adjustment value may be a specific numerical value, the first focus value and the adjustment value are added to obtain the third focus value, or it may be an adjustment coefficient, and the first focus value and the adjustment value are multiplied to obtain the third focus value.
  • the value can be selected according to actual needs.
  • the first sample image and the second sample image may be acquired at the same time, or may be acquired in the order of the first sample image and the second sample image, for example, for a camera with at least two cameras
  • the terminal may determine the focal length of the first camera by using the first focus value, respectively, and determine the focal length of the second camera according to the third focus value.
  • the first camera and the second camera acquire images simultaneously, and the first camera acquires the first image.
  • the second sample image is obtained by the second camera, and the method of obtaining the sample image by two cameras at the same time can ensure the same content of the images and improve the efficiency of image comparison; for another example, through one of the cameras of the terminal, according to the first
  • the focus value determines the third focus value, and then sets the focal length of the camera according to the third focus value to acquire the second sample image.
  • the actual object may change, For example, the content of the screen may change when the screen is captured, so the first sample image and the second sample image need to be registered and compared.
  • the specific registration method may adopt a known method, and the present application does not involve the improvement of the specific registration method, as long as the first sample image and the second sample image can be used for the comparison of pixel information.
  • a color shift pixel number threshold can also be set for the determination of moiré, for example, it is detected that the pixel information of the first sample image and the pixel information of the second sample image have periodic color shift, and there is a color shift. If the offset pixels are continuous pixels and satisfy the threshold of the number of color offset pixels, it can be determined that the first sample image contains moiré, or other determination criteria can be used according to actual needs, which are not limited here.
  • step 120 in the embodiment shown in FIG. 1 further includes but is not limited to the following steps:
  • Step S310 when it is detected that at least one pixel of the first sample image includes several sub-pixels, it is determined that the first sample image includes moiré.
  • a sub-pixel threshold can also be set, and when the number of sub-pixels contained in a pixel is greater than or equal to the sub-pixel threshold, the pixel is determined to be a part of the moiré pattern, and the specific sub-pixel threshold can be based on actual conditions. Demand adjustment will not be repeated here.
  • step 120 in the embodiment shown in FIG. 1 further includes but is not limited to the following steps:
  • Step S410 determining a focusing coefficient according to the first focusing value and the mapping relationship
  • Step S420 determining a second focus value according to the first focus value and the focus adjustment coefficient.
  • Table 1 is obtained from the mapping relationship curve shown in FIG. 5 .
  • FIG. 5 is only an exemplary curve of the present embodiment, and does not limit specific values. Those skilled in the art are motivated to base the actual The specific mapping relationship needs to be selected, which will not be repeated here.
  • the first focus value and the third focus value are in the form of percentages, that is, the focal length when the camera is started is used as the reference focal length, and the reference focal length multiplied by the first focus value is the actual focal length value.
  • the second focus value is determined to be 20% by the focus adjustment coefficient.
  • the first focus value is 5%
  • the second focus value is 25%, that is, the focusing coefficient is the magnification of the first focusing value, and other examples will not be repeated.
  • the focus adjustment coefficient is determined to be 1, and the second focus value can be determined to be 100%.
  • the first sample image and the second sample image are stored in the file storage or the system memory. After step 130 in the embodiment shown in FIG. The following steps:
  • Step S610 delete the first sample image and the second sample image from the file storage
  • Step S620 releasing the first sample image and the second sample image from the system memory.
  • the file storage may be a physical storage device such as the storage of the terminal or a memory card, and the specific storage location may be adjusted according to actual needs, which is not limited in this embodiment.
  • the shooting function is activated, a memory application will be made, and the terminal allocates a certain system memory for the shooting function according to requirements.
  • the first sample image and the second sample image can be saved in the allocated system memory.
  • the specific memory allocation method is not an improvement made by this embodiment, and will not be repeated here.
  • the first sample image and the second sample image are mainly used to assist in determining the moiré pattern, after the moiré pattern is determined and photographed with the second focus value, the first sample image and the second sample image are not For other purposes, therefore, in order to save system space, the first sample image and the second sample image acquired in response to this shooting instruction may be deleted.
  • the first sample image and the second sample image are stored in the file storage, they can be deleted from the file storage by physical deletion.
  • the specific deletion method is not an improvement made in this embodiment, and will not be repeated here.
  • the system memory allocated to the shooting function can be released after the shooting is completed, so as to realize the synchronization of the first sample image and the second sample image. delete.
  • an embodiment of the present application further provides a photographing device 700, the photographing device 700 includes but is not limited to a first focus value obtaining unit 710, a second focus value obtaining unit 720, and a photographing unit 730, in,
  • the first focus value obtaining unit 710 is configured to obtain a first sample image according to the current first focus value when a shooting instruction is detected;
  • the second focus value acquiring unit 720 is configured to determine a second focus value according to the first focus value and a preset mapping relationship when it is detected that the first sample image contains moiré, and the second focus value is greater than the first focus value ;
  • the photographing unit 730 is configured to perform photographing according to the second focus value.
  • the operations performed by the first focus value obtaining unit 710 may refer to step S110 shown in FIG. 1
  • the operations performed by the second focus value obtaining unit 720 may refer to the steps shown in FIG. 1
  • S120 the operations performed by the photographing unit 730 may refer to step S130 shown in FIG. 1 , which will not be repeated here.
  • the second focus value obtaining unit 720 in FIG. 7 further includes, but is not limited to, the following units:
  • the third focus value obtaining unit 721 is configured to take a preset adjustment value, and determine the third focus value according to the first focus value and the adjustment value;
  • the second sample image obtaining unit 722 is configured to obtain the second sample image according to the third focus value
  • the first moiré detection unit 723 is configured to perform image registration on the first sample image and the second sample image. When detecting that the pixel information of the first sample image and the pixel information of the second sample image have periodic colors, partial, it is determined that moiré is contained in the first sample image.
  • the operations performed by the third focus value obtaining unit 721 may refer to step S2310 shown in FIG. 2
  • the operations performed by the second sample image obtaining unit 722 may refer to the steps shown in FIG. 2
  • S220, the operations performed by the first moiré detection unit 723 may refer to step S230 shown in FIG. 2, and details are not repeated here.
  • the second focus value obtaining unit 720 in FIG. 7 further includes, but is not limited to, the following units:
  • the second moiré detection unit 724 is configured to determine that the first sample image contains moiré when it is detected that at least one pixel of the first sample image contains several sub-pixels.
  • step S310 shown in FIG. 3 , and details are not described herein again.
  • the second focus value obtaining unit 720 in FIG. 7 further includes, but is not limited to, the following units:
  • the focusing coefficient determining unit 725 is configured to determine the focusing coefficient according to the first focusing value and the mapping relationship
  • the focusing coefficient applying unit 726 is configured to determine the second focusing value according to the first focusing value and the focusing coefficient.
  • the operation performed by the focusing coefficient determining unit 725 may refer to step S410 shown in FIG. 4
  • the operation performed by the focusing coefficient applying unit 726 may refer to step S420 shown in FIG. 4 , It is not repeated here.
  • the photographing unit 730 in FIG. 7 further includes, but is not limited to, the following units:
  • a first cleaning unit 731 configured to delete the first sample image and the second sample image from the file storage
  • the second cleaning unit 732 is configured to release the first sample image and the second sample image from the system memory.
  • the operations performed by the first cleaning unit 731 may refer to step S510 shown in FIG. 5
  • the operations performed by the second cleaning unit 732 may refer to step S520 shown in FIG. 5 . No longer.
  • an embodiment of the present application further provides a terminal 800 .
  • the terminal 800 includes: a memory 810 , a processor 820 , and a computer program stored in the memory 810 and running on the processor 820 .
  • the processor 820 and the memory 810 may be connected by a bus or otherwise.
  • the non-transitory software programs and instructions required to realize the shooting method of the above embodiment are stored in the memory 810, and when executed by the processor 820, the shooting method applied to the terminal 800 in the above embodiment is executed, for example, the above description is performed.
  • an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Executed by a processor in the terminal embodiment, the above-mentioned processor can execute the shooting method applied to the terminal in the above-mentioned embodiment, for example, the above-described method steps S110 to S130 in FIG. 1 and the method steps in FIG. 2 are executed.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
  • the embodiments of the present application include: acquiring a first sample image according to a current first focus value; when detecting that the first sample image contains moiré, determining a second focus value according to the first focus value and a preset mapping relationship , the second focus value is greater than the first focus value; when a shooting instruction is detected, shooting is performed according to the second focus value.
  • the focal length can be further increased when it is detected that the first sample image contains moiré, so that the ingested light is more dispersed, and the beat effect of the light is reduced. The increase will make the image blur to a certain extent, reduce the image information, eliminate the moiré pattern during the shooting process, and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

A photographing method and apparatus, and a terminal, and a computer readable storage medium. The photographing method comprises: obtaining a first sample image according to a current first focus value (S110); when detecting that the first sample image comprises a moiré pattern, determining a second focus value according to the first focus value and a preset mapping relationship, the second focus value being greater than the first focus value (S120); and when detecting a photographing instruction, executing photography according to the second focus value (S130).

Description

拍摄方法、装置、终端及计算机可读存储介质Shooting method, device, terminal and computer-readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011185838.4、申请日为2020年10月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011185838.4 and the filing date of October 30, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及但不限于终端技术领域,尤其涉及一种拍摄方法、装置、终端及计算机可读存储介质。The present application relates to, but is not limited to, the field of terminal technologies, and in particular, relates to a photographing method, device, terminal, and computer-readable storage medium.
背景技术Background technique
随着拍摄技术和终端行业的发展,终端的拍摄功能越来越受到人们的青睐,在日常生活中有广泛的应用场景。而在通过终端拍摄屏幕或者衣物等物体时,所成的图像通常会出现摩尔纹,影响图像质量。常见的摩尔纹主要有两种形式,一种是由于终端的摄像头采用了电荷耦合元件(charge-coupled device,CCD)、互补金属氧化物半导体(Complementary metal oxide semiconductor,CMOS)等感光元件,当感光元件的空间频率与被拍摄对象的空间频率接近,摄入的光会在感光元件发生差拍效应,在所形成的图像中形成高频率的红绿色相间的摩尔纹;另一种是拍摄所得的图像分辨率较高,包含过多的图像信息,从而形成灰黑相间的摩尔纹。为了消除摩尔纹,现有方法主要采用图像处理技术,虽然能够消除摩尔纹,但是图像处理需要耗费一定的时间,影响用户体验。With the development of shooting technology and terminal industry, the shooting function of terminal is more and more favored by people, and there are a wide range of application scenarios in daily life. However, when objects such as screens or clothes are photographed through the terminal, the resulting image usually has moiré patterns, which affects the image quality. There are two main forms of common moiré patterns. One is that the camera of the terminal uses photosensitive elements such as charge-coupled device (CCD) and complementary metal oxide semiconductor (CMOS). The spatial frequency of the element is close to the spatial frequency of the object to be photographed, and the incoming light will have a beat effect on the photosensitive element, forming a high-frequency red and green moiré pattern in the formed image; the other is the result of shooting. The image resolution is high and contains too much image information, resulting in moiré patterns of gray and black. In order to eliminate the moiré, the existing method mainly adopts an image processing technology. Although the moiré can be eliminated, the image processing takes a certain amount of time, which affects the user experience.
发明内容SUMMARY OF THE INVENTION
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本申请实施例提供了一种拍摄方法、装置、终端及计算机可读存储介质。Embodiments of the present application provide a photographing method, apparatus, terminal, and computer-readable storage medium.
第一方面,本申请实施例提供了一种拍摄方法,应用于终端,包括:根据当前的第一对焦值获取第一样本图像;当检测到所述第一样本图像中包含摩尔纹,根据所述第一对焦值和预先设定的映射关系确定第二对焦值,所述第二对焦值大于所述第一对焦值;当检测到拍摄指令,根据所述第二对焦值执行拍摄。In a first aspect, an embodiment of the present application provides a shooting method, which is applied to a terminal, including: acquiring a first sample image according to a current first focus value; and when detecting that the first sample image contains moiré, A second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value; when a shooting instruction is detected, shooting is performed according to the second focus value.
第二方面,本申请实施例还提供了一种拍摄装置,包括:第一对焦值获取单元,被设置成根据当前的第一对焦值获取第一样本图像;第二对焦值获取单元,被设置成当检测到所述第一样本图像中包含摩尔纹,根据所述第一对焦值和预先设定的映射关系确定第二对焦值,所述第二对焦值大于所述第一对焦值;拍摄单元,被设置成当检测到拍摄指令,根据所述第二对焦值执行拍摄。In a second aspect, an embodiment of the present application further provides a photographing device, including: a first focus value acquisition unit, configured to acquire a first sample image according to a current first focus value; a second focus value acquisition unit, set to It is set so that when it is detected that the first sample image contains moiré, a second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value a photographing unit configured to perform photographing according to the second focus value when a photographing instruction is detected.
第三方面,本申请实施例还提供了一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面所述的拍摄方法。In a third aspect, an embodiment of the present application further provides a terminal, including: a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the computer program as described in Section 3 when the processor executes the computer program. The shooting method described in one aspect.
第四方面,本申请实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如第一方面所述的拍摄方法。In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the shooting method according to the first aspect.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the description, claims and drawings.
附图说明Description of drawings
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification. They are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation on the technical solutions of the present application.
图1是本申请一个实施例提供的应用于终端的拍摄方法的流程图;FIG. 1 is a flowchart of a shooting method applied to a terminal provided by an embodiment of the present application;
图2是本申请另一个实施例提供的拍摄方法中根据图像配准确定摩尔纹的流程图;2 is a flowchart of determining moiré according to image registration in a shooting method provided by another embodiment of the present application;
图3是本申请另一个实施例提供的拍摄方法中根据子像素确定摩尔纹的流程图;3 is a flowchart of determining moiré patterns according to sub-pixels in a shooting method provided by another embodiment of the present application;
图4是本申请另一个实施例提供的拍摄方法中根据映射关系确定第二对焦值的流程图;4 is a flowchart of determining a second focus value according to a mapping relationship in a shooting method provided by another embodiment of the present application;
图5是本申请另一个实施例提供的映射关系的曲线示意图;5 is a schematic diagram of a mapping relationship provided by another embodiment of the present application;
图6是本申请另一个实施例提供的拍摄方法中清理样本图像的的流程图;6 is a flowchart of cleaning a sample image in a shooting method provided by another embodiment of the present application;
图7是本申请另一个实施例提供的拍摄装置的结构示意图;7 is a schematic structural diagram of a photographing device provided by another embodiment of the present application;
图8是本申请另一个实施例提供的用于执行拍摄方法的终端的结构示意图。FIG. 8 is a schematic structural diagram of a terminal for executing a photographing method provided by another embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书、权利要求书或上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the modules may be divided differently from the device, or executed in the order in the flowchart. steps shown or described. The terms "first", "second", "third", etc. in the description, claims or the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
需要说明的是,终端可以是任意类型的产品形态,例如常见的手机、平板电脑、手持设备、智能可穿戴设备等,本申请实施例并不对终端的具体形态作出过多的限定。It should be noted that the terminal may be in any type of product form, such as a common mobile phone, tablet computer, handheld device, smart wearable device, etc. The embodiments of the present application do not limit the specific form of the terminal too much.
本申请提供了一种拍摄方法、装置、终端和计算机可读存储介质,该拍摄方法包括:根据当前的第一对焦值获取第一样本图像;当检测到第一样本图像中包含摩尔纹,根据第一对焦值和预先设定的映射关系确定第二对焦值,第二对焦值大于第一对焦值;当检测到拍摄指令,根据第二对焦值执行拍摄。根据本申请实施例提供的方案,能够在检测到第一样本图像中包含摩尔纹的情况下进一步增大焦距,使摄入的光更加分散,减少了光的差拍效应,并且,焦距的增大会使实现一定程度上的图像虚化,减少了图像信息,实现了拍摄过程中消除摩尔纹,提高用户体验。The present application provides a photographing method, device, terminal and computer-readable storage medium. The photographing method includes: acquiring a first sample image according to a current first focus value; when it is detected that the first sample image contains moiré , determining a second focus value according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value; when a shooting instruction is detected, shooting is performed according to the second focus value. According to the solutions provided by the embodiments of the present application, the focal length can be further increased when it is detected that the first sample image contains moiré, so that the ingested light is more dispersed, and the beat effect of the light is reduced. The increase will make the image blur to a certain extent, reduce the image information, eliminate the moiré pattern during the shooting process, and improve the user experience.
下面结合附图,对本申请实施例作进一步阐述。The embodiments of the present application will be further described below with reference to the accompanying drawings.
如图1所示,图1是本申请一个实施例提供的一种拍摄方法的流程图,该拍摄方法包括但不限于有步骤S110、步骤S120和步骤S130。As shown in FIG. 1 , FIG. 1 is a flowchart of a photographing method provided by an embodiment of the present application. The photographing method includes but is not limited to step S110 , step S120 and step S130 .
步骤S110,根据当前的第一对焦值获取第一样本图像。Step S110, acquiring a first sample image according to the current first focus value.
在一实施例中,第一对焦值可以是在终端的拍摄功能启动并自动调整拍摄参数之后的对焦值,在终端的拍摄功能启动后,终端会根据预览图像的清晰度调整摄像头或者屏下摄像装置的拍摄参数,例如进行焦距的自动调整,从而使得预览图像能够满足一定的清晰度需求,具体的调整方式并非本实施例作出的改进,在此不再赘述。需要说明的是,通过上述方式可以是直接确定第一对焦值的具体数值,也可以是获取用于调整焦距的百分比,通过该百分比与自动调整后的焦距值相乘,从而得出第一对焦值,具体的确定方式根据实际需求选取即可,本实施例对此不多作限定。In one embodiment, the first focus value may be the focus value after the shooting function of the terminal is activated and the shooting parameters are automatically adjusted. After the shooting function of the terminal is activated, the terminal will adjust the camera or the off-screen camera according to the clarity of the preview image. The shooting parameters of the device, such as automatic adjustment of the focal length, so that the preview image can meet a certain definition requirement, the specific adjustment method is not an improvement made by this embodiment, and will not be repeated here. It should be noted that, by the above method, the specific value of the first focus value can be directly determined, or the percentage used to adjust the focus distance can be obtained, and the first focus value can be obtained by multiplying the percentage by the automatically adjusted focus value. The specific determination method may be selected according to actual requirements, which is not limited in this embodiment.
在一实施例中,第一样本图像可以是通过拍摄的方式所获取的图像,也可以是终端取景框中的实时图像,根据实际需求选取具体的获取方式即可。In one embodiment, the first sample image may be an image obtained by shooting, or may be a real-time image in a viewfinder of the terminal, and a specific obtaining method may be selected according to actual requirements.
步骤S120,当检测到第一样本图像中包含摩尔纹,根据第一对焦值和预先设定的映射关系确定第二对焦值,第二对焦值大于第一对焦值。Step S120, when it is detected that the first sample image contains moiré, a second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value.
在一实施例中,确定第一样本图像中包含摩尔纹可以采用任意的方式,本实施例不多作限定。可以理解的是,由于常见的摩尔纹有两种类型,且形成的原因互不相同,因此,在确定第一样本图像中包含摩尔纹后,还可以对摩尔纹的类型进行进一步的确定,例如根据摩尔纹的颜色进行确定,本实施例不对具体的确定方式进行限定。In one embodiment, any method may be used to determine that the first sample image contains moiré, which is not limited in this embodiment. It can be understood that, since there are two types of common moiré patterns, and the reasons for their formation are different from each other, after it is determined that the first sample image contains moiré patterns, the types of moiré patterns can be further determined. For example, it is determined according to the color of the moiré pattern, and this embodiment does not limit the specific determination method.
在一实施例中,映射关系可以是任意常见的形式,例如常见的表格、对应关系式等,本实施例对此不多作限定,能够根据第一对焦值和映射关系确定第二对焦值即可。本领域技术人员可以理解的是,通过设定调整的映射关系,可以使根据第二对焦值获得的图像的清晰度满足需求,例如,由于第一对焦值的取值范围是可知的,当映射关系为调焦系数的情况下,可以通过预先设置调焦系数的具体数值,使得第二对焦值的取值能够落入一定的取值范围内,以满足图像清晰度的需求,避免焦距调整过度导致失焦。In an embodiment, the mapping relationship may be in any common form, such as a common table, a corresponding relationship, etc., which is not limited in this embodiment, and the second focus value can be determined according to the first focus value and the mapping relationship, that is, Can. Those skilled in the art can understand that, by setting the adjusted mapping relationship, the sharpness of the image obtained according to the second focus value can meet the requirements. For example, since the value range of the first focus value is known, when the mapping When the relationship is the focusing coefficient, the specific value of the focusing coefficient can be preset, so that the value of the second focusing value can fall within a certain value range, so as to meet the needs of image clarity and avoid excessive focus adjustment. cause out of focus.
需要说明的是,焦距越大,摄入的光线的会聚程度越低,因此,将第一对焦值调整为数值更大的第二对焦值,能够有效减少光的差拍效应,从而避免形成高频率的红绿色相间的摩尔纹;并且,在焦距增大后,所成像的图像比调整焦距之前模糊,从而使得图像信息较少,从而避免图像信息过于丰富导致的灰黑相间的摩尔纹。It should be noted that the larger the focal length, the lower the degree of convergence of the incoming light. Therefore, adjusting the first focus value to the second focus value with a larger value can effectively reduce the beat effect of light, thereby avoiding the formation of high The frequency of red and green moiré; and, after the focal length is increased, the imaged image is blurred than before the focus is adjusted, so that the image information is less, so as to avoid the gray and black moiré caused by too rich image information.
步骤S130,当检测到拍摄指令,根据第二对焦值执行拍摄。Step S130, when a shooting instruction is detected, shooting is performed according to the second focus value.
需要说明的是,通过第二对焦值执行拍摄是为了消除图像中的摩尔纹,因此可以是在检测到成像中包含摩尔纹的情况下使用第二对焦值执行拍摄,也可以是在终端中设置特定的拍摄模式,在该拍摄模式下无需对摩尔纹进行检测,直接根据第二对焦值执行拍摄,例如可以是用于拍摄屏幕的拍屏模式。It should be noted that the purpose of shooting with the second focus value is to eliminate the moiré in the image. Therefore, the shooting can be performed using the second focus value when it is detected that the image contains moiré, or it can be set in the terminal. In a specific shooting mode, there is no need to detect moiré in this shooting mode, and shooting is directly performed according to the second focus value, for example, it may be a screen shooting mode for shooting a screen.
需要说明的是,在实际使用过程中,终端的拍摄功能启动之后,不一定会马上用于拍摄,因此,为了提高拍摄的效率,可以是进入拍摄功能后,以预览界面实时的对焦值为第一对焦值,并根据该第一对焦值实时或周期性确定第二对焦值,以使获取到拍摄指令之后可以直接应用第二对焦值进行拍摄。It should be noted that in the actual use process, after the shooting function of the terminal is activated, it may not be used for shooting immediately. Therefore, in order to improve the shooting efficiency, after entering the shooting function, the real-time focus value of the preview interface can be used as the first focus value. A focus value is determined, and a second focus value is determined in real time or periodically according to the first focus value, so that the second focus value can be directly applied to shoot after the shooting instruction is obtained.
在一实施例中,拍摄指令可以通过任意方式生成,例如用户在终端的拍摄界面点击拍摄按键,又如,对于支持语音控制的终端,可以是从用户输入的语音指令中识别出拍摄指令,具体的语音识别方法并非本实施例作出的改进,在此不再赘述。In one embodiment, the shooting instruction can be generated in any way, for example, the user clicks the shooting button on the shooting interface of the terminal, or, for a terminal that supports voice control, the shooting instruction can be recognized from the voice instruction input by the user. The speech recognition method described above is not an improvement made by this embodiment, and will not be repeated here.
另外,参照图2,在一实施例中,图1所示实施例中的步骤120还包括但不限于有以下步骤:In addition, referring to FIG. 2, in an embodiment, step 120 in the embodiment shown in FIG. 1 further includes but is not limited to the following steps:
步骤S210,获取预先设定的调整值,根据第一对焦值和调整值确定第三对焦值;Step S210, obtaining a preset adjustment value, and determining a third focus value according to the first focus value and the adjustment value;
步骤S220,根据第三对焦值获取第二样本图像;Step S220, acquiring a second sample image according to the third focus value;
步骤S230,对第一样本图像和第二样本图像进行图像配准,当检测到第一样本图像的像素信息和第二样本图像的像素信息存在周期性色偏,确定第一样本图像中包含摩尔纹。Step S230, performing image registration on the first sample image and the second sample image, and when detecting that there is a periodic color shift between the pixel information of the first sample image and the pixel information of the second sample image, determine the first sample image Contains moiré.
在一实施例中,调整值可以是具体的数值,第一对焦值与调整值相加得出第三对焦值,也可以是调整系数,第一对焦值与调整值相乘得出第三对焦值,根据实际需求选取即可。In one embodiment, the adjustment value may be a specific numerical value, the first focus value and the adjustment value are added to obtain the third focus value, or it may be an adjustment coefficient, and the first focus value and the adjustment value are multiplied to obtain the third focus value. The value can be selected according to actual needs.
在一实施例中,第一样本图像和第二样本图像可以是同时获取,也可以是按照第一样本图像先、第二样本图像后的顺序获取,例如,对于至少有两个摄像头的终端,可以分别将第一对焦值确定第一摄像头的焦距,根据第三对焦值确定第二摄像头的焦距,第一摄像头和第二摄像头同时获取图像,其中,第一摄像头获取的为第一样本图像,第二摄像头获取的为第二样本图像,采用两个摄像头同时获取样本图像的方式能够确保图像的内容相同,提高图像对比的效率;又如,通过终端的其中一个摄像头,根据第一对焦值获取第一样本图像后,确定第三对焦值,再根据第三对焦值设置为该摄像头的焦距并获取第二样本图像,在这种情况下,由于实际的物体可能会发生变化,例如拍屏幕的时候屏幕内容可能会改变,因此需要对第一样本图像和第二样本图像进行配准后对比。In one embodiment, the first sample image and the second sample image may be acquired at the same time, or may be acquired in the order of the first sample image and the second sample image, for example, for a camera with at least two cameras The terminal may determine the focal length of the first camera by using the first focus value, respectively, and determine the focal length of the second camera according to the third focus value. The first camera and the second camera acquire images simultaneously, and the first camera acquires the first image. In this image, the second sample image is obtained by the second camera, and the method of obtaining the sample image by two cameras at the same time can ensure the same content of the images and improve the efficiency of image comparison; for another example, through one of the cameras of the terminal, according to the first After acquiring the first sample image, the focus value determines the third focus value, and then sets the focal length of the camera according to the third focus value to acquire the second sample image. In this case, since the actual object may change, For example, the content of the screen may change when the screen is captured, so the first sample image and the second sample image need to be registered and compared.
需要说明的是,具体的配准方法可以采用已知的方法,本申请并不涉及具体配准方法的改进,能够实现第一样本图像和第二样本图像可用于像素信息的对比即可。可以理解的是,还可以设定色偏像素数阈值,用于摩尔纹的确定,例如检测到第一样本图像的像素信息和第二样本图像的像素信息存在周期性色偏,且存在色偏的像素是连续的像素,且满足色偏像素数阈值,则可以认定第一样本图像中包含摩尔纹,也可以根据实际需求采用其他判定标准,在此不多作限定。It should be noted that the specific registration method may adopt a known method, and the present application does not involve the improvement of the specific registration method, as long as the first sample image and the second sample image can be used for the comparison of pixel information. It can be understood that a color shift pixel number threshold can also be set for the determination of moiré, for example, it is detected that the pixel information of the first sample image and the pixel information of the second sample image have periodic color shift, and there is a color shift. If the offset pixels are continuous pixels and satisfy the threshold of the number of color offset pixels, it can be determined that the first sample image contains moiré, or other determination criteria can be used according to actual needs, which are not limited here.
另外,参照图3,在一实施例中,图1所示实施例中的步骤120还包括但不限于有以下步骤:In addition, referring to FIG. 3 , in an embodiment, step 120 in the embodiment shown in FIG. 1 further includes but is not limited to the following steps:
步骤S310,当检测到第一样本图像的至少一个像素中包含若干个子像素,确定第一样本图像中包含摩尔纹。Step S310, when it is detected that at least one pixel of the first sample image includes several sub-pixels, it is determined that the first sample image includes moiré.
在一实施例中,还可以设定子像素阈值,当一个像素中包含的子像素的数量大于或等于该子像素阈值,则认定该像素为摩尔纹的一部分,具体的子像素阈值可以根据实际需求调整,在此不再赘述。In one embodiment, a sub-pixel threshold can also be set, and when the number of sub-pixels contained in a pixel is greater than or equal to the sub-pixel threshold, the pixel is determined to be a part of the moiré pattern, and the specific sub-pixel threshold can be based on actual conditions. Demand adjustment will not be repeated here.
另外,参照图4,在一实施例中,图1所示实施例中的步骤120还包括但不限于有以下步骤:In addition, referring to FIG. 4 , in an embodiment, step 120 in the embodiment shown in FIG. 1 further includes but is not limited to the following steps:
步骤S410,根据第一对焦值和映射关系确定调焦系数;Step S410, determining a focusing coefficient according to the first focusing value and the mapping relationship;
步骤S420,根据第一对焦值和调焦系数确定第二对焦值。Step S420, determining a second focus value according to the first focus value and the focus adjustment coefficient.
以下结合表1,对本实施例的技术方案进行举例说明。Below in conjunction with Table 1, the technical solution of this embodiment is illustrated by an example.
序号serial number 第一对焦值的区间范围The range of the first focus value 调焦系数的区间范围The range of the focusing factor
11 [0%,1%)[0%, 1%) 设置为固定值:20%Set to fixed value: 20%
22 [1%,5%)[1%, 5%) [20,5)[20,5)
33 [5%,10%)[5%, 10%) [5,3)[5,3)
44 [10%,25%)[10%, 25%) [3,3.2)[3,3.2)
55 [25%,50%)[25%, 50%) [3.2,1.2)[3.2, 1.2)
66 [50%,100%][50%, 100%] [1.2,1][1.2,1]
表1.映射关系示例表Table 1. Example table of mapping relationships
参考表1,需要说明的是,表1由图5所示的映射关系曲线得出,图5仅为本实施例的示例性曲线,并非对具体数值进行限定,本领域技术人员有动机根据实际需求选取具体的映射关系式,在此不再赘述。Referring to Table 1, it should be noted that Table 1 is obtained from the mapping relationship curve shown in FIG. 5 . FIG. 5 is only an exemplary curve of the present embodiment, and does not limit specific values. Those skilled in the art are motivated to base the actual The specific mapping relationship needs to be selected, which will not be repeated here.
其中,第一对焦值和第三对焦值采用百分比的形式,即以摄像头启动时的焦距作为基准焦距,该基准焦距乘以第一对焦值为实际拍摄的焦距数值。The first focus value and the third focus value are in the form of percentages, that is, the focal length when the camera is started is used as the reference focal length, and the reference focal length multiplied by the first focus value is the actual focal length value.
在一实施例中,当第一对焦值小于1%,为了确保焦距足够大,因此通过调焦系数,将第二对焦值确定为20%,又如,当第一对焦值为5%,则可以确定调焦系数为5,则第二对焦值为25%,即,调焦系数为第一对焦值的放大倍数,其他示例不再进行赘述。需要说明的是,如表1所示,当第一对焦值为100%,则焦距无法再进行放大,此时调焦系数确定为1,则第二对焦值可以确定为100%。In an embodiment, when the first focus value is less than 1%, in order to ensure that the focal length is large enough, the second focus value is determined to be 20% by the focus adjustment coefficient. For another example, when the first focus value is 5%, then It can be determined that the focusing coefficient is 5, and the second focusing value is 25%, that is, the focusing coefficient is the magnification of the first focusing value, and other examples will not be repeated. It should be noted that, as shown in Table 1, when the first focus value is 100%, the focal length can no longer be enlarged. At this time, the focus adjustment coefficient is determined to be 1, and the second focus value can be determined to be 100%.
另外,参照图6,在一实施例中,第一样本图像和第二样本图像保存于文件存储器或系统内存,执行完图1所示实施例中的步骤130之后,还包括但不限于有以下步骤:In addition, referring to FIG. 6 , in an embodiment, the first sample image and the second sample image are stored in the file storage or the system memory. After step 130 in the embodiment shown in FIG. The following steps:
步骤S610,将第一样本图像和第二样本图像从文件存储器中删除;Step S610, delete the first sample image and the second sample image from the file storage;
或者,or,
步骤S620,将第一样本图像和第二样本图像从系统内存中释放。Step S620, releasing the first sample image and the second sample image from the system memory.
需要说明的是,文件存储器可以是终端的存储器或内存卡等物理存储装置,具体的存储位置根据实际需求调整即可,本实施例不多作限定。It should be noted that the file storage may be a physical storage device such as the storage of the terminal or a memory card, and the specific storage location may be adjusted according to actual needs, which is not limited in this embodiment.
可以理解的是,在拍摄功能启动后,会进行内存的申请,终端根据需求为拍摄功能分配一定的系统内存,第一样本图像和第二样本图像可以保存在该被分配的系统内存中,具体的内存分配方法并非本实施例作出的改进,在此不再赘述。It can be understood that after the shooting function is activated, a memory application will be made, and the terminal allocates a certain system memory for the shooting function according to requirements. The first sample image and the second sample image can be saved in the allocated system memory. The specific memory allocation method is not an improvement made by this embodiment, and will not be repeated here.
值得注意的是,由于第一样本图像和第二样本图像主要用于辅助确定摩尔纹,在确定摩尔纹并且通过第二对焦值进行拍摄之后,第一样本图像和第二样本图像并没有其他用途,因此,为了节约系统空间,可以将响应于该次拍摄指令所获取的第一样本图像和第二样本图像进行删除。需要说明的是,当第一样本图像和第二样本图像保存于文件存储器,可以通过物理删除的方式从文件存储器中删除,具体的删除方式并非本实施例作出的改进,在此不再赘述。可以理解的是,当第一样本图像和第二样本图像保存于系统内存,可以在完成拍摄之后对分配至拍摄功能的系统内存进行释放,从而实现第一样本图像和第二样本图像的删除。It is worth noting that since the first sample image and the second sample image are mainly used to assist in determining the moiré pattern, after the moiré pattern is determined and photographed with the second focus value, the first sample image and the second sample image are not For other purposes, therefore, in order to save system space, the first sample image and the second sample image acquired in response to this shooting instruction may be deleted. It should be noted that when the first sample image and the second sample image are stored in the file storage, they can be deleted from the file storage by physical deletion. The specific deletion method is not an improvement made in this embodiment, and will not be repeated here. . It can be understood that when the first sample image and the second sample image are stored in the system memory, the system memory allocated to the shooting function can be released after the shooting is completed, so as to realize the synchronization of the first sample image and the second sample image. delete.
另外,参照图7,本申请的一个实施例还提供了一种拍摄装置700,该拍摄装置700包括但不限于有第一对焦值获取单元710、第二对焦值获取单元720和拍摄单元730,其中,In addition, referring to FIG. 7 , an embodiment of the present application further provides a photographing device 700, the photographing device 700 includes but is not limited to a first focus value obtaining unit 710, a second focus value obtaining unit 720, and a photographing unit 730, in,
第一对焦值获取单元710被设置成当检测到拍摄指令,根据当前的第一对焦值获取第一样本图像;The first focus value obtaining unit 710 is configured to obtain a first sample image according to the current first focus value when a shooting instruction is detected;
第二对焦值获取单元720被设置成当检测到第一样本图像中包含摩尔纹,根据第一对焦值和预先设定的映射关系确定第二对焦值,第二对焦值大于第一对焦值;The second focus value acquiring unit 720 is configured to determine a second focus value according to the first focus value and a preset mapping relationship when it is detected that the first sample image contains moiré, and the second focus value is greater than the first focus value ;
拍摄单元730被设置成据第二对焦值执行拍摄。The photographing unit 730 is configured to perform photographing according to the second focus value.
需要说明的是,第一对焦值获取单元710所执行的操作可以参考图1中所示的步骤S110,同理,第二对焦值获取单元720所执行的操作可以参考图1中所示的步骤S120,拍摄单元730所执行的操作可以参考图1中所示的步骤S130,在此不再赘述。It should be noted that the operations performed by the first focus value obtaining unit 710 may refer to step S110 shown in FIG. 1 , and similarly, the operations performed by the second focus value obtaining unit 720 may refer to the steps shown in FIG. 1 . S120 , the operations performed by the photographing unit 730 may refer to step S130 shown in FIG. 1 , which will not be repeated here.
另外,参照图7,在一个实施例中,图7中的第二对焦值获取单元720还包括但不限于有以下单元:In addition, referring to FIG. 7 , in one embodiment, the second focus value obtaining unit 720 in FIG. 7 further includes, but is not limited to, the following units:
第三对焦值获取单元721,被设置成取预先设定的调整值,根据第一对焦值和调整值确定第三对焦值;The third focus value obtaining unit 721 is configured to take a preset adjustment value, and determine the third focus value according to the first focus value and the adjustment value;
第二样本图像获取单元722,被设置成根据第三对焦值获取第二样本图像;The second sample image obtaining unit 722 is configured to obtain the second sample image according to the third focus value;
第一摩尔纹检测单元723,被设置成对第一样本图像和第二样本图像进行图像配准,当检测到第一样本图像的像素信息和第二样本图像的像素信息存在周期性色偏,确定第一样本图像中包含摩尔纹。The first moiré detection unit 723 is configured to perform image registration on the first sample image and the second sample image. When detecting that the pixel information of the first sample image and the pixel information of the second sample image have periodic colors, partial, it is determined that moiré is contained in the first sample image.
需要说明的是,第三对焦值获取单元721所执行的操作可以参考图2中所示的步骤S2310,同理,第二样本图像获取单元722所执行的操作可以参考图2中所示的步骤S220,第一摩尔纹检测单元723所执行的操作可以参考图2中所示的步骤S230,在此不再赘述。It should be noted that the operations performed by the third focus value obtaining unit 721 may refer to step S2310 shown in FIG. 2 , and similarly, the operations performed by the second sample image obtaining unit 722 may refer to the steps shown in FIG. 2 . S220, the operations performed by the first moiré detection unit 723 may refer to step S230 shown in FIG. 2, and details are not repeated here.
另外,参照图7,在一个实施例中,图7中的第二对焦值获取单元720还包括但不限于有以下单元:In addition, referring to FIG. 7 , in one embodiment, the second focus value obtaining unit 720 in FIG. 7 further includes, but is not limited to, the following units:
第二摩尔纹检测单元724,被设置成当检测到第一样本图像的至少一个像素中包含若干个子像素,确定第一样本图像中包含摩尔纹。The second moiré detection unit 724 is configured to determine that the first sample image contains moiré when it is detected that at least one pixel of the first sample image contains several sub-pixels.
需要说明的是,第二摩尔纹检测单元724所执行的操作可以参考图3中所示的步骤S310,在此不再赘述。It should be noted that, for the operations performed by the second moiré detection unit 724, reference may be made to step S310 shown in FIG. 3 , and details are not described herein again.
另外,参照图7,在一个实施例中,图7中的第二对焦值获取单元720还包括但不限于有以下单元:In addition, referring to FIG. 7 , in one embodiment, the second focus value obtaining unit 720 in FIG. 7 further includes, but is not limited to, the following units:
调焦系数确定单元725,被设置成根据第一对焦值和映射关系确定调焦系数;The focusing coefficient determining unit 725 is configured to determine the focusing coefficient according to the first focusing value and the mapping relationship;
调焦系数应用单元726,被设置成根据第一对焦值和调焦系数确定第二对焦值。The focusing coefficient applying unit 726 is configured to determine the second focusing value according to the first focusing value and the focusing coefficient.
需要说明的是,调焦系数确定单元725所执行的操作可以参考图4中所示的步骤S410,同理,调焦系数应用单元726所执行的操作可以参考图4中所示的步骤S420,在此不再赘述。It should be noted that the operation performed by the focusing coefficient determining unit 725 may refer to step S410 shown in FIG. 4 , and similarly, the operation performed by the focusing coefficient applying unit 726 may refer to step S420 shown in FIG. 4 , It is not repeated here.
另外,参照图7,在一个实施例中,图7中的拍摄单元730还包括但不限于有以下单元:In addition, referring to FIG. 7 , in one embodiment, the photographing unit 730 in FIG. 7 further includes, but is not limited to, the following units:
第一清理单元731,被设置成将第一样本图像和第二样本图像从所述文件存储器中删除;a first cleaning unit 731, configured to delete the first sample image and the second sample image from the file storage;
第二清理单元732,被设置成将第一样本图像和第二样本图像从所述系统内存中释放。The second cleaning unit 732 is configured to release the first sample image and the second sample image from the system memory.
需要说明的是,第一清理单元731所执行的操作可以参考图5中所示的步骤S510,同理,第二清理单元732所执行的操作可以参考图5中所示的步骤S520,在此不再赘述。It should be noted that the operations performed by the first cleaning unit 731 may refer to step S510 shown in FIG. 5 , and similarly, the operations performed by the second cleaning unit 732 may refer to step S520 shown in FIG. 5 . No longer.
另外,参照图8,本申请的一个实施例还提供了一种终端800,该终端800包括:存储器810、处理器820及存储在存储器810上并可在处理器820上运行的计算机程序。In addition, referring to FIG. 8 , an embodiment of the present application further provides a terminal 800 . The terminal 800 includes: a memory 810 , a processor 820 , and a computer program stored in the memory 810 and running on the processor 820 .
处理器820和存储器810可以通过总线或者其他方式连接。The processor 820 and the memory 810 may be connected by a bus or otherwise.
实现上述实施例的拍摄方法所需的非暂态软件程序以及指令存储在存储器810中,当 被处理器820执行时,执行上述实施例中的应用于终端800的拍摄方法,例如,执行以上描述的图1中的方法步骤S110至S130,图2中的方法步骤S210至S230,图3中的方法步骤S310,图4中的方法步骤S410至步骤S420,图6中的方法步骤S610和步骤S620。The non-transitory software programs and instructions required to realize the shooting method of the above embodiment are stored in the memory 810, and when executed by the processor 820, the shooting method applied to the terminal 800 in the above embodiment is executed, for example, the above description is performed. The method steps S110 to S130 in Fig. 1, the method steps S210 to S230 in Fig. 2, the method step S310 in Fig. 3, the method steps S410 to S420 in Fig. 4, the method steps S610 and S620 in Fig. 6 .
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The apparatus embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
此外,本申请的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述终端实施例中的一个处理器执行,可使得上述处理器执行上述实施例中的应用于终端的拍摄方法,例如,执行以上描述的图1中的方法步骤S110至S130,图2中的方法步骤S210至S230,图3中的方法步骤S310,图4中的方法步骤S410至步骤S420,图6中的方法步骤S610和步骤S620。本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。In addition, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Executed by a processor in the terminal embodiment, the above-mentioned processor can execute the shooting method applied to the terminal in the above-mentioned embodiment, for example, the above-described method steps S110 to S130 in FIG. 1 and the method steps in FIG. 2 are executed. S210 to S230, method step S310 in FIG. 3 , method step S410 to S420 in FIG. 4 , method step S610 and step S620 in FIG. 6 . Those of ordinary skill in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
本申请实施例包括:根据当前的第一对焦值获取第一样本图像;当检测到第一样本图像中包含摩尔纹,根据第一对焦值和预先设定的映射关系确定第二对焦值,第二对焦值大于第一对焦值;当检测到拍摄指令,根据第二对焦值执行拍摄。根据本申请实施例提供的方案,能够在检测到第一样本图像中包含摩尔纹的情况下进一步增大焦距,使摄入的光更加分散,减少了光的差拍效应,并且,焦距的增大会使实现一定程度上的图像虚化,减少了图像信息,实现了拍摄过程中消除摩尔纹,提高用户体验。The embodiments of the present application include: acquiring a first sample image according to a current first focus value; when detecting that the first sample image contains moiré, determining a second focus value according to the first focus value and a preset mapping relationship , the second focus value is greater than the first focus value; when a shooting instruction is detected, shooting is performed according to the second focus value. According to the solutions provided by the embodiments of the present application, the focal length can be further increased when it is detected that the first sample image contains moiré, so that the ingested light is more dispersed, and the beat effect of the light is reduced. The increase will make the image blur to a certain extent, reduce the image information, eliminate the moiré pattern during the shooting process, and improve the user experience.
以上是对本申请的一些实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of some implementations of the application, but the application is not limited to the above-mentioned embodiments. Those skilled in the art can make various equivalent modifications or replacements without departing from the scope of the application. These equivalents Variations or substitutions of the above are all included within the scope defined by the claims of the present application.

Claims (12)

  1. 一种拍摄方法,应用于终端,包括:A shooting method, applied to a terminal, includes:
    根据当前的第一对焦值获取第一样本图像;obtaining a first sample image according to the current first focus value;
    当检测到所述第一样本图像中包含摩尔纹,根据所述第一对焦值和预先设定的映射关系确定第二对焦值,所述第二对焦值大于所述第一对焦值;When it is detected that the first sample image contains moiré, a second focus value is determined according to the first focus value and a preset mapping relationship, and the second focus value is greater than the first focus value;
    当检测到拍摄指令,根据所述第二对焦值执行拍摄。When a shooting instruction is detected, shooting is performed according to the second focus value.
  2. 根据权利要求1所述的一种拍摄方法,其中,所述当检测到所述第一样本图像中包含摩尔纹,包括:A photographing method according to claim 1, wherein when it is detected that the first sample image contains moiré patterns, the method comprises:
    获取预先设定的调整值,根据所述第一对焦值和所述调整值确定所述第三对焦值;obtaining a preset adjustment value, and determining the third focus value according to the first focus value and the adjustment value;
    根据所述第三对焦值获取第二样本图像;acquiring a second sample image according to the third focus value;
    对所述第一样本图像和所述第二样本图像进行图像配准,当检测到所述第一样本图像的像素信息和所述第二样本图像的像素信息存在周期性色偏,确定所述第一样本图像中包含摩尔纹。Perform image registration on the first sample image and the second sample image, and when it is detected that there is a periodic color shift between the pixel information of the first sample image and the pixel information of the second sample image, determine The first sample image contains moiré.
  3. 根据权利要求1所述的一种拍摄方法,其中,所述确定所述第一样本图像中包含摩尔纹,包括:A photographing method according to claim 1, wherein the determining that the first sample image contains moiré patterns comprises:
    当检测到所述第一样本图像的至少一个像素中包含若干个子像素,确定所述第一样本图像中包含摩尔纹。When it is detected that at least one pixel of the first sample image contains several sub-pixels, it is determined that the first sample image contains moiré.
  4. 根据权利要求1所述的一种拍摄方法,其中,所述根据所述第一对焦值和预先设定的映射关系确定第二对焦值,包括:A shooting method according to claim 1, wherein the determining the second focus value according to the first focus value and a preset mapping relationship comprises:
    根据所述第一对焦值和所述映射关系确定调焦系数;determining a focusing coefficient according to the first focusing value and the mapping relationship;
    根据所述第一对焦值和所述调焦系数确定所述第二对焦值。The second focus value is determined according to the first focus value and the focus adjustment coefficient.
  5. 根据权利要求2所述的一种拍摄方法,其中,所述第一样本图像和所述第二样本图像保存于文件存储器或系统内存,在所述根据所述第二对焦值执行拍摄之后,还包括:A photographing method according to claim 2, wherein the first sample image and the second sample image are saved in a file memory or a system memory, and after the photographing is performed according to the second focus value, Also includes:
    将所述第一样本图像和所述第二样本图像从所述文件存储器中删除;deleting the first sample image and the second sample image from the file storage;
    或者,or,
    将所述第一样本图像和所述第二样本图像从所述系统内存中释放。Freeing the first sample image and the second sample image from the system memory.
  6. 一种拍摄装置,包括:A photographing device, comprising:
    第一对焦值获取单元,被设置成根据当前的第一对焦值获取第一样本图像;a first focus value obtaining unit, configured to obtain a first sample image according to the current first focus value;
    第二对焦值获取单元,被设置成当检测到所述第一样本图像中包含摩尔纹,根据所述第一对焦值和预先设定的映射关系确定第二对焦值,所述第二对焦值大于所述第一对焦值;A second focus value acquiring unit, configured to determine a second focus value according to the first focus value and a preset mapping relationship when it is detected that the first sample image contains moiré, the second focus value value is greater than the first focus value;
    拍摄单元,当检测到拍摄指令,被设置成根据所述第二对焦值执行拍摄。The photographing unit, when a photographing instruction is detected, is configured to perform photographing according to the second focus value.
  7. 根据权利要求6所述的一种拍摄装置,还包括:A photographing device according to claim 6, further comprising:
    第三对焦值获取单元,被设置成获取预先设定的调整值,根据所述第一对焦值和所述调整值确定所述第三对焦值;a third focus value acquiring unit, configured to acquire a preset adjustment value, and determine the third focus value according to the first focus value and the adjustment value;
    第二样本图像获取单元,被设置成根据所述第三对焦值获取第二样本图像;A second sample image acquisition unit configured to acquire a second sample image according to the third focus value;
    第一摩尔纹检测单元,被设置成对所述第一样本图像和所述第二样本图像进行图像配准,当检测到所述第一样本图像的像素信息和所述第二样本图像的像素信息存在周期性色偏,确定所述第一样本图像中包含摩尔纹。a first moiré detection unit, configured to perform image registration on the first sample image and the second sample image, when pixel information of the first sample image and the second sample image are detected There is a periodic color shift in the pixel information of , and it is determined that the first sample image contains moiré.
  8. 根据权利要求6所述的一种拍摄装置,还包括:A photographing device according to claim 6, further comprising:
    第二摩尔纹检测单元,被设置成当检测到所述第一样本图像的至少一个像素中包含若干个子像素,确定所述第一样本图像中包含摩尔纹。The second moiré detection unit is configured to determine that the first sample image contains moiré when it is detected that at least one pixel of the first sample image contains several sub-pixels.
  9. 根据权利要求6所述的一种拍摄装置,还包括:A photographing device according to claim 6, further comprising:
    调焦系数确定单元,被设置成根据所述第一对焦值和所述映射关系确定调焦系数;a focusing coefficient determination unit, configured to determine the focusing coefficient according to the first focus value and the mapping relationship;
    调焦系数应用单元,被设置成根据所述第一对焦值和所述调焦系数确定所述第二对焦值。A focusing coefficient applying unit, configured to determine the second focusing value according to the first focusing value and the focusing coefficient.
  10. 根据权利要求7所述的一种拍摄装置,其中,还包括:A photographing device according to claim 7, further comprising:
    第一清理单元,被设置成将所述第一样本图像和所述第二样本图像从所述文件存储器中删除;a first cleaning unit configured to delete the first sample image and the second sample image from the file storage;
    第二清理单元,被设置成将所述第一样本图像和所述第二样本图像从所述系统内存中释放。A second cleaning unit configured to release the first sample image and the second sample image from the system memory.
  11. 一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至5中任意一项所述的拍摄方法。A terminal, comprising: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements any one of claims 1 to 5 when the processor executes the computer program. the shooting method described.
  12. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如权利要求1至5中任意一项所述的拍摄方法。A computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the photographing method according to any one of claims 1 to 5.
PCT/CN2021/114347 2020-10-30 2021-08-24 Photographing method and apparatus, and terminal, and computer readable storage medium WO2022088882A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011185838.4A CN114449150A (en) 2020-10-30 2020-10-30 Photographing method, photographing device, terminal and computer-readable storage medium
CN202011185838.4 2020-10-30

Publications (1)

Publication Number Publication Date
WO2022088882A1 true WO2022088882A1 (en) 2022-05-05

Family

ID=81357362

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114347 WO2022088882A1 (en) 2020-10-30 2021-08-24 Photographing method and apparatus, and terminal, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN114449150A (en)
WO (1) WO2022088882A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023221119A1 (en) * 2022-05-20 2023-11-23 北京小米移动软件有限公司 Image processing method and apparatus and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2696584A2 (en) * 2012-08-06 2014-02-12 Ricoh Company, Ltd. Image capturing device and image capturing method
CN104717474A (en) * 2013-12-16 2015-06-17 瑞昱半导体股份有限公司 Image processing method and module
CN106131391A (en) * 2016-08-31 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of image pickup method and device
CN107493407A (en) * 2016-06-08 2017-12-19 深圳富泰宏精密工业有限公司 Camera arrangement and photographic method
CN108615227A (en) * 2018-05-08 2018-10-02 浙江大华技术股份有限公司 A kind of suppressing method and equipment of image moire fringes
CN111756989A (en) * 2019-03-29 2020-10-09 北京小米移动软件有限公司 Method and device for controlling focusing of lens

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2696584A2 (en) * 2012-08-06 2014-02-12 Ricoh Company, Ltd. Image capturing device and image capturing method
CN104717474A (en) * 2013-12-16 2015-06-17 瑞昱半导体股份有限公司 Image processing method and module
CN107493407A (en) * 2016-06-08 2017-12-19 深圳富泰宏精密工业有限公司 Camera arrangement and photographic method
CN106131391A (en) * 2016-08-31 2016-11-16 宇龙计算机通信科技(深圳)有限公司 A kind of image pickup method and device
CN108615227A (en) * 2018-05-08 2018-10-02 浙江大华技术股份有限公司 A kind of suppressing method and equipment of image moire fringes
CN111756989A (en) * 2019-03-29 2020-10-09 北京小米移动软件有限公司 Method and device for controlling focusing of lens

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023221119A1 (en) * 2022-05-20 2023-11-23 北京小米移动软件有限公司 Image processing method and apparatus and storage medium

Also Published As

Publication number Publication date
CN114449150A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN111028189B (en) Image processing method, device, storage medium and electronic equipment
CN108335279B (en) Image fusion and HDR imaging
WO2019183813A1 (en) Image capture method and device
WO2017215501A1 (en) Method and device for image noise reduction processing and computer storage medium
CN107749944A (en) A kind of image pickup method and device
CN111491108B (en) Exposure parameter adjusting method and device
CN113347334B (en) Nondestructive photographing method and device for mobile terminal, terminal equipment and storage medium
CN110958401A (en) Super night scene image color correction method and device and electronic equipment
WO2021169686A1 (en) Photo capture control method and apparatus and computer readable storage medium
CN110971841A (en) Image processing method, image processing device, storage medium and electronic equipment
WO2022088882A1 (en) Photographing method and apparatus, and terminal, and computer readable storage medium
CN108401109B (en) Image acquisition method and device, storage medium and electronic equipment
WO2017143654A1 (en) Method for selecting photo to be outputted, photographing method, device and storage medium
CN115082495A (en) Image processing method, device, equipment and computer readable storage medium
CN109120856B (en) Camera shooting method and device
WO2020063072A1 (en) Method, system, and terminal for image screening, and computer-readable storage medium
CN108307114B (en) Image processing method and device, storage medium and electronic equipment
CN114866705B (en) Automatic exposure method, storage medium and electronic device
WO2022109897A1 (en) Time-lapse photography method and device, and time-lapse video generation method and device
CN114979493A (en) Storage space saving platform for photographing APP
CN113395434B (en) Preview image blurring method, storage medium and terminal equipment
CN110072050B (en) Self-adaptive adjustment method and device of exposure parameters and shooting equipment
WO2022088883A1 (en) Photographing method and apparatus, terminal, and computer-readable storage medium
JP7246894B2 (en) Imaging device and its control method
CN110868549B (en) Exposure control method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21884614

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22-09-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21884614

Country of ref document: EP

Kind code of ref document: A1