TWI828091B - System for transmitting panorama image and method thereof and computer program product - Google Patents

System for transmitting panorama image and method thereof and computer program product Download PDF

Info

Publication number
TWI828091B
TWI828091B TW111110856A TW111110856A TWI828091B TW I828091 B TWI828091 B TW I828091B TW 111110856 A TW111110856 A TW 111110856A TW 111110856 A TW111110856 A TW 111110856A TW I828091 B TWI828091 B TW I828091B
Authority
TW
Taiwan
Prior art keywords
image
spliced
splicing
block
description file
Prior art date
Application number
TW111110856A
Other languages
Chinese (zh)
Other versions
TW202338731A (en
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 TW111110856A priority Critical patent/TWI828091B/en
Publication of TW202338731A publication Critical patent/TW202338731A/en
Application granted granted Critical
Publication of TWI828091B publication Critical patent/TWI828091B/en

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)

Abstract

A system for transmitting a panorama image and a method thereof and a computer program product are provided. First, the panoramic image is cut into multiple block images according to a terminal resolution. Next, the multiple block images are stitched according to a maximum resolution supported by codec to produce a stitched image, and a description file is then created corresponding to the stitched image, and the stitched image is encoded afterwards. Finally, the encoded stitched image and the description file corresponding to the stitched image are transmitted via streaming. After receiving the encoded stitched image and the description file, the encoded stitched image is decoded to obtain the stitched image. Next, the stitched image is split into multiple split images according to the description file, and then the multiple split images are stitched back together to obtain the panoramic image. Lastly, the panoramic image is played to a terminal device with multiple playback blocks in a manner that the multiple block images correspond to the multiple playback blocks.

Description

全景影像傳輸系統、方法以及電腦程式產品 Panoramic image transmission system, method and computer program product

本發明係關於一種影像傳輸技術,詳而言之,係關於一種全景影像編解碼傳輸技術。 The present invention relates to an image transmission technology, specifically, to a panoramic image encoding and decoding transmission technology.

隨著5G時代來臨,帶動了全景影像及/或超寬視角影像等相關應用的市場商機。關於全景影像及/或超寬視角影之呈現,往往需要多台相機進行多角度取像,再將重疊的區域進行校正以縫合成全景影像,接著進行編碼串流輸出至終端設備收看,惟,在前述處理過程中通常會帶來以下問題。 With the advent of the 5G era, there are market opportunities for related applications such as panoramic imaging and/or ultra-wide viewing angle imaging. Regarding the presentation of panoramic images and/or ultra-wide-angle images, it is often necessary to use multiple cameras to capture images from multiple angles, then correct the overlapping areas to stitch them into a panoramic image, and then encode and stream the output to the terminal device for viewing. However, The following problems usually arise during the aforementioned processing.

舉例來說,縫合完的全景影像過寬,無法直接編碼輸出串流。對此,若在編碼時將全景影像限縮在指定解析度範圍內,可能會影響影片畫質,容易有影像模糊、失真的情況。另外,若將全景影像先分割再個別編碼串流輸出,則可能因網路及處理速度不一致,在遞送過程中發生封包遺失或延遲等情況。 For example, the stitched panoramic image is too wide and cannot be directly encoded and output as a stream. In this regard, if the panoramic image is limited to a specified resolution range during encoding, the video quality may be affected, and the image may be blurred and distorted. In addition, if the panoramic image is first segmented and then individually encoded and streamed for output, packet loss or delay may occur during the delivery process due to inconsistent network and processing speeds.

因此,如何提出一種用於全景影像之傳輸技術,以至少解決上述問題,為目前本技術領域人員急欲追求之目標。 Therefore, how to propose a transmission technology for panoramic images to at least solve the above-mentioned problems is currently an urgent goal pursued by those skilled in the art.

為解決上述問題及其他問題,本發明揭示一種全景影像傳輸系統、方法以及電腦程式產品。 In order to solve the above problems and other problems, the present invention discloses a panoramic image transmission system, method and computer program product.

本發明所揭之全景影像傳輸方法係包括:依據一終端解析度,將一全景影像切割成多個區塊影像;依據一編解碼可支援最大解析度,拼接該多個區塊影像以產生一拼接影像;依據該拼接影像,對應產生包括區塊座標資訊及區塊重疊資訊之描述檔;以及,對該拼接影像進行編碼後,以串流方式輸出經編碼之該拼接影像,及輸出與該拼接影像對應之描述檔。 The panoramic image transmission method disclosed by the present invention includes: cutting a panoramic image into a plurality of block images according to a terminal resolution; and splicing the plurality of block images according to a codec that can support the maximum resolution to generate a Stitching the image; based on the splicing image, correspondingly generates a description file including block coordinate information and block overlap information; and, after encoding the splicing image, output the encoded splicing image in a streaming manner, and output the same as the splicing image. The description file corresponding to the spliced image.

其次,本發明所揭之全景影像傳輸方法復包括:接收該經編碼之該拼接影像及該描述檔;對該經編碼之該拼接影像進行解碼,以獲得該拼接影像;分析該描述檔,以依據該描述檔之該座標資訊及/或該區塊重疊資訊,將該拼接影像分割為多個分割影像;依據該描述檔之該座標資訊及/或該區塊重疊資訊,還原拼接該多個分割影像以獲得該全景影像;以及利用該多個區塊影像對應到具有該終端解析度的多個播放區塊之方式,將該全景影像播放到具有該多個播放區塊的終端裝置。 Secondly, the panoramic image transmission method disclosed in the present invention further includes: receiving the encoded spliced image and the description file; decoding the encoded spliced image to obtain the spliced image; analyzing the description file to obtain the spliced image. According to the coordinate information and/or the block overlap information of the description file, the spliced image is divided into multiple divided images; based on the coordinate information and/or the block overlap information of the description file, the multiple split images are restored and spliced Split the image to obtain the panoramic image; and play the panoramic image to the terminal device having the multiple playback blocks by using the multiple block images to correspond to multiple playback blocks with the terminal resolution.

於一實施例中,對該拼接影像保留邊緣重疊處,以於依據該描述檔之該座標資訊及/或該區塊重疊資訊還原拼接該多個分割影像時,對於該邊緣重疊處執行邊緣影像融合。 In one embodiment, edge overlaps are retained in the stitched image, so that when the multiple segmented images are restored and spliced based on the coordinate information and/or the block overlap information of the description file, edge imaging is performed on the edge overlaps. Fusion.

此外,在依據該終端解析度將該全景影像切割成該多個區塊影像之前,本發明所揭之全景影像傳輸方法復包括:將多個不同角度影像縫合為該全景影像,其中,於該全景影像具有無效範圍時,去除該無效範圍。 In addition, before cutting the panoramic image into the plurality of block images according to the terminal resolution, the panoramic image transmission method disclosed in the present invention further includes: stitching a plurality of images from different angles into the panoramic image, wherein, in the When the panoramic image has an invalid range, the invalid range is removed.

於一實施例中,依據該編解碼可支援最大解析度拼接該多個區塊影像係包括:依據該終端解析度,將該編解碼可支援最大解析度劃分為多個網格,以將該多個區塊影像依序重新排列進入該多個網格內。 In one embodiment, splicing the plurality of block images according to the maximum resolution supported by the codec includes: dividing the maximum resolution supported by the codec into a plurality of grids according to the terminal resolution to divide the Multiple block images are rearranged sequentially into the multiple grids.

