CN113365083A - 一种基于h.265实现yuv444图像编解码方法 - Google Patents
一种基于h.265实现yuv444图像编解码方法 Download PDFInfo
- Publication number
- CN113365083A CN113365083A CN202110772406.1A CN202110772406A CN113365083A CN 113365083 A CN113365083 A CN 113365083A CN 202110772406 A CN202110772406 A CN 202110772406A CN 113365083 A CN113365083 A CN 113365083A
- Authority
- CN
- China
- Prior art keywords
- area
- component
- image
- yuv444
- region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234363—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
- H04N21/234372—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution for performing aspect ratio conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/436—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
- H04N21/440272—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA for performing aspect ratio conversion
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Color Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明公开一种基于H.265实现YUV444图像编解码方法,包括:获取1080P的YUV444图像,从1080P的YUV444图像中提取出Y分量、U分量和V分量;将目标图像划分为4个区域,4个区域记为第一区域、第二区域、第三区域和第四区域;将1080P的YUV444图像的Y分量、U分量和V分量依次作为第一区域的Y分量、第二区域的Y分量、第三区域的Y分量,第一区域、第二区域和第三区域的U分量和V分量均设置为0,将第四区域的Y分量、U分量和V分量均设置为0,从而将第一区域、第二区域、第三区域和第四区域组成的目标图像构成4K的YUV444图。本发明可基于H.265实现图像编解码,并提高图像清晰度。
Description
技术领域
本发明涉及YUV444图像编解码技术领域,具体涉及一种基于H.265实现YUV444图像编解码方法。
背景技术
现有的H.265编解码器是基于YUV420格式的图像进行编解码的。相比于YUV444图像,YUV420图像由于每4个像素有4个Y分量(即亮度分量)、2个色度分量(包括1个U分量、1个V分量),其图像质量(主要在于色度方面)低于YUV444图像。Y分量、U分量、V分量也依次称为亮度分量、蓝色色度分量、红色色度分量。因此,为了提高图像质量,需要进行YUV444编码。但现有的H.265编解码器都是基于YUV420图像实现图像编解码,H.265编解码器可以实现4K图像传输,故而有必要在提高分辨率(例如达到4K)的同时,提高图像质量(例如色彩信息度),有必要实现基于H.265达到YUV444图像编解码的方法。
发明内容
针对现有技术的不足,本发明的目的提供一种基于H.265实现YUV444图像编解码方法,其能够解决提高图像质量的问题;
实现本发明的目的的技术方案为:一种基于H.265实现YUV444图像编解码方法,包括以下步骤:
获取1080P的YUV444图像,从1080P的YUV444图像中提取出Y分量、U分量和V分量;
将目标图像划分为4个区域,4个区域记为第一区域、第二区域、第三区域和第四区域;
将1080P的YUV444图像的Y分量、U分量和V分量依次作为第一区域的Y分量、第二区域的Y分量、第三区域的Y分量,第一区域、第二区域和第三区域的U分量和V分量均设置为0,将第四区域的Y分量、U分量和V分量均设置为0,从而将第一区域、第二区域、第三区域和第四区域组成的目标图像构成4K的YUV444图像。
进一步地,得到4K的YUV444图像之后,还包括以下步骤:
将4K的YUV444图像经H.265编码器进行YUV420编码,经网络传输给终端后进行YUV420解码,并将解码后的图像再进行逆向操作,得到YUV444图像。
进一步地,第一区域、第二区域、第三区域和第四区域的尺寸相同。
进一步地,目标图像中,以第一区域为基准,第二区域和第三区域分别位于第一区域相邻的两侧,第四区域位于第二区域和第三区域所围成的夹角区域。
本发明的有益效果为:本发明能够很好地实现将1080P的YUV44图像基于H.265实现图像编解码,并提高图像清晰度。
附图说明
图1是较佳实施例的流程示意图;
图2是目标图像中第一区域、第二区域、第三区域和第四区域的关系示意图。
具体实施方式
下面,结合附图以及具体实施方案,对本发明做进一步描述。
如图1和图2所示,一种基于H.265实现YUV444图像编解码方法,包括以下步骤:
获取分辨率为1920*1080(简称为1080P)的YUV444图像,从分辨率为1080P的YUV444图像中提取出Y分量、U分量和V分量。
对于YUV444图像,图像中的每个像素点均包括3部分:Y分量、U分量(也叫Cb分量)和V分量(也叫Cr分量)。而分辨率为1080P的YUV444图像共有1920*1080个像素点,因此,分辨率为1080P的YUV444图像拆分出来的Y分量是所有像素点的Y分量之和,U分量和V分量也是如此,都是所有像素点的U分量或V分量之和。
将目标图像按尺寸大小均等划分为4个区域,每个区域大小相同,从左至右、从上至下依次记为第一区域、第二区域、第三区域和第四区域。目标图像也即是一个空白图像,图像中没有任何像素点信息而处于空白。参考图2,以第一区域为基准,第二区域和第三区域分别位于第一区域相邻的两侧,第四区域位于第二区域和第三区域所围成的夹角区域。例如,第二区域位于第一区域的右侧,第三区域位于第一区域的下侧,而第一区域的右侧和下侧正好是相邻的两侧,第二区域的下侧、第三区域的右侧刚好围成一个带有开口的夹角区域,该带有开口的夹角区域正好是第四区域。
将分辨率为1080P的YUV444图像的Y分量填充在第一区域,作为第一区域的Y分量,第一区域的U分量和V分量均设置为0。将分辨率为1080P的YUV444图像的U分量填充在第二区域,作为第二区域的Y分量,第二区域的U分量和V分量均设置为0。将分辨率为1080P的YUV444图像的V分量填充在第三区域,作为第三区域的Y分量,第三区域的U分量和V分量均设置为0。将第四区域的Y分量、U分量和V分量均设置为0。
将第一区域、第二区域、第三区域和第四区域组成的目标图像即是得到分辨率为4K的YUV444图像。将分辨率为4K的YUV444图像经H.265编码器进行YUV420编码后再通过网络传输给终端,终端再进行YUV420解码,并将解码后的图像再进行逆向操作,得到YUV444图像,从而可以在终端进行播放。从而可通过低成本的YUV420编解码实现YUV444编解码,并提高了图像质量。
本步骤中,由于H.265编码器是对4K图像进行编解码处理,因此,需要输入分辨率为4K的YUV444图像。
其中,所述逆向操作,也即是从第一区域、第二区域、第三区域分别提取出的三个Y分量依次作为解码后YUV444图像的Y分量、U分量和V分量,从而合成一个YUV444图像,即得到解码后的YUV444图像。
本实施例能够很好地实现将1080P的YUV44图像基于H.265实现图像编解码,并提高图像清晰度。
本说明书所公开的实施例只是对本发明单方面特征的一个例证,本发明的保护范围不限于此实施例,其他任何功能等效的实施例均落入本发明的保护范围内。对于本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及变形,而所有的这些改变以及变形都应该属于本发明权利要求的保护范围之内。
Claims (4)
1.一种基于H.265实现YUV444图像编解码方法,其特征在于,包括以下步骤:
获取1080P的YUV444图像,从1080P的YUV444图像中提取出Y分量、U分量和V分量;
将目标图像划分为4个区域,4个区域记为第一区域、第二区域、第三区域和第四区域;
将1080P的YUV444图像的Y分量、U分量和V分量依次作为第一区域的Y分量、第二区域的Y分量、第三区域的Y分量,第一区域、第二区域和第三区域的U分量和V分量均设置为0,将第四区域的Y分量、U分量和V分量均设置为0,从而将第一区域、第二区域、第三区域和第四区域组成的目标图像构成4K的YUV444图像。
2.根据权利要求1所述的基于H.265实现YUV444图像编解码方法,其特征在于,得到4K的YUV444图像之后,还包括以下步骤:
将4K的YUV444图像经H.265编码器进行YUV420编码,经网络传输给终端后进行YUV420解码,并将解码后的图像再进行逆向操作,得到YUV444图像。
3.根据权利要求1所述的基于H.265实现YUV444图像编解码方法,其特征在于,第一区域、第二区域、第三区域和第四区域的尺寸相同。
4.根据权利要求1或3所述的基于H.265实现YUV444图像编解码方法,其特征在于,目标图像中,以第一区域为基准,第二区域和第三区域分别位于第一区域相邻的两侧,第四区域位于第二区域和第三区域所围成的夹角区域。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110772406.1A CN113365083B (zh) | 2021-07-08 | 2021-07-08 | 一种基于h.265实现yuv444图像编解码方法 |
PCT/CN2021/122610 WO2023279560A1 (zh) | 2021-07-08 | 2021-10-08 | 一种基于h.265实现yuv444图像编解码方法 |
US18/406,877 US20240205471A1 (en) | 2021-07-08 | 2024-01-08 | Method for implementing coding and decoding of yuv444 image on basis of h.265 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110772406.1A CN113365083B (zh) | 2021-07-08 | 2021-07-08 | 一种基于h.265实现yuv444图像编解码方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113365083A true CN113365083A (zh) | 2021-09-07 |
CN113365083B CN113365083B (zh) | 2022-10-11 |
Family
ID=77538961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110772406.1A Active CN113365083B (zh) | 2021-07-08 | 2021-07-08 | 一种基于h.265实现yuv444图像编解码方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20240205471A1 (zh) |
CN (1) | CN113365083B (zh) |
WO (1) | WO2023279560A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023279560A1 (zh) * | 2021-07-08 | 2023-01-12 | 广州市保伦电子有限公司 | 一种基于h.265实现yuv444图像编解码方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102318344A (zh) * | 2008-12-30 | 2012-01-11 | 萨基姆通讯宽带公司 | 视频编码系统和方法 |
JP2015076781A (ja) * | 2013-10-10 | 2015-04-20 | 三菱電機株式会社 | 画像符号化装置、画像復号装置、画像符号化方法及び画像復号方法 |
CN105578016A (zh) * | 2014-10-09 | 2016-05-11 | 中兴通讯股份有限公司 | 一种调整图像动态范围的方法及终端 |
CN106604037A (zh) * | 2017-01-09 | 2017-04-26 | 电子科技大学 | 一种新型的彩色图像编码方法 |
US10257542B1 (en) * | 2015-03-25 | 2019-04-09 | Amazon Technologies, Inc. | Compression encoding of images |
CN113014920A (zh) * | 2021-02-01 | 2021-06-22 | 西安万像电子科技有限公司 | 图像编码、解码方法及装置 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9712847B2 (en) * | 2011-09-20 | 2017-07-18 | Microsoft Technology Licensing, Llc | Low-complexity remote presentation session encoder using subsampling in color conversion space |
US9979960B2 (en) * | 2012-10-01 | 2018-05-22 | Microsoft Technology Licensing, Llc | Frame packing and unpacking between frames of chroma sampling formats with different chroma resolutions |
JP6409516B2 (ja) * | 2014-11-13 | 2018-10-24 | 富士通株式会社 | ピクチャ符号化プログラム、ピクチャ符号化方法及びピクチャ符号化装置 |
CN109951715B (zh) * | 2019-02-25 | 2020-09-22 | 北京新兴东方航空装备股份有限公司 | 一种基于h.264的yuv444图像编解码方法 |
CN112929624B (zh) * | 2021-01-21 | 2023-02-17 | 杭州雾联科技有限公司 | 一种编码方法、装置、电子设备及计算机可读存储介质 |
CN113365083B (zh) * | 2021-07-08 | 2022-10-11 | 广州市保伦电子有限公司 | 一种基于h.265实现yuv444图像编解码方法 |
-
2021
- 2021-07-08 CN CN202110772406.1A patent/CN113365083B/zh active Active
- 2021-10-08 WO PCT/CN2021/122610 patent/WO2023279560A1/zh unknown
-
2024
- 2024-01-08 US US18/406,877 patent/US20240205471A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102318344A (zh) * | 2008-12-30 | 2012-01-11 | 萨基姆通讯宽带公司 | 视频编码系统和方法 |
JP2015076781A (ja) * | 2013-10-10 | 2015-04-20 | 三菱電機株式会社 | 画像符号化装置、画像復号装置、画像符号化方法及び画像復号方法 |
CN105578016A (zh) * | 2014-10-09 | 2016-05-11 | 中兴通讯股份有限公司 | 一种调整图像动态范围的方法及终端 |
US10257542B1 (en) * | 2015-03-25 | 2019-04-09 | Amazon Technologies, Inc. | Compression encoding of images |
CN106604037A (zh) * | 2017-01-09 | 2017-04-26 | 电子科技大学 | 一种新型的彩色图像编码方法 |
CN113014920A (zh) * | 2021-02-01 | 2021-06-22 | 西安万像电子科技有限公司 | 图像编码、解码方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023279560A1 (zh) * | 2021-07-08 | 2023-01-12 | 广州市保伦电子有限公司 | 一种基于h.265实现yuv444图像编解码方法 |
Also Published As
Publication number | Publication date |
---|---|
CN113365083B (zh) | 2022-10-11 |
WO2023279560A1 (zh) | 2023-01-12 |
US20240205471A1 (en) | 2024-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10242646B2 (en) | RGB to YUV format conversion and inverse conversion method and circuit for depth packing and depacking | |
WO2020135357A1 (zh) | 数据压缩方法及装置、数据编码/解码方法及装置 | |
CN110401833B (zh) | 图像传输方法及装置 | |
US20240205471A1 (en) | Method for implementing coding and decoding of yuv444 image on basis of h.265 | |
EP3002948A1 (en) | Decoder, decoding method, and codec system | |
CN112995664A (zh) | 图像采样格式转换方法、计算机可读存储介质和编码器 | |
CN102301712A (zh) | 对亮度和色度彩色空间图像使用棋盘形马赛克的图像压缩 | |
CN107948652B (zh) | 一种进行图像转换的方法和设备 | |
CN106303535A (zh) | 参考像素取自不同程度重构像素的图像压缩方法和装置 | |
CN110719484B (zh) | 图像处理方法 | |
CN113591878B (zh) | 动态hdr图像特征提取方法 | |
CN106303534A (zh) | 多种索引串与像素串融合复制方式的图像压缩方法和装置 | |
CN110636304B (zh) | 一种YCbCr444和YCbCr422转换方法 | |
WO2021196234A1 (zh) | 一种视频编码、解码方法、设备及存储介质 | |
KR102670870B1 (ko) | 딥러닝 기반 영상 노이즈 저감 장치 | |
CN117014557B (zh) | 文档图像的压缩方法、装置、电子设备及存储介质 | |
CN117857822B (zh) | 一种数据服务的图像通信控制方法 | |
JP3458813B2 (ja) | 色差信号補間回路及びそれに用いる色差信号補間方法 | |
US20190320202A1 (en) | Method and circuit of assigning selected depth values to rgb subpixels and recovering selected depth values from rgb subpixels for colored depth frame packing and depacking | |
CN104581186B (zh) | 一种图像压缩中对帧内移动矢量进行编码和解码的方法 | |
TWI633791B (zh) | 景深圖框包裝及解包裝之rgb格式的調整與重建方法及電路 | |
CN113271466B (zh) | 图像编码方法、解码方法、传输方法以及存储装置和处理装置 | |
CN103167281B (zh) | 一种图像处理方法及其装置 | |
EP4376405A1 (en) | Code stream processing method, apparatus, terminal device, and storage medium | |
WO2022117113A1 (en) | Systems and methods for video encoding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000 Patentee after: Guangdong Baolun Electronics Co.,Ltd. Address before: No.19 Chuangyuan Road, Zhongcun street, Panyu District, Guangzhou, Guangdong 510000 Patentee before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd. |