CN110769157A - Image acquisition control method, device and storage medium - Google Patents
Image acquisition control method, device and storage medium Download PDFInfo
- Publication number
- CN110769157A CN110769157A CN201911078454.XA CN201911078454A CN110769157A CN 110769157 A CN110769157 A CN 110769157A CN 201911078454 A CN201911078454 A CN 201911078454A CN 110769157 A CN110769157 A CN 110769157A
- Authority
- CN
- China
- Prior art keywords
- image
- scene
- shooting
- duration
- image acquisition
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
本公开是关于一种图像采集控制方法、装置及存储介质,属于图像处理技术领域,所述方法由计算机设备执行,所述计算机设备中包含图像采集组件,所述方法包括:接收到图像采集指令时,获取拍摄场景;当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像;其中,第一时长大于第二时长。本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是指定场景时,通过图像采集组件采集的曝光时长为第一时长的图像,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。
The present disclosure relates to an image acquisition control method, device and storage medium, belonging to the technical field of image processing. The method is executed by computer equipment, and the computer equipment includes an image acquisition component. The method includes: receiving an image acquisition instruction When the shooting scene is a specified scene, the first image is collected by the image acquisition component, and the first image is an image whose exposure duration is the first duration; when the shooting scene is not the specified scene, the first image is collected by the image acquisition component. Two images, the second image is an image whose exposure duration is the second duration; wherein, the first duration is longer than the second duration. In the present disclosure, a shooting scene is acquired by a computer device, and when the acquired shooting scene is a designated scene, an image whose exposure duration is the first duration is acquired by an image acquisition component, thereby reducing imaging defects when shooting an interface displayed in a progressive scanning manner, Improves the display of images captured in the specified scene.
Description
技术领域technical field
本公开实施例属于图像处理技术领域,特别涉及一种图像采集控制方法、装置及存储介质。The embodiments of the present disclosure belong to the technical field of image processing, and in particular, to an image acquisition control method, a device, and a storage medium.
背景技术Background technique
随着科学技术的不断发展,人们在日常生活中使用终端拍摄图片是非常普遍的现象。With the continuous development of science and technology, it is a very common phenomenon that people use terminals to take pictures in daily life.
在日常生活中,人们可以使用终端拍摄风景、文件、任务等数据,并将拍摄的图像显示在终端的显示屏中。目前,显示屏在显示图像时,往往通过逐行扫描的方式进行显示。其中,显示屏可以包括LCD(Liquid Crystal Display,液晶显示屏)显示屏、LED(LightEmitting Diode,发光二极管)显示屏、OLED(OrganicLight-Emitting Diode,有机发光二极管)显示屏等。当用户使用终端拍摄这些显示屏中展示的画面时,终端的屏幕上也可以通过逐行扫描的方式展示拍摄到的画面。In daily life, people can use the terminal to shoot data such as scenery, files, and tasks, and display the captured images on the display screen of the terminal. At present, when a display screen displays an image, it is often displayed in a progressive scan manner. The display screen may include an LCD (Liquid Crystal Display, liquid crystal display screen) display screen, an LED (Light Emitting Diode, light-emitting diode) display screen, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) display screen, and the like. When the user uses the terminal to photograph the images displayed on the display screens, the captured images can also be displayed on the screen of the terminal in the manner of line-by-line scanning.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供了一种图像采集控制方法、装置及存储介质。所述技术方案如下:Embodiments of the present disclosure provide an image acquisition control method, device, and storage medium. The technical solution is as follows:
根据本公开实施例的一个方面,提供了一种图像采集控制方法,所述方法由计算机设备执行,所述计算机设备中包含图像采集组件,所述方法包括:According to an aspect of the embodiments of the present disclosure, an image acquisition control method is provided, the method is executed by a computer device, and the computer device includes an image acquisition component, and the method includes:
接收到图像采集指令时,获取拍摄场景;When receiving the image acquisition instruction, acquire the shooting scene;
当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述第一图像是曝光时长为第一时长的图像;所述指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;When the shooting scene is a specified scene, a first image is collected by the image acquisition component, and the first image is an image whose exposure duration is the first duration; the specified scene is displayed in a progressive scan manner. The interface to shoot the scene;
当所述拍摄场景不是所述指定场景时,通过所述图像采集组件采集第二图像,所述第二图像是曝光时长为第二时长的图像;When the shooting scene is not the designated scene, collecting a second image by the image acquisition component, where the second image is an image with an exposure duration of a second duration;
其中,所述第一时长大于所述第二时长。Wherein, the first duration is greater than the second duration.
可选的,所述当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,包括:Optionally, when the shooting scene is a designated scene, collecting the first image by the image collecting component includes:
将所述图像采集组件的曝光时长设置为所述第一时长;setting the exposure duration of the image acquisition component to the first duration;
通过设置曝光时长之后的所述图像采集组件采集所述第一图像。The first image is acquired by the image acquisition component after the exposure duration is set.
可选的,所述当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,包括:Optionally, when the shooting scene is a designated scene, collecting the first image by the image collecting component includes:
通过所述图像采集组件采集n帧临时图像,所述临时图像是曝光时长为第三时长的图像,所述第一时长是所述第三时长的n倍;n为大于或者等于2的整数;Collecting n frames of temporary images by the image acquisition component, the temporary images are images with an exposure duration of a third duration, and the first duration is n times the third duration; n is an integer greater than or equal to 2;
根据所述n帧临时图像进行图像合成,获得所述第一图像。Perform image synthesis according to the n frames of temporary images to obtain the first image.
可选的,所述第三时长处于所述图像采集组件的安全快门对应曝光时长区域内。Optionally, the third duration is within an exposure duration region corresponding to the safety shutter of the image capturing component.
可选的,所述根据所述n帧临时图像进行图像合成,获得所述第一图像,包括:Optionally, the performing image synthesis according to the n frames of temporary images to obtain the first image includes:
对所述n帧临时图像中位置相同的像素进行叠加合成,获得所述第一图像。The first image is obtained by superimposing and synthesizing pixels with the same position in the n-frame temporary images.
可选的,在所述接收到图像采集指令时,获取拍摄场景之前,还包括:Optionally, when the image acquisition instruction is received, before acquiring the shooting scene, the method further includes:
获取拍摄预览图像,所述拍摄预览图像是所述图像采集组件接收到所述拍摄指令之前采集到的图像;acquiring a shooting preview image, where the shooting preview image is an image collected before the image acquisition component receives the shooting instruction;
根据所述拍摄预览图像确定所述拍摄场景。The shooting scene is determined according to the shooting preview image.
可选的,所述根据所述拍摄预览图像确定所述拍摄场景,包括:Optionally, the determining the shooting scene according to the shooting preview image includes:
通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景;The shooting preview image is processed by a scene classification model to obtain the shooting scene;
其中,所述场景分类模型是根据训练样本预先训练得到的机器学习模型,所述训练样本包括正样本和负样本中的至少一种,所述正样本是标注为所述指定场景的图像,所述负样本是标注为不是所述指定场景的图像。The scene classification model is a machine learning model pre-trained according to training samples, the training samples include at least one of positive samples and negative samples, and the positive samples are images marked as the specified scene, so The negative samples are images marked as not the specified scene.
可选的,所述拍摄预览图像包括m帧预览图像;m为大于或者等于2的整数;Optionally, the shooting preview images include m frames of preview images; m is an integer greater than or equal to 2;
所述通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景,包括:The processing of the shooting preview image by the scene classification model to obtain the shooting scene includes:
通过所述场景分类模型对所述m帧预览图像分别进行处理,获得所述m帧预览图像各自属于所述指定场景的概率;The m frames of preview images are respectively processed by the scene classification model to obtain the probability that each of the m frames of preview images belong to the specified scene;
根据所述m帧预览图像各自属于所述指定场景的概率,获取所述拍摄场景。The shooting scene is acquired according to the probability that each of the m frames of preview images belongs to the specified scene.
可选的,所述拍摄场景是接收到所述图像采集指令之前,根据对拍摄预览界面中的场景选择控件执行的选择操作确定的场景。Optionally, the shooting scene is a scene determined according to a selection operation performed on the scene selection control in the shooting preview interface before the image acquisition instruction is received.
根据本公开实施例的另一个方面,提供了一种图像采集控制装置,所述装置用于计算机设备中,所述计算机设备中包含图像采集组件,所述装置包括:According to another aspect of the embodiments of the present disclosure, there is provided an image capture control apparatus, the apparatus is used in computer equipment, the computer equipment includes an image capture component, and the apparatus includes:
场景获取模块,用于接收到图像采集指令时,获取拍摄场景;The scene acquisition module is used to acquire the shooting scene when receiving the image acquisition instruction;
第一采集模块,用于当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述第一图像是曝光时长为第一时长的图像;所述指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;A first collection module, configured to collect a first image through the image collection component when the shooting scene is a designated scene, where the first image is an image with an exposure duration of a first duration; The scene where the interface is displayed in a progressive scan manner;
第二采集模块,用于当所述拍摄场景不是所述指定场景时,通过所述图像采集组件采集第二图像,所述第二图像是曝光时长为第二时长的图像;a second acquisition module, configured to acquire a second image through the image acquisition component when the shooting scene is not the designated scene, where the second image is an image whose exposure duration is the second duration;
其中,所述第一时长大于所述第二时长。Wherein, the first duration is greater than the second duration.
可选的,所述第一采集模块,包括:时长设置单元和第一采集单元;Optionally, the first collection module includes: a duration setting unit and a first collection unit;
所述时长设置单元,用于将所述图像采集组件的曝光时长设置为所述第一时长;the duration setting unit, configured to set the exposure duration of the image acquisition component to the first duration;
所述第一采集单元,用于通过设置曝光时长之后的所述图像采集组件采集所述第一图像。The first acquisition unit is configured to acquire the first image by using the image acquisition component after the exposure duration is set.
可选的,所述第一采集模块,包括:第二采集单元和图像获得单元;Optionally, the first acquisition module includes: a second acquisition unit and an image acquisition unit;
所述第二采集单元,用于通过所述图像采集组件采集n帧临时图像,所述临时图像是曝光时长为第三时长的图像,所述第一时长是所述第三时长的n倍;n为大于或者等于2的整数;the second acquisition unit, configured to acquire n frames of temporary images through the image acquisition component, where the temporary images are images whose exposure duration is a third duration, and the first duration is n times the third duration; n is an integer greater than or equal to 2;
所述图像获得单元,用于根据所述n帧临时图像进行图像合成,获得所述第一图像。The image obtaining unit is configured to perform image synthesis according to the n frames of temporary images to obtain the first image.
可选的,所述第三时长处于所述图像采集组件的安全快门对应曝光时长区域内。Optionally, the third duration is within an exposure duration region corresponding to the safety shutter of the image capturing component.
可选的,所述图像获得单元,用于对所述n帧临时图像中位置相同的像素进行叠加合成,获得所述第一图像。Optionally, the image obtaining unit is configured to superimpose and synthesize pixels with the same position in the n frames of temporary images to obtain the first image.
可选的,所述装置还包括:Optionally, the device further includes:
图像获取模块,用于在所述场景获取模块接收到图像采集指令时,获取拍摄场景之前,获取拍摄预览图像,所述拍摄预览图像是所述图像采集组件接收到所述拍摄指令之前采集到的图像;An image acquisition module, configured to acquire a shooting preview image before acquiring a shooting scene when the scene acquisition module receives an image acquisition instruction, and the shooting preview image is collected before the image acquisition component receives the shooting instruction image;
场景确定模块,用于根据所述拍摄预览图像确定所述拍摄场景。A scene determination module, configured to determine the shooting scene according to the shooting preview image.
可选的,所述场景确定模块,用于通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景;Optionally, the scene determination module is configured to process the shooting preview image through a scene classification model to obtain the shooting scene;
其中,所述场景分类模型是根据训练样本预先训练得到的机器学习模型,所述训练样本包括正样本和负样本中的至少一种,所述正样本是标注为所述指定场景的图像,所述负样本是标注为不是所述指定场景的图像。The scene classification model is a machine learning model pre-trained according to training samples, the training samples include at least one of positive samples and negative samples, and the positive samples are images marked as the specified scene, so The negative samples are images marked as not the specified scene.
可选的,所述拍摄预览图像包括m帧预览图像;m为大于或者等于2的整数;Optionally, the shooting preview images include m frames of preview images; m is an integer greater than or equal to 2;
所述通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景,包括:The processing of the shooting preview image by the scene classification model to obtain the shooting scene includes:
通过所述场景分类模型对所述m帧预览图像分别进行处理,获得所述m帧预览图像各自属于所述指定场景的概率;The m frames of preview images are respectively processed by the scene classification model to obtain the probability that each of the m frames of preview images belong to the specified scene;
根据所述m帧预览图像各自属于所述指定场景的概率,获取所述拍摄场景。The shooting scene is acquired according to the probability that each of the m frames of preview images belongs to the specified scene.
可选的,所述拍摄场景是接收到所述图像采集指令之前,根据对拍摄预览界面中的场景选择控件执行的选择操作确定的场景。Optionally, the shooting scene is a scene determined according to a selection operation performed on the scene selection control in the shooting preview interface before the image acquisition instruction is received.
根据本公开实施例的另一个方面,提供了一种图像采集控制装置,所述装置用于计算机设备中,所述计算机设备中包含图像采集组件,所述装置包括:According to another aspect of the embodiments of the present disclosure, there is provided an image capture control apparatus, the apparatus is used in computer equipment, the computer equipment includes an image capture component, and the apparatus includes:
处理器;processor;
用于存储所述处理器的可执行指令的存储器;memory for storing executable instructions for the processor;
其中,所述处理器被配置为:wherein the processor is configured to:
接收到图像采集指令时,获取拍摄场景;When receiving the image acquisition instruction, acquire the shooting scene;
当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述第一图像是曝光时长为第一时长的图像;所述指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;When the shooting scene is a specified scene, a first image is collected by the image acquisition component, and the first image is an image whose exposure duration is the first duration; the specified scene is displayed in a progressive scan manner. The interface to shoot the scene;
当所述拍摄场景不是所述指定场景时,通过所述图像采集组件采集第二图像,所述第二图像是曝光时长为第二时长的图像;When the shooting scene is not the designated scene, collecting a second image by the image acquisition component, where the second image is an image with an exposure duration of a second duration;
其中,所述第一时长大于所述第二时长。Wherein, the first duration is greater than the second duration.
根据本公开实施例的另一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中包含可执行指令,由处理器调用所述可执行指令以实现如上述第一方面以及第一方面任一可选实现方式所述的图像采集控制方法。According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, the computer-readable storage medium contains executable instructions, and the executable instructions are invoked by a processor to implement the above-mentioned first aspect and The image acquisition control method described in any optional implementation manner of the first aspect.
本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
接收到图像采集指令时,获取拍摄场景;当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像;其中,第一时长大于第二时长。本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。When an image capture instruction is received, a shooting scene is acquired; when the shooting scene is a specified scene, a first image is collected by an image acquisition component, and the first image is an image whose exposure duration is the first duration; When the shooting scene is not a specified scene, a second image is collected by the image acquisition component, and the second image is an image with an exposure duration of the second duration; wherein the first duration is greater than the second duration. In the present disclosure, a shooting scene is acquired by a computer device, and when the acquired shooting scene is a scene of shooting an interface displayed in a progressive scan manner, an image with an exposure duration of a first duration is acquired by an image acquisition component, so that the captured first The exposure time of one image is longer, and when the computer device displays the first image, it is not easy to superimpose the specified scene to produce moiré, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the image captured in the specified scene. display effect.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是本公开一示例性实施例提供的一种拍摄图像的应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario of capturing an image provided by an exemplary embodiment of the present disclosure;
图2是本公开一示例性实施例提供的一种图像采集控制方法的方法流程图;FIG. 2 is a method flowchart of an image capture control method provided by an exemplary embodiment of the present disclosure;
图3是本公开一示例性实施例涉及图2的一种图像采集控制方法的方法流程图;FIG. 3 is a method flowchart of an exemplary embodiment of the present disclosure relating to an image capture control method of FIG. 2;
图4是本公开一示例性实施例涉及图2的另一种图像采集控制方法的方法流程图;FIG. 4 is a method flow chart of another image acquisition control method of FIG. 2 related to an exemplary embodiment of the present disclosure;
图5是本公开一示例性实施例涉及图4的一种图像采集控制方法的方法流程图;FIG. 5 is a method flowchart of an exemplary embodiment of the present disclosure relating to an image capture control method of FIG. 4;
图6是本公开一示例性实施例涉及图2的又一种图像采集控制方法的方法流程图;FIG. 6 is a method flow chart of another image acquisition control method of FIG. 2 related to an exemplary embodiment of the present disclosure;
图7是本公开一示例性实施例涉及图6的一种图像采集控制方法的方法流程图;FIG. 7 is a method flowchart of an exemplary embodiment of the present disclosure relating to an image capture control method of FIG. 6;
图8是本公开一示例性实施例涉及图7的一种图像采集控制方法的方法流程图;FIG. 8 is a method flowchart of an exemplary embodiment of the present disclosure relating to an image capture control method of FIG. 7;
图9是本公开一示例性实施例提供的一种图像采集控制方法的方法流程图;FIG. 9 is a method flowchart of an image capture control method provided by an exemplary embodiment of the present disclosure;
图10是本公开一示例性实施例提供的一种图像采集控制装置的框图;FIG. 10 is a block diagram of an image capture control apparatus provided by an exemplary embodiment of the present disclosure;
图11是根据一示例性实施例示出的一种用于计算机设备的装置的框图。Fig. 11 is a block diagram of an apparatus for computer equipment according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
本公开实施例描述的拍摄图像的应用场景是为了更加清楚地说明本公开实施例的技术方案,并不构成对本公开实施例提供的技术方案的限定,本领域普通技术人员可知,随着新的计算机设备的出现,本公开实施例提供的技术方案对于类似的技术问题,同样适用。The application scenarios of the captured images described in the embodiments of the present disclosure are for the purpose of illustrating the technical solutions of the embodiments of the present disclosure more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. With the appearance of computer equipment, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.
为了便于理解,下面首先对本申请实施例涉及的一些名词以及应用场景进行简单介绍。For ease of understanding, the following briefly introduces some terms and application scenarios involved in the embodiments of the present application.
逐行扫描:逐行扫描(也称为非交错扫描)是一种对位图图像进行编码的方法,通过扫描或显示每行或每行像素,在电子显示屏上“绘制”视频图像或者图片图像的常用方法之一。Progressive Scanning: Progressive scanning (also known as non-interlaced scanning) is a method of encoding a bitmap image to "draw" a video image or picture on an electronic display by scanning or displaying each row or row of pixels One of the common methods for images.
摩尔纹(Moire)现象:也称为摩尔现象,是一种视觉现象。Moire phenomenon: Also known as Moire phenomenon, it is a visual phenomenon.
安全快门:通常在1/30s或是1/60s,相机“喀嚓”的瞬间,相机执行曝光的过程。Safety shutter: Usually at 1/30s or 1/60s, the moment the camera "clicks", the camera performs the exposure process.
请参考图1,其示出了本公开一示例性实施例提供的一种拍摄图像的应用场景的示意图。如图1所示,其中包含了若干个计算机设备110。Please refer to FIG. 1 , which shows a schematic diagram of an application scenario of capturing an image provided by an exemplary embodiment of the present disclosure. As shown in Figure 1,
其中,计算机设备110是具有图像采集组件的电子设备。例如,计算机设备110可以包括但不限于手机、相机、平板电脑、电子书阅读器、智能机器人、智能摄像头、MP4(MovingPicture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。Among them, the
可选的,用户可以使用计算机设备110中的图像采集组件进行图像采集(也可以称为拍摄),将采集到的图像显示在计算机设备110的显示屏中。其中,用户采集图像时,可以采集日常生活中的画面,也可以采集其他显示设备中显示的图像。Optionally, the user may use the image capturing component in the
在一种可能实现的方式中,当其他显示设备中显示的图像是通过上述逐行扫描的方式显示时,用户使用计算机设备110进行拍摄这些显示设备中显示的图像时,计算机设备110采集到的图像中可能产生摩尔纹现象,造成采集到的图像的显示效果差等问题。比如,当用户需要手机拍摄投影仪上展示的图像时,当投影仪上显示的图像是通过逐行扫描方式展示的时候,如果用户使用手机拍摄该投影仪上展示的图像,可能导致手机在显示屏中显示拍摄的图像时出现摩尔纹现象,存在图像展示缺陷。In a possible implementation manner, when the images displayed in other display devices are displayed by the above-mentioned progressive scanning method, when the user uses the
在本公开提供的技术方案中,对于上述用户采用计算机设备采集其他显示屏中的图像时,通过对拍摄场景进行识别,改变指定场景下采集图像时的曝光时长,从而提高计算机设备图像采集的效果。下面,将通过几个实施例,对本公开提供的技术方案进行介绍说明。In the technical solution provided by the present disclosure, when the above-mentioned user uses computer equipment to collect images in other display screens, by identifying the shooting scene, the exposure time when collecting images in a specified scene is changed, thereby improving the effect of computer equipment image collection. . Hereinafter, the technical solutions provided by the present disclosure will be introduced and described through several embodiments.
请参考图2,其示出了本公开一示例性实施例提供的一种图像采集控制方法的方法流程图。该图像采集控制方法可应用于图1所示的拍摄场景中,由该拍摄场景中的计算机设备执行。该方法可以包括如下几个步骤:Please refer to FIG. 2 , which shows a method flowchart of an image capture control method provided by an exemplary embodiment of the present disclosure. The image acquisition control method can be applied to the shooting scene shown in FIG. 1 , and is executed by a computer device in the shooting scene. The method may include the following steps:
在步骤201中,接收到图像采集指令时,获取拍摄场景。In
在步骤202中,当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景。In
在步骤203中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
可选的,上述拍摄场景是接收到图像采集指令之前,根据对拍摄预览界面中的场景选择控件执行的选择操作确定的场景。Optionally, the above-mentioned shooting scene is a scene determined according to a selection operation performed on the scene selection control in the shooting preview interface before the image acquisition instruction is received.
综上所述,本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, in the present disclosure, a shooting scene is acquired by a computer device, and when the acquired shooting scene is a scene of shooting an interface displayed in a progressive scan manner, an image with an exposure duration of a first duration is acquired by an image acquisition component , so that the exposure time of the collected first image is longer, and when the computer equipment displays the first image, it is not easy to superimpose with the designated scene to generate moiré, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the performance of the designated scene. The display effect of the image captured in the scene.
可选的,请参考图3,其示出了本公开一示例性实施例涉及图2的一种图像采集控制方法的方法流程图。其中,图3所示的方法可以看做是对上述图2的一种实现方式的描述,该方法可以包括如下几个步骤:Optionally, please refer to FIG. 3 , which shows a method flowchart of an exemplary embodiment of the present disclosure involving an image acquisition control method of FIG. 2 . The method shown in FIG. 3 can be regarded as a description of an implementation manner of the above-mentioned FIG. 2 , and the method may include the following steps:
在步骤301中,接收到图像采集指令时,获取拍摄场景。In
在步骤302中,当拍摄场景是指定场景时,将图像采集组件的曝光时长设置为第一时长。In
在步骤303中,通过设置曝光时长之后的图像采集组件采集第一图像;第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景。In
在步骤304中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
综上所述,本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过将图像采集组件的曝光时长设置为第一时长,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, the present disclosure acquires a shooting scene through a computer device, and when the acquired shooting scene is a scene for shooting an interface displayed in a progressive scan manner, the exposure duration of the image acquisition component is set to the first duration. , so that the exposure time of the collected first image is longer, and when the computer equipment displays the first image, it is not easy to superimpose with the designated scene to generate moiré, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the performance of the designated scene. The display effect of the image captured in the scene.
可选的,请参考图4,其示出了本公开一示例性实施例涉及图2的另一种图像采集控制方法的方法流程图。其中,图4所示的方法可以看做是对上述图2的另一种实现方式的描述,该方法可以包括如下几个步骤:Optionally, please refer to FIG. 4 , which shows a method flowchart of another image acquisition control method of FIG. 2 related to an exemplary embodiment of the present disclosure. The method shown in FIG. 4 can be regarded as a description of another implementation manner of the above-mentioned FIG. 2 , and the method may include the following steps:
在步骤401中,接收到图像采集指令时,获取拍摄场景。In
在步骤402中,当拍摄场景是指定场景时,通过图像采集组件采集n帧临时图像,临时图像是曝光时长为第三时长的图像。In
在步骤403中,根据n帧临时图像进行图像合成,获得第一图像;第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;第一时长是第三时长的n倍;n为大于或者等于2的整数。In
在步骤403中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
可选的,上述第三时长处于图像采集组件的安全快门对应曝光时长区域内。Optionally, the above-mentioned third duration is within an exposure duration region corresponding to the safety shutter of the image acquisition component.
综上所述,本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集n帧临时图像,根据n帧临时图像进行图像合成得到第一图像,使得第一图像的总体曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, the present disclosure acquires a shooting scene through a computer device, and when the acquired shooting scene is a scene for shooting an interface displayed in a progressive scan manner, n frames of temporary images are collected by an image acquisition component, The temporary image is synthesized to obtain the first image, so that the overall exposure time of the first image is longer. When the computer device displays the first image, it is not easy to superimpose the specified scene to produce moiré, which reduces the need to shoot the interface displayed in the progressive scan mode. It can improve the display effect of the image captured in the specified scene.
可选的,请参考图5,其示出了本公开一示例性实施例涉及图4的一种图像采集控制方法的方法流程图。其中,图5所示的方法可以看做是对上述图4的一种实现方式的描述,该方法可以包括如下几个步骤:Optionally, please refer to FIG. 5 , which shows a method flowchart of an exemplary embodiment of the present disclosure involving an image acquisition control method of FIG. 4 . The method shown in FIG. 5 can be regarded as a description of an implementation manner of the above-mentioned FIG. 4 , and the method may include the following steps:
在步骤501中,接收到图像采集指令时,获取拍摄场景。In
在步骤502中,当拍摄场景是指定场景时,通过图像采集组件采集n帧临时图像,临时图像是曝光时长为第三时长的图像。In
在步骤503中,对n帧临时图像中位置相同的像素进行叠加合成,获得第一图像;第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;第一时长是第三时长的n倍;n为大于或者等于2的整数。In
在步骤504中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
综上所述,本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集n帧临时图像,对n帧临时图像中位置相同的像素进行叠加合成得到第一图像,使得第一图像的总体曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, the present disclosure acquires a shooting scene through a computer device, and when the acquired shooting scene is a scene for shooting an interface displayed in a progressive scan manner, n frames of temporary images are collected by an image acquisition component, and n frames of Pixels in the same position in the temporary image are superimposed and synthesized to obtain the first image, so that the overall exposure time of the first image is longer. The displayed interface performs imaging defects when shooting, and improves the display effect of the images shot in the specified scene.
请参考图6,其示出了本公开一示例性实施例涉及图2的又一种图像采集控制方法的方法流程图。其中,图6所示的方法可以看做是对上述图2的另一种实现方式的描述,该方法可以包括如下几个步骤:Please refer to FIG. 6 , which shows a method flowchart of another image acquisition control method of FIG. 2 related to an exemplary embodiment of the present disclosure. The method shown in FIG. 6 can be regarded as a description of another implementation manner of the above-mentioned FIG. 2 , and the method may include the following steps:
在步骤601中,获取拍摄预览图像,拍摄预览图像是图像采集组件接收到拍摄指令之前采集到的图像。In
在步骤602中,根据拍摄预览图像确定拍摄场景。In
在步骤603中,接收到图像采集指令时,获取拍摄场景。In
在步骤604中,当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景。In
在步骤605中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
综上所述,本公开通过计算机设备获取拍摄预览图像,根据拍摄预览图像确定拍摄场景,接收到图像采集指令时,获取之前确定的拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, the present disclosure obtains a shooting preview image through a computer device, determines a shooting scene according to the shooting preview image, and acquires a previously determined shooting scene when an image acquisition instruction is received, and when the acquired shooting scene is a line-by-line scanning method. When the displayed interface is used to capture the scene, the image with the exposure duration of the first duration is captured by the image capturing component, so that the exposure time of the captured first image is longer, and the computer device displays the first image and is not easily superimposed with the specified scene. Moiré pattern is generated, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the display effect of the image captured in the specified scene.
请参考图7,其示出了本公开一示例性实施例涉及图6的一种图像采集控制方法的方法流程图。其中,图7所示的方法可以看做是对上述图6的一种实现方式的描述,该方法可以包括如下几个步骤:Please refer to FIG. 7 , which shows a method flowchart of an exemplary embodiment of the present disclosure relating to an image capture control method of FIG. 6 . The method shown in FIG. 7 can be regarded as a description of an implementation manner of the above-mentioned FIG. 6 , and the method may include the following steps:
在步骤701中,获取拍摄预览图像,拍摄预览图像是图像采集组件接收到拍摄指令之前采集到的图像;In
在步骤702中,通过场景分类模型对拍摄预览图像进行处理,获得拍摄场景。In
其中,场景分类模型是根据训练样本预先训练得到的机器学习模型,训练样本包括正样本和负样本中的至少一种,正样本是标注为指定场景的图像,负样本是标注为不是指定场景的图像。The scene classification model is a machine learning model pre-trained according to the training samples. The training samples include at least one of positive samples and negative samples. The positive samples are images marked as specified scenes, and the negative samples are marked as not specified scenes. image.
在步骤703中,接收到图像采集指令时,获取拍摄场景。In
在步骤704中,当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景。In
在步骤705中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
综上所述,本公开通过计算机设备获取拍摄预览图像,通过场景分类模型对拍摄预览图像进行处理,获得拍摄场景,接收到图像采集指令时,获取之前确定的拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, the present disclosure obtains a shooting preview image through a computer device, processes the shooting preview image through a scene classification model, obtains a shooting scene, and obtains a previously determined shooting scene when an image acquisition instruction is received. When shooting a scene on an interface displayed in a progressive scan manner, an image with an exposure duration of the first duration is captured by the image capturing component, so that the exposure time of the captured first image is longer, and when the computer device displays the first image It is not easy to superimpose with the specified scene to produce moiré, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the display effect of the image captured in the specified scene.
可选的,拍摄预览图像包括m帧预览图像;m为大于或者等于2的整数;请参考图8,其示出了本公开一示例性实施例涉及图7的一种图像采集控制方法的方法流程图。其中,图8所示的方法可以看做是对上述图7的一种实现方式的描述,该方法可以包括如下几个步骤:Optionally, the captured preview images include m frames of preview images; m is an integer greater than or equal to 2; please refer to FIG. 8 , which shows an exemplary embodiment of the present disclosure involving an image capture control method of FIG. 7 . flow chart. The method shown in FIG. 8 can be regarded as a description of an implementation manner of the above-mentioned FIG. 7 , and the method may include the following steps:
在步骤801中,获取拍摄预览图像,拍摄预览图像是图像采集组件接收到拍摄指令之前采集到的图像;In
在步骤802中,通过场景分类模型对m帧预览图像分别进行处理,获得m帧预览图像各自属于指定场景的概率。In
在步骤803中,根据m帧预览图像各自属于指定场景的概率,获得拍摄场景。In
其中,场景分类模型是根据训练样本预先训练得到的机器学习模型,训练样本包括正样本和负样本中的至少一种,正样本是标注为指定场景的图像,负样本是标注为不是指定场景的图像。The scene classification model is a machine learning model pre-trained according to the training samples. The training samples include at least one of positive samples and negative samples. The positive samples are images marked as specified scenes, and the negative samples are marked as not specified scenes. image.
在步骤804中,接收到图像采集指令时,获取拍摄场景。In
在步骤805中,当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景。In
在步骤806中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
其中,第一时长大于第二时长。Wherein, the first duration is longer than the second duration.
需要说明的是,上述图2至图8所示的各个实施例,在各个步骤可以搭配实现的情况下,也可以灵活搭配,本公开对此并不加以限定。It should be noted that, the respective embodiments shown in FIG. 2 to FIG. 8 can also be flexibly matched under the condition that each step can be implemented in combination, which is not limited in the present disclosure.
综上所述,本公开通过计算机设备获取拍摄预览图像,通过场景分类模型对m帧预览图像分别进行处理,获得m帧预览图像各自属于指定场景的概率,根据m帧预览图像各自属于指定场景的概率,获得拍摄场景,接收到图像采集指令时,获取之前确定的拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, the present disclosure obtains shooting preview images through a computer device, processes m frames of preview images through a scene classification model, and obtains the probability that each of the m frames of preview images belongs to a specified scene. Probability, obtain the shooting scene, when receiving the image acquisition instruction, obtain the previously determined shooting scene, when the obtained shooting scene is the scene of shooting the interface displayed in the way of progressive scanning, collect the exposure duration through the image acquisition component It is an image of the first duration, so that the exposure time of the first image collected is longer, and when the computer device displays the first image, it is not easy to superimpose with the specified scene to generate moiré, which reduces the time when shooting the interface displayed in the progressive scan mode. Imaging defects, improve the display effect of images captured in the specified scene.
请参考图9,其示出了本公开一示例性实施例提供的一种图像采集控制方法的方法流程图。该图像采集控制方法可应用于图1所示的拍摄场景中,由该拍摄场景中的计算机设备执行。该方法可以包括如下几个步骤:Please refer to FIG. 9 , which shows a method flowchart of an image capture control method provided by an exemplary embodiment of the present disclosure. The image acquisition control method can be applied to the shooting scene shown in FIG. 1 , and is executed by a computer device in the shooting scene. The method may include the following steps:
在步骤901中,获取拍摄预览图像。In
其中,拍摄预览图像是图像采集组件接收到拍摄指令之前采集到的图像。The shooting preview image is an image collected before the image collecting component receives the shooting instruction.
可选的,该拍摄预览图像可以是在接收到拍摄指令之前,计算机设备的显示屏中显示的图像,拍摄指令可以是用户触发图像采集组件进行拍摄的控件时生成的指令。比如,当该计算机设备是手机时,图像采集组件可以是手机中的摄像头模组,该拍摄指令可以是用户点击手机中拍照按钮(实体按键或者虚拟按键均可)时手机生成的指令。在进行拍照之前,用户可以打开相机程序,手机可以通过摄像头模组对周围环境的图像进行采集并显示在显示屏中,此时在手机中的显示屏中展示图像便可以为预览图像。Optionally, the shooting preview image may be an image displayed on the display screen of the computer device before receiving the shooting instruction, and the shooting instruction may be an instruction generated when the user triggers the control of the image acquisition component to shoot. For example, when the computer device is a mobile phone, the image acquisition component may be a camera module in the mobile phone, and the shooting instruction may be an instruction generated by the mobile phone when the user clicks a camera button (either a physical button or a virtual button) in the mobile phone. Before taking a photo, the user can open the camera program, and the mobile phone can collect and display the image of the surrounding environment through the camera module and display it on the display screen. At this time, the image displayed on the display screen of the mobile phone can be a preview image.
在一种可能实现的方式中,当计算机设备的图像采集组件处于开启状态,计算机设备在接收到拍摄指令之前,可以周期性地获取拍摄预览图像,或者,当计算机设备也可以实时地获取拍摄预览图像,本公开实施例对此并不加以限定。In a possible implementation manner, when the image acquisition component of the computer device is in an on state, the computer device may periodically acquire the shooting preview image before receiving the shooting instruction, or, when the computer device may also acquire the shooting preview in real time image, which is not limited in this embodiment of the present disclosure.
在步骤902中,根据拍摄预览图像确定拍摄场景。In
可选的,计算机设备可以根据获取到的预览图像确定此次采集图像时的拍摄场景。在一种可能实现的方式中,计算机设备可以通过场景分类模型对拍摄预览图像进行处理,获得拍摄场景。其中,场景分类模型是根据训练样本预先训练得到的机器学习模型,训练样本包括正样本和负样本中的至少一种,正样本是标注为指定场景的图像,负样本是标注为不是指定场景的图像。其中,指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景。Optionally, the computer device may determine, according to the obtained preview image, the shooting scene when the image is collected this time. In a possible implementation manner, the computer device may process the shooting preview image through the scene classification model to obtain the shooting scene. The scene classification model is a machine learning model pre-trained according to the training samples. The training samples include at least one of positive samples and negative samples. The positive samples are images marked as specified scenes, and the negative samples are marked as not specified scenes. image. The specified scene is a scene in which an interface displayed in a progressive scan manner is photographed.
可选的,该指定场景可以是对投影仪展示的图像进行拍摄的场景,或者,该指定场景也可以是对按照逐行扫描的方式在终端屏幕界面中进行显示的图像进行拍摄的场景。Optionally, the specified scene may be a scene of photographing an image displayed by a projector, or the specified scene may also be a scene of photographing an image displayed on the terminal screen interface in a progressive scan manner.
在一种可能实现的方式中,计算机设备中可以预先设置有上述场景分类模型,当计算机设备获取到拍摄预览图像时,可以调用该场景分类模型来确定拍摄场景。例如,开发人员或者运维人员可以预先根据训练样本进行训练,生成该场景分类模型,将该场景分类模型设置在计算机设备中。对于上述指定场景是对投影仪展示的图像进行拍摄的场景时,训练样本中包含计算机设备采集到的指定场景下的图像以及非指定场景下的图像,比如,采用1000张指定场景下的图像,采用1000张非指定场景下的图像,并对这些训练样本进行标注得到具有标注的正样本和负样本,利用得到的训练样本训练该场景分类模型,使得该场景分类模型可以根据输入的图像得到该图像对应的拍摄场景的概率。可选的,该机器学习模型可以是MobileNet网络模型,YOLO网络模型,SSD网络模型等中的任意一种。In a possible implementation manner, the above scene classification model may be preset in the computer device, and when the computer device acquires the shooting preview image, the scene classification model may be invoked to determine the shooting scene. For example, developers or operation and maintenance personnel can perform training according to the training samples in advance, generate the scene classification model, and set the scene classification model in the computer device. When the above-mentioned specified scene is a scene of shooting the image displayed by the projector, the training sample includes the image under the specified scene and the image under the non-specified scene collected by the computer equipment. For example, 1000 images under the specified scene are used. Use 1000 images in non-specified scenes, and label these training samples to obtain labeled positive samples and negative samples, and use the obtained training samples to train the scene classification model, so that the scene classification model can obtain the classification model according to the input image. The probability of the shooting scene corresponding to the image. Optionally, the machine learning model can be any one of the MobileNet network model, the YOLO network model, and the SSD network model.
在一种可能实现的方式中,拍摄预览图像可以包括m帧预览图像;m为大于或者等于2的整数;通过场景分类模型对m帧预览图像分别进行处理,获得m帧预览图像各自属于指定场景的概率;根据m帧预览图像各自属于指定场景的概率,获取拍摄场景。In a possible implementation manner, the captured preview images may include m frames of preview images; m is an integer greater than or equal to 2; the m frames of preview images are processed respectively by a scene classification model, and the m frames of preview images are obtained to each belong to a specified scene The probability of ; obtain the shooting scene according to the probability that each of the m frames of preview images belong to the specified scene.
即,计算机设备在获取预览图像时,可以获取多个预览图像,对每个拍摄预览图像分别按照上述场景分类模型进行处理,得到每个拍摄预览图像各自属于指定场景的概率,根据每个拍摄预览图像各自属于指定场景的概率获取拍摄场景。比如,计算机设备在获取预览图像时,可以获取到了10帧预览图像,计算机设备可以将每帧预览图像分别输入至场景分类模型中,得到每帧预览图像各自属于指定场景的概率,根据每帧预览图像各自属于指定场景的概率获取拍摄场景。在一种可能实现的方式中,当每帧预览图像中各自属于指定场景的概率大于50%的预览图像的数量大于每帧预览图像中各自属于指定场景的概率小于50%的预览图像的数量时,计算机设备获得的拍摄场景为指定场景,否则,计算机设备获得的拍摄场景为非指定场景。That is, when acquiring a preview image, the computer device can acquire multiple preview images, and process each shot preview image according to the above scene classification model to obtain the probability that each shot preview image belongs to a specified scene. The probability that the images each belong to the specified scene is obtained from the shooting scene. For example, when the computer device obtains the preview image, it can obtain 10 frames of preview images. The computer device can input each frame of the preview image into the scene classification model, and obtain the probability that each frame of the preview image belongs to the specified scene, according to the preview of each frame. The probability that the images each belong to the specified scene is obtained from the shooting scene. In a possible implementation manner, when the number of preview images in each frame of preview images with a probability of belonging to a specified scene greater than 50% is greater than the number of preview images in each frame of preview images with a probability of belonging to a specified scene less than 50% , the shooting scene obtained by the computer device is a designated scene, otherwise, the shooting scene obtained by the computer device is a non-designated scene.
上述步骤901至步骤902涉及的是计算机设备根据场景分类模型获得拍摄场景,在一种可能实现的方式中,拍摄场景也可以是计算机设备中主动提供的,比如,拍摄场景是接收到图像采集指令之前,计算机设备可以根据对拍摄预览界面中的场景选择控件执行的选择操作确定的场景。在计算机设备的拍摄预览界面中,用户可以进行场景选择,当用户对该界面中的场景选择控件执行选择操作后,计算机设备也可以获得拍摄场景。本申请实施例对此并不加以限定。The
在步骤903中,接收到图像采集指令时,获取拍摄场景。In
当计算机设备接收到图像采集指令时,可以获取到根据上述步骤得到的拍摄场景。比如,当计算机设备按照上述步骤得到的拍摄场景为指定场景时,在接收到图像采集指令时,可以将该指定场景获取,当计算机设备按照上述步骤得到的拍摄场景不是指定场景时,在接收到图像采集指令时,获取的拍摄场景是非指定场景。在一种可能实现的方式中,当计算机设备在接收到图像采集指令之前,周期性地获取到了多个拍摄场景,此时,计算机设备也可以将最近一次得到的拍摄场景获取,进而执行后续步骤。When the computer device receives the image acquisition instruction, it can acquire the shooting scene obtained according to the above steps. For example, when the shooting scene obtained by the computer device according to the above steps is a designated scene, when receiving an image capture instruction, the designated scene can be obtained. During the image capture instruction, the captured scene is a non-specified scene. In a possible implementation manner, when the computer device periodically acquires multiple shooting scenes before receiving the image acquisition instruction, at this time, the computer device can also acquire the most recently acquired shooting scene, and then execute the subsequent steps .
当拍摄场景是指定场景时,执行步骤304,当拍摄场景不是指定场景时,执行步骤305。When the shooting scene is the designated scene,
在步骤904中,当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像。In
在一种可能实现的方式中,当拍摄场景是指定场景时,计算机设备可以将图像采集组件的曝光时长设置为第一时长;通过设置曝光时长之后的图像采集组件采集第一图像。其中,第一时长大于拍摄场景不是指定场景时,计算机设备进行图像采集时,图像采集组件的曝光时长。即,比如,对于某一计算机设备来说,其在拍摄场景不是指定场景时,进行图像采集时,该图像采集组件的曝光时长为x秒,那么,第一时长需要大于x秒。In a possible implementation manner, when the shooting scene is a designated scene, the computer device may set the exposure duration of the image capture component to the first duration; the first image is captured by the image capture component after the exposure duration is set. Wherein, the first duration is longer than the exposure duration of the image capturing component when the computer device performs image capturing when the shooting scene is not a specified scene. That is, for example, for a certain computer device, when the shooting scene is not a specified scene, the exposure duration of the image capturing component is x seconds when capturing images, so the first duration needs to be longer than x seconds.
可选的,计算机设备可以通过降低图像采集组件的感光度来提高单帧拍摄的曝光时长。或者,当计算机设备是数码相机时,也可以通过调整数码相机的光圈大小,提高单帧拍摄的曝光时长。本公开对曝光时长如何增加的方式并不限定。Optionally, the computer device may increase the exposure duration of single-frame shooting by reducing the sensitivity of the image capture component. Alternatively, when the computer device is a digital camera, it is also possible to increase the exposure time for single-frame shooting by adjusting the aperture size of the digital camera. The present disclosure does not limit the manner in which the exposure duration is increased.
在一种可能实现的方式中,计算机设备还可以通过图像采集组件采集n帧临时图像。其中,临时图像是曝光时长为第三时长的图像,第一时长是第三时长的n倍;n为大于或者等于2的整数;根据n帧临时图像进行图像合成,获得第一图像。可选的,第三时长处于图像采集组件的安全快门对应曝光时长区域内。In a possible implementation manner, the computer device may also acquire n frames of temporary images through the image acquisition component. The temporary image is an image with an exposure duration of a third duration, and the first duration is n times the third duration; n is an integer greater than or equal to 2; image synthesis is performed according to n frames of temporary images to obtain the first image. Optionally, the third duration is within an exposure duration region corresponding to the safety shutter of the image acquisition component.
即,在单帧安全快门的前提下,计算机设备可以采用多帧拍摄,得到多帧临时图像。比如,计算机设备在此次拍摄图像时,原本采用单帧方式进行拍摄,得到单帧图像。但由于此次获取到的拍摄场景是指定场景,计算机设备在拍摄图像时,可以将单帧改为多帧,根据多帧拍摄到的图像进行合成,得到最终的第一图像。That is, under the premise of a single-frame safety shutter, the computer equipment can shoot multiple frames to obtain multiple frames of temporary images. For example, when the computer equipment captures an image this time, it originally shoots in a single-frame manner to obtain a single-frame image. However, since the shooting scene obtained this time is a designated scene, when the computer device is shooting an image, it can change a single frame to multiple frames, and synthesize the images captured by the multiple frames to obtain the final first image.
在一种可能实现的方式中,计算机设备可以对n帧临时图像中位置相同的像素进行叠加合成,获得第一图像。即,对每帧临时图像中像素位置相同的像素点对应的像素值进行求和,得到叠加后的像素图像。可选的,为了防止得到的像素图像中的某个像素点对应的像素值超过图像中对像素值的要求(比如,0~255范围),则在叠加过程中,可以对每个像素点的像素值进行限定,使得每个像素点的像素值最大不能超过255。In a possible implementation manner, the computer device may superimpose and synthesize pixels with the same position in the n-frame temporary images to obtain the first image. That is, the pixel values corresponding to the pixel points with the same pixel position in each frame of the temporary image are summed to obtain a superimposed pixel image. Optionally, in order to prevent the pixel value corresponding to a certain pixel in the obtained pixel image from exceeding the requirements for the pixel value in the image (for example, the range of 0 to 255), during the superposition process, you can The pixel value is limited so that the maximum pixel value of each pixel cannot exceed 255.
在一种可能实现的方式中,计算机设备还可以对n帧临时图像中位置相同的像素进行求平均值,获得第一图像。即,对每帧临时图像中像素位置相同的像素点对应的像素值进行求和并除以n,从而得到叠加后的像素图像。In a possible implementation manner, the computer device may also average the pixels in the same position in the n-frame temporary images to obtain the first image. That is, the pixel values corresponding to the pixel points with the same pixel position in each frame of the temporary image are summed and divided by n to obtain a superimposed pixel image.
在步骤905中,当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像。In
即,当拍摄场景不是指定场景时,计算机设备可以直接采用默认的曝光时长对图像进行采集,获得第二图像。该默认的曝光时长小于上述第一时长。That is, when the shooting scene is not the specified scene, the computer device may directly use the default exposure duration to capture the image to obtain the second image. The default exposure duration is shorter than the above-mentioned first duration.
综上所述,接收到图像采集指令时,获取拍摄场景;当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像;其中,第一时长大于第二时长。本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, when an image acquisition instruction is received, a shooting scene is acquired; when the shooting scene is a specified scene, a first image is acquired through the image acquisition component, and the first image is an image with an exposure duration of the first duration; A scene that is photographed on an interface displayed in a progressive scanning manner; when the photographing scene is not a specified scene, a second image is collected by the image acquisition component, and the second image is an image with an exposure duration of the second duration; wherein, the first duration greater than the second duration. In the present disclosure, a shooting scene is acquired by a computer device, and when the acquired shooting scene is a scene of shooting an interface displayed in a progressive scan manner, an image with an exposure duration of a first duration is acquired by an image acquisition component, so that the captured first The exposure time of one image is longer, and when the computer device displays the first image, it is not easy to superimpose the specified scene to produce moiré, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the image captured in the specified scene. display effect.
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。The following are the apparatus embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure. For details not disclosed in the apparatus embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.
请参考图10,其示出了本公开一示例性实施例提供的一种图像采集控制装置的框图。该装置具有实现上述计算机设备的方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的计算机设备,也可以设置在计算机设备中。该装置可以包括:场景获取模块1010,第一采集模块1020以及第二采集模块1030。Please refer to FIG. 10 , which shows a block diagram of an image capture control apparatus provided by an exemplary embodiment of the present disclosure. The apparatus has the function of implementing the method example of the above-mentioned computer device, and the function may be implemented by hardware or by executing corresponding software in hardware. The apparatus may be the computer equipment described above, or may be provided in the computer equipment. The apparatus may include: a
所述场景获取模块1010,用于接收到图像采集指令时,获取拍摄场景;The
所述第一采集模块1020,用于当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述第一图像是曝光时长为第一时长的图像;所述指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;The
所述第二采集模块1030,用于当所述拍摄场景不是所述指定场景时,通过所述图像采集组件采集第二图像,所述第二图像是曝光时长为第二时长的图像;The
其中,所述第一时长大于所述第二时长。Wherein, the first duration is greater than the second duration.
可选的,所述第一采集模块1020,包括:时长设置单元和第一采集单元;Optionally, the
所述时长设置单元,用于将所述图像采集组件的曝光时长设置为所述第一时长;the duration setting unit, configured to set the exposure duration of the image acquisition component to the first duration;
所述第一采集单元,用于通过设置曝光时长之后的所述图像采集组件采集所述第一图像。The first acquisition unit is configured to acquire the first image by using the image acquisition component after the exposure duration is set.
可选的,所述第一采集模块1020,包括:第二采集单元和图像获得单元;Optionally, the
所述第二采集单元,用于通过所述图像采集组件采集n帧临时图像,所述临时图像是曝光时长为第三时长的图像,所述第一时长是所述第三时长的n倍;n为大于或者等于2的整数;the second acquisition unit, configured to acquire n frames of temporary images through the image acquisition component, where the temporary images are images whose exposure duration is a third duration, and the first duration is n times the third duration; n is an integer greater than or equal to 2;
所述图像获得单元,用于根据所述n帧临时图像进行图像合成,获得所述第一图像。The image obtaining unit is configured to perform image synthesis according to the n frames of temporary images to obtain the first image.
可选的,所述第三时长处于所述图像采集组件的安全快门对应曝光时长区域内。Optionally, the third duration is within an exposure duration region corresponding to the safety shutter of the image capturing component.
可选的,所述图像获得单元,用于对所述n帧临时图像中位置相同的像素进行叠加合成,获得所述第一图像。Optionally, the image obtaining unit is configured to superimpose and synthesize pixels with the same position in the n frames of temporary images to obtain the first image.
可选的,所述装置还包括:Optionally, the device further includes:
图像获取模块,用于在所述场景获取模块接收到图像采集指令时,获取拍摄场景之前,获取拍摄预览图像,所述拍摄预览图像是所述图像采集组件接收到所述拍摄指令之前采集到的图像;An image acquisition module, configured to acquire a shooting preview image before acquiring a shooting scene when the scene acquisition module receives an image acquisition instruction, and the shooting preview image is collected before the image acquisition component receives the shooting instruction image;
场景确定模块,用于根据所述拍摄预览图像确定所述拍摄场景。A scene determination module, configured to determine the shooting scene according to the shooting preview image.
可选的,所述场景确定模块,用于通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景;Optionally, the scene determination module is configured to process the shooting preview image through a scene classification model to obtain the shooting scene;
其中,所述场景分类模型是根据训练样本预先训练得到的机器学习模型,所述训练样本包括正样本和负样本中的至少一种,所述正样本是标注为所述指定场景的图像,所述负样本是标注为不是所述指定场景的图像。The scene classification model is a machine learning model pre-trained according to training samples, the training samples include at least one of positive samples and negative samples, and the positive samples are images marked as the specified scene, so The negative samples are images marked as not the specified scene.
可选的,所述拍摄预览图像包括m帧预览图像;m为大于或者等于2的整数;Optionally, the shooting preview images include m frames of preview images; m is an integer greater than or equal to 2;
所述通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景,包括:The processing of the shooting preview image by the scene classification model to obtain the shooting scene includes:
通过所述场景分类模型对所述m帧预览图像分别进行处理,获得所述m帧预览图像各自属于所述指定场景的概率;The m frames of preview images are respectively processed by the scene classification model to obtain the probability that each of the m frames of preview images belong to the specified scene;
根据所述m帧预览图像各自属于所述指定场景的概率,获取所述拍摄场景。The shooting scene is acquired according to the probability that each of the m frames of preview images belongs to the specified scene.
可选的,所述拍摄场景是接收到所述图像采集指令之前,根据对拍摄预览界面中的场景选择控件执行的选择操作确定的场景。Optionally, the shooting scene is a scene determined according to a selection operation performed on the scene selection control in the shooting preview interface before the image acquisition instruction is received.
综上所述,接收到图像采集指令时,获取拍摄场景;当拍摄场景是指定场景时,通过图像采集组件采集第一图像,第一图像是曝光时长为第一时长的图像;指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;当拍摄场景不是指定场景时,通过图像采集组件采集第二图像,第二图像是曝光时长为第二时长的图像;其中,第一时长大于第二时长。本公开通过计算机设备获取拍摄场景,当获取的拍摄场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景时,通过图像采集组件采集曝光时长为第一时长的图像,使得采集的第一图像的曝光时间更长,计算机设备显示第一图像时与指定场景不容易叠加而产生摩尔纹,减少对逐行扫描方式显示的界面进行拍摄时的成像缺陷,提高在指定场景下拍摄的图像的显示效果。To sum up, when an image acquisition instruction is received, a shooting scene is acquired; when the shooting scene is a specified scene, a first image is acquired through the image acquisition component, and the first image is an image with an exposure duration of the first duration; A scene that is photographed on an interface displayed in a progressive scanning manner; when the photographing scene is not a specified scene, a second image is collected by the image acquisition component, and the second image is an image with an exposure duration of the second duration; wherein, the first duration greater than the second duration. In the present disclosure, a shooting scene is acquired by a computer device, and when the acquired shooting scene is a scene of shooting an interface displayed in a progressive scan manner, an image with an exposure duration of a first duration is acquired by an image acquisition component, so that the captured first The exposure time of one image is longer, and when the computer device displays the first image, it is not easy to superimpose the specified scene to produce moiré, which reduces the imaging defects when shooting the interface displayed in the progressive scan mode, and improves the image captured in the specified scene. display effect.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
本公开一示例性实施例还提供了一种图像采集控制装置,能够实现本公开提供的图像采集控制方法。该装置可以是上文介绍的计算机设备,也可以设置在计算机设备中。该装置包括:处理器,以及用于存储处理器的可执行指令的存储器。其中,所述处理器被配置为:An exemplary embodiment of the present disclosure further provides an image capture control device, which can implement the image capture control method provided by the present disclosure. The apparatus may be the computer equipment described above, or may be provided in the computer equipment. The apparatus includes a processor, and a memory for storing executable instructions for the processor. wherein the processor is configured to:
接收到图像采集指令时,获取拍摄场景;When receiving the image acquisition instruction, acquire the shooting scene;
当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述第一图像是曝光时长为第一时长的图像;所述指定场景是对按照逐行扫描的方式进行显示的界面进行拍摄的场景;When the shooting scene is a specified scene, a first image is collected by the image acquisition component, and the first image is an image whose exposure duration is the first duration; the specified scene is displayed in a progressive scan manner. The interface to shoot the scene;
当所述拍摄场景不是所述指定场景时,通过所述图像采集组件采集第二图像,所述第二图像是曝光时长为第二时长的图像;When the shooting scene is not the designated scene, collecting a second image by the image acquisition component, where the second image is an image with an exposure duration of a second duration;
其中,所述第一时长大于所述第二时长。Wherein, the first duration is greater than the second duration.
可选的,所述当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述处理器被配置为:Optionally, when the shooting scene is a designated scene, the first image is collected by the image collection component, and the processor is configured to:
将所述图像采集组件的曝光时长设置为所述第一时长;setting the exposure duration of the image acquisition component to the first duration;
通过设置曝光时长之后的所述图像采集组件采集所述第一图像。The first image is acquired by the image acquisition component after the exposure duration is set.
可选的,所述当所述拍摄场景是指定场景时,通过所述图像采集组件采集第一图像,所述处理器被配置为:Optionally, when the shooting scene is a designated scene, the first image is collected by the image collection component, and the processor is configured to:
通过所述图像采集组件采集n帧临时图像,所述临时图像是曝光时长为第三时长的图像,所述第一时长是所述第三时长的n倍;n为大于或者等于2的整数;Collecting n frames of temporary images by the image acquisition component, the temporary images are images with an exposure duration of a third duration, and the first duration is n times the third duration; n is an integer greater than or equal to 2;
根据所述n帧临时图像进行图像合成,获得所述第一图像。Perform image synthesis according to the n frames of temporary images to obtain the first image.
可选的,所述处理器被配置为:所述第三时长处于所述图像采集组件的安全快门对应曝光时长区域内。Optionally, the processor is configured such that: the third duration is within an exposure duration region corresponding to the safety shutter of the image capturing component.
可选的,所述根据所述n帧临时图像进行图像合成,获得所述第一图像,所述处理器被配置为:Optionally, for performing image synthesis according to the n frames of temporary images to obtain the first image, the processor is configured to:
对所述n帧临时图像中位置相同的像素进行叠加合成,获得所述第一图像。The first image is obtained by superimposing and synthesizing pixels with the same position in the n-frame temporary images.
可选的,所述处理器还被配置为:在所述接收到图像采集指令时,获取拍摄场景之前,获取拍摄预览图像,所述拍摄预览图像是所述图像采集组件接收到所述拍摄指令之前采集到的图像;Optionally, the processor is further configured to: when the image acquisition instruction is received, before acquiring the shooting scene, acquire a shooting preview image, the shooting preview image is when the image acquisition component receives the shooting instruction previously acquired images;
根据所述拍摄预览图像确定所述拍摄场景。The shooting scene is determined according to the shooting preview image.
可选的,所述根据所述拍摄预览图像确定所述拍摄场景,所述处理器被配置为:通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景;Optionally, in determining the shooting scene according to the shooting preview image, the processor is configured to: process the shooting preview image through a scene classification model to obtain the shooting scene;
其中,所述场景分类模型是根据训练样本预先训练得到的机器学习模型,所述训练样本包括正样本和负样本中的至少一种,所述正样本是标注为所述指定场景的图像,所述负样本是标注为不是所述指定场景的图像。The scene classification model is a machine learning model pre-trained according to training samples, the training samples include at least one of positive samples and negative samples, and the positive samples are images marked as the specified scene, so The negative samples are images marked as not the specified scene.
可选的,所述处理器被配置为:所述拍摄预览图像包括m帧预览图像;m为大于或者等于2的整数;Optionally, the processor is configured to: the shot preview image includes m frames of preview images; m is an integer greater than or equal to 2;
所述通过场景分类模型对所述拍摄预览图像进行处理,获得所述拍摄场景,包括:The processing of the shooting preview image by the scene classification model to obtain the shooting scene includes:
通过所述场景分类模型对所述m帧预览图像分别进行处理,获得所述m帧预览图像各自属于所述指定场景的概率;The m frames of preview images are respectively processed by the scene classification model to obtain the probability that each of the m frames of preview images belong to the specified scene;
根据所述m帧预览图像各自属于所述指定场景的概率,获取所述拍摄场景。The shooting scene is acquired according to the probability that each of the m frames of preview images belongs to the specified scene.
可选的,所述处理器被配置为:所述拍摄场景是接收到所述图像采集指令之前,根据对拍摄预览界面中的场景选择控件执行的选择操作确定的场景。Optionally, the processor is configured to: the shooting scene is a scene determined according to a selection operation performed on a scene selection control in the shooting preview interface before receiving the image capture instruction.
上述主要从计算机设备执行的角度,对本公开实施例提供的方案进行了介绍。可以理解的是,计算机设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开中所公开的实施例描述的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。The foregoing describes the solutions provided by the embodiments of the present disclosure mainly from the perspective of computer device execution. It can be understood that, in order to realize the above-mentioned functions, the computer device includes corresponding hardware structures and/or software modules for executing each function. In conjunction with the units and algorithm steps of each example described in the embodiments disclosed in the present disclosure, the embodiments of the present disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present disclosure.
图11是根据一示例性实施例示出的一种用于计算机设备的装置的框图。例如,装置1100可以被提供为上述实施例涉及的计算机设备。参照图11,装置1100包括处理组件1122,其进一步包括一个或多个处理器,以及由存储器1132所代表的存储器资源,用于存储可由处理部件1122执行的指令,例如应用程序。存储器1132中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1122被配置为执行指令,以执行上述图像采集控制的方法中,由计算机设备执行的全部或者部分步骤。Fig. 11 is a block diagram of an apparatus for computer equipment according to an exemplary embodiment. For example, the
装置1100还可以包括一个电源组件1126被配置为执行装置1100的电源管理,一个有线或无线网络接口1150被配置为将装置1100连接到网络,和一个输入输出(Input/Output,I/O)接口1138。装置1100可以操作基于存储在存储器1132的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
本公开实施例还提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,所述计算机程序被计算机设备的处理器执行时实现如上文介绍的图像采集控制方法。Embodiments of the present disclosure also provide a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor of a computer device, the image acquisition control method as described above is implemented.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that references herein to "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911078454.XA CN110769157A (en) | 2019-11-06 | 2019-11-06 | Image acquisition control method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911078454.XA CN110769157A (en) | 2019-11-06 | 2019-11-06 | Image acquisition control method, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110769157A true CN110769157A (en) | 2020-02-07 |
Family
ID=69336334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911078454.XA Pending CN110769157A (en) | 2019-11-06 | 2019-11-06 | Image acquisition control method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110769157A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090290043A1 (en) * | 2008-05-22 | 2009-11-26 | Panavision Imaging, Llc | Sub-Pixel Array Optical Sensor |
| CN107509040A (en) * | 2017-09-15 | 2017-12-22 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
| CN109784120A (en) * | 2018-12-11 | 2019-05-21 | 田丰 | Optical code generating means, light sensation data interactive method and image collecting device |
-
2019
- 2019-11-06 CN CN201911078454.XA patent/CN110769157A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090290043A1 (en) * | 2008-05-22 | 2009-11-26 | Panavision Imaging, Llc | Sub-Pixel Array Optical Sensor |
| CN107509040A (en) * | 2017-09-15 | 2017-12-22 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
| CN109784120A (en) * | 2018-12-11 | 2019-05-21 | 田丰 | Optical code generating means, light sensation data interactive method and image collecting device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113592887B (en) | Video shooting method, electronic device and computer-readable storage medium | |
| CN105827964B (en) | An image processing method and mobile terminal | |
| US9600741B1 (en) | Enhanced image generation based on multiple images | |
| WO2020057198A1 (en) | Image processing method and device, electronic device and storage medium | |
| JP5589548B2 (en) | Imaging apparatus, image processing method, and program storage medium | |
| CN104917973B (en) | dynamic exposure adjusting method and electronic device thereof | |
| CN111311520A (en) | Image processing method, device, terminal and storage medium | |
| CN109729274B (en) | Image processing method, device, electronic device and storage medium | |
| CN107040726B (en) | Double-camera synchronous exposure method and system | |
| WO2016011877A1 (en) | Method for filming light painting video, mobile terminal, and storage medium | |
| JP6946566B2 (en) | Static video recognition | |
| JP2010063104A (en) | Digital camera for importing and organizing image before and after shutter signal | |
| CN110798627B (en) | Shooting method, shooting device, storage medium and terminal | |
| CN105049695A (en) | Video recording method and device | |
| CN113596294A (en) | Shooting method and device and electronic equipment | |
| CN109089045A (en) | A kind of image capture method and equipment and its terminal based on multiple photographic devices | |
| CN112822412A (en) | Exposure method and electronic device | |
| CN105635568A (en) | Image processing method in mobile terminal and mobile terminal | |
| US8654206B2 (en) | Apparatus and method for generating high dynamic range image | |
| US9900503B1 (en) | Methods to automatically fix flash reflection at capture time | |
| CN111866383A (en) | An image processing method, terminal and storage medium | |
| CN114241127B (en) | Panoramic image generation method, device, electronic device and medium | |
| CN109120856B (en) | Camera shooting method and device | |
| CN112672055A (en) | Photographing method, device and equipment | |
| CN110769157A (en) | Image acquisition control method, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200207 |