CN101577823B - Video encoding method and encoding system, and camera device with video encoding function - Google Patents
Video encoding method and encoding system, and camera device with video encoding function Download PDFInfo
- Publication number
- CN101577823B CN101577823B CN 200810097034 CN200810097034A CN101577823B CN 101577823 B CN101577823 B CN 101577823B CN 200810097034 CN200810097034 CN 200810097034 CN 200810097034 A CN200810097034 A CN 200810097034A CN 101577823 B CN101577823 B CN 101577823B
- Authority
- CN
- China
- Prior art keywords
- original image
- frame
- current
- histogram
- threshold value
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000000605 extraction Methods 0.000 claims description 16
- 238000003860 storage Methods 0.000 claims description 12
- 239000000284 extract Substances 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 7
- 230000007704 transition Effects 0.000 description 5
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000002123 temporal effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012812 general test Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种视讯编码方法及其编码系统与具有视讯编码功能的摄影装置,特别是涉及一种可有效减少系统运算负荷,适用于大量分镜转换的视讯编码方法及编码系统与具有视讯编码功能的摄影装置。 The present invention relates to a video coding method and its coding system and a photographing device with video coding function, in particular to a video coding method and coding system which can effectively reduce system computing load and is suitable for a large number of split-mirror conversions and has video coding functional photographic device. the
背景技术Background technique
视讯编码在嵌式系统(Embedded System,又称嵌入式系统)中,和一般的电脑系统相较下,在影像压缩时所需的能量非常惊人,尤其是在一执行运动估计(Motion Estimation)的计算模组。所谓的运动估计,是为了影像压缩的目的,将连续的原始影像(Raw Image)进行处理以去除时间上的冗余性(Temporal Redundancy)。执行运动估计的计算模组可以分析每一个原始影像,决定原始影像要利用框内编码(Intra Frame Encoding)压缩成I讯框(IFrame)或者是利用框间编码(Inter Frame Encoding)压缩成P讯框(PFrame),其中I讯框是由原始影像单独压缩而成,而P讯框则是舍弃对应的原始影像,改以预测的方式重新编码,如此,连续的I讯框及P讯框重制出和连续原始影像极为相似的视讯,可以大幅去除连续原始影像在时间上的冗余性,达到影像压缩的功效。 Video coding in an embedded system (Embedded System, also known as an embedded system), compared with a general computer system, the energy required for image compression is amazing, especially in a motion estimation (Motion Estimation) Calculation module. The so-called motion estimation is to process the continuous original image (Raw Image) to remove temporal redundancy (Temporal Redundancy) for the purpose of image compression. The calculation module that performs motion estimation can analyze each original image and decide whether the original image should be compressed into an I frame (IFrame) using intra frame encoding (Intra Frame Encoding) or compressed into a P frame using inter frame encoding (Inter Frame Encoding) Frame (PFrame), where the I frame is compressed from the original image alone, and the P frame is to discard the corresponding original image and re-encode it in a predictive way. In this way, the continuous I frame and P frame Creating a video that is very similar to the continuous original image can greatly remove the temporal redundancy of the continuous original image and achieve the effect of image compression. the
利用上述现有的运动估计的计算模组,虽然可有效地压缩连续影像,但是当其中一原始影像及下一原始影像间发生分镜转换(Shot Change)时,执行运动估计的计算模组,仍需完整地分析原始影像的内容,以决定原始影像要压缩成I讯框或P讯框,而无法有效率地依据下一原始影像与上一原始影像的差异性而快速地认定下一原始影像应该压缩为I讯框。 Using the above-mentioned existing calculation module for motion estimation, although continuous images can be effectively compressed, when a shot change occurs between one original image and the next original image, the calculation module for motion estimation is executed, It is still necessary to fully analyze the content of the original image to determine whether the original image should be compressed into an I frame or a P frame, and it is impossible to efficiently identify the next original image based on the difference between the next original image and the previous original image. Images should be compressed into I-frames. the
如上所述,为避免嵌式系统执行大量的运动估计,以提升嵌式系统整体的运作效能,因此有必要寻求解决的方法。 As mentioned above, in order to prevent the embedded system from performing a large amount of motion estimation and improve the overall operating performance of the embedded system, it is necessary to find a solution. the
有鉴于上述现有技术存在的问题,本发明人基于从事此类产品设计制造多年丰富的实务经验及专业知识,并配合学理的运用,积极加以研究创新,以期创设一种新的视讯编码方法及编码系统与具有视讯编码功能的摄影装置,使其更具有实用性。经过不断的研究、设计,并经反复试作及改进后,终于创设出确具实用价值的本发明。 In view of the problems existing in the above-mentioned prior art, the present inventor, based on years of rich practical experience and professional knowledge engaged in the design and manufacture of such products, combined with the application of academic theory, actively researched and innovated, in order to create a new video encoding method and The encoding system and the camera device with video encoding function make it more practical. Through continuous research, design, and after repeated trials and improvements, the present invention with practical value is finally created. the
发明内容Contents of the invention
本发明的主要目的在于,提供一种视讯编码方法。 The main purpose of the present invention is to provide a video coding method. the
本发明的另一目的在于,提供一种视讯编码系统。 Another object of the present invention is to provide a video encoding system. the
本发明的再一目的在于,提供一种具有视讯编码功能的摄影装置。 Another object of the present invention is to provide a photographing device with a video encoding function. the
本发明的目的及解决其技术问题是采用以下技术方案来实现的。依据本发明提出的一种视讯编码方法,其包含以下步骤:(a).提取一参考原始影像的多数条扫描线的多数个像素,产生一参考像素资料与一参考直方图资料;(b).提取一现行原始影像的多数条扫描线的多数个像素,产生一现行像素资料及一现行直方图资料;(c).依据该现行像素资料及该参考像素资料计算出一正规化的像素差值,再判断该像素差值是否大于等于一第一门限值,若是,则设定对该现行原始影像进行框内编码;(d).若该像素差值小于该第一门限值,则依据该现行直方图资料及该参考直方图资料计算出一正规化的直方图差值,再判断该直方图差值是否大于等于一第二门限值,若是,则设定对该现行原始影像进行框内编码;(e).若该直方图差值小于该第二门限值,则计算该现行原始影像的多数个巨集块预定进行框内编码的数量为一巨集块数量,并在计算该巨集块数量的同时,即时地判断该巨集块数量是否大于一第三门限值;以及(f).当该巨集块数量大于该第三门限值时,则设定对该现行原始影像进行框内编码,相反地,则设定对该现行原始影像进行框间编码。 The purpose of the present invention and the solution to its technical problems are achieved by adopting the following technical solutions. According to a video encoding method proposed by the present invention, it includes the following steps: (a). Extracting a plurality of pixels of a plurality of scanning lines of a reference original image to generate a reference pixel data and a reference histogram data; (b) .Extract a plurality of pixels of a plurality of scanning lines of a current original image to generate a current pixel data and a current histogram data; (c). Calculate a normalized pixel difference based on the current pixel data and the reference pixel data Value, and then judge whether the pixel difference is greater than or equal to a first threshold value, if so, set the frame encoding of the current original image; (d). If the pixel difference is less than the first threshold value, Calculate a normalized histogram difference based on the current histogram data and the reference histogram data, and then determine whether the histogram difference is greater than or equal to a second threshold value, and if so, set the current original The image is encoded in the frame; (e). If the histogram difference is less than the second threshold value, then calculate the number of macroblocks scheduled to be encoded in the frame of the current original image as the number of macroblocks, And while calculating the number of the macroblocks, judge whether the number of the macroblocks is greater than a third threshold value in real time; and (f). When the number of the macroblocks is greater than the third threshold value, set Intra-frame encoding is performed on the current original image, and on the contrary, inter-frame encoding is performed on the current original image. the
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。 The purpose of the present invention and its technical problems can also be further realized by adopting the following technical measures. the
前述的视讯编码方法,其中所述的(a)步骤及(b)步骤中,该参考原始影像中被提取的扫描线的数量为3至8条,且该现行原始影像中被提取的扫描线的数量依据该参考原始影像中被提取的扫描线的数量,对应地设为3至8条。 In the aforementioned video coding method, in the (a) step and (b) step, the number of scanned lines extracted in the reference original image is 3 to 8, and the extracted scan lines in the current original image The number of is set to 3 to 8 correspondingly according to the number of scanned lines extracted in the reference original image. the
前述的视讯编码方法,其中所述的(c)步骤中,该第一门限值设为0.4至0.6。 In the aforementioned video coding method, in the step (c), the first threshold is set to 0.4 to 0.6. the
前述的视讯编码方法,其中所述的(d)步骤中,该第二门限值设为0.7至0.9。 In the aforementioned video coding method, in the step (d), the second threshold is set to 0.7 to 0.9. the
前述的视讯编码方法,其中所述的(e)步骤中,该第三门限值=所述巨集块的总数-(一基本巨集块的数量+该基本巨集块的数量×该正规化的直方图差值)。 The aforementioned video coding method, wherein in the (e) step, the third threshold value=the total number of the macro blocks-(the number of a basic macro block+the number of the basic macro blocks×the regular histogram difference). the
本发明的目的及解决其技术问题还采用以下技术方案来实现。依据本发明提出的一种视讯编码系统,用以压缩多数个连续的原始影像,并包含一输入单元,该输入单元依序接收其中一原始影像为一参考原始影像,及连续的下一原始影像为一现行原始影像,该视讯编码系统还包含:一判断单元,用以决定该现行原始影像应以框内编码或框间编码压缩,该判断单元包括:一提取模组,是用以提取该参考原始影像的多数条扫描线的多数个像素,产生一参考像素资料与一参考直方图资料,另外,提取该现行原始影像 的多数条扫描线的多数个像素,是产生一现行像素资料及一现行直方图资料;一像素差值判别模组,用以将该现行像素资料减去该参考像素资料产生一像素差值并正规化,再判断该像素差值是否大于等于一第一门限值,若是,则设定对该现行原始影像进行框内编码;一直方图差值判别模组,用以将该现行直方图资料减去该参考直方图资料产生一直方图差值并且正规化,再判断该直方图差值是否大于等于一第二门限值,若是,则设定对该现行原始影像进行框内编码;及一运动估计判别模组,计算该现行原始影像的多数个巨集块预定进行框内编码的数量为一巨集块数量,并在计算该巨集块数量的同时,即时地判断该巨集块数量是否大于一第三门限值,当该巨集块数量大于该第三门限值时,则设定对该现行原始影像进行框内编码,相反地,则设定对该现行原始影像进行框间编码;一框内编码单元,用以压缩该设定为进行框内编码的现行原始影像为一I讯框;一框间编码单元,用以计算该设定为进行框间编码的现行原始影像为一P讯框;以及一输出单元,用以将压缩为I讯框及P讯框的原始影像顺序地输出为一视讯的位元流。 The purpose of the present invention and the solution to its technical problem also adopt the following technical solutions to achieve. A video coding system proposed according to the present invention is used to compress a plurality of continuous original images, and includes an input unit, which sequentially receives one of the original images as a reference original image, and the next continuous original image For a current original image, the video encoding system also includes: a judging unit, used to determine whether the current original image should be compressed by intra-frame coding or inter-frame coding, and the judging unit includes: an extraction module, used to extract the Referring to multiple pixels of multiple scan lines of the original image to generate a reference pixel data and a reference histogram data, in addition, extracting multiple pixels of multiple scan lines of the current original image is to generate a current pixel data and a Current histogram data; a pixel difference judgment module, used to subtract the reference pixel data from the current pixel data to generate a pixel difference and normalize it, and then judge whether the pixel difference is greater than or equal to a first threshold value , if so, set the current original image to be encoded in the frame; the histogram difference discrimination module is used to subtract the reference histogram data from the current histogram data to generate a histogram difference value and normalize it, Then judge whether the histogram difference value is greater than or equal to a second threshold value, if so, then set the frame encoding of the current original image; and a motion estimation discrimination module to calculate a plurality of macros of the current original image The number of blocks scheduled to be encoded in the frame is the number of a macroblock, and while calculating the number of macroblocks, it is judged in real time whether the number of macroblocks is greater than a third threshold value, when the number of macroblocks is greater than When the third threshold value is reached, it is set to perform intra-frame encoding on the current original image, and on the contrary, it is set to perform inter-frame encoding on the current original image; an intra-frame encoding unit is used to compress the set as The current original image for intra-frame encoding is an I frame; an inter-frame encoding unit is used to calculate the current original image set for inter-frame encoding as a P frame; and an output unit is used for compressing The raw images of the I frame and the P frame are sequentially output as a video bit stream. the
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。 The purpose of the present invention and its technical problems can also be further realized by adopting the following technical measures. the
前述的视讯编码系统,其中所述的判断单元的提取模组设定该参考原始影像中被提取的扫描线的数量为3至8条,且该现行原始影像中被提取的扫描线的数量依据该参考原始影像中被提取的扫描线的数量,对应地设为3至8条。 In the aforementioned video coding system, the extraction module of the judging unit sets the number of extracted scan lines in the reference original image to 3 to 8, and the number of extracted scan lines in the current original image is based on The number of scanned lines extracted from the reference original image is correspondingly set to 3 to 8. the
前述的视讯编码系统,其中所述的判断单元的像素差值判别模组设定该第一门限值设为0.4至0.6。 In the aforementioned video coding system, the pixel difference judging module of the judging unit sets the first threshold to 0.4 to 0.6. the
前述的视讯编码系统,其中所述的判断单元的直方图差值判别模组设定该第二门限值设为0.7至0.9。 In the aforementioned video coding system, the histogram difference judging module of the judging unit sets the second threshold to 0.7 to 0.9. the
前述的视讯编码系统,其中所述的判断单元的运动估计判别模组设定该第三门限值=所述巨集块的总数-(一基本巨集块的数量+该基本巨集块的数量×该正规化的直方图差值)。 The aforementioned video coding system, wherein the motion estimation judgment module of the judging unit sets the third threshold value=the total number of the macroblocks-(the number of a basic macroblock+the number of the basic macroblock amount × the normalized histogram difference). the
本发明的目的及解决其技术问题另外还采用以下技术方案来实现。依据本发明提出的一种具有视讯编码功能的摄影装置,包含一摄像单元及一输入单元,该摄像单元是用以记录多数个连续的原始影像,该输入单元依序接收其中一原始影像为一参考原始影像,及连续的下一原始影像为一现行原始影像,该具有视讯编码功能的摄影装置还包含:一判断单元,用以决定该现行原始影像应以框内编码或框间编码压缩,该判断单元包括:一提取模组,用以提取该参考原始影像的多数条扫描线的多数个像素,产生一参考像素资料与一参考直方图资料,另外,提取该现行原始影像的多数条扫描线的多数个像素,产生一现行像素资料及一现行直方图资料;一像素差 值判别模组,用以将该现行像素资料减去该参考像素资料产生一像素差值并正规化,再判断该像素差值是否大于等于一第一门限值,若是,则设定对该现行原始影像进行框内编码;一直方图差值判别模组,用以将该现行直方图资料减去该参考直方图资料产生一直方图差值并正规化,再判断该直方图差值是否大于等于一第二门限值,若是,则设定对该现行原始影像进行框内编码;及一运动估计判别模组,计算该现行原始影像的多数个巨集块预定进行框内编码的数量为一巨集块数量,并在计算该巨集块数量的同时,即时地判断该巨集块数量是否大于一第三门限值,当该巨集块数量大于该第三门限值时,则设定对该现行原始影像进行框内编码,相反地,则设定对该现行原始影像进行框间编码;一框内编码单元,用以压缩该设定为进行框内编码的现行原始影像为一I讯框;一框间编码单元,用以计算该设定为进行框间编码的现行原始影像为一P讯框;一输出单元,用以将压缩为I讯框及P讯框的原始影像顺序地输出为一视讯的位元流;以及一储存单元,用以储存该视讯的位元流。 The purpose of the present invention and the solution to its technical problems are also achieved by the following technical solutions. According to the present invention, a camera device with video encoding function includes a camera unit and an input unit, the camera unit is used to record a plurality of continuous original images, and the input unit receives one of the original images sequentially as a Referring to the original image, and the next continuous original image is a current original image, the photography device with video coding function also includes: a judging unit for determining whether the current original image should be compressed by intra-frame coding or inter-frame coding, The judging unit includes: an extraction module for extracting a plurality of pixels of a plurality of scan lines of the reference original image, generating a reference pixel data and a reference histogram data, and extracting a plurality of scan lines of the current original image A plurality of pixels of the line to generate a current pixel data and a current histogram data; a pixel difference judgment module, used to subtract the reference pixel data from the current pixel data to generate a pixel difference and normalize it, and then judge Whether the pixel difference value is greater than or equal to a first threshold value, if so, set the current original image to be encoded in the frame; a histogram difference value judgment module is used to subtract the reference from the current histogram data The histogram data generates a histogram difference and normalizes it, and then judges whether the histogram difference is greater than or equal to a second threshold value, and if so, sets the current original image to be encoded in a frame; and a motion estimation judgment A module that calculates the number of macroblocks scheduled to be encoded in the frame of the current original image as the number of macroblocks, and while calculating the number of macroblocks, immediately judges whether the number of macroblocks is greater than one A third threshold value, when the number of macroblocks is greater than the third threshold value, it is set to perform intra-frame coding on the current original image, and on the contrary, it is set to perform inter-frame coding on the current original image; An intra-frame coding unit is used to compress the current original image set for intra-frame coding into an I frame; an inter-frame coding unit is used to calculate the current original image set for inter-frame coding as an I frame P frame; an output unit for sequentially outputting the original image compressed into I frame and P frame as a video bit stream; and a storage unit for storing the video bit stream. the
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。 The purpose of the present invention and its technical problems can also be further realized by adopting the following technical measures. the
前述的具有视讯编码功能的摄影装置,其中所述的判断单元的提取模组设定该参考原始影像中被提取的扫描线的数量为3至8条,且该现行原始影像中被提取的扫描线的数量依据该参考原始影像中被提取的扫描线的数量,对应地设为3至8条。 In the aforementioned camera device with video coding function, the extraction module of the judging unit sets the number of extracted scan lines in the reference original image to 3 to 8, and the extracted scan lines in the current original image The number of lines is correspondingly set to 3 to 8 according to the number of scanned lines extracted from the reference original image. the
前述的具有视讯编码功能的摄影装置,其中所述的判断单元的像素差值判别模组设定该第一门限值设为0.4至0.6。 In the aforementioned camera device with video coding function, the pixel difference judgment module of the judging unit sets the first threshold to 0.4 to 0.6. the
前述的具有视讯编码功能的摄影装置,其中所述的判断单元的直方图差值判别模组设定该第二门限值设为0.7至0.9。 In the aforementioned camera device with video encoding function, wherein the histogram difference judgment module of the judging unit sets the second threshold to 0.7 to 0.9. the
前述的具有视讯编码功能的摄影装置,其中所述的判断单元的运动估计判别模组设定该第三门限值=所述巨集块的总数-(一基本巨集块的数量+该基本巨集块的数量×该正规化的直方图差值)。 The aforementioned camera device with video coding function, wherein the motion estimation judgment module of the judging unit sets the third threshold value=the total number of the macroblocks-(the number of a basic macroblock+the basic The number of macro blocks × the normalized histogram difference). the
本发明与现有技术相比具有明显的优点和有益效果。由以上技术方案可知,本发明的主要技术内容如下: Compared with the prior art, the present invention has obvious advantages and beneficial effects. As can be seen from above technical scheme, main technical contents of the present invention are as follows:
本发明的一种视讯编码方法,包含下列的步骤:提取一参考原始影像的多数条扫描线的多数个像素,产生一参考像素资料与一参考直方图资料。然后,提取一现行原始影像的多数条扫描线的多数个像素,产生一现行像素资料及一现行直方图资料。接着,依据该现行像素资料及该参考像素资料计算出一正规化的像素差值,再判断像素差值是否大于等于一第一门限值,若是,则设定对现行原始影像进行框内编码。若该像素差值小于该第一门限值,则依据该现行直方图资料及该参考直方图资料计算出一正规化的直方图差值,再判断直方图差值是否大于等于一第二门限值,若是,则设定对现 行原始影像进行框内编码。若该直方图差值小于该第二门限值,则计算现行原始影像的多数个巨集块预定进行框内编码的数量为一巨集块数量,并在计算巨集块数量的同时,即时地判断巨集块数量是否大于一第三门限值。然后,当巨集块数量大于第三门限值时,则设定对现行原始影像进行框内编码,相反地,则设定对现行原始影像进行框间编码。 A video encoding method of the present invention includes the following steps: extracting a plurality of pixels of a plurality of scanning lines of a reference original image, and generating a reference pixel data and a reference histogram data. Then, a plurality of pixels of a plurality of scanning lines of a current original image are extracted to generate a current pixel data and a current histogram data. Next, calculate a normalized pixel difference value based on the current pixel data and the reference pixel data, and then determine whether the pixel difference value is greater than or equal to a first threshold value, and if so, set the current original image to perform in-frame coding . If the pixel difference is less than the first threshold value, calculate a normalized histogram difference based on the current histogram data and the reference histogram data, and then determine whether the histogram difference is greater than or equal to a second threshold If it is the limit value, it is set to perform in-frame encoding on the current original image. If the histogram difference is less than the second threshold value, calculate the number of macroblocks scheduled to be frame-coded in the current original image as the number of macroblocks, and while calculating the number of macroblocks, immediately It is judged whether the number of macroblocks is greater than a third threshold. Then, when the number of macroblocks is greater than the third threshold, it is set to perform intra-frame encoding on the current original image, and on the contrary, it is set to perform inter-frame encoding on the current original image. the
本发明的一种视讯编码系统,用以压缩多数个连续的原始影像,其包含:一输入单元、一判断单元、一框内编码单元、一框间编码单元,以及一输出单元。输入单元依序接收其中一原始影像为一参考原始影像,及连续的下一原始影像为一现行原始影像。判断单元用以决定现行原始影像应以框内编码或框间编码压缩,并包括:一提取模组、一像素差值判别模组、一直方图差值判别模组及一运动估计判别模组。提取模组用以提取参考原始影像的多数条扫描线的多数个像素,产生一参考像素资料与一参考直方图资料,另外,提取现行原始影像的多数条扫描线的多数个像素,产生一现行像素资料及一现行直方图资料。像素差值判别模组用以将现行像素资料减去参考像素资料产生一像素差值并正规化,再判断像素差值是否大于等于一第一门限值,若是,则设定对现行原始影像进行框内编码。直方图差值判别模组用以将现行直方图资料减去参考直方图资料产生一直方图差值并正规化,再判断直方图差值是否大于等于一第二门限值,若是,则设定对现行原始影像进行框内编码。运动估计判别模组计算现行原始影像的多数个巨集块预定进行框内编码的数量为一巨集块数量,并在计算巨集块数量的同时,即时地判断巨集块数量是否大于一第三门限值,当巨集块数量大于第三门限值时,则设定对现行原始影像进行框内编码,相反地,则设定对现行原始影像进行框间编码。框内编码单元用以压缩该设定为进行框内编码的现行原始影像为一I讯框。框间编码单元用以计算该设定为进行框间编码的现行原始影像为一P讯框。输出单元用以将压缩为I讯框及P讯框的原始影像顺序地输出为一视讯的位元流。 A video encoding system of the present invention is used to compress a plurality of continuous original images, which includes: an input unit, a judging unit, an intra-frame encoding unit, an inter-frame encoding unit, and an output unit. The input unit sequentially receives one of the original images as a reference original image, and the next consecutive original image as a current original image. The judgment unit is used to determine whether the current original image should be compressed by intra-frame coding or inter-frame coding, and includes: an extraction module, a pixel difference judgment module, a histogram difference judgment module and a motion estimation judgment module . The extracting module is used to extract a plurality of pixels of a plurality of scanning lines of the reference original image to generate a reference pixel data and a reference histogram data; in addition, extract a plurality of pixels of a plurality of scanning lines of the current original image to generate a current Pixel data and a current histogram data. The pixel difference judgment module is used to subtract the current pixel data from the reference pixel data to generate a pixel difference and normalize it, and then judge whether the pixel difference is greater than or equal to a first threshold value, and if so, set the current original image In-frame encoding. The histogram difference discrimination module is used to subtract the reference histogram data from the current histogram data to generate a histogram difference value and normalize it, and then judge whether the histogram difference value is greater than or equal to a second threshold value, and if so, set It is specified to perform in-frame encoding on the current original image. The motion estimation and discrimination module calculates the number of macroblocks scheduled to be encoded in the frame of the current original image as a macroblock number, and while calculating the macroblock number, it immediately judges whether the macroblock number is greater than a first Three thresholds, when the number of macroblocks is greater than the third threshold, it is set to perform intra-frame coding on the current original image, otherwise, it is set to perform inter-frame coding on the current original image. The intra-frame coding unit is used for compressing the current original image set for intra-frame coding into an I frame. The inter-frame coding unit is used to calculate the current original image set for inter-frame coding as a P frame. The output unit is used for sequentially outputting the original images compressed into I frame and P frame into a video bit stream. the
本发明的一种具有视讯编码功能的摄影装置,包含:一摄像单元、一输入单元、一判断单元、一框内编码单元、一框间编码单元、一输出单元及一储存单元。摄像单元用以记录多数个连续的原始影像。输入单元依序接收其中一原始影像为一参考原始影像,及连续的下一原始影像为一现行原始影像。判断单元用以决定现行原始影像应以框内编码或框间编码压缩,该判断单元包括:一提取模组、一像素差值判别模组、一直方图差值判别模组及一运动估计判别模组。提取模组用以提取参考原始影像的多数条扫描线的多数个像素,产生一参考像素资料与一参考直方图资料,另外,提取现行原始影像的多数条扫描线的多数个像素,产生一现行像素资料及一现行直方图资料。像素差值判别模组用以将现行像素资料减去参考像素资料产 生一像素差值并正规化,再判断像素差值是否大于等于一第一门限值,若是,则设定对现行原始影像进行框内编码。直方图差值判别模组用以将现行直方图资料减去参考直方图资料产生一直方图差值并正规化,再判断直方图差值是否大于等于一第二门限值,若是,则设定对现行原始影像进行框内编码。运动估计判别模组计算现行原始影像的多数个巨集块预定进行框内编码的数量为一巨集块数量,并于计算巨集块数量的同时,即时地判断巨集块数量是否大于一第三门限值,当巨集块数量大于第三门限值时,则设定对现行原始影像进行框内编码,相反地,则设定对现行原始影像进行框间编码。框内编码单元用以压缩该设定为进行框内编码的现行原始影像为一I讯框。框间编码单元用以计算该设定为进行框间编码的现行原始影像为一P讯框。输出单元用以将压缩为I讯框及P讯框的原始影像顺序地输出为一视讯的位元流。储存单元用以储存该视讯的位元流。 A camera device with video encoding function of the present invention includes: a camera unit, an input unit, a judgment unit, an intra-frame encoding unit, an inter-frame encoding unit, an output unit and a storage unit. The camera unit is used for recording a plurality of continuous original images. The input unit sequentially receives one of the original images as a reference original image, and the next consecutive original image as a current original image. The judging unit is used to determine whether the current original image should be compressed by intra-frame coding or inter-frame coding. The judging unit includes: an extraction module, a pixel difference judgment module, a histogram difference judgment module and a motion estimation judgment module mod. The extracting module is used to extract a plurality of pixels of a plurality of scanning lines of the reference original image to generate a reference pixel data and a reference histogram data; in addition, extract a plurality of pixels of a plurality of scanning lines of the current original image to generate a current Pixel data and a current histogram data. The pixel difference discrimination module is used to subtract the current pixel data from the reference pixel data to generate a pixel difference and normalize it, and then judge whether the pixel difference is greater than or equal to a first threshold value, and if so, set the current original The image is frame coded. The histogram difference discrimination module is used to subtract the reference histogram data from the current histogram data to generate a histogram difference value and normalize it, and then judge whether the histogram difference value is greater than or equal to a second threshold value, and if so, set It is specified to perform in-frame encoding on the current original image. The motion estimation and discrimination module calculates the number of macroblocks scheduled to be encoded in the frame of the current original image as a macroblock number, and while calculating the macroblock number, it immediately judges whether the macroblock number is greater than a first Three thresholds, when the number of macroblocks is greater than the third threshold, it is set to perform intra-frame coding on the current original image, otherwise, it is set to perform inter-frame coding on the current original image. The intra-frame coding unit is used for compressing the current original image set for intra-frame coding into an I frame. The inter-frame coding unit is used to calculate the current original image set for inter-frame coding as a P frame. The output unit is used for sequentially outputting the original images compressed into I frame and P frame into a video bit stream. The storage unit is used for storing the bit stream of the video. the
借由上述技术方案,本发明视讯编码方法及编码系统与具有视讯编码功能的摄影装置至少具有下列优点及有益效果:本发明提早决定每一现行原始影像应压缩为I讯框或P讯框,可以有效的减少系统的运算负荷,特别是当参考原始影像及现行原始影像间包括场景转换时,其效果更为显著。 By means of the above-mentioned technical solution, the video coding method and coding system of the present invention and the camera device with video coding function have at least the following advantages and beneficial effects: the present invention determines in advance that each current original image should be compressed into an I frame or a P frame, It can effectively reduce the computing load of the system, especially when the scene transition is included between the reference original image and the current original image, the effect is more remarkable. the
综上所述,本发明是有关于一种视讯编码方法及其编码系统与具有视讯编码功能的摄影装置。该视讯编码方法,包含步骤:产生一参考像素资料与一参考直方图资料。然后,产生一现行像素资料及一现行直方图资料。接着,计算出一正规化的像素差值,再判断像素差值是否大于等于一第一门限值,若是,则进行框内编码。然后,计算出一正规化的直方图差值,再判断直方图差值是否大于等于一第二门限值,若是,则进行框内编码。接着,计算一巨集块数量是否大于一第三门限值。然后,当巨集块数量大于该第三门限值时,则进行框内编码,相反地,则进行框间编码。本发明确能提供一种适于实用的视讯编码方法,在执行运动估计前,利用本发明的视讯编码方法提早判断每一现行原始影像应压缩为I讯框或P讯框,确能有效减少嵌式系统的运算负荷,特别是当参考原始影像及现行原始影像间包括大量的场景转换时效果更为明显。本发明具有上述诸多优点及实用价值,其不论在方法、产品结构或功能上皆有较大改进,在技术上有显著的进步,并产生了好用及实用的效果,从而更加适于实用,诚为一新颖、进步、实用的新设计。 To sum up, the present invention relates to a video encoding method, its encoding system, and a photographing device with video encoding function. The video coding method includes the steps of: generating a reference pixel data and a reference histogram data. Then, generate a current pixel data and a current histogram data. Next, a normalized pixel difference is calculated, and then it is judged whether the pixel difference is greater than or equal to a first threshold value, and if so, intra-frame encoding is performed. Then, calculate a normalized histogram difference, and then judge whether the histogram difference is greater than or equal to a second threshold value, and if so, perform intra-frame coding. Next, it is calculated whether the number of a macro block is greater than a third threshold. Then, when the number of macroblocks is greater than the third threshold, intra-frame coding is performed, and on the contrary, inter-frame coding is performed. The present invention can clearly provide a suitable and practical video coding method. Before performing motion estimation, the video coding method of the present invention can be used to judge in advance that each current original image should be compressed into an I frame or a P frame, which can effectively reduce the The computational load of the embedded system is especially significant when the reference original image and the current original image involve a large number of scene transitions. The present invention has the above-mentioned many advantages and practical value, it has great improvement no matter in method, product structure or function, has significant progress in technology, and has produced easy-to-use and practical effect, thus is more suitable for practical use, Honesty is a novel, progressive and practical new design. the
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。 The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the following preferred embodiments are specifically cited below, and are described in detail as follows in conjunction with the accompanying drawings. the
附图说明Description of drawings
图1是说明本发明的具有视讯编码功能的摄影装置较佳实施例的系统方块图。 FIG. 1 is a system block diagram illustrating a preferred embodiment of a photographing device with a video encoding function of the present invention. the
图2是说明较佳实施例的多数条扫描线的画面示意图。 FIG. 2 is a schematic diagram illustrating a plurality of scan lines in a preferred embodiment. the
图3是说明较佳实施例的运作流程的流程图。 Fig. 3 is a flowchart illustrating the operation flow of the preferred embodiment. the
图4是说明本发明的视讯编码方法较佳实施例的流程图。 FIG. 4 is a flowchart illustrating a preferred embodiment of the video encoding method of the present invention. the
具体实施方式Detailed ways
为了更进一步阐述本发明为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本发明提出的视讯编码方法及编码系统与具有视讯编码功能的摄影装置其具体实施方式、方法、步骤、结构特征及其功效,详细说明如后。 In order to further explain the technical means and effects of the present invention to achieve the intended purpose of the invention, below in conjunction with the accompanying drawings and preferred embodiments, the video coding method and coding system proposed according to the present invention and the photographing device with video coding function are described below. Specific embodiments, methods, steps, structural features and effects thereof are described in detail below. the
有关本发明的前述及其他技术内容、特点及功效,在以下配合参考图式的较佳实施例的详细说明中将可清楚呈现。通过具体实施方式的说明,当可对本发明为达成预定目的所采取的技术手段及功效得一更加深入且具体的了解,然而所附图式仅是提供参考与说明之用,并非用来对本发明加以限制。 The aforementioned and other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of preferred embodiments with reference to the drawings. Through the description of the specific implementation mode, when the technical means and functions adopted by the present invention to achieve the predetermined purpose can be obtained a deeper and more specific understanding, but the accompanying drawings are only for reference and description, and are not used to explain the present invention be restricted. the
请参阅图1所示,是说明本发明的具有视讯编码功能的摄影装置较佳实施例的系统方块图。本发明较佳实施例的视讯编码系统1,是以一集成电路(Integrated Circuit,IC)晶片实施,适用于装置在一需要具备视讯编码功能的摄影装置上,但是并不限于此,也可以应用于任何需视讯编码功能的电子装置上。其中,摄影装置包含一摄像单元2及一储存单元3,摄像单元2在本较佳实施例中包括一镜头模组(图未示),用以在拍摄后取得多数个连续的原始影像(Raw Image),而储存单元3用以储存一经过编码系统1处理后的视讯的位元流(Bit Stream)。若摄影装置为一具有记录性质的摄影机,则储存单元3可长时间记录视讯的位元流。若摄影装置为一具有传输性质,如应用于视讯会议的视讯伺服装置,则储存单元3可暂时记录视讯的位元流,再通过一网际网路将位元流传送至至少一接收用的视讯终端装置。 Please refer to FIG. 1 , which is a system block diagram illustrating a preferred embodiment of the camera device with video encoding function of the present invention. The video coding system 1 of the preferred embodiment of the present invention is implemented with an integrated circuit (Integrated Circuit, IC) chip, and is suitable for installation on a camera device that needs to have a video coding function, but it is not limited to this, and can also be used On any electronic device that requires video encoding capabilities. Wherein, the photography device includes a
本发明较佳实施例的视讯编码系统1,包含一输入单元11、一判断单元12、一框内编码单元13、一框间编码单元14,以及一输出单元15,并都以电子电路设计制作。 The video coding system 1 of the preferred embodiment of the present invention includes an
上述的输入单元11,接收原始影像,并将其中一原始影像设为一参考原始影像,在该参考原始影像后的另一原始影像设为一现行原始影像。 The above-mentioned
上述的判断单元12,判断每一现行原始影像应该以框内编码压缩成I讯框,或是以框间编码压缩成P讯框。判断单元12包括一提取模组121、一像 素差值判别模组122、一直方图差值判别模组123,及一运动估计判别模组124。 The above-mentioned
请参阅图1、图2以及图3所示,图2是说明本发明较佳实施例的多数条扫描线的画面示意图,图3是说明本发明较佳实施例的运作流程的流程图。该提取模组121,可提取(Fetch)参考原始影像4的多数条扫描线(ScanLine)41的多数个像素(Pixel),在本较佳实施例中且如图2所示,参考原始影像4的解析度为320像素×240像素,而被提取的扫描线为五条彼此相间隔的水平扫描线41。不提取全部扫描线41的原因是可以大幅节省运算能量并加速判断的效率。提取模组121提取像素后产生一参考像素资料与一参考直方图资料。必须说明的是,参考像素资料是指参考原始影像4的五条扫描线41中,每一像素的三原色:红、绿、蓝(Red、Green、Blue,RGB)的彩色值。而参考直方图资料是指参考原始影像4的五条扫描线41的图形颜色或亮度特征分布的统计直方图。 Please refer to FIG. 1 , FIG. 2 and FIG. 3 . FIG. 2 is a schematic diagram illustrating a plurality of scanning lines in a preferred embodiment of the present invention, and FIG. 3 is a flow chart illustrating the operation process of a preferred embodiment of the present invention. The extracting
同理,该提取模组121提取现行原始影像的多数条扫描线的多数个像素,而现行原始影像中被提取的扫描线与上述如图2所示的参考原始影像4的五条水平扫描线41是相互对应的。特别需要说明的是,参考原始影像4的参考像素资料与参考直方图资料,及现行原始影像的现行像素资料与现行直方图资料的提取方式为现有的影像压缩技术,故此不再赘述。 Similarly, the
请参阅图1所示,该像素差值判别模组122,依据现行像素资料及参考像素资料计算出一正规化的像素差值(Pixel Difference),其中像素差值正规化后的数值范围是0~1。计算像素差值为现有侦测影像画面变化相关研究中常见的判断方法,并非本发明的重点,故此不再赘述。像素差值判别模组122再判断像素差值是否大于等于一第一门限值,在本较佳实施例中,第一门限值设为0.5。若是,则代表现行原始影像及参考原始影像间的差异性较大,因此判断单元12设定对现行原始影像进行框内编码。若像素差值小于0.5,则像素差值判别模组122将现行原始影像交由直方图差值判别模组123继续处理。 Please refer to FIG. 1, the pixel
该直方图差值判别模组123,处理上述像素差值小于0.5的现行原始影像。直方图差值判别模组123依据现行直方图资料及参考直方图资料计算出一正规化的直方图差值(Histogram Difference),其中直方图差值正规化后的数值范围都是0~1。和像素差值相同,计算直方图差值为现有侦测影像画面变化相关研究中常见的判断方法,也非本发明的重点,故此不再赘述。直方图差值判别模组123再判断直方图差值是否大于等于一第二门限值,在本较佳实施例中,第二门限值设为0.8。若是,则代表现行原始影像及参考原始影像间的差异性较大,因此判断单元12设定对现行原始影像进行框内编码。若直方图差值小于0.8,则直方图差值判别模组123将现行原始影像交由运动估计判别模组124继续处理。 The histogram
该运动估计判别模组124,接收上述直方图差值小于0.8的现行原始影像,并计算现行原始影像的多数个巨集块(Macro Block)预定进行框内编码的数量为一巨集块数量,并在计算巨集块数量的同时,即时地判断巨集块数量是否大于等于一第三门限值。举例来说,现行原始影像的巨集块的数量为300,而第三门限值设为200,当运动估计判别模组124计算到现行原始影像的巨集块中第200个预定进行框内编码的巨集块时,则判断单元12设定对现行原始影像预设进行框内编码,相反地,则判断单元12设定对现行原始影像进行框间编码。 The motion
必须注意的是,为了达到最佳的运算效能,第三门限值并不限定预设为常数,而可以依据上述直方图差值弹性调整。在本较佳实施例中,第三门限值=巨集块的总数-(一基本巨集块的数量+基本巨集块的数量×该正规化的直方图差值)。例如,巨集块的总数为300个,基本巨集块的数量为100个,而现行原始影像和参考原始影像的正规化的直方图差值为0.6,则第三门限值=300-(100+100×0.6)=140个。其原理在于,若现行原始影像和参考原始影像的直方图差值越高,则代表现行原始影像与参考原始影像的差异性越大,并应该进行框内编码。上述第三门限值的计算方式可以提升运动估计判别模组124判断现行原始影像进行框内编码的效率,大幅增加运算的效能。 It should be noted that, in order to achieve the best computing performance, the third threshold is not limited to be preset as a constant, but can be flexibly adjusted according to the above-mentioned histogram difference. In this preferred embodiment, the third threshold value=the total number of macroblocks-(the number of basic macroblocks+the number of basic macroblocks×the normalized histogram difference). For example, the total number of macroblocks is 300, the number of basic macroblocks is 100, and the normalized histogram difference between the current original image and the reference original image is 0.6, then the third threshold=300-( 100+100×0.6)=140 pieces. The principle is that if the histogram difference between the current original image and the reference original image is higher, it means that the difference between the current original image and the reference original image is greater, and frame encoding should be performed. The above-mentioned calculation method of the third threshold can improve the efficiency of the motion estimation and
上述的框内编码单元13,对判断单元12处理后,且设定为框内编码的现行原始影像施以框内编码的处理。被框内编码的现行原始影像称为I讯框,是一独立压缩的影像讯框。 The above-mentioned
上述的框间编码单元14,对判断单元12处理后,且设定为框间编码的现行原始影像施以框间编码的处理。被框间编码的现行原始影像称为P讯框,是一利用参考原始影像模拟出的影像讯框,和现行原始影像相比,P讯框所占用的位元数极少。 The above-mentioned
上述的输出单元15,将已进行框内编码及框间编码的现行原始影像,也就是一连串的I讯框及P讯框顺序地输出为视讯的位元流,以供储存单元3记录。 The above-mentioned
请参阅图1、图3所示,本发明较佳实施例的视讯编码方法,适用于安装上述编码系统1的摄影装置上,并包含下列的步骤: Please refer to Fig. 1, shown in Fig. 3, the video coding method of the preferred embodiment of the present invention is applicable to the photography device that above-mentioned coding system 1 is installed, and comprises the following steps:
如步骤51所示,摄像单元2通过镜头模组记录包括连续的原始影像的原始视讯。 As shown in
然后,如步骤52所示,输入单元11依序接收其中一原始影像为参考原始影像,及连续的下一原始影像为现行原始影像。 Then, as shown in
接着,如步骤53所示,判断单元12判断现行原始影像应以框内编码压缩为I讯框,或以框间编码压缩为P讯框,其包括下列子步骤: Next, as shown in
请参阅图1、图4所示,图4是说明本发明的视讯编码方法较佳实施例的流程图。如子步骤531所示,提取模组121提取参考原始影像的扫描线的像素,产生参考像素资料与参考直方图资料。 Please refer to FIG. 1 and FIG. 4 . FIG. 4 is a flowchart illustrating a preferred embodiment of the video encoding method of the present invention. As shown in
然后,如子步骤532所示,提取模组121提取现行原始影像的扫描线的像素,产生现行像素资料及现行直方图资料。 Then, as shown in
接着,如子步骤533所示,依据现行像素资料及参考像素资料计算出正规化的像素差值,再判断像素差值是否大于等于第一门限值(本较佳实施例中设为0.5)。若是,则如子步骤534所示,判断单元12设定对现行原始影像进行框内编码。 Next, as shown in
若像素差值小于第一门限值,则如子步骤535所示,直方图差值判别模组123依据现行直方图资料及参考直方图资料计算出正规化的直方图差值,再判断直方图差值是否大于等于第二门限值(在本较佳实施例中设为0.8)。若是,则如子步骤534所示,判断单元12设定对现行原始影像进行框内编码。 If the pixel difference is less than the first threshold value, as shown in
若直方图差值小于第二门限值,则如子步骤536所示,运动估计判别模组124计算现行原始影像的所有巨集块中预定进行框内编码的数量为巨集块数量,并在计算巨集块数量的同时,即时地判断巨集块数量是否大于第三门限值。若巨集块数量大于第三门限值,则如子步骤534所示,编码单元设定对该现行原始影像进行框内编码。相反地,若现行原始影像的所有巨集块都计算完毕,而巨集块数量小于等于第三门限值,则如子步骤537所示,对判断单元12设定对现行原始影像进行框间编码。如前所述,第三门限值并不限于设定为常数,也可以依据正规化的直方图差值弹性地调整。 If the histogram difference is less than the second threshold value, then as shown in
请参阅图1、图3所示,若判断单元12设定对现行原始影像进行框内编码,则如步骤54所示,框内编码单元13对现行原始影像进行框内编码,以压缩为I讯框。若判断单元12设定对现行原始影像进行框间编码,则如步骤55所示,框间编码单元14对现行原始影像进行框间编码,以压缩为P讯框。 Please refer to Fig. 1, shown in Fig. 3, if judging
接着,如步骤56所示,输出单元15将I讯框及P讯框顺序地输出为视讯的位元流,以取代原本的连续原始影像。 Next, as shown in
然后,如步骤57所示,储存单元3储存视讯的位元流。若摄影装置为摄影机,则储存单元3可长时间记录视讯的位元流。若摄影装置为应用于视讯会议的视讯伺服装置,则储存单元3可暂时记录视讯的位元流,再通过网际网路将位元流传送至接收用的视讯终端装置。 Then, as shown in
利用本发明及现有技术对下列四段测试影片进行了影片编码实验,其中前三段测试影片为包括较少场景转换(Shot Change)的影片,而档名为 High_Motion_and_Shot_Change.yuv的测试影片中则是包括大量的场景转换。在实验后,可在编码时间上取得如下面的表1所示的结果。 Utilize the present invention and prior art to carry out film coding experiment to following four sections of test films, wherein first three sections of test films are the films that comprise less scene conversion (Shot Change), and in the test film of file name High_Motion_and_Shot_Change.yuv Yes includes a lot of scene transitions. After experimentation, the results shown in Table 1 below can be obtained in terms of encoding time. the
表1 Table 1
由本发明和先前现有技术的编码时间的比较可以发现,本发明在一般的测试影片中和现有技术相比具有同等功效,而在包括大量场景转换的影片中,则本发明比现有技术更能大幅地减少编码时间,非常适于实用。 By the comparison of the coding time of the present invention and the previous prior art, it can be found that the present invention has the same efficacy compared with the prior art in general test films, and in the films comprising a large number of scene transitions, the present invention is more efficient than the prior art. It can greatly reduce the coding time and is very suitable for practical use. the
综观上述,本发明的特征,确能提供一种实用的视讯编码方法。在执行运动估计前,利用本发明的视讯编码方法提早判断每一现行原始影像应压缩为I讯框或P讯框,确实能够有效的减少嵌式系统的运算负荷。特别是,当参考原始影像及现行原始影像间包括大量的场景转换时,其效果更为显著。 In view of the above, the features of the present invention can indeed provide a practical video encoding method. Before performing motion estimation, using the video coding method of the present invention to determine in advance that each current original image should be compressed into an I frame or a P frame can indeed effectively reduce the computing load of the embedded system. In particular, the effect is more pronounced when a large number of scene transitions are involved between the reference original image and the current original image. the
以上所述,仅是本发明的较佳实施例而已,并非对本发明作任何形式上的限制,虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的技术内容作出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本发明技术方案的范围内。 The above description is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Anyone familiar with this field Those skilled in the art, without departing from the scope of the technical solution of the present invention, may use the technical content disclosed above to make some changes or modify them into equivalent embodiments with equivalent changes, but as long as they do not depart from the technical solution of the present invention, the Technical Essence Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solution of the present invention. the
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810097034 CN101577823B (en) | 2008-05-08 | 2008-05-08 | Video encoding method and encoding system, and camera device with video encoding function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200810097034 CN101577823B (en) | 2008-05-08 | 2008-05-08 | Video encoding method and encoding system, and camera device with video encoding function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101577823A CN101577823A (en) | 2009-11-11 |
CN101577823B true CN101577823B (en) | 2011-05-25 |
Family
ID=41272583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200810097034 Expired - Fee Related CN101577823B (en) | 2008-05-08 | 2008-05-08 | Video encoding method and encoding system, and camera device with video encoding function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101577823B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5832121A (en) * | 1994-09-27 | 1998-11-03 | Sony Corporation | Method and apparatus for video data compression |
CN1610407A (en) * | 2003-10-23 | 2005-04-27 | 致伸科技股份有限公司 | A Video Compression Method Adaptable to Scene Changes |
US7110454B1 (en) * | 1999-12-21 | 2006-09-19 | Siemens Corporate Research, Inc. | Integrated method for scene change detection |
CN1949875A (en) * | 2006-11-02 | 2007-04-18 | 中山大学 | Image compression encoding method for streaming media |
CN101072342A (en) * | 2006-07-01 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Situation switching detection method and its detection system |
-
2008
- 2008-05-08 CN CN 200810097034 patent/CN101577823B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5832121A (en) * | 1994-09-27 | 1998-11-03 | Sony Corporation | Method and apparatus for video data compression |
US7110454B1 (en) * | 1999-12-21 | 2006-09-19 | Siemens Corporate Research, Inc. | Integrated method for scene change detection |
CN1610407A (en) * | 2003-10-23 | 2005-04-27 | 致伸科技股份有限公司 | A Video Compression Method Adaptable to Scene Changes |
CN101072342A (en) * | 2006-07-01 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Situation switching detection method and its detection system |
CN1949875A (en) * | 2006-11-02 | 2007-04-18 | 中山大学 | Image compression encoding method for streaming media |
Also Published As
Publication number | Publication date |
---|---|
CN101577823A (en) | 2009-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107147911B (en) | Method and device for fast inter-frame coding mode selection based on local luminance compensation LIC | |
CN108495135B (en) | Quick coding method for screen content video coding | |
US20220058775A1 (en) | Video denoising method and apparatus, and storage medium | |
KR100739790B1 (en) | Method and apparatus for determining intra prediction mode | |
CN105472205B (en) | Real-time video noise reduction method and device in encoding process | |
CN102986211B (en) | Speed control in Video coding | |
CN109391846B (en) | Video scrambling method and device for self-adaptive mode selection | |
CN101115208A (en) | image coding device | |
CN112188196A (en) | Method for rapid intra-frame prediction of general video coding based on texture | |
CN101984665A (en) | Method and system for evaluating video transmission quality | |
US20120027091A1 (en) | Method and System for Encoding Video Frames Using a Plurality of Processors | |
CN111182310A (en) | Video processing method and device, computer readable medium and electronic equipment | |
CN100426868C (en) | Frame image brightness predictive coding method | |
WO2020227911A1 (en) | Method for accelerating coding/decoding of hevc video sequence | |
WO2022116119A1 (en) | Inter-frame predication method, encoder, decoder and storage medium | |
CN111212288B (en) | Video data encoding and decoding method and device, computer equipment and storage medium | |
JP2010258576A (en) | Scene change detector, and video recorder | |
TWI421798B (en) | Method and apparatus for image compression bit rate control | |
CN101577823B (en) | Video encoding method and encoding system, and camera device with video encoding function | |
CN102098505A (en) | Monitoring video compression method and equipment | |
JP2001076166A (en) | Encoding method of animation dynamic image | |
TWI355855B (en) | Method for video encoding and the application ther | |
CN115589486A (en) | Video coding method and device, computer readable storage medium and terminal equipment | |
CN102238382B (en) | Bit rate control method and device for image compression | |
CN102196257B (en) | Method and device for pre-judging macro block coding mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110525 |
|
CF01 | Termination of patent right due to non-payment of annual fee |