於又一實施例中,對於該拼接影像先加入音源再進行編碼。 In another embodiment, audio sources are added to the spliced image first and then encoded.

於再一實施例中,對該拼接影像執行邊框補足以補足至該編解碼可支援最大解析度。 In yet another embodiment, performing border complementation on the stitched image is performed to complement the maximum resolution that the codec can support.

本發明所揭之電腦程式產品,經電腦載入後執行本發明所揭之全景影像傳輸方法。 The computer program product disclosed in the present invention executes the panoramic image transmission method disclosed in the present invention after being loaded into the computer.

本發明所揭之全景影像傳輸系統係包括:影像切割拼接編碼裝置,係依據一終端解析度將一全景影像切割成多個區塊影像,以依據一編解碼可支援最大解析度拼接該多個區塊影像而產生一拼接影像,且該影像切割拼接編碼裝置係依據該拼接影像對應產生包括區塊座標資訊及區塊重疊資訊之描述檔,進而對該拼接影像加入音源後進行編碼,其中,該影像切割拼接編碼裝置係依據該終端解析度將該編解碼可支援最大解析度劃分為多個網格,以將該多個區塊影像依序重新排列進入該多個網格內;以及傳輸裝置,係將經編碼之該拼接影像以串流方式輸出,並輸出與該拼接影像對應之描述檔。 The panoramic image transmission system disclosed by the present invention includes: an image cutting and splicing encoding device, which cuts a panoramic image into a plurality of block images according to a terminal resolution, so as to splice the plurality of block images according to a codec that can support the maximum resolution. The block images are used to generate a spliced image, and the image cutting and splicing encoding device generates a description file including block coordinate information and block overlap information based on the spliced image, and then adds the audio source to the spliced image for encoding, wherein, The image cutting and splicing encoding device divides the maximum resolution supported by the codec into multiple grids according to the terminal resolution, so as to rearrange the multiple block images into the multiple grids in sequence; and transmit The device outputs the encoded spliced image in a streaming manner and outputs a description file corresponding to the spliced image.

其次,本發明所揭之全景影像傳輸系統復包括:終端裝置,係包括具有該終端解析度的多個播放區塊;以及影像解碼拼接播放裝置,係接收該經編碼之該拼接影像及該描述檔以對該經編碼之該拼接影像進行解碼而獲得該拼接影像,該影像解碼拼接播放裝置分析該描述檔以依據該描述檔之該座標資訊及/或該區塊重疊資訊,將該拼接影像分割為多個分割影像,再還原拼接該多個分割影像而獲得該全景影像,進而利用該多個區塊影像對應到具有該終端解析 度的多個播放區塊之方式,將該全景影像播放到具有該多個播放區塊的終端裝置。 Secondly, the panoramic image transmission system disclosed by the present invention further includes: a terminal device, which includes a plurality of playback blocks with the resolution of the terminal; and an image decoding and splicing playback device, which receives the encoded spliced image and the description. The file is decoded to obtain the spliced image by decoding the encoded spliced image. The image decoding splicing playback device analyzes the description file to convert the spliced image according to the coordinate information and/or the block overlap information of the description file. Divide it into multiple segmented images, restore and splice the multiple segmented images to obtain the panoramic image, and then use the multiple block images to correspond to the terminal analysis The panoramic image is played to the terminal device having the plurality of playback blocks in a manner of multiple playback blocks.

於一實施例中,該影像切割拼接編碼裝置係對該拼接影像保留邊緣重疊處,以供該影像解碼拼接播放裝置於依據該描述檔之該座標資訊及/或該區塊重疊資訊還原拼接該多個分割影像時,對於該邊緣重疊處執行邊緣影像融合。 In one embodiment, the image cutting and splicing encoding device retains edge overlaps of the spliced image for the image decoding and splicing playback device to restore and splice the spliced image based on the coordinate information and/or the block overlap information of the description file. When there are multiple segmented images, edge image fusion is performed where the edges overlap.

藉由本發明所揭之全景影像傳輸系統、方法以及電腦程式產品,將縫合好的全景影像,先依終端解析度進行切割,再依編解碼可支援最大解析度進行拼接,接著透過編碼串流輸出,藉此保留高畫質的影片的品質,並使終端裝置所收到的各視角畫面是彼此同步。 Through the panoramic image transmission system, method and computer program product disclosed in the present invention, the stitched panoramic image is first cut according to the terminal resolution, then spliced according to the maximum resolution supported by the codec, and then output through the encoded stream , thereby retaining the quality of high-definition videos and making the images from various angles received by the terminal device synchronized with each other.

10、10a:影像切割拼接編碼裝置 10, 10a: Image cutting and splicing encoding device

20:傳輸裝置 20:Transmission device

20a:媒體伺服器 20a:Media Server

30、30a:影像解碼拼接播放裝置 30, 30a: Image decoding and splicing playback device

40:終端裝置 40:Terminal device

40a:弧形/環狀螢幕 40a: Curved/circular screen

100:全景影像 100: Panoramic image

200:多個區塊影像 200:Multiple block images

300:拼接影像 300: Stitching images

301:編解碼可支援最大解析度 301: Codec supports maximum resolution

302:描述檔 302: Description file

400:補足邊框的拼接影像 400: Stitched image that complements the border

500:經解碼之補足邊框的拼接影像 500: Decoded stitched image with complementary borders

600:多個分割影像 600: Multiple segmented images

700:還原拼接的多個分割影像 700: Restore spliced multiple segmented images

800:全景影像 800: Panoramic image

A、B:重疊處 A, B: overlap

S11~S15:步驟 S11~S15: Steps

S31~S35:步驟 S31~S35: steps

圖1為本發明之全景影像傳輸系統之基本架構方塊示意圖。 Figure 1 is a schematic block diagram of the basic architecture of the panoramic image transmission system of the present invention.

圖2為本發明之全景影像傳輸方法之一實施例之流程示意圖。 FIG. 2 is a schematic flowchart of an embodiment of the panoramic image transmission method of the present invention.

圖3為本發明之全景影像傳輸方法之另一實施例之流程示意圖。 FIG. 3 is a schematic flowchart of another embodiment of the panoramic image transmission method of the present invention.

圖4為本發明之全景影像傳輸系統之一實施例之方塊示意圖。 FIG. 4 is a block diagram of an embodiment of the panoramic image transmission system of the present invention.

圖5為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之全景影像。 Figure 5 is a panoramic image of one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖6為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之多個區塊影像。 Figure 6 shows multiple block images of one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖7為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之拼接影像。 Figure 7 is a spliced image of one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖8為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之與拼接影像對應之描述檔。 Figure 8 is a description file corresponding to the spliced image of one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖9為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之補足邊框的拼接影像。 Figure 9 is a spliced image with complementary frames according to one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖10為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之經解碼之補足邊框的拼接影像。 Figure 10 is a decoded complementary frame spliced image of one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖11為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之多個分割影像。 Figure 11 shows multiple segmented images of one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖12為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之還原拼接的多個分割影像。 Figure 12 shows multiple segmented images restored and spliced according to one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

