WO2019061020A1 - 图像生成方法、图像生成装置和机器可读存储介质 - Google Patents

图像生成方法、图像生成装置和机器可读存储介质 Download PDF

Info

Publication number
WO2019061020A1
WO2019061020A1 PCT/CN2017/103420 CN2017103420W WO2019061020A1 WO 2019061020 A1 WO2019061020 A1 WO 2019061020A1 CN 2017103420 W CN2017103420 W CN 2017103420W WO 2019061020 A1 WO2019061020 A1 WO 2019061020A1
Authority
WO
WIPO (PCT)
Prior art keywords
exposure value
image
target
regions
exposure
Prior art date
Application number
PCT/CN2017/103420
Other languages
English (en)
French (fr)
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 深圳市大疆创新科技有限公司
Priority to PCT/CN2017/103420 priority Critical patent/WO2019061020A1/zh
Priority to CN201780004994.6A priority patent/CN108476291A/zh
Publication of WO2019061020A1 publication Critical patent/WO2019061020A1/zh

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/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Definitions

  • the present invention relates to the field of image technologies, and in particular, to an image generating method, an image generating device, and a machine readable storage medium.
  • the panoramic image is mainly obtained by collecting images of a plurality of regions through an image capturing device, and then synthesizing the collected plurality of images.
  • a current panoramic image capturing device deletes the relevant data of the exposure value of the image after acquiring an image of a certain area, so that the exposure value of the previously acquired image cannot be determined when the image of the next area is acquired.
  • only the exposure value of the currently acquired image can be determined, which causes the exposure value of the image of each region acquired to be set according to the exposure value of the currently acquired image.
  • the exposure values of the images corresponding to each region may be different. Integrating multiple images with different exposure values to generate a panoramic image will result in differences in exposure values of different regions in the panoramic image, thereby affecting the viewing effect.
  • the present invention provides an image generating method, an image generating device, and a machine readable storage medium to solve the problems in the prior art.
  • an image generating method including:
  • Obtaining a target exposure value of the target area acquiring an image of one of the plurality of areas, and setting an exposure value of the collected image according to the acquired target exposure value;
  • a panoramic image is generated from the image of each region after the exposure value is set.
  • an image generating apparatus including:
  • An exposure value acquisition module configured to acquire a target exposure value of the target area
  • An image acquisition module configured to acquire an image of one of the plurality of regions
  • An exposure value setting module configured to set an exposure value of the acquired image according to the acquired target exposure value
  • An image generation module is configured to generate a panoramic image according to an image of each region after the exposure value is set.
  • a machine readable storage medium on which a plurality of computer instructions are stored, the computer instructions being executed as follows:
  • Obtaining a target exposure value of the target area acquiring an image of one of the plurality of areas, and setting an exposure value of the collected image according to the acquired target exposure value;
  • a panoramic image is generated from the image of each region after the exposure value is set.
  • the exposure values of the images of the plurality of regions are all set according to the target exposure value, the exposure values of the images of the plurality of regions can be made the same, thereby ensuring that the exposure values are set according to the exposure values.
  • the exposure value of each area in the panoramic image generated by the image of each area is the same, thereby ensuring a good viewing effect.
  • FIG. 1 is a schematic flow chart of an image generating method according to an embodiment of the invention.
  • FIG. 2 is a schematic flow chart of obtaining a target exposure value of a target area, according to an embodiment of the invention.
  • FIG. 3 is a diagram showing another target exposure value of a target area according to an embodiment of the invention. Flow chart.
  • FIG. 4 is a schematic flow chart showing still another target exposure value of a target area according to an embodiment of the present invention.
  • FIG. 5 is a schematic flow chart of another image generating method according to an embodiment of the invention.
  • FIG. 6 is a schematic block diagram of an image generating apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of an exposure value acquisition module according to an embodiment of the invention.
  • FIG. 8 is a schematic block diagram of another exposure value acquisition module according to an embodiment of the invention.
  • FIG. 9 is a schematic block diagram of another exposure value acquisition module shown in accordance with an embodiment of the present invention.
  • FIG. 10 is a schematic block diagram of another image generating apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flow chart of an image generating method according to an embodiment of the invention.
  • the image generating method shown in this embodiment can be applied to an image capturing device, such as a camera, a mobile phone, an aerial camera, etc., and the image capturing device deletes the relevant data of the exposure value of the image after acquiring an image of a certain region.
  • an image capturing device such as a camera, a mobile phone, an aerial camera, etc.
  • the aerial equipment can include a drone and a camera, and the camera can perform image acquisition as well as the exposure value of a certain area.
  • the image generating method includes:
  • Step S1 acquiring a target exposure value of the target area, and collecting an image of one of the plurality of areas, Setting an exposure value of the acquired image according to the acquired target exposure value;
  • Step S2 the above steps are cycled until an exposure value of an image of each of the plurality of regions is set;
  • step S3 a panoramic image is generated based on the image of each region after the exposure value is set.
  • the target exposure value for the target area may be acquired in various manners, for example, the target exposure value of the target area may be determined by the image acquisition device, or the target area sent by the terminal (eg, a mobile phone) may be received by the communication device. Target exposure value.
  • the specific method can be selected as needed.
  • the image capturing device collects the image of the image of the certain area, the relevant data of the exposure value of the image is deleted, that is, the exposure value of the collected image is not stored. Therefore, when generating a panoramic image for a plurality of regions, a target exposure value of the target region may be acquired, an image of one of the plurality of regions may be acquired, and then an exposure value of the acquired image may be set according to the target exposure value, and further, may be executed cyclically The target exposure value of the target area is acquired, an image of one of the plurality of areas is acquired, and then the exposure value of the acquired image is set according to the target exposure value until the exposure value of the image of each of the plurality of areas is set.
  • an execution sequence may be set as needed, for example, an image of one of the plurality of regions may be acquired each time, and then the target of the target region is acquired.
  • the exposure value can also be obtained by acquiring the target exposure value of the target area each time, and then acquiring an image of one of the plurality of areas.
  • an embodiment of the present invention will be exemplarily described in the case where the target exposure value of the target area is first acquired and then an image of one of the plurality of areas is acquired.
  • the target exposure value of the target area can be acquired, and then the image of the first area of the n areas is acquired, and the first area is set by the target exposure value.
  • the exposure value of the image; then the target exposure value of the target area is obtained, then After acquiring the image of the second region in the n regions, setting the exposure value of the image of the second region according to the target exposure value; ...; then acquiring the target exposure value of the target region, and then collecting the nth of the n regions
  • the image of the area is set by the exposure value of the image of the nth area according to the target exposure value, thereby completing the setting of the exposure value of the image of the n areas.
  • the exposure values of the images of the plurality of regions are all set according to the target exposure value (for example, can be directly set as the target exposure value, and can also be set as the product of the target exposure value and the preset coefficient), the images of the plurality of regions can be made The exposure values are the same, thereby ensuring that the exposure values of each region in the panoramic image generated according to the image of each region after the exposure value is set are the same, thereby ensuring a good viewing effect.
  • the target exposure value of the acquisition target area includes:
  • Step S11 determining the target area in the plurality of areas
  • Step S12 acquiring a target exposure value of the target area.
  • the target area may be determined in the plurality of regions, for example, for the n regions, the mth (m is an integer less than or equal to n) regions may be determined as the target region.
  • the exposure value of each area is set according to the exposure value of one area in the panoramic image, and the difference of the exposure value of each area in the panoramic image is small, thereby ensuring the exposure of the entire panoramic picture. The value is closer to the actual situation, which is beneficial to ensure the viewing effect of the panoramic image.
  • the image of one area of the plurality of areas may be acquired, and then the camera controlled by the camera is rotated to the angle corresponding to the mth area, thereby acquiring the first Exposure values for m areas. Accordingly, when the image of one of the plurality of regions is acquired next time, it can also be realized by the camera rotation of the pan-tilt.
  • the target area is a centered area of the plurality of areas.
  • the plurality of regions may be continuous, and the region centered among the plurality of regions may be determined as the target region.
  • n is an odd number, and then (n+1)/2 may be used.
  • the area is determined as the target area.
  • n is an even number, and then the n/2th or (n+2)/2th area can be determined as the target area.
  • the exposure values of the other areas in the plurality of areas are set according to the exposure value of the centered area, so that each of the generated panoramic images
  • the exposure value of the area is the same as the exposure value of the centered area, that is, the same as the exposure value of the area that the user first views, which can ensure that the user does not observe the exposure value after viewing the centered area and then viewing other areas.
  • the difference is beneficial to ensure a good viewing of the panoramic image.
  • FIG. 3 is a schematic flow chart of another target exposure value of an acquisition target area, according to an embodiment of the invention. As shown in FIG. 3, the target exposure value of the acquisition target area includes:
  • Step S13 determining a target object in the plurality of regions
  • Step S14 acquiring an exposure value of the target object.
  • the target object may be a person or a thing, and in the case where the target object is an object, the target object may be an animal, a natural scene, or an artificial creation such as a building.
  • the target object is a person and there are multiple target objects in a plurality of regions, then each of the plurality of regions may be determined, and then the exposure values of each target object are respectively acquired, and the mean value of the exposure values is finally calculated as a step.
  • the exposure value in S14 is a person or a thing, and in the case where the target object is an object, the target object may be an animal, a natural scene, or an artificial creation such as a building.
  • the exposure value of each of the plurality of regions is set according to the exposure value of the target object, so that each region in the generated panoramic image
  • the exposure value is the same as the exposure value of the target object, that is, the same as the exposure value of the part that the user is most concerned with, thereby ensuring that the exposure value of the target object viewed by the user in the panoramic image is the same as the exposure value of the environment in which the target object is located. Conducive to ensuring a good viewing of panoramic images.
  • FIG. 4 is a schematic flow chart showing still another target exposure value of a target area according to an embodiment of the present invention.
  • the target exposure value of the acquisition target area includes:
  • Step S15 receiving a target exposure value of the target area from the base station, the terminal, and/or the server.
  • the image capture device can communicate with a base station, terminal, and/or server to receive target exposure values from the target area of the base station, terminal, and/or server.
  • the target exposure value is obtained from the terminal, wherein the terminal may be a mobile device such as a mobile phone or a tablet computer.
  • the image capturing device is an aerial camera device, and the terminal may also be a remote controller for controlling the aerial camera device, and the image capturing device may be
  • the terminal performs communication, for example, wireless communication via a mobile network provided by an operator, or Bluetooth, Wifi, etc., or wired communication, thereby receiving a target exposure value previously stored in a target area of the terminal.
  • the user of the terminal can conveniently set the target exposure value of the target area on the terminal, which is beneficial to ensure that the exposure value of the obtained panoramic image is more in line with the needs of the user of the terminal. .
  • FIG. 5 is a schematic flow chart of another image generating method according to an embodiment of the invention. As shown in FIG. 5, after the generating the panoramic image, the method further includes:
  • Step S3 acquiring an exposure value of each of the regions in the panoramic image
  • Step S4 calculating an average value of exposure values of each of the regions
  • Step S5 calculating a difference between an exposure value of each of the regions and the average value
  • step S6 if there is a difference greater than the preset value, the prompt information is generated.
  • the exposure value of each area in the panoramic image is set according to the exposure value of the target area, and the exposure value of the target area is acquired once for each exposure value of one area, and acquired different times
  • the exposure value may be different. For example, based on the embodiment shown in FIG. 2, when the target exposure value of the target area is acquired, if lightning occurs in the target area, the target area will be brighter, and in this case, the obtained area is obtained. The target exposure value is different from the target exposure value obtained in other cases. If the exposure value of an area is set according to the target exposure value, the exposure of the area and other areas in the panoramic image will be caused. The values are significantly different.
  • the image capturing device may acquire an exposure value of each region in the panoramic image, and calculate an average value of the exposure values of each of the regions, and then calculate an exposure value of each region and the average value.
  • the difference if there is a large difference (for example, greater than the preset value), it can be determined that there is an abnormality in the exposure value of one or several regions in the panoramic image, so that the prompt information can be generated.
  • the prompt information can be generated.
  • no prompt information is generated.
  • the prompt information may be fed back to the image collection device, so that the image acquisition device resets the exposure values of the plurality of regions to regenerate the panoramic image; the prompt information may also be fed back to the image collector, so that the image collector determines whether it is needed. Reset the exposure values of the multiple regions.
  • the present invention also proposes an embodiment of the image generating apparatus.
  • FIG. 6 is a schematic block diagram of an image generating apparatus according to an embodiment of the present invention. As shown in FIG. 6, the image generating apparatus includes:
  • the exposure value obtaining module 1 is configured to acquire a target exposure value of the target area
  • the image acquisition module 2 is configured to collect an image of one of the plurality of regions
  • the exposure value setting module 3 is configured to set an exposure value of the acquired image according to the acquired target exposure value
  • the image generation module 4 is configured to generate a panoramic image according to an image of each region after the exposure value is set.
  • FIG. 7 is a schematic block diagram of an exposure value acquisition module according to an embodiment of the invention. As shown in FIG. 7, the exposure value acquisition module 1 includes:
  • a region determining sub-module 11 configured to determine the target region among the plurality of regions
  • the exposure value acquisition sub-module 12 is configured to acquire a target exposure value of the target area.
  • the target area is a centered area of the plurality of areas.
  • FIG. 8 is a schematic block diagram of another exposure value acquisition module according to an embodiment of the invention. As shown in FIG. 8, the exposure value acquisition module 1 includes:
  • An object determining sub-module 13 determining a target object in the plurality of regions
  • the exposure value acquisition sub-module 12 is configured to acquire an exposure value of the target object.
  • the exposure value acquisition module 1 includes:
  • the receiving sub-module 14 is configured to receive a target exposure value from the target area of the base station, the terminal, and/or the server.
  • FIG. 10 is a schematic block diagram of another image generating apparatus according to an embodiment of the present invention. As shown in FIG. 10, the exposure value acquisition module 1 is further configured to acquire an exposure value of each of the regions in the panoramic image;
  • the device also includes:
  • An average value calculation module 5 configured to calculate an average value of exposure values of each of the regions
  • a difference calculation module 6 configured to calculate a difference between an exposure value of each of the regions and the average value
  • the prompting module 7 is configured to generate prompt information if there is a difference greater than a preset value.
  • Embodiments of the present invention also provide a machine readable storage medium that can be adapted for use in an image capture device (eg, a video camera, a cell phone, an aerial camera device).
  • an image capture device eg, a video camera, a cell phone, an aerial camera device.
  • the machine readable storage medium stores a plurality of computer instructions that, when executed, perform the following processing:
  • Obtaining a target exposure value of the target area acquiring an image of one of the plurality of areas, and setting an exposure value of the collected image according to the acquired target exposure value;
  • a panoramic image is generated from the image of each region after the exposure value is set.
  • the system, apparatus, module or unit set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • embodiments of the invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It should be understood that the flowchart can be implemented by computer program instructions And/or a combination of the processes and/or blocks in the block diagrams, and the flowcharts and/or blocks in the flowcharts. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the production of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
  • these computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction means implements the functions specified in one or more blocks of the flowchart or in a flow or block diagram of the flowchart.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage media (which may include, but not limited to, disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media which may include, but not limited to, disk storage, CD-ROM, optical storage, etc.

Landscapes

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

Abstract

一种图像生成方法、图像生成装置和机器可读存储介质,所述图像生成方法包括:获取目标区域的目标曝光值,采集多个区域中一个区域的图像,根据获取的目标曝光值设置采集的图像的曝光值(S1);循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值(S2);根据设置曝光值后的每个区域的图像生成全景图像(S3)。由于多个区域的图像的曝光值均是根据目标曝光值设置,因此可以使得多个区域的图像的曝光值相同,进而保证根据设置曝光值后的每个区域的图像生成的全景图像中每个区域的曝光值相同,从而保证良好的观看效果。

Description

图像生成方法、图像生成装置和机器可读存储介质 技术领域
本发明涉及图像技术领域,尤其涉及图像生成方法、图像生成装置和机器可读存储介质。
背景技术
全景图像主要通过图像采集设备采集多个区域的图像,然后将采集到的多个图像合成来得到。
但是目前的一种全景图像采集设备,在采集某个区域的图像后,会删除该图像的曝光值的相关数据,从而导致在采集下个区域的图像时,无法确定之前采集的图像的曝光值,而只能确定当前采集的图像的曝光值,这导致采集的每个区域的图像的曝光值都是根据当前所采集的图像的曝光值来设置的。
然而每个区域对应的图像的曝光值可能不同,那么整合具有不同曝光值的多个图像来生成全景图像,将导致全景图像中不同区域的曝光值存在差异,从而影响观看效果。
发明内容
本发明提供图像生成方法、图像生成装置和机器可读存储介质,以解决现有技术中存在的问题。
根据本发明实施例的第一方面,提出一种图像生成方法,包括:
获取目标区域的目标曝光值,采集多个区域中一个区域的图像,根据获取的目标曝光值设置采集的图像的曝光值;
循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值;
根据设置曝光值后的每个区域的图像生成全景图像。
根据本发明实施例的第二方面,提出一种图像生成装置,包括:
曝光值获取模块,用于获取目标区域的目标曝光值;
图像采集模块,用于采集多个区域中一个区域的图像;
曝光值设置模块,用于根据获取的目标曝光值设置采集的图像的曝光值;
图像生成模块,用于根据设置曝光值后的每个区域的图像生成全景图像。
根据本发明实施例的第三方面,提出一种机器可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:
获取目标区域的目标曝光值,采集多个区域中一个区域的图像,根据获取的目标曝光值设置采集的图像的曝光值;
循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值;
根据设置曝光值后的每个区域的图像生成全景图像。
根据以上本发明实施例提供的技术方案可见,由于多个区域的图像的曝光值均是根据目标曝光值设置,因此可以使得多个区域的图像的曝光值相同,进而保证根据设置曝光值后的每个区域的图像生成的全景图像中每个区域的曝光值相同,从而保证良好的观看效果。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明实施例示出的一种图像生成方法的示意流程图。
图2是根据本发明实施例示出的一种获取目标区域的目标曝光值的示意流程图。
图3是根据本发明实施例示出的另一种获取目标区域的目标曝光值的示 意流程图。
图4是根据本发明实施例示出的又一种获取目标区域的目标曝光值的示意流程图。
图5是根据本发明实施例示出的另一种图像生成方法的示意流程图。
图6是根据本发明实施例示出的一种图像生成装置的示意框图。
图7是根据本发明实施例示出的一种曝光值获取模块的示意框图。
图8是根据本发明实施例示出的另一种曝光值获取模块的示意框图。
图9是根据本发明实施例示出的另一种曝光值获取模块的示意框图。
图10是根据本发明实施例示出的另一种图像生成装置的示意框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。另外,在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。
图1是根据本发明实施例示出的一种图像生成方法的示意流程图。本实施例所示的图像生成方法可以适用于图像采集设备,例如摄像机、手机、航拍设备等,该图像采集设备在采集某个区域的图像后,会删除该图像的曝光值的相关数据。
以下主要以航拍设备为例,对本发明的实施例进行示例性说明。其中,航拍设备可以包括无人机和摄像机,通过摄像机既可以进行图像采集,也可以确定某个区域的曝光值。
如图1所示,所述图像生成方法包括:
步骤S1,获取目标区域的目标曝光值,采集多个区域中一个区域的图像, 根据获取的目标曝光值设置采集的图像的曝光值;
步骤S2,循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值;
步骤S3,根据设置曝光值后的每个区域的图像生成全景图像。
在一个实施例中,针对目标区域的目标曝光值,可以通过多种方式获取,例如可以通过图像采集设备确定目标区域的目标曝光值,也可以通过通信设备接收终端(例如手机)发送的目标区域的目标曝光值。具体方式可以根据需要进行选择。
在一个实施例中,由于图像采集设备在采集某个区域的图像后,会删除该图像的曝光值的相关数据,也即不会存储采集过的图像的曝光值。因此,在针对多个区域生成全景图像时,可以获取目标区域的目标曝光值,采集多个区域中一个区域的图像,然后根据目标曝光值设置采集的图像的曝光值,进一步地,可以循环执行获取目标区域的目标曝光值,采集多个区域中一个区域的图像,然后根据目标曝光值设置采集的图像的曝光值,直至设置多个区域中每个区域的图像的曝光值。
其中,每次采集多个区域中一个区域的图像和获取目标区域的目标曝光值,可以根据需要设置执行顺序,例如可以每次先采集多个区域中一个区域的图像,然后获取目标区域的目标曝光值,也可以每次先获取目标区域的目标曝光值,然后采集多个区域中一个区域的图像。以下主要在先获取目标区域的目标曝光值,然后采集多个区域中一个区域的图像的情况下,对本发明的实施例进行示例性说明。
另外,多个区域中每两个相邻的区域中可以存在重合的子区域,以便在生成全景图像时,能够根据每个区域的图像中重合的子区域对图像完成拼接,进而生成全景图像
例如针对n(n为大于1的整数)个区域生成全景图像时,可以获取目标区域的目标曝光值,然后采集n个区域中第1个区域的图像,再根目标曝光值设置第1个区域的图像的曝光值;接下来获取目标区域的目标曝光值,然 后采集n个区域中第2个区域的图像,在根据目标曝光值设置第2个区域的图像的曝光值;…;接下来获取目标区域的目标曝光值,然后采集n个区域中第n个区域的图像,在根据目标曝光值设置第n个区域的图像的曝光值,从而完成对n个区域的图像的曝光值的设置。
由于多个区域的图像的曝光值均是根据目标曝光值设置(例如可以直接设置为目标曝光值,也可以设置为目标曝光值与预设系数之积),因此可以使得多个区域的图像的曝光值相同,进而保证根据设置曝光值后的每个区域的图像生成的全景图像中每个区域的曝光值相同,从而保证良好的观看效果。
图2是根据本发明实施例示出的一种获取目标区域的目标曝光值的示意流程图。如图2所示,所述获取目标区域的目标曝光值包括:
步骤S11,在所述多个区域中确定所述目标区域;
步骤S12,获取所述目标区域的目标曝光值。
在一个实施例中,可以在所述多个区域中确定目标区域,例如针对n个区域而言,可以将其中第m(m为小于或等于n的整数)个区域确定为目标区域。据此得到的全景图像,其中每个区域的曝光值是根据全景图像中的一个区域的曝光值设置的,而全景图像中每个区域的曝光值差异较小,从而可以保证整个全景图片的曝光值更加接近实际情况,有利于保证全景图像的观看效果。
其中,每次采集第m个区域的曝光值,可以在每次采集多个区域中一个区域的图像后,通过与摄像机相连的云台控制摄像机旋转至对应第m个区域的角度,进而采集第m个区域的曝光值。相应地,在下一次采集多个区域中一个区域的图像时,也可以通过该云台制摄像机旋转来实现。
可选地,所述目标区域为所述多个区域中居中的区域。
在一个实施例中,所述多个区域可以是连续的,可以将多个区域中居中的区域确定为目标区域,例如上述实施例中n为奇数,那么可以将第(n+1)/2个区域确定为目标区域,例如上述实施例中n为偶数,那么可以将第n/2或者第(n+2)/2个区域确定为目标区域。
由于多个区域中居中的区域一般是观看全景图像的用户最先观看到的区域,因此根据居中的区域的曝光值来设置多个区域中其他区域的曝光值,使得生成的全景图像中每个区域的曝光值与居中的区域的曝光值相同,也即与用户最先观看到的区域的曝光值相同,可以保证用户在观看到居中的区域后,再观看其他区域不会观察到曝光值的差异,有利于保证全景图像良好的观看效果。
图3是根据本发明实施例示出的另一种获取目标区域的目标曝光值的示意流程图。如图3所示,所述获取目标区域的目标曝光值包括:
步骤S13,确定所述多个区域中的目标对象;
步骤S14,获取所述目标对象的曝光值。
在一个实施例中,目标对象可以是人,也可以是物,而在目标对象是物的情况下,目标对象既可以是动物,也可以是自然景物,还可以是建筑等人工造物。例如目标对象是人,且在多个区域中存在多个目标对象,那么可以确定多个区域中的每个目标对象,然后分别获取每个目标对象的曝光值,最后计算曝光值的均值作为步骤S14中的曝光值。
由于多个区域中的目标对象一般是观看全景图像的用户最关注的部分,因此根据目标对象的曝光值来设置多个区域中每个区域的曝光值,使得生成的全景图像中每个区域的曝光值与目标对象的曝光值相同,也即与用户最关注的部分的曝光值相同,从而保证用户在全景图像中观看到的目标对象曝光值,与目标对象所处的环境的曝光值相同,有利于保证全景图像良好的观看效果。
图4是根据本发明实施例示出的又一种获取目标区域的目标曝光值的示意流程图。如图4所示,所述获取目标区域的目标曝光值包括:
步骤S15,接收来自基站、终端和/或服务器的所述目标区域的目标曝光值。
在一个实施例中,图像采集设备可以与基站、终端和/或服务器进行通信,进而接收来自基站、终端和/或服务器的所述目标区域的目标曝光值。例如接 收的目标曝光值来自于终端,其中,终端可以是手机、平板电脑等移动设备,例如图像采集设备为航拍设备,那么终端也可以是用于控制该航拍设备的遥控器,图像采集设备可以与终端进行通信,例如通过运营商提供的移动网络,或者蓝牙、Wifi等进行无线通信,也可以进行有线通信,从而接收预先存储在终端的目标区域的目标曝光值。
据此,由于目标区域的目标曝光值来自于终端,便于终端的使用者在终端上方便地设置目标区域的目标曝光值,有利于保证得到的全景图像的曝光值更符合终端的使用者的需求。
图5是根据本发明实施例示出的另一种图像生成方法的示意流程图。如图5所示,在生成所述全景图像之后,所述方法还包括:
步骤S3,获取所述全景图像中每个所述区域的曝光值;
步骤S4,计算每个所述区域的曝光值的平均值;
步骤S5,计算每个所述区域的曝光值与所述平均值的差值;
步骤S6,若存在大于预设值的差值,生成提示信息。
在一个实施例中,由于全景图像中每个区域的曝光值均是根据目标区域的曝光值设置的,而目标区域的曝光值在每设置一个区域的曝光值时就获取一次,而不同次获取的曝光值可能存在差异,例如基于图2所示的实施例,在获取目标区域的目标曝光值时,若目标区域出现闪电,那么将导致目标区域较亮,而在这种情况下获取到的目标曝光值,相对于其他情况下获取到的目标曝光值则会存在较大的差异,若根据该目标曝光值设置某个区域的曝光值,那么将导致全景图像中该区域与其他区域的曝光值存在明显不同。
因此,图像采集设备在生成全景图像后,可以获取全景图像中每个区域的曝光值,并计算每个所述区域的曝光值的平均值然后,计算每个区域的曝光值与该平均值的差值,若存在较大(例如大于预设值)的差值,那么可以确定全景图像中某个或某几个区域的曝光值存在异常,从而可以生成提示信息。相应地,若不存在大于预设值的差值,则不生成提示信息。
其中,提示信息可以反馈给图像采集设备,以使图像采集设备重新设置所述多个区域的曝光值,以便重新生成全景图像;提示信息也可以反馈给图像采集者,以便图像采集者确定是否需要重新设置所述多个区域的曝光值。
与上述图像生成方法的实施例相对应地,本发明还提出了图像生成装置的实施例。
图6是根据本发明实施例示出的一种图像生成装置的示意框图。如图6所示,所述图像生成装置包括:
曝光值获取模块1,用于获取目标区域的目标曝光值;
图像采集模块2,用于采集多个区域中一个区域的图像;
曝光值设置模块3,用于根据获取的目标曝光值设置采集的图像的曝光值;
图像生成模块4,用于根据设置曝光值后的每个区域的图像生成全景图像。
图7是根据本发明实施例示出的一种曝光值获取模块的示意框图。如图7所示,所述曝光值获取模块1包括:
区域确定子模块11,用于在所述多个区域中确定所述目标区域;
曝光值获取子模块12,用于获取所述目标区域的目标曝光值。
可选地,所述目标区域为所述多个区域中居中的区域。
图8是根据本发明实施例示出的另一种曝光值获取模块的示意框图。如图8所示,所述曝光值获取模块1包括:
对象确定子模块13,确定所述多个区域中的目标对象;
曝光值获取子模块12,用于获取所述目标对象的曝光值。
图9是根据本发明实施例示出的另一种曝光值获取模块的示意框图。如图9所示,所述曝光值获取模块1包括:
接收子模块14,用于接收来自基站、终端、和/或服务器的所述目标区域的目标曝光值。
图10是根据本发明实施例示出的另一种图像生成装置的示意框图。如图10所示,所述曝光值获取模块1还用于获取所述全景图像中每个所述区域的曝光值;
所述装置还包括:
平均值计算模块5,用于计算每个所述区域的曝光值的平均值;
差值计算模块6,用于计算每个所述区域的曝光值与所述平均值的差值;
提示模块7,用于在存在大于预设值的差值的情况下,生成提示信息。
本发明的实施例还提出一种机器可读存储介质,该机器可读存储介质可以适用于图像采集设备(例如摄像机、手机、航拍设备)。所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:
获取目标区域的目标曝光值,采集多个区域中一个区域的图像,根据获取的目标曝光值设置采集的图像的曝光值;
循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值;
根据设置曝光值后的每个区域的图像生成全景图像。
上述实施例阐明的系统、装置、模块或单元,可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
本领域内的技术人员应明白,本发明实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可以由计算机程序指令实现流程图 和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
而且,这些计算机程序指令也可以存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或者多个流程和/或方框图一个方框或者多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其它可编程数据处理设备,使得在计算机或者其它可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其它可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
本领域技术人员应明白,本发明的实施例可提供为方法、系统或计算机程序产品。因此,本发明可以采用完全硬件实施例、完全软件实施例、或者结合软件和硬件方面的实施例的形式。而且,本发明可以采用在一个或者多个其中包含有计算机可用程序代码的计算机可用存储介质(可以包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
以上所述仅为本发明实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进,均应包含在本发明的权利要求范围之内。

Claims (13)

  1. 一种图像生成方法,其特征在于,包括:
    获取目标区域的目标曝光值,采集多个区域中一个区域的图像,根据获取的目标曝光值设置采集的图像的曝光值;
    循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值;
    根据设置曝光值后的每个区域的图像生成全景图像。
  2. 根据权利要求1所述的方法,其特征在于,所述获取目标区域的目标曝光值包括:
    在所述多个区域中确定所述目标区域;
    获取所述目标区域的目标曝光值。
  3. 根据权利要求2所述的方法,其特征在于,所述目标区域为所述多个区域中居中的区域。
  4. 根据权利要求1所述的方法,其特征在于,所述获取目标区域的目标曝光值包括:
    确定所述多个区域中的目标对象;
    获取所述目标对象的曝光值。
  5. 根据权利要求1所述的方法,其特征在于,所述获取目标区域的目标曝光值包括:
    接收来自基站、终端、和/或服务器的所述目标区域的目标曝光值。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,在生成所述全景图像之后,所述方法还包括:
    获取所述全景图像中每个所述区域的曝光值;
    计算每个所述区域的曝光值的平均值;
    计算每个所述区域的曝光值与所述平均值的差值;
    若存在大于预设值的差值,生成提示信息。
  7. 一种图像生成装置,其特征在于,包括:
    曝光值获取模块,用于获取目标区域的目标曝光值;
    图像采集模块,用于采集多个区域中一个区域的图像;
    曝光值设置模块,用于根据获取的目标曝光值设置采集的图像的曝光值;
    图像生成模块,用于根据设置曝光值后的每个区域的图像生成全景图像。
  8. 根据权利要求7所述的装置,其特征在于,所述曝光值获取模块包括:
    区域确定子模块,用于在所述多个区域中确定所述目标区域;
    曝光值获取子模块,用于获取所述目标区域的目标曝光值。
  9. 根据权利要求8所述的装置,其特征在于,所述目标区域为所述多个区域中居中的区域。
  10. 根据权利要求7所述的装置,其特征在于,所述曝光值获取模块包括:
    对象确定子模块,确定所述多个区域中的目标对象;
    曝光值获取子模块,用于获取所述目标对象的曝光值。
  11. 根据权利要求7所述的装置,其特征在于,所述曝光值获取模块包括:
    接收子模块,用于接收来自基站、终端、和/或服务器的所述目标区域的目标曝光值。
  12. 根据权利要求7至11中任一项所述的装置,其特征在于,所述曝光值获取模块还用于获取所述全景图像中每个所述区域的曝光值;
    所述装置还包括:
    平均值计算模块,用于计算每个所述区域的曝光值的平均值;
    差值计算模块,用于计算每个所述区域的曝光值与所述平均值的差值;
    提示模块,用于在存在大于预设值的差值的情况下,生成提示信息。
  13. 一种机器可读存储介质,其特征在于,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:
    获取目标区域的目标曝光值,采集多个区域中一个区域的图像,根据获取的目标曝光值设置采集的图像的曝光值;
    循环上述步骤,直至设置所述多个区域中每个区域的图像的曝光值;
    根据设置曝光值后的每个区域的图像生成全景图像。
PCT/CN2017/103420 2017-09-26 2017-09-26 图像生成方法、图像生成装置和机器可读存储介质 WO2019061020A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/103420 WO2019061020A1 (zh) 2017-09-26 2017-09-26 图像生成方法、图像生成装置和机器可读存储介质
CN201780004994.6A CN108476291A (zh) 2017-09-26 2017-09-26 图像生成方法、图像生成装置和机器可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103420 WO2019061020A1 (zh) 2017-09-26 2017-09-26 图像生成方法、图像生成装置和机器可读存储介质

Publications (1)

Publication Number Publication Date
WO2019061020A1 true WO2019061020A1 (zh) 2019-04-04

Family

ID=63266582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103420 WO2019061020A1 (zh) 2017-09-26 2017-09-26 图像生成方法、图像生成装置和机器可读存储介质

Country Status (2)

Country Link
CN (1) CN108476291A (zh)
WO (1) WO2019061020A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255390B (zh) * 2018-09-30 2021-01-29 京东方科技集团股份有限公司 训练图像的预处理方法及模块、鉴别器、可读存储介质
US11615505B2 (en) 2018-09-30 2023-03-28 Boe Technology Group Co., Ltd. Apparatus and method for image processing, and system for training neural network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120133639A1 (en) * 2010-11-30 2012-05-31 Microsoft Corporation Strip panorama
CN104335569A (zh) * 2012-06-11 2015-02-04 索尼电脑娱乐公司 图像生成设备以及图像生成方法
CN105827964A (zh) * 2016-03-24 2016-08-03 维沃移动通信有限公司 一种图像处理方法及移动终端
CN106454096A (zh) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 一种图像处理方法及终端
CN107169924A (zh) * 2017-06-14 2017-09-15 歌尔科技有限公司 三维全景图像的建立方法和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428410B (zh) * 2012-05-17 2016-08-31 华晶科技股份有限公司 影像撷取装置及其影像合成方法
JP6065474B2 (ja) * 2012-09-11 2017-01-25 株式会社リコー 撮像制御装置、撮像制御方法およびプログラム
CN105516614B (zh) * 2015-11-27 2019-02-05 联想(北京)有限公司 信息处理方法及电子设备
CN105827990B (zh) * 2016-01-22 2018-12-04 维沃移动通信有限公司 一种自动曝光方法及移动终端
CN107197134B (zh) * 2016-03-14 2019-10-29 深圳岚锋创视网络科技有限公司 一种用于多个鱼眼镜头的图像的曝光调整方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120133639A1 (en) * 2010-11-30 2012-05-31 Microsoft Corporation Strip panorama
CN104335569A (zh) * 2012-06-11 2015-02-04 索尼电脑娱乐公司 图像生成设备以及图像生成方法
CN105827964A (zh) * 2016-03-24 2016-08-03 维沃移动通信有限公司 一种图像处理方法及移动终端
CN106454096A (zh) * 2016-10-29 2017-02-22 深圳市金立通信设备有限公司 一种图像处理方法及终端
CN107169924A (zh) * 2017-06-14 2017-09-15 歌尔科技有限公司 三维全景图像的建立方法和系统

Also Published As

Publication number Publication date
CN108476291A (zh) 2018-08-31

Similar Documents

Publication Publication Date Title
JP6419201B2 (ja) ビデオ再生のための方法および装置
KR20180106076A (ko) 촬영 모드에 따라 이미지에 대한 표시자를 다르게 제공하는 방법 및 그 전자 장치
CN105554372B (zh) 一种拍摄方法以及装置
JP2015115839A5 (zh)
CN108174082B (zh) 一种图像拍摄的方法和移动终端
CN113012082A (zh) 图像显示方法、装置、设备及介质
CN105847673A (zh) 照片显示方法、装置和移动终端
CN113436311A (zh) 一种户型图生成方法及其装置
CN114554092A (zh) 设备控制方法、装置和电子设备
WO2019061020A1 (zh) 图像生成方法、图像生成装置和机器可读存储介质
CN105467741B (zh) 一种全景拍照方法及终端
WO2016192467A1 (zh) 一种播放视频的方法及装置
WO2015089944A1 (zh) 一种处理视频会议画面的方法、装置及会议终端
US10778855B2 (en) System and method for creating contents by collaborating between users
JP2016194783A (ja) 画像管理システム、通信端末、通信システム、画像管理方法、及びプログラム
JP2016194784A (ja) 画像管理システム、通信端末、通信システム、画像管理方法、及びプログラム
CN112839165A (zh) 人脸跟踪摄像的实现方法、装置、计算机设备和存储介质
CN111918127A (zh) 一种视频剪辑方法、装置、计算机可读存储介质及相机
TW201248559A (en) Method and system for integrating monitor video player control item
KR101788005B1 (ko) 복수의 모바일 단말들을 이용한 다시점 영상 생성 방법
CN112887620A (zh) 视频拍摄方法、装置及电子设备
US10277679B1 (en) Photograph sharing system
WO2018137393A1 (zh) 一种图像处理方法及电子设备
CN112004022B (zh) 生成拍摄提示信息的方法和装置
CN112770074B (zh) 视频会议的实现方法、装置、服务器和计算机存储介质

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: 17926634

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17926634

Country of ref document: EP

Kind code of ref document: A1