WO2019179230A1 - Raw image-based panorama stitching method and electronic device - Google Patents
Raw image-based panorama stitching method and electronic device Download PDFInfo
- Publication number
- WO2019179230A1 WO2019179230A1 PCT/CN2019/072504 CN2019072504W WO2019179230A1 WO 2019179230 A1 WO2019179230 A1 WO 2019179230A1 CN 2019072504 W CN2019072504 W CN 2019072504W WO 2019179230 A1 WO2019179230 A1 WO 2019179230A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- panoramic
- raw
- images
- raw format
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000004590 computer program Methods 0.000 claims description 15
- 238000003384 imaging method Methods 0.000 claims 1
- 238000012805 post-processing Methods 0.000 abstract description 9
- 238000012545 processing Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4015—Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4007—Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation
Definitions
- the invention belongs to the field of panoramic images, and in particular relates to a panoramic stitching method based on RAW images and an electronic device.
- panoramic images With the development of technology, the application of panoramic images is becoming more and more popular, and panoramic images can provide 360-degree panoramic images, giving users an immersive experience.
- a RAW image is the raw data of a CMOS or CCD image sensor that converts the captured light source signal into a digital signal and is unprocessed.
- RGB images are processed through lossy compression, and image details are much less detailed than RAW images. Therefore, RAW images are processed in the post-processing, such as adding and subtracting exposure, adjusting highlights/shadows, increasing and decreasing contrast, and adjusting color gradations and curves.
- the current panoramic images are generally based on RGB image stitching. It can be seen that the panoramic stitching based on RGB images has a large limitation in post processing.
- An object of the present invention is to provide a RAW image-based panoramic splicing method, a computer readable storage medium, and an electronic device, which aim to solve the problem that the RGB image-based panoramic splicing has a large limitation in post processing.
- the present invention provides a RAW image-based panoramic splicing method, the method comprising:
- each RAW image into an R image, a G image, and a B image by color channels;
- the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image.
- the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement steps of a RAW image-based panoramic stitching method as described above .
- the present invention provides an electronic device comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and It is configured to be executed by the one or more processors that, when executing the computer program, implement the steps of the RAW image-based panoramic stitching method as described above.
- each RAW image is decomposed into an R image, a G image, and a B image by a color channel; and the R image, the G image, and the B image are respectively spliced into a panoramic R image, a panoramic G image and a panoramic B image;
- the splicing module is further configured to arrange R, G, and B data according to the RAW format, and index corresponding pixel values on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the spliced RAW format panoramic image.
- FIG. 1 is a flowchart of a RAW image-based panoramic stitching method according to Embodiment 1 of the present invention.
- FIG. 2 is a diagram showing an example of an exploded RAW image according to Embodiment 1 of the present invention.
- FIG. 3 is a block diagram showing a specific structure of an electronic device according to Embodiment 3 of the present invention.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- a RAW image-based panoramic splicing method according to Embodiment 1 of the present invention includes the following steps: It should be noted that, if substantially the same result is obtained, the RAW image-based panoramic splicing method of the present invention is not illustrated. The sequence of processes shown in 1 is limited.
- One method of obtaining a panoramic image is to splicing a series of photos with overlapping regions into a panoramic image, so that at least two RAW images need to be acquired for splicing of the panoramic images.
- a RAW image is a raw data in which a CMOS or CCD image sensor converts a captured light source signal into a digital signal.
- a RAW image is a file that records the original information of a digital camera sensor and records some metadata (Metadata such as ISO settings, shutter speed, aperture value, white balance, etc.) generated by the camera. Therefore, in the post processing of images, RAW has more processing space than other formats.
- each RAW image into an R image, a G image, and a B image according to a color channel;
- a RAW image has only one color channel, or an R channel or a G channel or a B channel. Since a pixel has only one color channel, it needs to be interpolated (filled) by the color around the pixel.
- the decomposition of the R image, the G image, and the B image is as shown in FIG. 2 . It can be understood that FIG. 2 is only an example in which the RAW image is decomposed into an R image, a G image, and a B image, and is not intended to limit the present invention.
- the number of bits of the R image, the G image, and the B image coincides with the RAW data.
- the number of bits is the pixel of the image, and the number of bits of the RAW image acquired in step S101 is how many bits of the R image, the G image, and the B image are decomposed by the RAW image.
- At least two RAW images that are used for splicing into a panoramic image are spliced into a panoramic R image
- the respective decomposed G images are spliced into a panoramic G image
- the respective decomposed B images are spliced into a panoramic B image.
- the internal parameters, the external parameters, and the distortion parameters of each of the RAW images may be acquired first, and then the R image, the G image, and the B image are respectively spliced according to the internal parameter, the external parameter, and the distortion parameter.
- Panoramic R image, panoramic G image, and panoramic B image may be acquired first, and then the R image, the G image, and the B image are respectively spliced according to the internal parameter, the external parameter, and the distortion parameter.
- the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image.
- the value of the R channel in the RAW format is indexed in the panoramic R image
- the value of the G channel in the RAW format is indexed in the panoramic G image
- the value of the B channel in the RAW format is indexed in the panoramic B image, thereby being stitched into a panoramic image in the RAW format.
- each RAW image is decomposed into an R image, a G image, and a B image by a color channel; and the R image, the G image, and the B image are respectively spliced into a panoramic R image,
- the panoramic G image and the panoramic B image according to the R, G, and B data arrangement of the RAW format, the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image.
- the RAW panoramic image can be obtained by the invention, so that the image post-processing has more space, and the problem that the RGB image-based panoramic splicing has a large limitation in post-processing is avoided.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- the second embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the RAW image based panorama provided by the first embodiment of the present invention is implemented. The steps of the stitching method.
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- An electronic device 100 includes: one or more processors 101, a memory 102, and one or more computer programs, wherein the processor 101 and the memory 102 are connected by a bus, the one or more computer programs being stored in the memory 102 and configured to be executed by the one or more processors 101, the processor 101 executing The steps of the RAW image-based panoramic stitching method provided by the first embodiment of the present invention are implemented in the description of the computer program.
- the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
- ROM Read Only Memory
- RAM Random Access Memory
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
The present invention provides a RAW image-based panorama stitching method and an electronic device, said method comprising: acquiring at least two RAW images; decomposing each of the RAW images into an R image, a G image, and a B image per color channel; stitching the R images, the G images, and the B images into a panoramic R image, a panoramic G image, and a panoramic B image, respectively; and according to R, B, G data arrangements in the RAW format, indexing pixel values on the corresponding panoramic R image, panoramic G image, and panoramic B image, so as to obtain a stitched panoramic image in the RAW format. Hence, the present invention can obtain a panoramic image in the RAW format, allowing for a broader room for post image processing, solving the problem of great limitations on post processing for RGB image-based panorama stitching.
Description
本发明属于全景图像领域,尤其涉及一种基于RAW图像的全景拼接方法及电子设备。The invention belongs to the field of panoramic images, and in particular relates to a panoramic stitching method based on RAW images and an electronic device.
随着科技的发展,全景图像的应用越来越普及,全景图像能提供360度的全景图,带给用户一种身临其境的感受。With the development of technology, the application of panoramic images is becoming more and more popular, and panoramic images can provide 360-degree panoramic images, giving users an immersive experience.
RAW图像就是CMOS或者CCD图像感应器将捕捉到的光源信号转化为数字信号的原始数据,是未经处理的。相比之下,RGB图像是经过有损压缩处理的,图像细节比RAW图像的细节少很多。故RAW图像在后期处理,例如加减曝光,调整高光\阴影,增减对比度,调整色阶和曲线等有更大的优势。A RAW image is the raw data of a CMOS or CCD image sensor that converts the captured light source signal into a digital signal and is unprocessed. In contrast, RGB images are processed through lossy compression, and image details are much less detailed than RAW images. Therefore, RAW images are processed in the post-processing, such as adding and subtracting exposure, adjusting highlights/shadows, increasing and decreasing contrast, and adjusting color gradations and curves.
但是,目前的全景图像一般是基于RGB图像拼接而成,可见,基于RGB图像的全景拼接在后期处理方面会有较大的限制。However, the current panoramic images are generally based on RGB image stitching. It can be seen that the panoramic stitching based on RGB images has a large limitation in post processing.
本发明的目的在于提供一种基于RAW图像的全景拼接方法、计算机可读存储介质及电子设备,旨在解决基于RGB图像的全景拼接在后期处理方面会有较大限制的问题。An object of the present invention is to provide a RAW image-based panoramic splicing method, a computer readable storage medium, and an electronic device, which aim to solve the problem that the RGB image-based panoramic splicing has a large limitation in post processing.
第一方面,本发明提供了一种基于RAW图像的全景拼接方法,所述方法包括:In a first aspect, the present invention provides a RAW image-based panoramic splicing method, the method comprising:
获取至少两个RAW图像;Obtain at least two RAW images;
将每个RAW图像按颜色通道分解为R图像、G图像和B图像;Decompose each RAW image into an R image, a G image, and a B image by color channels;
将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像;Splicing the R image, the G image, and the B image into a panoramic R image, a panoramic G image, and a panoramic B image, respectively;
根据RAW格式的R、G、B数据排列,索引对应全景R图像、全景G图像、全景B图像上的像素值,从而得到拼接好的RAW格式全景图像。According to the R, G, and B data arrangement of the RAW format, the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image.
第二方面,本发明提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述的基于RAW图像的全景拼接方法的步骤。In a second aspect, the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement steps of a RAW image-based panoramic stitching method as described above .
第三方面,本发明提供了一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述处理器执行所述计算机程序时实现如上述的基于RAW图像的全景拼接方法的步骤。In a third aspect, the present invention provides an electronic device comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and It is configured to be executed by the one or more processors that, when executing the computer program, implement the steps of the RAW image-based panoramic stitching method as described above.
在本发明中,通过获取至少两个RAW图像;将每个RAW图像按颜色通道分解为R图像、G图像和B图像;将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像;所述拼接模块还用于根据RAW格式的R、G、B数据排列,索引对应全景R图像、全景G图像、全景B图像上的像素值,从而得到拼接好的RAW格式全景图像。可见,本发明可以得到RAW的全景图像,使得图像后期处理有更大的空间,避免了基于RGB图像的全景拼接在后期处理方面会有较大限制的问题。In the present invention, at least two RAW images are acquired; each RAW image is decomposed into an R image, a G image, and a B image by a color channel; and the R image, the G image, and the B image are respectively spliced into a panoramic R image, a panoramic G image and a panoramic B image; the splicing module is further configured to arrange R, G, and B data according to the RAW format, and index corresponding pixel values on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the spliced RAW format panoramic image. It can be seen that the RAW panoramic image can be obtained by the invention, so that the image post-processing has more space, and the problem that the RGB image-based panoramic splicing has a large limitation in post-processing is avoided.
图1是本发明实施例一提供的基于RAW图像的全景拼接方法的流程图。FIG. 1 is a flowchart of a RAW image-based panoramic stitching method according to Embodiment 1 of the present invention.
图2是本发明实施例一提供的分解RAW图像的示例图。2 is a diagram showing an example of an exploded RAW image according to Embodiment 1 of the present invention.
图3是本发明实施例三提供的电子设备的具体结构框图。3 is a block diagram showing a specific structure of an electronic device according to Embodiment 3 of the present invention.
为了使本发明的目的、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to explain the technical solution described in the present invention, the following description will be made by way of specific embodiments.
实施例一:Embodiment 1:
请参阅图1,本发明实施例一提供的基于RAW图像的全景拼接方法包括以下步骤:需注意的是,若有实质上相同的结果,本发明的基于RAW图像的全景拼接方法并不以图1所示的流程顺序为限。Referring to FIG. 1 , a RAW image-based panoramic splicing method according to Embodiment 1 of the present invention includes the following steps: It should be noted that, if substantially the same result is obtained, the RAW image-based panoramic splicing method of the present invention is not illustrated. The sequence of processes shown in 1 is limited.
S101、获取至少两个RAW图像;S101. Acquire at least two RAW images.
全景图像的一种获取方法是将一系列的具有重叠区域的照片,拼接成全景图像,所以全景图像的拼接,至少需要获取两个RAW图像。One method of obtaining a panoramic image is to splicing a series of photos with overlapping regions into a panoramic image, so that at least two RAW images need to be acquired for splicing of the panoramic images.
RAW图像就是CMOS或者CCD图像感应器将捕捉到的光源信号转化为数字信号的原始数据。RAW图像是一种记录了数码相机传感器的原始信息,同时记录了由相机拍摄所产生的一些元数据(Metadata,如ISO的设置、快门速度、光圈值、白平衡等)的文件。所以在图像的后期处理中,RAW相比其他格式有更大的处理空间。A RAW image is a raw data in which a CMOS or CCD image sensor converts a captured light source signal into a digital signal. A RAW image is a file that records the original information of a digital camera sensor and records some metadata (Metadata such as ISO settings, shutter speed, aperture value, white balance, etc.) generated by the camera. Therefore, in the post processing of images, RAW has more processing space than other formats.
S102、将每个RAW图像按颜色通道分解为R图像、G图像和B图像;S102. Decompose each RAW image into an R image, a G image, and a B image according to a color channel;
RAW图像一个像素就只有一个颜色通道, 或R通道或G通道或B通道。由于一个像素点只有一种颜色通道, 分解时需要借助这个像素点周围的颜色进行插值(填充)。以GR/BG格式的RAW图像为例,R图像、G图像、B图像的分解方式如图2所示。可以理解的是,图2仅为RAW图像分解为R图像、G图像、B图像的一个示例,并不用于限定本发明。A RAW image has only one color channel, or an R channel or a G channel or a B channel. Since a pixel has only one color channel, it needs to be interpolated (filled) by the color around the pixel. Taking the RAW image in the GR/BG format as an example, the decomposition of the R image, the G image, and the B image is as shown in FIG. 2 . It can be understood that FIG. 2 is only an example in which the RAW image is decomposed into an R image, a G image, and a B image, and is not intended to limit the present invention.
还需要说明的是,R图像、G图像、B图像的位数和RAW数据一致。位数就是图像的像素,由步骤S101获取的RAW图像是多少位的,则由该RAW图像分解出的R图像、G图像和B图像就是多少位的。It should also be noted that the number of bits of the R image, the G image, and the B image coincides with the RAW data. The number of bits is the pixel of the image, and the number of bits of the RAW image acquired in step S101 is how many bits of the R image, the G image, and the B image are decomposed by the RAW image.
S103、将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像;S103. Splicing the R image, the G image, and the B image into a panoramic R image, a panoramic G image, and a panoramic B image, respectively;
具体的,将用于拼接为全景图像的至少两个RAW图像,各自分解的R图像拼接为全景R图像,各自分解的G图像拼接为全景G图像,各自分解的B图像拼接为全景B图像。Specifically, at least two RAW images that are used for splicing into a panoramic image are spliced into a panoramic R image, and the respective decomposed G images are spliced into a panoramic G image, and the respective decomposed B images are spliced into a panoramic B image.
还需要说明的是,可以先获取每个所述RAW图像的内参、外参和畸变参数,再根据所述内参、外参和畸变参数,将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像。It should be noted that the internal parameters, the external parameters, and the distortion parameters of each of the RAW images may be acquired first, and then the R image, the G image, and the B image are respectively spliced according to the internal parameter, the external parameter, and the distortion parameter. Panoramic R image, panoramic G image, and panoramic B image.
S104、根据RAW格式的R、G、B数据排列,索引对应全景R图像、全景G图像、全景B图像上的像素值,从而得到拼接好的RAW格式全景图像。S104. According to the R, G, and B data arrangement of the RAW format, the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image.
具体的,根据RAW格式的R、G、B数据排列,在所述全景R图像中索引RAW格式中R通道的值,在所述全景G图像中索引RAW格式中G通道的值,在所述全景B图像中索引RAW格式中B通道的值,从而拼接成RAW格式的全景图像。Specifically, according to the R, G, and B data arrangement of the RAW format, the value of the R channel in the RAW format is indexed in the panoramic R image, and the value of the G channel in the RAW format is indexed in the panoramic G image, The value of the B channel in the RAW format is indexed in the panoramic B image, thereby being stitched into a panoramic image in the RAW format.
在本发明中,通过获取至少两个RAW图像;将每个RAW图像按颜色通道分解为R图像、G图像和B图像;将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像;根据RAW格式的R、G、B数据排列,索引对应全景R图像、全景G图像、全景B图像上的像素值,从而得到拼接好的RAW格式全景图像。可见,本发明可以得到RAW的全景图像,使得图像后期处理有更大的空间,避免了基于RGB图像的全景拼接在后期处理方面会有较大限制的问题。In the present invention, at least two RAW images are acquired; each RAW image is decomposed into an R image, a G image, and a B image by a color channel; and the R image, the G image, and the B image are respectively spliced into a panoramic R image, The panoramic G image and the panoramic B image; according to the R, G, and B data arrangement of the RAW format, the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image. It can be seen that the RAW panoramic image can be obtained by the invention, so that the image post-processing has more space, and the problem that the RGB image-based panoramic splicing has a large limitation in post-processing is avoided.
实施例二:Embodiment 2:
本发明实施例二提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本发明实施例一提供的基于RAW图像的全景拼接方法的步骤。The second embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the RAW image based panorama provided by the first embodiment of the present invention is implemented. The steps of the stitching method.
实施例三:Embodiment 3:
图3示出了本发明实施例三提供的电子设备的具体结构框图,一种电子设备100包括:一个或多个处理器101、存储器102、以及一个或多个计算机程序,其中所述处理器101和所述存储器102通过总线连接,所述一个或多个计算机程序被存储在所述存储器102中,并且被配置成由所述一个或多个处理器101执行,所述处理器101执行所述计算机程序时实现如本发明实施例一提供的基于RAW图像的全景拼接方法的步骤。3 is a block diagram showing a specific structure of an electronic device according to Embodiment 3 of the present invention. An electronic device 100 includes: one or more processors 101, a memory 102, and one or more computer programs, wherein the processor 101 and the memory 102 are connected by a bus, the one or more computer programs being stored in the memory 102 and configured to be executed by the one or more processors 101, the processor 101 executing The steps of the RAW image-based panoramic stitching method provided by the first embodiment of the present invention are implemented in the description of the computer program.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
Claims (6)
- 一种基于RAW图像的全景拼接方法,其特征在于,所述方法包括:A RAW image-based panoramic splicing method, the method comprising:获取至少两个RAW图像;Obtain at least two RAW images;将每个RAW图像按颜色通道分解为R图像、G图像和B图像;Decompose each RAW image into an R image, a G image, and a B image by color channels;将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像;Splicing the R image, the G image, and the B image into a panoramic R image, a panoramic G image, and a panoramic B image, respectively;根据RAW格式的R、G、B数据排列,索引对应全景R图像、全景G图像、全景B图像上的像素值,从而得到拼接好的RAW格式全景图像。According to the R, G, and B data arrangement of the RAW format, the index corresponds to the pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining the stitched RAW format panoramic image.
- 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:获取每个所述RAW图像的内参、外参和畸变参数;Obtaining internal parameters, external parameters, and distortion parameters of each of the RAW images;所述将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像:The splicing the R image, the G image, and the B image into a panoramic R image, a panoramic G image, and a panoramic B image:根据所述内参、外参和畸变参数,将所述R图像、G图像和B图像分别拼接为全景R图像、全景G图像和全景B图像。The R image, the G image, and the B image are respectively spliced into a panoramic R image, a panoramic G image, and a panoramic B image according to the internal parameter, the external parameter, and the distortion parameter.
- 如权利要求1所述的方法,其特征在于,所述根据RAW格式的R、G、B数据排列,索引对应全景R图像、全景G图像、全景B图像上的像素值,从而得到拼接好的RAW格式全景图像包括:The method according to claim 1, wherein the R, G, and B data are arranged according to a RAW format, and the index corresponds to a pixel value on the panoramic R image, the panoramic G image, and the panoramic B image, thereby obtaining a stitched image. RAW format panoramic images include:根据RAW格式的R、G、B数据排列,在所述全景R图像中索引RAW格式中R通道的值,在所述全景G图像中索引RAW格式中G通道的值,在所述全景B图像中索引RAW格式中B通道的值,从而得到拼接好的RAW格式全景图像。Indexing the R channel in the RAW format in the panoramic R image according to the R, G, B data arrangement of the RAW format, and indexing the value of the G channel in the RAW format in the panoramic G image, in the panoramic B image The index of the B channel in the RAW format is indexed, thereby obtaining a mosaic RAW format panoramic image.
- 如权利要求1-3中任一项所述的方法,其特征在于,所述R图像、G图像和B图像的位数和RAW数据的一致。The method according to any one of claims 1 to 3, wherein the number of bits of the R image, the G image, and the B image is identical to the RAW data.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述的基于RAW图像的全景拼接方法的步骤。A computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the RAW image based method according to any one of claims 1 to 4. The steps of the panorama stitching method.
- 一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至4任一项所述的基于RAW图像的全景拼接方法的步骤。An electronic device comprising: one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be Executing a plurality of processors, the step of implementing the RAW image-based panoramic stitching method according to any one of claims 1 to 4 when the processor executes the computer program.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810240844.1A CN108550110B (en) | 2018-03-22 | 2018-03-22 | Panorama stitching method and device based on RAW image and electronic equipment |
CN201810240844.1 | 2018-03-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019179230A1 true WO2019179230A1 (en) | 2019-09-26 |
Family
ID=63516726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/072504 WO2019179230A1 (en) | 2018-03-22 | 2019-01-21 | Raw image-based panorama stitching method and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108550110B (en) |
WO (1) | WO2019179230A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114697550A (en) * | 2022-03-24 | 2022-07-01 | 湖南网景文化科技有限公司 | Method for manufacturing high-definition VR panoramic video by embedding LivePanoVR panoramic into video material |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108550110B (en) * | 2018-03-22 | 2021-03-02 | 影石创新科技股份有限公司 | Panorama stitching method and device based on RAW image and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7095905B1 (en) * | 2000-09-08 | 2006-08-22 | Adobe Systems Incorporated | Merging images to form a panoramic image |
US7103236B2 (en) * | 2001-08-28 | 2006-09-05 | Adobe Systems Incorporated | Methods and apparatus for shifting perspective in a composite image |
CN102957871A (en) * | 2012-11-06 | 2013-03-06 | 广东欧珀移动通信有限公司 | Field depth processing method for shot image of mobile terminal |
CN108550110A (en) * | 2018-03-22 | 2018-09-18 | 深圳岚锋创视网络科技有限公司 | A kind of panorama mosaic method, device and electronic equipment based on RAW image |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8355042B2 (en) * | 2008-10-16 | 2013-01-15 | Spatial Cam Llc | Controller in a camera for creating a panoramic image |
CN107203965B (en) * | 2016-03-18 | 2020-03-10 | 中国科学院宁波材料技术与工程研究所 | Panoramic image splicing method based on multi-channel image fusion |
CN106204427A (en) * | 2016-07-07 | 2016-12-07 | 上海杰图软件技术有限公司 | A kind of method and system generating panoramic picture based on Bayer image |
CN106447632B (en) * | 2016-09-23 | 2019-04-02 | 西北工业大学 | A kind of RAW image denoising method based on rarefaction representation |
CN107369129B (en) * | 2017-06-26 | 2020-01-21 | 深圳岚锋创视网络科技有限公司 | Panoramic image splicing method and device and portable terminal |
-
2018
- 2018-03-22 CN CN201810240844.1A patent/CN108550110B/en active Active
-
2019
- 2019-01-21 WO PCT/CN2019/072504 patent/WO2019179230A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7095905B1 (en) * | 2000-09-08 | 2006-08-22 | Adobe Systems Incorporated | Merging images to form a panoramic image |
US7103236B2 (en) * | 2001-08-28 | 2006-09-05 | Adobe Systems Incorporated | Methods and apparatus for shifting perspective in a composite image |
CN102957871A (en) * | 2012-11-06 | 2013-03-06 | 广东欧珀移动通信有限公司 | Field depth processing method for shot image of mobile terminal |
CN108550110A (en) * | 2018-03-22 | 2018-09-18 | 深圳岚锋创视网络科技有限公司 | A kind of panorama mosaic method, device and electronic equipment based on RAW image |
Non-Patent Citations (1)
Title |
---|
HAN, CHENGWEI: "RAW 57 Lightroom6 (Non-official Translation: 57 Examples for RAW Format Image Processing Skills, Additional Introduction to New Development of Functions of Lightroom6", CAMERAS, vol. 2016, no. 9, 1 September 2016 (2016-09-01), ISSN: 1009-2250 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114697550A (en) * | 2022-03-24 | 2022-07-01 | 湖南网景文化科技有限公司 | Method for manufacturing high-definition VR panoramic video by embedding LivePanoVR panoramic into video material |
Also Published As
Publication number | Publication date |
---|---|
CN108550110B (en) | 2021-03-02 |
CN108550110A (en) | 2018-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8311355B2 (en) | Skin tone aware color boost for cameras | |
US8675980B2 (en) | Method and system for reducing update frequency of image-processing means | |
AU2016370348A1 (en) | Image sensor, and output method, phase focusing method, imaging apparatus and terminal | |
JP2011004353A (en) | Image processing apparatus, and image processing method | |
WO2017101561A1 (en) | Method for generating high dynamic range image, and photographing apparatus, terminal and imaging method | |
CN102054285A (en) | Online dynamic image editing system | |
US20180183988A1 (en) | Image processing device, image processing method, imaging device, and storage medium | |
CN109479111A (en) | Image processing apparatus, regenerating unit, image processing method and regeneration method | |
US20150365612A1 (en) | Image capture apparatus and image compensating method thereof | |
CN113132695B (en) | Lens shading correction method and device and electronic equipment | |
WO2019179230A1 (en) | Raw image-based panorama stitching method and electronic device | |
CN113168673A (en) | Image processing method and device and electronic equipment | |
US20150036020A1 (en) | Method for sharing original photos along with final processed image | |
WO2023010751A1 (en) | Information compensation method and apparatus for highlighted area of image, device, and storage medium | |
US8473720B2 (en) | Method for providing data to a digital processing means | |
US10692199B2 (en) | Image processing method and device, and non-transitory computer-readable storage medium | |
US20080170812A1 (en) | Image composition processing method, computer system with image composition processing function | |
CN108470327B (en) | Image enhancement method and device, electronic equipment and storage medium | |
US20190114806A1 (en) | Image processing apparatus, image processing method, and storage medium | |
CN105100587B (en) | Photographic device and its control method | |
JP2007150491A (en) | Camera, and image control program | |
CN114463210A (en) | Method, apparatus, storage medium, and electronic device for image processing | |
CN115835034A (en) | White balance processing method and electronic equipment | |
CN113781322A (en) | Color gamut mapping method and device, terminal equipment and storage medium | |
JP2009071480A (en) | Imaging device, imaging method, and program |
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: 19771880 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: 19771880 Country of ref document: EP Kind code of ref document: A1 |