圖13為本發明之全景影像傳輸系統、方法以及電腦程式產品之一實施例之具有多個區塊影像的全景影像。 Figure 13 is a panoramic image with multiple block images according to one embodiment of the panoramic image transmission system, method and computer program product of the present invention.

以下藉由特定的實施例說明本案之實施方式,熟習此項技藝之人士可由本文所揭示之內容輕易地瞭解本案之其他優點及功效。本說明書所附圖式所繪示之結構、比值、大小等均僅用於配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,非用於限定本案可實施之限定條件,故任何修飾、改變或調整,在不影響本案所能產生之功效及所能達成之目的下,均應仍落在本案所揭示之技術內容得能涵蓋之範圍內。 The following uses specific examples to illustrate the implementation of the present invention. People familiar with this art can easily understand other advantages and effects of the present invention from the content disclosed in this article. The structures, ratios, sizes, etc. shown in the drawings attached to this manual are only used to coordinate with the content disclosed in the manual for the understanding and reading of those familiar with this art. They are not used to limit the conditions for the implementation of this case. Therefore, any modification, change or adjustment, without affecting the effectiveness and purpose of this case, should still fall within the scope of the technical content disclosed in this case.

請參閱圖1,本發明之全景影像傳輸系統包括影像切割拼接編碼裝置10以及傳輸裝置20,另外更包括影像解碼拼接播放裝置30以及終端裝置40, 其中,該影像切割拼接編碼裝置10中具有影像切割拼接編碼模組,該影像解碼拼接播放裝置30中具有影像解碼拼接播放模組,該傳輸裝置20中具有傳輸模組。 Please refer to Figure 1. The panoramic image transmission system of the present invention includes an image cutting and splicing encoding device 10 and a transmission device 20, and further includes an image decoding and splicing playback device 30 and a terminal device 40. Among them, the image cutting and splicing encoding device 10 has an image cutting and splicing encoding module, the image decoding and splicing and playing device 30 has an image decoding and splicing and playing module, and the transmission device 20 has a transmission module.

影像切割拼接編碼裝置10係依序執行影像切割、拼接和編碼。 The image cutting, splicing and encoding device 10 sequentially performs image cutting, splicing and encoding.

首先,影像切割拼接編碼裝置10依據一終端解析度將一全景影像切割成多個區塊影像。在此之前,影像切割拼接編碼裝置10可先將多個不同角度的影像縫合為一個全景影像,其中,若該全景影像具有例如暗角或邊緣等無效範圍時,去除該無效範圍。此外,影像切割拼接編碼裝置10所依據之終端解析度是取得自終端裝置的各個播放區塊的終端解析度,例如:3840x2160畫素(4K)或8192x4320畫素(8K),惟具體實施時不限於此。 First, the image cutting and splicing encoding device 10 cuts a panoramic image into multiple block images according to a terminal resolution. Prior to this, the image cutting and splicing encoding device 10 can first stitch multiple images from different angles into a panoramic image. If the panoramic image has invalid areas such as vignetting or edges, the invalid areas will be removed. In addition, the terminal resolution based on the image cutting and splicing encoding device 10 is obtained from the terminal resolution of each playback block of the terminal device, such as: 3840x2160 pixels (4K) or 8192x4320 pixels (8K). However, the specific implementation does not Limited to this.

接著,影像切割拼接編碼裝置10依據一編解碼可支援最大解析度,例如:8K=8192x4320,惟具體實施時不限於此,將該多個區塊影像進行拼接以產生一拼接影像。詳言之,即依據該終端解析度將該編解碼可支援最大解析度劃分為多個網格,以將該多個區塊影像依序重新排列進入該多個網格內,其中,對於該多個區塊影像可保留邊緣重疊處。又,影像切割拼接編碼裝置10依據該拼接影像對應產生描述檔,其中,該描述檔包括區塊座標資訊及區塊重疊資訊,該區塊座標資訊包括區塊影像的編號及座標,而該區塊重疊資訊包括是否與下一張影像重疊的資訊。 Then, the image cutting and splicing encoding device 10 can support the maximum resolution according to a codec, for example: 8K=8192x4320, but the specific implementation is not limited to this, and splices the multiple block images to generate a spliced image. Specifically, the maximum resolution that the codec can support is divided into multiple grids according to the terminal resolution, so that the multiple block images are sequentially rearranged into the multiple grids, wherein for the Multiple block images preserve edge overlap. In addition, the image cutting and splicing encoding device 10 generates a description file based on the spliced image correspondence, wherein the description file includes block coordinate information and block overlap information, the block coordinate information includes the number and coordinate of the block image, and the area Block overlap information includes information about whether it overlaps with the next image.

爾後,影像切割拼接編碼裝置10對該拼接影像進行編碼,或先加入音源後再進行編碼。於此之前,可對該拼接影像執行邊框補足,以至該編解碼可支援最大解析度。最後,經編碼之(補足邊框的)拼接影像以串流方式傳輸至傳輸裝置20,而影像切割拼接編碼裝置10一併將與該拼接影像對應之描述檔傳輸至傳輸裝置20。 Thereafter, the image cutting and splicing encoding device 10 encodes the spliced image, or adds the audio source first and then encodes it. Before that, frame filling can be performed on the stitched image so that the codec can support the maximum resolution. Finally, the encoded (frame-complementing) spliced image is streamed to the transmission device 20 , and the image cutting and splicing encoding device 10 also transmits the description file corresponding to the spliced image to the transmission device 20 .

傳輸裝置20將接收到之經編碼的拼接影像以及與該拼接影像對應之描述檔傳輸至影像解碼拼接播放裝置30。於一實施例中,傳輸裝置20係例如為媒體伺服器。於另一實施例中,傳輸裝置20係利用傳輸模組進行傳輸。 The transmission device 20 transmits the received encoded spliced image and the description file corresponding to the spliced image to the image decoding and splicing playback device 30 . In one embodiment, the transmission device 20 is, for example, a media server. In another embodiment, the transmission device 20 uses a transmission module to transmit.

影像解碼拼接播放裝置30接收到由影像切割拼接編碼裝置10所產生之以串流方式傳送之拼接影像以及與該拼接影像對應之描述檔之後,依序執行影像解碼、拼接和播放。 After receiving the spliced image transmitted in a streaming manner generated by the image cutting and splicing encoding device 10 and the description file corresponding to the spliced image, the image decoding and splicing playback device 30 sequentially performs image decoding, splicing and playback.

首先,影像解碼拼接播放裝置30對該經編碼之該拼接影像進行解碼,以獲得該拼接影像。 First, the image decoding and splicing playback device 30 decodes the encoded spliced image to obtain the spliced image.

接著,影像解碼拼接播放裝置30分析包括座標資訊以及區塊重疊資訊之描述檔,以依據該描述檔之座標資訊及/或區塊重疊資訊,將該拼接影像分割為多個分割影像,再還原拼接該多個分割影像,其中,於還原拼接時,對於該邊緣重疊處執行邊緣影像融合,藉此獲得該全景影像。 Then, the image decoding and splicing playback device 30 analyzes the description file including coordinate information and block overlap information, and divides the spliced image into multiple segmented images based on the coordinate information and/or block overlap information of the description file, and then restores the spliced image. The plurality of segmented images are spliced, and during restoration and splicing, edge image fusion is performed on overlapping edges to obtain the panoramic image.

最後,以該多個區塊影像對應到具有該終端解析度的多個播放區塊之方式,影像解碼拼接播放裝置30將該全景影像播放到終端裝置40。 Finally, the image decoding and splicing playback device 30 plays the panoramic image to the terminal device 40 in such a manner that the plurality of block images correspond to the plurality of playback blocks with the terminal resolution.

終端裝置40具有多個播放區塊,且各播放區塊具有該終端解析度。於一實施例中,終端裝置40的多個播放區塊係例如可組構成弧狀或環狀的顯示螢幕。 The terminal device 40 has a plurality of playback blocks, and each playback block has the terminal resolution. In one embodiment, multiple playback blocks of the terminal device 40 may be configured to form an arc-shaped or ring-shaped display screen.

須說明的是,圖1中的各模組均可為軟體、硬體或韌體;若為硬體,則可為具有資料處理與運算能力之處理單元、處理器、電腦;若為軟體或韌體,則可包括處理單元、處理器、電腦可執行之指令。 It should be noted that each module in Figure 1 can be software, hardware or firmware; if it is hardware, it can be a processing unit, processor, or computer with data processing and computing capabilities; if it is software or Firmware can include processing units, processors, and computer-executable instructions.

請參閱圖2,本發明之全景影像傳輸方法之流程示意性包括步驟S11~S15。於一實施例中,圖2所示之方法可由圖1所示之影像切割拼接編碼裝置10利用影像切割拼接編碼模組執行。 Please refer to Figure 2. The process of the panoramic image transmission method of the present invention schematically includes steps S11~S15. In one embodiment, the method shown in FIG. 2 can be executed by the image cutting and splicing encoding device 10 shown in FIG. 1 using the image cutting and splicing encoding module.

於步驟S11中,依據終端解析度,將全景影像切割成多個區塊影像。於一實施例中,該終端解析度是指終端裝置的各個播放區塊的終端解析度。在此之前,利用多台相機進行多角度拍攝以產生多個不同角度的影像,其中,每台相機彼此拍攝範圍有重疊處,以於縫合成全景影像時,將多台相機於同時間拍攝的畫面,依重疊處進行校正以縫合成一個全景影像。於又一實施例中,若所縫合出之全景影像存在例如暗角或邊緣等無效範圍,則將這些無效範圍去除以留下有效範圍。接著進至步驟S12。 In step S11, the panoramic image is cut into multiple block images according to the terminal resolution. In one embodiment, the terminal resolution refers to the terminal resolution of each playback block of the terminal device. Previously, multiple cameras were used to shoot from multiple angles to produce multiple images from different angles. The shooting ranges of each camera overlapped with each other, so that when stitching into a panoramic image, the images shot by multiple cameras at the same time were combined. The images are corrected based on overlap to stitch them into a panoramic image. In another embodiment, if the stitched panoramic image has invalid areas such as vignetting or edges, these invalid areas are removed to leave a valid area. Then proceed to step S12.

於步驟S12中,依據編解碼可支援最大解析度,拼接多個區塊影像以產生一拼接影像。換言之,依據終端解析度,先將編解碼可支援最大解析度劃分為多個網格,再將多個區塊影像依序重新排列進入多個網格之內,並保留邊緣重疊處,藉此產生拼接影像。接著進至步驟S13。 In step S12, multiple block images are spliced according to the maximum resolution supported by the codec to generate a spliced image. In other words, according to the terminal resolution, first divide the maximum resolution that the codec can support into multiple grids, and then rearrange multiple block images into multiple grids sequentially, while retaining edge overlaps. Produce stitched images. Then proceed to step S13.

於步驟S13中,依據拼接影像對應產生描述檔。描述檔包括區塊座標資訊及區塊重疊資訊,其中,區塊座標資訊包括區塊影像的編號及座標,而區塊重疊資訊包括此區塊影像是否與下一區塊影像重疊的資訊。接著進至步驟S14。 In step S13, a description file is generated according to the stitched image correspondence. The description file includes block coordinate information and block overlap information. The block coordinate information includes the number and coordinates of the block image, and the block overlap information includes information on whether this block image overlaps with the next block image. Then proceed to step S14.

於步驟S14中,對拼接影像進行編碼。於一實施例中,可先對拼接影像以例如墊零(zero-padding)技術執行邊框補足,以補足至該編解碼可支援最大解析度,可避免後續可能的缺角現象。另外,對於該拼接影像先加入音源再進行編碼。接著進至步驟S15。 In step S14, the stitched image is encoded. In one embodiment, the spliced image can be first supplemented with borders using, for example, zero-padding technology to supplement the maximum resolution that the codec can support, thereby avoiding possible corner missing phenomena in the future. In addition, the audio source is first added to the spliced image and then encoded. Then proceed to step S15.

於步驟S15中,以串流方式輸出經編碼之拼接影像,以及輸出與拼接影像對應之描述檔。於一實施例中,藉由例如媒體伺服器之傳輸裝置,以串流方式輸出經編碼之拼接影像至終端裝置,並將與拼接影像對應之描述檔輸出至終端裝置。例如,以HLS(HTTP Live Streaming)作為串流傳輸協定。 In step S15, the encoded stitched image is output in a streaming manner, and a description file corresponding to the stitched image is output. In one embodiment, the encoded spliced image is output to the terminal device in a streaming manner through a transmission device such as a media server, and a description file corresponding to the spliced image is output to the terminal device. For example, HLS (HTTP Live Streaming) is used as the streaming protocol.

請參閱圖3,本發明之全景影像傳輸方法之流程示意性包括步驟S31~S35。於一實施例中,圖2所示之方法可由圖1所示之影像解碼拼接播放裝置30利用影像解碼拼接播放模組執行。 Please refer to Figure 3. The process of the panoramic image transmission method of the present invention schematically includes steps S31~S35. In one embodiment, the method shown in FIG. 2 can be executed by the image decoding and splicing playback device 30 shown in FIG. 1 using the image decoding and splicing playback module.

於步驟S31中,接收經編碼之拼接影像及描述檔。接著進至步驟S32。 In step S31, the encoded spliced image and description file are received. Then proceed to step S32.

於步驟S32中,將經編碼之拼接影像進行解碼,以獲得該拼接影像。接著進至步驟S33。 In step S32, the encoded spliced image is decoded to obtain the spliced image. Then proceed to step S33.

於步驟S33中,分析描述檔,以依據描述檔中之座標資訊及/或區塊重疊資訊,將拼接影像分割為多個分割影像。接著進至步驟S34。 In step S33, the description file is analyzed to divide the spliced image into multiple segmented images based on the coordinate information and/or block overlap information in the description file. Then proceed to step S34.

於步驟S34中,依據描述檔之座標資訊及/或區塊重疊資訊,還原拼接多個分割影像,以獲得該全景影像。於一實施例中,於進行還原拼接時,對於該邊緣重疊處執行邊緣影像融合。接著進至步驟S35。 In step S34, multiple segmented images are restored and spliced according to the coordinate information and/or block overlap information of the description file to obtain the panoramic image. In one embodiment, when performing restoration stitching, edge image fusion is performed on the overlapping edges. Then proceed to step S35.

於步驟S35中,以多個區塊影像對應到具有終端解析度的多個播放區塊的方式,將全景影像播放至具有多個播放區塊的終端裝置。 In step S35, the panoramic image is played to the terminal device having the plurality of playback blocks in a manner in which the plurality of block images correspond to the plurality of playback blocks with terminal resolution.

本發明之方法係執行在例如伺服器、電腦或其他具有資料處理、運算、儲存、網路通聯等功能的一個單獨或多個集合之設備中,其中,該伺服器、電腦或設備包括中央處理器、硬碟、記憶體等。 The method of the present invention is executed in, for example, a server, a computer, or other equipment with functions of data processing, computing, storage, network communication, etc., in a single or multiple sets, wherein the server, computer, or equipment includes a central processing unit. drive, hard disk, memory, etc.

此外,本發明之電腦程式產品係經由電腦載入程式後執行該方法,而本發明之電腦可讀取紀錄媒體(例如硬碟、軟碟、光碟、USB隨身碟)係儲存有該電腦程式產品。另外,電腦程式產品亦可在網路上直接傳輸提供,故電腦程式產品係為載有電腦可讀取之程式且不限外在形式之物。 In addition, the computer program product of the present invention executes the method after loading the program through the computer, and the computer-readable recording medium (such as hard disk, floppy disk, optical disk, USB flash drive) of the present invention stores the computer program product . In addition, computer program products can also be directly transmitted and provided over the Internet. Therefore, computer program products are things that contain computer-readable programs and are not limited to external forms.

另外,本發明還提供一種電腦可讀媒介,係應用於具有處理器及/或記憶體之計算設備或電腦中,且電腦可讀媒介儲存有指令,並可利用計算設備或電腦透過處理器及/或記憶體執行電腦可讀媒介,以於執行電腦可讀媒介時執行上述方法及/或內容。 In addition, the present invention also provides a computer-readable medium, which is used in a computing device or computer with a processor and/or memory, and the computer-readable medium stores instructions, and can be used by the computing device or computer through the processor and/or the memory. /or the memory executes the computer-readable medium to execute the above methods and/or content when the computer-readable medium is executed.

以下參閱圖4至13舉例說明本發明之全景影像傳輸系統、方法以及電腦程式產品及電腦可讀取紀錄媒體的具體實施例。 The following illustrates specific embodiments of the panoramic image transmission system, method, computer program product and computer-readable recording medium of the present invention with reference to FIGS. 4 to 13 .

請參閱圖4,於本發明之全景影像傳輸系統之一實施例之方塊示意圖中,多台相機進行多角度拍攝的多視角畫面被縫合而成一全景影像,透過影像切割拼接編碼裝置10a產出串流影音傳送至媒體伺服器20a,而終端在接收媒體伺服器20a傳遞來的串流後,透過影像解碼拼接播放裝置30a還原成全景影像,可指定對應的弧狀/環狀螢幕40a來呈現全景影像。 Please refer to Figure 4. In the block diagram of an embodiment of the panoramic image transmission system of the present invention, multi-angle images taken by multiple cameras are stitched into a panoramic image, and the image cutting and splicing encoding device 10a is used to generate a series of images. The streaming video and audio are transmitted to the media server 20a, and after receiving the stream from the media server 20a, the terminal restores the panoramic image through the image decoding and splicing playback device 30a, and can designate the corresponding arc/ring screen 40a to present the panorama. image.

進一步言之,對於影像切割拼接編碼裝置10a,其主要將全景影像,參考終端裝置的終端解析度進行裁切以裁切出多個區塊影像200,再依編解碼可支援最大解析度下進行區塊拼接以產生拼接影像300,並記錄每一個區塊影像之編號、座標與重疊資訊,以構成描述檔302。又進一步言之,對於影像解碼拼接播放裝置30a,其主要將收到的串流進行解碼以獲得經解碼之補足邊框的拼接影像500(也可以是沒有補足邊框的經解碼之拼接影像),接著參考描述檔302中的紀錄再進行還原拼接以獲得全景影像800。在描述檔302(其副檔名例如為info) 中,區塊影像的編號為1、2、3、4、…;區塊影像的座標資訊為W1:H1:X1:Y1、W2:H2:X2:Y2、…,其中W表示寬度、H表示高度、X表示X座標、Y表示Y座標;區塊影像的重疊資訊為N或Y,其中N表示未與下一張區塊影像重疊,Y表示係與下一張區塊影像重疊。 Furthermore, for the image cutting and splicing encoding device 10a, it mainly cuts the panoramic image with reference to the terminal resolution of the terminal device to cut out multiple block images 200, and then performs the processing at the maximum resolution supported by the codec. Blocks are spliced to generate a spliced image 300, and the number, coordinates and overlapping information of each block image are recorded to form a description file 302. Furthermore, for the image decoding and splicing playback device 30a, it mainly decodes the received stream to obtain the decoded spliced image 500 with the supplementary frame (it may also be the decoded spliced image without the supplementary frame), and then Refer to the records in the description file 302 and perform restoration and stitching to obtain the panoramic image 800. In the description file 302 (its extension is, for example, info) , the block image numbers are 1, 2, 3, 4,...; the coordinate information of the block image is W1: H1: X1: Y1, W2: H2: Height,

如圖5所示,其顯示本發明之全景影像100。圖5虛線所示為用於切除無效範圍之切除線,此處所述無效範圍通指由多張同時間多角度所縫合之全景影像中的暗角或邊緣。 As shown in FIG. 5 , a panoramic image 100 of the present invention is displayed. The dotted line in Figure 5 shows the resection line used to remove the invalid range. The invalid range here generally refers to the dark corners or edges in multiple panoramic images stitched from multiple angles at the same time.

如圖6所示,影像切割拼接編碼裝置10a依據終端裝置的多個播放區塊的終端解析度(例如3840x2160(4K)),將全景影像100切割為多個區塊影像200。 As shown in FIG. 6 , the image cutting and splicing encoding device 10a cuts the panoramic image 100 into multiple block images 200 according to the terminal resolution of the multiple playback blocks of the terminal device (for example, 3840x2160 (4K)).

如圖7所示,影像切割拼接編碼裝置10a依據編解碼可支援最大解析度(例如8192x4320(8K)),將多個區塊影像200進行拼接以產生一拼接影像300。詳言之,將編解碼可支援最大解析度301(WxH),依終端指定解析度(BWxBH),分成多個網格(grid),可劃分的完整網格為W/BW x H/BH。全景影像依序重新排列進完整網格中,另外,為有助於編解碼及後續的影像融合處理,在此將保留邊緣重疊處寬度n,即圖7中右側在影像上的虛線方框,也就是後續於圖11和12中的重疊處A、B的寬度,其中n>=64且為64的倍數,係參考H.265(或稱高效率視訊編碼(HEVC))的區塊(macroblock)編碼特性及最大區塊單位為64x64。 As shown in FIG. 7 , the image cutting and splicing encoding device 10a can support the maximum resolution (for example, 8192x4320 (8K)) according to the codec, and splices multiple block images 200 to generate a spliced image 300. Specifically, the codec can support a maximum resolution of 301 (WxH) and is divided into multiple grids (grid) according to the terminal specified resolution (BWxBH). The complete grid that can be divided is W/BW x H/BH. The panoramic images are sequentially rearranged into a complete grid. In addition, in order to facilitate encoding, decoding and subsequent image fusion processing, the edge overlap width n will be retained here, which is the dotted box on the right side of the image in Figure 7. That is, the width of the overlapped areas A and B in Figures 11 and 12, where n>=64 and is a multiple of 64, refers to the macroblock of H.265 (or High Efficiency Video Coding (HEVC)) ) encoding characteristics and the maximum block unit is 64x64.

如圖8所示,影像切割拼接編碼裝置10a依據拼接影像300對應地產出描述檔302,記錄各區塊的編號、座標(ex:寬:高:X座標:Y座標)及是否與下一張影像重疊(ex:Y/N)等資訊。例如,對於編號1的區塊影像,座標為3840:2160:0:0,與下一張影像未重疊;對於編號2的區塊影像,座標為 3904:2160:3840:0,與下一張影像有重疊;對於編號3的區塊影像,座標為3804:2160:3840:2160,與下一張影像未重疊。 As shown in Figure 8, the image cutting and splicing encoding device 10a generates a description file 302 corresponding to the spliced image 300, recording the number, coordinates (ex: width: height: X coordinate: Y coordinate) of each block and whether it is consistent with the next one. Image overlap (ex: Y/N) and other information. For example, for the block image numbered 1, the coordinates are 3840:2160:0:0, which does not overlap with the next image; for the block image numbered 2, the coordinates are 3904:2160:3840:0, which overlaps with the next image; for the block image numbered 3, the coordinates are 3804:2160:3840:2160, which does not overlap with the next image.

如圖9所示,影像切割拼接編碼裝置10a執行補足邊框以產生補足邊框的拼接影像400,因拼接完的拼接影像300可能會有缺角現象,為考量影像完整性,可採用墊零(zero padding)技術補足到編解碼可支援最大解析度(ex:8K=8192*4320)。 As shown in FIG. 9 , the image cutting and splicing encoding device 10 a executes frame complementing to generate a spliced image 400 that complements the frame. Since the spliced spliced image 300 may have missing corners, in order to consider the integrity of the image, zero padding (zero padding) may be used. padding) technology complements the codec to support the maximum resolution (ex: 8K=8192*4320).

接著,影像切割拼接編碼裝置10a於補足邊框的拼接影像400中加入音源以與影像一同編碼並輸出串流,並與描述檔302一同傳至媒體伺服器20a,媒體伺服器20a再傳至影像解碼拼接播放裝置30a。於一實施例中,使用HLS當作串流傳輸協定為例,產生對應的.m3u8及.ts檔。 Then, the image cutting and splicing encoding device 10a adds the audio source to the spliced image 400 that complements the frame to encode and output the stream together with the image, and transmits it together with the description file 302 to the media server 20a, and the media server 20a then transmits it to the image decoding Splicing playback device 30a. In one embodiment, HLS is used as the streaming transmission protocol, and corresponding .m3u8 and .ts files are generated.

如圖10所示,影像解碼拼接播放裝置30a進行解碼,以獲得經解碼之補足邊框的拼接影像500。須說明的是,經解碼之補足邊框的拼接影像500上顯示的編碼及分割線係有助於說明,僅供參考。在另一實施例中,經解碼之補足邊框的拼接影像500上顯示的編碼及分割線並不會出現。 As shown in FIG. 10 , the image decoding and splicing playback device 30a performs decoding to obtain a decoded spliced image 500 that complements the frame. It should be noted that the coding and segmentation lines displayed on the decoded frame-supplementing spliced image 500 are helpful for explanation and are for reference only. In another embodiment, the codes and dividing lines displayed on the decoded frame-supplementing stitched image 500 do not appear.

如圖11所示,影像解碼拼接播放裝置30a依據描述檔302的內容,將經解碼之補足邊框的拼接影像500分為多個分割影像600。須說明的是,多個分割影像600的編號及分割線係有助於說明,僅供參考。在另一實施例中,多個分割影像600的編號及分割線並不會出現。在圖11中,編號2和編號4的影像上留有重疊處A、B,其寬度即上述n,其中n>=64且為64的倍數,係參考H.265(或稱高效率視訊編碼(HEVC))的區塊(macroblock)編碼特性及最大區塊單位為64x64。 As shown in FIG. 11 , the image decoding and splicing playback device 30a divides the decoded frame-supplementing splicing image 500 into multiple segmented images 600 according to the content of the description file 302 . It should be noted that the numbers and dividing lines of the multiple segmented images 600 are helpful for explanation and are for reference only. In another embodiment, the numbers and dividing lines of the plurality of divided images 600 do not appear. In Figure 11, there are overlapping areas A and B on the images No. 2 and No. 4, and their width is the above-mentioned n, where n >= 64 and is a multiple of 64, refer to H.265 (or High Efficiency Video Coding) (HEVC))'s macroblock encoding characteristics and the maximum block unit are 64x64.

如圖12所示,影像解碼拼接播放裝置30a依據描述檔302的內容將多個分割影像600進行還原拼接的多個分割影像700。 As shown in FIG. 12 , the image decoding and splicing playback device 30 a restores and splices the plurality of divided images 600 into the plurality of divided images 700 according to the content of the description file 302 .

例如,以編號1和2連接、編號3和4連接、編號2和3分開、編號1和3的X座標相同、編號2和4的X座標相同、編號1和2的Y座標相同、編號3和4的Y座標相同的方式,進行分割和還原拼接。 For example, numbers 1 and 2 are connected, numbers 3 and 4 are connected, numbers 2 and 3 are separated, numbers 1 and 3 have the same X coordinate, numbers 2 and 4 have the same X coordinate, numbers 1 and 2 have the same Y coordinate, number 3 In the same way as the Y coordinate of 4, perform segmentation and restoration splicing.

另外,在重疊處A、B進行影像融合。相關表達式如下: In addition, image fusion is performed at the overlapping points A and B. The relevant expressions are as follows:

P(i,j)=(1-W(i,j))*PA(i,j)+W(i,j)*PB(i,j),其中,W為權重,0<=W<=1。P(i,j)為PA(i,j)及PB(i,j)進行影像融合後的結果,式子中PA和PB亦可交換。對應圖中可理解為,以權重W,將虛線方框所示之編號2的重疊處A和編號3的重疊處B兩影像進行融合為一影像,以於其中產生漸層效果,使得拼接觸不會有拼接線或重影產生。 P(i,j)=(1-W(i,j))*PA(i,j)+W(i,j)*PB(i,j), where W is the weight, 0<=W< =1. P(i,j) is the result of image fusion of PA(i,j) and PB(i,j). PA and PB can also be exchanged in the formula. The corresponding figure can be understood as using the weight W to fuse the two images of the overlapping point A of number 2 and the overlapping point B of number 3 shown in the dotted box into one image, so as to produce a gradient effect in them, so that the stitching contact There will be no stitching lines or ghosting.

如圖13所示,其為還原拼之後的全景影像800,其以多個區塊影像對應到多個播放區塊的方式,播放至弧形/環狀螢幕40a,編號1的區塊影像播放至弧形/環狀螢幕40a之編號1的區塊,以此類推。另外,編號4的區塊影像與編號1的區塊影像之間的重疊亦可使用權重的邊緣融合處理。 As shown in Figure 13, it is the restored panoramic image 800, which is played to the curved/ring-shaped screen 40a in a manner in which multiple block images correspond to multiple playback blocks, and the block image numbered 1 is played. to the block numbered 1 of the curved/annular screen 40a, and so on. In addition, the overlap between the block image numbered 4 and the block image numbered 1 can also be processed using weighted edge fusion.

綜上所述,本發明所揭之全景影像傳輸系統、方法以及電腦程式產品,係將經縫合之高畫質的全景影像,先依終端解析度執行切割,再依編解碼可支援最大解析度執行拼接,接著透過編碼串流輸出拼接影像,以及輸出對應的描述檔,藉此解決以往直接以限縮的解析度編碼所造成之影像模糊或失真的情況,且與拼接影像對應的描述檔,允許終端於接收到拼接影像之後,先依據描述檔執行分割,再拼接還原成全景影像,如此可確保終端收到各視角畫面是彼此同步的,進而解決將多視角影像各別傳輸導致的同步問題。另外,本發明於終端收到串流後,採取邊緣融合技術,使得在將拼接影像還原成全景影像時,同時在拼接處產生漸層效果,避免有拼接線、重覆區塊有重影問題出現。 To sum up, the panoramic image transmission system, method and computer program product disclosed in the present invention first cut the stitched high-quality panoramic images according to the terminal resolution, and then according to the codec to support the maximum resolution. Execute splicing, then output the spliced image through the encoding stream, and output the corresponding description file, thereby solving the image blur or distortion caused by direct encoding at a reduced resolution in the past, and the description file corresponding to the spliced image, After receiving the spliced image, the terminal is allowed to perform segmentation according to the description file first, and then stitch it back into a panoramic image. This ensures that the images received by the terminal from each angle are synchronized with each other, thereby solving the synchronization problem caused by transmitting multi-angle images separately. . In addition, after the terminal receives the stream, the present invention adopts edge fusion technology, so that when the spliced image is restored to a panoramic image, a gradient effect is produced at the splicing point to avoid splicing lines and ghosting problems in repeated blocks. appear.

上述實施例僅例示性說明本案之功效,而非用於限制本案,任何熟習此項技藝之人士均可在不違背本案之精神及範疇下對上述該些實施態樣進行修飾與改變。因此本案之權利保護範圍,應如後述之申請專利範圍所列。 The above-mentioned embodiments are only illustrative of the effects of the present invention and are not intended to limit the present invention. Anyone familiar with this art can modify and change the above-mentioned implementations without violating the spirit and scope of the present invention. Therefore, the scope of rights protection in this case should be as listed in the patent application scope described below.

10:影像切割拼接編碼裝置 10:Image cutting and splicing encoding device

20:傳輸裝置 20:Transmission device

30:影像解碼拼接播放裝置 30: Image decoding and splicing playback device

40:終端裝置 40:Terminal device

Claims (8)

一種全景影像傳輸方法,係包括:令影像切割拼接編碼裝置依據一終端解析度,將一全景影像切割成多個區塊影像;令該影像切割拼接編碼裝置依據一編解碼可支援最大解析度,拼接該多個區塊影像以產生一拼接影像;令該影像切割拼接編碼裝置依據該拼接影像,對應產生包括區塊座標資訊及區塊重疊資訊之描述檔;令傳輸裝置對該拼接影像進行編碼後,以串流方式輸出經編碼之該拼接影像,及輸出與該拼接影像對應之描述檔;令影像解碼拼接播放裝置接收該經編碼之該拼接影像及該描述檔;令該影像解碼拼接播放裝置對該經編碼之該拼接影像進行解碼,以獲得該拼接影像;令該影像解碼拼接播放裝置分析該描述檔,以依據該描述檔之該座標資訊及/或該區塊重疊資訊,將該拼接影像分割為多個分割影像;令該影像解碼拼接播放裝置依據該描述檔之該座標資訊及/或該區塊重疊資訊,還原拼接該多個分割影像以獲得該全景影像;以及令該影像解碼拼接播放裝置利用該多個區塊影像對應到具有該終端解析度的多個播放區塊之方式,將該全景影像播放到具有該多個播放區塊的終端裝置。 A panoramic image transmission method includes: making the image cutting and splicing encoding device cut a panoramic image into multiple block images according to a terminal resolution; making the image cutting and splicing encoding device support the maximum resolution according to a codec, Splicing the plurality of block images to generate a spliced image; causing the image cutting and splicing encoding device to correspondingly generate a description file including block coordinate information and block overlapping information based on the spliced image; causing the transmission device to encode the spliced image Then, output the encoded spliced image in a streaming manner, and output a description file corresponding to the spliced image; cause the image decoding and splicing playback device to receive the encoded spliced image and the description file; cause the image to be decoded and spliced for playback The device decodes the encoded spliced image to obtain the spliced image; causes the image decoding and splicing playback device to analyze the description file to convert the spliced image based on the coordinate information and/or the block overlap information of the description file. Splitting the spliced image into multiple segmented images; causing the image decoding and splicing playback device to restore and splice the multiple segmented images to obtain the panoramic image based on the coordinate information and/or the block overlap information of the description file; and causing the image to be spliced into multiple segmented images. The decoding and splicing playback device uses the manner in which the plurality of block images correspond to the plurality of playback blocks with the terminal resolution to play the panoramic image to the terminal device having the plurality of playback blocks. 如請求項1所述之全景影像傳輸方法,其中,對該拼接影像保留邊緣重疊處,以於依據該描述檔之該座標資訊及/或該區塊重疊資訊還原拼接該多個分割影像時,對於該邊緣重疊處執行邊緣影像融合。 The panoramic image transmission method as described in claim 1, wherein edge overlaps are retained in the spliced image, so that when the multiple segmented images are restored and spliced based on the coordinate information and/or the block overlap information of the description file, Perform edge image fusion on the overlapping edges. 如請求項1所述之全景影像傳輸方法,復包括:在依據該終端解析度將該全景影像切割成該多個區塊影像之前,令該影像切割拼接編碼裝置將多個不同角度影像縫合為該全景影像,其中,於該全景影像具有無效範圍時,去除該無效範圍。 The panoramic image transmission method described in claim 1 further includes: before cutting the panoramic image into the plurality of block images according to the terminal resolution, causing the image cutting and splicing encoding device to stitch the plurality of images from different angles into In the panoramic image, when the panoramic image has an invalid range, the invalid range is removed. 如請求項1所述之全景影像傳輸方法,其中,依據該編解碼可支援最大解析度拼接該多個區塊影像係包括:依據該終端解析度,將該編解碼可支援最大解析度劃分為多個網格,以將該多個區塊影像依序重新排列進入該多個網格內。 The panoramic image transmission method as described in claim 1, wherein splicing the plurality of block images according to the codec that can support the maximum resolution includes: according to the terminal resolution, dividing the codec that can support the maximum resolution into Multiple grids are used to rearrange the multiple block images into the multiple grids sequentially. 如請求項1所述之全景影像傳輸方法,其中,對於該拼接影像先加入音源再進行編碼,其中,對該拼接影像執行邊框補足以補足至該編解碼可支援最大解析度。 The panoramic image transmission method as described in claim 1, wherein the audio source is first added to the spliced image and then encoded, and frame filling is performed on the spliced image to supplement the maximum resolution that the codec can support. 一種電腦程式產品,經電腦載入程式以執行如請求項1-5任一項所述之全景影像傳輸方法。 A computer program product, which is loaded into the computer to execute the panoramic image transmission method described in any one of claims 1-5. 一種全景影像傳輸系統,係包括:影像切割拼接編碼裝置,係依據一終端解析度將一全景影像切割成多個區塊影像,以依據一編解碼可支援最大解析度拼接該多個區塊影像而獲得一拼接影像,且該影像切割拼接編碼裝置係依據該拼接影像對應產生包括區塊座標資訊及區塊重疊資訊之描述檔,進而對該拼接影像加入音源後進行編碼,其中,該影像切割拼接編碼裝置係依據該終端解析度將該編解碼可支援最大解析度劃分為多個網格,以將該多個區塊影像依序重新排列進入該多個網格內;傳輸裝置,係將經編碼之該拼接影像以串流方式輸出,並輸出與該拼接影像對應之描述檔; 終端裝置,係包括具有該終端解析度的多個播放區塊;以及影像解碼拼接播放裝置,係接收該經編碼之該拼接影像及該描述檔以對該經編碼之該拼接影像進行解碼而獲得該拼接影像,該影像解碼拼接播放裝置分析該描述檔以依據該描述檔之該座標資訊及/或該區塊重疊資訊,將該拼接影像分割為多個分割影像,再還原拼接該多個分割影像而獲得該全景影像,進而利用該多個區塊影像對應到具有該終端解析度的多個播放區塊之方式,將該全景影像播放到具有該多個播放區塊的終端裝置。 A panoramic image transmission system includes: an image cutting and splicing encoding device, which cuts a panoramic image into multiple block images according to a terminal resolution, and splices the multiple block images according to a codec that can support maximum resolution. A spliced image is obtained, and the image cutting and splicing encoding device generates a description file including block coordinate information and block overlap information based on the spliced image, and then adds the audio source to the spliced image and then encodes it, wherein the image is cut The splicing encoding device divides the maximum resolution that the codec can support into multiple grids based on the terminal resolution, so as to rearrange the multiple block images into the multiple grids sequentially; the transmission device The encoded spliced image is output in a streaming manner, and a description file corresponding to the spliced image is output; The terminal device includes a plurality of playback blocks with the terminal resolution; and an image decoding and splicing playback device receives the encoded spliced image and the description file to decode the encoded spliced image. For the spliced image, the image decoding and splicing playback device analyzes the description file to divide the spliced image into multiple segmented images based on the coordinate information and/or the block overlap information of the description file, and then restores and splices the multiple segmented images. The panoramic image is obtained through the image, and then the panoramic image is played to the terminal device having the plurality of playback blocks by using the method that the plurality of block images correspond to the plurality of playback blocks with the terminal resolution. 如請求項7所述之全景影像傳輸系統,其中,該影像切割拼接編碼裝置係對該拼接影像保留邊緣重疊處,以供該影像解碼拼接播放裝置於依據該描述檔之該座標資訊及/或該區塊重疊資訊還原拼接該多個分割影像時,對於該邊緣重疊處執行邊緣影像融合。 The panoramic image transmission system as described in claim 7, wherein the image cutting and splicing encoding device retains the edge overlap of the spliced image for the image decoding and splicing playback device to use the coordinate information and/or based on the description file. When the block overlap information is restored and spliced into the multiple segmented images, edge image fusion is performed on the overlapping edges.
TW111110856A 2022-03-23 2022-03-23 System for transmitting panorama image and method thereof and computer program product TWI828091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111110856A TWI828091B (en) 2022-03-23 2022-03-23 System for transmitting panorama image and method thereof and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111110856A TWI828091B (en) 2022-03-23 2022-03-23 System for transmitting panorama image and method thereof and computer program product

Publications (2)

Publication Number Publication Date
TW202338731A TW202338731A (en) 2023-10-01
TWI828091B true TWI828091B (en) 2024-01-01

Family

ID=89856228

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111110856A TWI828091B (en) 2022-03-23 2022-03-23 System for transmitting panorama image and method thereof and computer program product

Country Status (1)

Country Link
TW (1) TWI828091B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW202029763A (en) * 2018-09-27 2020-08-01 美商Vid衡器股份有限公司 Sample derivation for 360-degree video coding
TWI703854B (en) * 2017-07-10 2020-09-01 美商高通公司 Enhanced high-level signaling for fisheye virtual reality video in dash
CN113727143A (en) * 2018-08-30 2021-11-30 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
TWI750072B (en) * 2016-02-09 2021-12-11 弗勞恩霍夫爾協會 Concept for picture/video data streams allowing efficient reducibility or efficient random access

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI750072B (en) * 2016-02-09 2021-12-11 弗勞恩霍夫爾協會 Concept for picture/video data streams allowing efficient reducibility or efficient random access
TWI703854B (en) * 2017-07-10 2020-09-01 美商高通公司 Enhanced high-level signaling for fisheye virtual reality video in dash
CN113727143A (en) * 2018-08-30 2021-11-30 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
TW202029763A (en) * 2018-09-27 2020-08-01 美商Vid衡器股份有限公司 Sample derivation for 360-degree video coding

Also Published As

Publication number Publication date
TW202338731A (en) 2023-10-01

Similar Documents

Publication Publication Date Title
KR101863767B1 (en) Pseudo-3d forced perspective methods and devices
CN108063976B (en) Video processing method and device
US8953079B2 (en) System and method for generating 360 degree video recording using MVC
JP6217462B2 (en) Image processing apparatus, image processing method, and image processing system
WO2021147702A1 (en) Video processing method and apparatus
CN107426491B (en) Implementation method of 360-degree panoramic video
US11694303B2 (en) Method and apparatus for providing 360 stitching workflow and parameter
WO2019192416A1 (en) Video processing method and device therefor, and storage medium and electronic product
JP7177034B2 (en) Method, apparatus and stream for formatting immersive video for legacy and immersive rendering devices
JPWO2018021261A1 (en) Image processing apparatus, reproduction apparatus, image processing method, and reproduction method
CN105306837A (en) Multi-image splicing method and device
WO2020057249A1 (en) Image processing method, apparatus and system, and network device, terminal and storage medium
JP2015171042A (en) Picture processing system and picture imaging apparatus
TWI828091B (en) System for transmitting panorama image and method thereof and computer program product
JP2020524450A (en) Transmission system for multi-channel video, control method thereof, multi-channel video reproduction method and device thereof
KR20160023777A (en) Picture referencing control for video decoding using a graphics processor
JP2012222399A (en) Video playback system, video playback method, and video playback device and program
JP2013518458A (en) Method for transferring information and / or application data in a digital video stream and associated apparatus for generating and playing a video stream
WO2018021261A1 (en) Image processing device, reproduction device, image processing method, and reproduction method
US20200226716A1 (en) Network-based image processing apparatus and method
JP2015130632A (en) Image processing apparatus, transmission and reception system, image processing method, and program
CN113938617A (en) Multi-channel video display method and equipment, network camera and storage medium
CN112887589A (en) Panoramic shooting method and device based on unmanned aerial vehicle
CN112261441A (en) Video data processing method, system, device and storage medium
KR102461032B1 (en) Method and apparatus for providing 360 stitching workflow and parameter