CN101065971A - 媒体重放设备中使用的胶片颗粒仿真技术 - Google Patents

媒体重放设备中使用的胶片颗粒仿真技术 Download PDF

Info

Publication number
CN101065971A
CN101065971A CNA2005800404004A CN200580040400A CN101065971A CN 101065971 A CN101065971 A CN 101065971A CN A2005800404004 A CNA2005800404004 A CN A2005800404004A CN 200580040400 A CN200580040400 A CN 200580040400A CN 101065971 A CN101065971 A CN 101065971A
Authority
CN
China
Prior art keywords
film grain
image block
film
blocks
emulation
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
Application number
CNA2005800404004A
Other languages
English (en)
Other versions
CN101065971B (zh
Inventor
克里斯蒂娜·戈米拉
吉恩·拉什
杰弗里·艾伦·库珀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
InterDigital VC Holdings Inc
Original Assignee
Thomson Licensing SAS
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 Thomson Licensing SAS filed Critical Thomson Licensing SAS
Publication of CN101065971A publication Critical patent/CN101065971A/zh
Application granted granted Critical
Publication of CN101065971B publication Critical patent/CN101065971B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/87Producing a motion picture film from a television signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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 an image region, e.g. an object
    • H04N19/176Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/186Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20204Removing film grain; Adding simulated film grain
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

通过首先至少部分地根据图像块的属性来建立至少一个参数,来仿真胶片颗粒块以便添加到图像块。基于根据所述至少一个参数而产生的至少一个胶片颗粒图案,仿真至少一个胶片颗粒块。具体地,使用比特精确的技术来产生ce胶片颗粒图案。

Description

媒体重放设备中使用的胶片颗粒仿真技术
相关申请的交叉引用
根据35U.S.C.119(e),本申请要求2004年11月24日递交的美国临时专利申请序列号60/630,756的优先权,将其教益在此引入。
技术领域
本发明涉及一种用于在图像中仿真胶片颗粒的技术,更具体地,涉及一种用于在媒体设备重放的图像中仿真胶片颗粒的技术。
背景技术
电影胶片包括分散在感光乳剂中的卤化银晶体,所述感光乳剂涂抹在胶片基底上的薄层中。这些晶体的曝光和显影形成了包括银的分散微粒的照相图像。在彩色负片中,在显影后对银进行化学去除,在形成银晶体的位置处出现微小的染料滴。这些染料小滴通常被称作彩色胶片中的‘颗粒’。由于银晶体随机地形成于原始感光乳剂中,所以颗粒随机地分布在所产生的图像上。在均匀曝光的区域中,一些晶体在曝光后显影,而其它晶体并非如此。
颗粒的大小和形状有所不同。胶片形成越快,所形成的银块和所产生的染料滴就越大,并且更趋于以随机图案组合在一起。典型地,颗粒图案被称作‘颗粒度’。裸眼不能区分变化范围在0.0002mm至大约0.002mm的单个颗粒。然而,眼睛能够分辨被称作滴的颗粒组。观看者把这些滴的组识别为胶片颗粒。随着图像分辨率变得更大,对胶片颗粒的感知变得更高。胶片颗粒在电影图像和高清晰度图像上变得明显可察觉,而胶片颗粒在SDTV中逐渐丧失了重要性,并在较小格式中变得不可察觉。
典型地,电影胶片包含依赖于图像的噪声,这个噪声来自照相胶片的曝光和显影的物理工艺、或来自后续的图像编辑。照相胶片具有特有的准随机图案或纹理,这个图案或纹理来自照相感光乳剂的物理颗粒度。可选择地,可以根据计算产生的图像仿真类似的图案,以便把这些图案与照相胶片相混合。在这两种情况下,这个依赖于图像的噪声被称作颗粒。通常,适度的颗粒纹理在电影中呈现出期望的特征。在某些实例中,胶片颗粒提供了利于二维图像的正确感知的可视提示。胶片颗粒通常在单一胶片中变化,以提供关于时间参考、视点等的多种线索。在电影业中,存在用于控制颗粒纹理的多种其它的技术和艺术用途。因此,在图像处理和传送链中保持图像的颗粒外观已经成为电影业中的需求。
若干商业上可用的产品具有对胶片颗粒进行仿真的能力,通常用于把计算机产生的对象混合到自然场景中。来自Eastman Kodak Co,Rochester New York的Cineon是一种最早的数字胶片应用程序,用于实现颗粒仿真,它产生了多种颗粒类型的非常真实的结果。然而,由于Cineon应用程序针对高颗粒尺寸设置产生了可察觉的对角线条纹,所以Cineon应用程序没有为多种高速胶片产生良好的性能。此外,当对图像进行前期处理时,例如图像被复制或进行数字处理时,Cineon应用程序不能以足够的保真度来仿真颗粒。
另一个商业上可用的、对胶片颗粒进行仿真的产品是来自VisualInfinity Inc的Grain SurgeryTM,它用作AdobeAfter Effects的插件。Grain SurgeryTM产品通过对随机数的集合进行滤波而产生合成的颗粒。这个方法受到高计算复杂度这个缺点的影响。
这些已有的方案中没有一个方案能够解决对压缩视频中的胶片颗粒进行恢复的问题。胶片颗粒构成了高频准随机现象,典型地不能进行使用常规空间和时间方法的压缩,其中所述方法利用了视频序列冗余的优点。试图使用MPEG-2或ITU-T/ISO H.264压缩技术来处理源自胶片的图像,通常这会导致不可接受的低压缩度或颗粒纹理的完全丢失。
因此,存在对用于在媒体播放器重放的图像中仿真胶片颗粒的技术的需求。
发明内容
简要地,根据本发明,提供了一种用于仿真胶片颗粒块以便添加到图像块的方法,用于确保正常和特效(trick)播放模式下在图像重放期间的比特精确性。所述方法从至少部分地根据块属性而建立至少一个参数开始。之后,根据所述至少一个参数,以比特精度来建立至少一个胶片颗粒块。
附图说明
图1示出了胶片颗粒处理链中发射机和接收机的组合的示意框图,用于实践本发明的技术;
图2示出了根据本发明的胶片颗粒仿真系统的示意框图;
图3示出了用于产生模2本原多项式的移位寄存器的框图,用于根据图2的方法对胶片颗粒进行仿真;以及
图4是一个像素格栅,它示出了在根据图2的方法产生胶片颗粒时随机数的使用。
具体实施方式
为了理解用于对包括单独胶片颗粒块的比特精确的胶片颗粒图案进行仿真的本发明的技术,对胶片颗粒仿真的简要概述将是有益的。图1示出了发射机10的示意框图,它接收输入视频信号并相应地在其输出产生压缩后的视频流。另外,发射机10还产生指示样本中出现胶片颗粒(如果存在的话)的信息。实际中,发射机10可以包括有线电视系统的首端阵列的一部分、或把压缩后的视频分配给一个或多个下游接收机11的其它系统,图1中仅示出一个接收机11。发射机10还可以采取例如DVD 12的呈现媒体的编码器的形式。接收机11对已编码的视频流进行解码,并根据胶片颗粒信息和已解码的视频(两者均从发射机10接收,或如果是DVD等则直接从媒体自身接收)来仿真胶片颗粒,从而产生具有已仿真胶片颗粒的输出视频流。接收机11可以采取机顶盒的形式、或采取对已压缩的视频进行解码并在该视频中仿真胶片颗粒的其它机制的形式。具体地,接收机11可以采取具有如下能力的DVD再现设备的形式:对用于重放的图像进行解码、把胶片颗粒混入该图像、以及以正常和特效播放速度来重放该图像。
胶片颗粒的整体管理要求发射机10(即编码器)提供关于输入视频中的胶片颗粒的信息。换句话说,发射机10对胶片颗粒“建模”。此外,接收机11(即解码器)根据从发射机10接收到的胶片颗粒信息来仿真胶片颗粒。通过使接收机11能够在视频编码过程期间在难以保持胶片颗粒时在视频信号中仿真胶片颗粒,发射机10提高了压缩后视频的品质。
在图1所示的实施例中,发射机10包括视频编码器13,视频编码器13使用任意已知的视频压缩技术对视频流进行编码,例如ITU-TRec.H.264|ISO/IEC 14496-10视频压缩标准。可选地,采用图1中虚线所示滤波器等的形式的胶片颗粒去除器14可以存在于编码器13的上游,以便在编码之前去除输入视频流中的任意胶片颗粒。当输入视频不包含胶片颗粒时,不需要胶片颗粒去除器14。
胶片颗粒建模器16接受输入视频流和胶片颗粒去除器14的输出信号(当存在时)。使用这个输入信息,胶片颗粒建模器16在输入视频信号中建立胶片颗粒。以最简单的形式,胶片颗粒建模器16可以包括查找表,所述查找表包含不同胶片原料的胶片颗粒模型。输入视频信号中的信息可以规定在转换为视频信号前最初用于记录图像的具体胶片原料,从而允许胶片颗粒建模器16针对这个胶片原料选择适合的胶片颗粒模型。可选择地,如下文所述,胶片颗粒建模器16可以包括处理器或专用逻辑电路,它们执行一个或多个算法以对输入视频进行采样并确定所呈现的胶片颗粒图案。
典型地,接收机11包括视频解码器18,用于对从发射机10接收到的压缩后的视频流进行解码。解码器18的结构将取决于发射机10内的编码器13所执行的压缩类型。因此,例如在发射机10内使用采用ITU-TRec.H.264|ISO/IEC 14496-10视频压缩标准来压缩输出视频的编码器13,这表示需要与H.264兼容的解码器18。在接收机11内,胶片颗粒仿真器20从胶片颗粒建模器16接收胶片颗粒信息。胶片颗粒仿真器20可以采取具有对胶片颗粒进行仿真的能力的已编程处理器或专用逻辑电路的形式,从而使胶片颗粒通过组合器22与已解码的视频流进行组合。
胶片颗粒仿真旨在把对原始胶片内容的外观进行仿真的胶片颗粒样本进行合成。如上所述,胶片颗粒建模发生在图1的发射机10中,而胶片颗粒仿真发生在接收机11中。具体地,在解码视频流的输出的上游,胶片颗粒仿真与来自发射机10的输入视频流的解码一同在接收机11中发生。注意,出现在接收机11中的解码过程不会使用具有附加胶片颗粒的图像。相反,胶片颗粒仿真组成了用于在已解码图像中合成仿真的胶片颗粒以进行显示的后处理方法。为此,ITU-TRec.H.264|ISO/IEC 14496-10视频压缩标准不包含关于胶片颗粒仿真过程的说明。然而,胶片颗粒仿真需要与输入视频信号中的颗粒图案有关的信息,当按照ITU-T Rec.H.264|ISO/IEC 14496-10视频压缩标准的修正1(保真度范围扩展)所规定的而使用该压缩标准时,这个信息典型地在胶片颗粒特征补充增强信息(SEI)消息中传送。
本发明的胶片颗粒仿真技术实现了比特精确的胶片颗粒仿真,且可以应用于例如HD DVD播放机的消费产品。其它潜在的应用可能包括机顶盒、电视机、甚至是例如可携式摄像机的记录设备等。这个仿真技术规范遵从ITU-T Rec.H.264|ISO/IEC 14496-10标准。在视频比特流的解码之后以及像素显示之前执行胶片颗粒仿真。胶片颗粒仿真过程要求对胶片颗粒补充信息进行解码,该信息最终在ITU-TRec.H.264|ISO/IEC 14496-10标准[1]的修正1(保真度范围扩展)所规定的胶片颗粒特性SEI消息中传送。提供影响胶片颗粒特性SEI消息的规范,以确保所述技术满足在品质和复杂度方面的高清晰度系统的要求。
胶片颗粒特性SEI消息规范
如上所述,胶片颗粒特性出现在伴随着图像的ITU-TRec.H.264|ISO/IEC 14496-10胶片颗粒特性SEI消息中。胶片颗粒特性消息中的参数值被约束如下:
model_id规定了仿真模型。在所示实施例中,该值等于0,表示胶片颗粒仿真模型是频率滤波。
separate_colour_description_present_flag规定了对胶片颗粒参数进行估计的颜色空间是否与对视频序列进行编码的颜色空间不同。在所示实施例中,该值等于0,表示用于胶片颗粒仿真的颜色空间与用于编码的颜色空间相同。
blending_mode_id规定了用于把所仿真的胶片颗粒与已解码的图像进行混合的混合模式。在所示实施例中,该值等于0,对应于加法混合模式。
log2_scale_factor规定了用于表现SEI消息中的胶片颗粒参数的对数缩放因数。在所示实施例中,该值处于范围[2,7]中,以确保能够使用16比特运算来执行胶片颗粒仿真。
intensity_interval_lower_bound[c][i]和intensity_interval_upper_bound[c][i]规定了对胶片颗粒参数进行建模的颜色分量c的强度间隔i的界限。对于所有的c和任意的强度值v,由于不允许多次生成的(multi-generational)胶片颗粒,所以存在满足intensity_interval_lower_bound[c][i]<=v以及intensity_interval_upper_bound[c][i]>=v的单一的强度间隔i。
num_model_values_minus1[c]规定了颜色分量c的每一个强度间隔中出现的模型值的个数。对于所有的c,该值处于范围[0,2]中,它规定了不支持带通滤波和相交颜色相关。
comp_model_value[c][i][0]规定了颜色分量c和强度间隔i的胶片颗粒强度。对于所有的c和i,该值处于范围[0,255]中,以确保能够使用16比特运算来执行胶片颗粒仿真。
comp_model_value[c][i][1]规定了描述颜色分量c和强度间隔i的胶片颗粒形状的特征的水平高截频。对于所有的c和i,该值处于范围[2,14]中,它包括所有需要的颗粒图案。
comp_model_value[c][i][2]规定了描述颜色分量c和强度间隔i的胶片颗粒形状的特征的垂直高截频。对于所有的c和i,该值处于范围[2,14]中,它包括所有需要的颗粒图案。
film_grain_characteristics repetition_period指示另一个胶片颗粒特性SEI消息是否应当出现在比特流中,并且规定了另一个胶片颗粒特性SEI消息将会出现时的图像顺序数目间隔。在所示实施例中,该值等于0,以规定胶片颗粒特性SEI消息仅应用于当前的已解码图像。
根据本发明,胶片颗粒特性SEI消息必须出现在要求插入胶片颗粒的所有图像之前。这个方法确保了例如DVD播放机等的媒体再现设备的特效播放模式和常规播放模式下的比特精确性,并允许按照解码顺序和显示顺序插入比特精确的胶片颗粒,前提是使用比特精确的技术来执行胶片颗粒仿真。
把所有颜色分量c和强度间隔组合到SEI消息中,不同对(comp_model_value[c][i][1],comp_model_value[c][i][2])的个数不能超过10。根据本发明,ITU-T Rec.H.264|ISO/IEC 14496-10标准所规定的胶片颗粒特性SEI消息中所有其它参数都没有约束。
比特精确的胶片颗粒仿真
除非参数film grain_characteristics_cancel_flag为1,否则在当前图像中执行胶片颗粒仿真。当前的ITU-T Rec.H.264|ISO/IEC14496-10视频压缩标准规范允许在所有颜色分量中执行胶片颗粒仿真。如果胶片颗粒特性SEI消息中的comp_model_present_flag[c]等于1,则执行胶片颗粒仿真并把仿真的胶片颗粒添加到已解码图像的颜色分量c。根据本发明,通过首先规定胶片颗粒图案数据库而执行比特精确的胶片颗粒仿真。之后,使用均匀伪随机数发生器执行胶片颗粒图案的伪随机选择。然后对所选择的图案进行一系列精确的操作。典型地,针对每一个颜色分量独立地执行胶片颗粒仿真。
胶片颗粒仿真操作序列
图2示出了用于进行仿真并把胶片颗粒添加到已解码图像而执行的操作序列。通过把c设置为0、1或2,把仿真过程细分为针对三原色中特定一个颜色的仿真过程。在所示实施例中,胶片颗粒仿真以光栅扫描顺序而执行,其中块大小为8×8像素,但其它实施方式也是可能的。
所述操作序列从执行步骤100开始,以建立胶片颗粒参数。针对所仿真胶片颗粒建立胶片颗粒参数的过程的一部分包括:提取源自DVD12再现时的、或源自机顶盒200的输入视频信号所携带的胶片颗粒信息。利用使用ITU-T Rec.H.264|ISO/IEC 14496-10视频编码标准进行编码的输入视频信号,胶片颗粒信息将会在SEI消息中出现。提取SEI消息需要使用图2中所示的H.264|MPEG-4AVC兼容解码器101对输入的H.264编码输入视频信号进行解码。实际中,解码器101可以存在于机顶盒200或用于在DVD 12上再现信息的DVD播放机中。
SEI消息包含若干参数,包括
intensity_interval_lower_bound[c][i]和intensity_interval_upper_bound[c][i],其中i的范围是从0至参数num_intensity_intervals_minus1[c]的值。在解码器101执行解码后,把这些SEI消息参数与针对显示缓冲器102中存储的已解码图像中每一个非重叠的8×8像素块的颜色分量c而计算的平均像素强度进行比较。对于来自已解码图像的颜色分量c的每一个非重叠8×8像素块来说,以如下方式在步骤103中计算平均值:
avg=0
for(k=0;k<8;k++)
  for(l=0;l<8;l++)
    avg+=decoded_picture[c][m+k][n+1]
avg=(avg+32)>>6
其中(m,n)是块的左上方坐标,而decoded_picture[c][m+k][n+1]是颜色分量c的坐标(m+k,n+1)处的已解码像素值。
针对从0至num_intensity_intervals_minus1[c]的i值,把平均值与SEI消息参数intensity_interval_lower_bound[c][i]和intensity_interval_upper_bound[c][i]进行比较。与大于或等于intensity_interval_lower_bound[c][i]且小于或等于intensity_interval_upper_bound[c][i]的块平均值相对应的i值(由s表示)用于为步骤100中建立的当前块选择胶片颗粒参数。如果不存在满足先前条件的值,则不会对当前块执行胶片颗粒仿真。在这种情况下,不会执行在下文所述的步骤104中的胶片颗粒块的创建过程。在这个情况下,下文所述的解块步骤108接收其所有像素都等于0的8×8块作为输入。
在所示实施例中,SEI消息包含描述了二维滤波器属性的水平高截频和垂直高截频(有时被称作截止频率),所述滤波器描述了期望胶片颗粒图案的特征。按照如下方式对SEI消息中出现的色度分量(c=1,2)(以4:4:4的色度格式出现时)的截频进行缩放,以适合于4:2:0的色度格式:
comp_model_value[c][s][1]=Clip(2,14,(comp_model_value[c][s][1]<<1))
comp_model_value[c][s][2]=Clip(2,14,(comp_model_value[c][s][2]<<1))
步骤104启动胶片颗粒块的建立过程,胶片颗粒块典型地但不必然具有8×8像素的大小。建立8×8像素的胶片颗粒块的步骤包括:从胶片颗粒数据库105获取具有8×8胶片颗粒样本的块,以及把所述样本缩放至适当的强度。缩放是期望但非必须的。典型地,数据库105包括169个具有4096个胶片颗粒样本的图案,每一个图案表示64×64胶片颗粒图案。数据库105以2进制补码的形式存储从-127至127的值。典型地,使用特定的一对截频对每一个胶片颗粒图案进行合成,所述一对截频建立了定义胶片颗粒图案的二维滤波器。在SEI消息中传送的截频使得能够在胶片颗粒仿真期间访问具有胶片颗粒图案的数据库105。
创建具有8×8像素的胶片颗粒块不仅包括从数据库中检索具有8×8胶片颗粒样本的块,而且还包括把这些样本缩放至适合的强度。截频comp_model_value[c][s][1]和comp_model_value[c][s][2]确定了数据库中哪个图案用作胶片颗粒样本的来源,并且两个随机产生的值从哪个图案中选择8×8的块。这些随机值表示64×64像素图案中的水平和垂直偏移,并使用如下过程来创建:
k_offset=(MSB16(x(r,ec))%52)
k_offset&=0xFFFC
k_offset+=m&0x0008
l_offset=(LSB16(x(r,ec))%56)
l_offset&=0xFFFC8
l_offset+=n&0x0008
其中x(r,ec)指示当利用种子ec来启动图3中所示的随机数发生器114时,由该随机数发生器产生的伪随机数序列x中的第r个符号。如图3所示,随机数发生器114包括32比特移位寄存器,其最高有效16比特和最低有效16比特构成了上面出现的值MSB16和LSB16。(m,n)是已解码图像中当前的8×8块的坐标。对于k_offset,第一个等式产生了均匀分布在范围[0,51]中的伪随机值,第二个等式把该值限制为4的倍数,而最后第一等式在m%16等于8时把k_offset加上8。针对l_offset执行等效的操作。
实际中,图3中的伪随机数发生器114利用模2本原多项式算符x31+x3+1以及32比特移位寄存器来随机地从数据库105中存储的具有64×64像素的胶片颗粒图案中选择具有8×8像素的胶片颗粒块。在所示实施例中,根据下面的等式对伪随机数发生器114的种子进行初始化:
ec=Seed_LUT[(ABS(POC)+idr_pic_id<<5+offset[c])%173]
其中
ABS(.)表示绝对值
POC是当前图像的图像顺序数目,它应当从ITU-TRec.H.264|ISO/IEC 14496-10标准所规定的视频流中导出;以及
idr_pic_id应当从ITU-T Rec.H.264|ISO/IEC 14496-10视频流的片头中读出,以便对IDR图像进行识别。
为了确保适合的胶片颗粒仿真,HD DVD系统规范规定idr_pic_id针对每一个已编码的IDR而改变;然而offset[3]={0,58,115}为每一个颜色分量提供了不同的偏移;而Seed_LUT出现在附件A的子条款A.3中。在暂停期间,把伪随机数发生器114的种子初始化为图像开始处的相同值。可选择地,可以按照如下方式对种子进行初始化:
ec=Seed_LUT[(PicOrderCnt+PicOrderCnt_offset<<5+
              color_offset[c])%256]
其中color_offset[3]={0,85,170}而Seed_LUT包含256个值而不是173个。
每经过16个像素(水平地)和16行(垂直地),就对通过图3中的伪随机数发生器114所创建的伪随机值x(r,ec)进行更新。已解码图像中每一个具有16×16像素的非重叠区域使用相同的伪随机数x(r,ec)。如图4所示,所产生的伪随机值x(r,ec)的序列遵循16×16像素格栅上的光栅扫描顺序,因此实现了先前讨论的对具有8×8像素的块进行光栅扫描排序。
在所示实施例中,作为胶片颗粒块创建步骤104的一部分,在计算随机偏移后,按照如下方式对从数据库中提取出的64个胶片颗粒值进行缩放:
scale_factor=(BIT0(x(r,ec))==0)?comp_model_value[c][s][0]:
                                    -comp_model_value[c][s][0]
scale_factor>>=(c==0)?0:1
for(k=0;k<8;k++)
  for(l=0;l<8;l++){
    g=scale_factor*database[h][v][k+k_offset][l+l_offset]
       film_grain_block[k][l]=(((g+2log2_scalc_factor-1)>>log2_scale_factor)+32)>>6
}
其中h等于comp_model_value[c][s][1]-2,v等于comp_model_value[c][s][2]-2,因数6对附件A的附录A.3中提供的胶片颗粒值进行缩放,BIT0表示LSB。
在步骤108中进行解块,其中在相邻的胶片颗粒块之间施加解块滤波器(未示出),以确保胶片颗粒图案的无缝形成。在所示实施例中,解块滤波器仅施加到相邻块之间的垂直边沿。假定以光栅扫描顺序对胶片颗粒块进行仿真,而且current_fg_block中最左边的像素与previous_fg_block中最右边的像素相邻,则按照如下方式借助于3抽头滤波器执行解块滤波:
for(k=0;k<8;k++){
  l1=previous_fg_block[6][k]
  l0=previous_fg_block[7][k]
  r0=current_fg_block[0][k]
  r1=current_fg_block[1][k]
  current_fg_block[0][k]=(l0+(r0<<1)+r1+2)>>2
  previous_fg_block[7][k]=(l1+(l0<<1)+r0+2)>>2
}
在胶片颗粒仿真过程结束时,通过混合块110把已解块的胶片颗粒块与相应的已解码图像块进行混合,产生的结果在显示之前被剪辑至[0,255]:
for(k=0;k<8;k++)
  for(l=0;l<8;l++)
display_picture[c][m+k][n+1]=Clip(0,255,
                          decoded_picture[c][m+k][n+1]+
                          fg_block[k][1])
其中(m,n)是块的左上方坐标,decoded_picture[c][m+k][n+1]是颜色分量c中在坐标(m+k,n+1)处的已解码像素值,而display_picture[c][m+k][n+1]是相同坐标处的视频输出。
开关元件111在控制元件112的控制下控制已解块的胶片颗粒块至块100的通路。控制元件112响应于以下内容来控制开关元件:SEI消息参数film_grain_characteristics_cancel_flag是否等于1、或是否已经超出参数film_grain_characteristics_repetition_period所规定的帧范围,这指示了是否应当按照上文所述而执行胶片颗粒仿真。
尽管与机顶盒200分开地示出,然而包括步骤100、103、104、108的整个过程以及元件101、102、105、106、109、111和112可以容易地存在于机顶盒中。这对于用于在DVD 12上再现内容的DVD播放机(未示出)也一样。
附件A
通过存储预计算的数值列表或通过在初始化过程中计算数值,可以实现对胶片颗粒图案数据105的比特精确的表示。
数据库创建过程
可以通过提供如下内容而执行数据库105的比特精确的创建:(1)具有高斯随机数的LUT;(2)例如发生器106的均匀伪随机数发生器,整型变换;也可以通过执行下文所述的一系列操作而执行数据库105的比特精确的创建。创建具有水平截频h+2和垂直截频v+2的64×64胶片颗粒图案,产生以database[h][v]表示的数据库。这个数据库创建过程要求创建database[h][v]中所有可能的图案,其中h和v的范围是从0至12。
为了形成单独的64×64块图像,从具有高斯随机数的LUT中读取至多4096个值。附录A.3中提供的具有高斯随机数的LUT包括2048个值,每一个值都以2进制补码的形式存储且范围从-127至127。部分2中定义的均匀伪随机数发生器(PRNG)用于随机地访问具有高斯随机数的LUT。
在初始化步骤,应当把64×64块图像的值设置为0,并按照如下方式对PRNG的种子进行初始化:
ehv=Seed_LUT[h+v*13]
(A-1)
按照如下方式创建64×64的块图像:
fh=((h+3)<<2)-1
fv=((v+3)<<2)-1
for(l=0,r=0,l<=fv;l++)
  for(k=0;k<=fh;k+=4){
B[k][1]=Gaussian_LUT[x(r,ehv)%2048]
B[k+1][1]=Gaussian_LUT[x(r,ehv+1)%2048]             (A-2)
B[k+2][1]=Gaussian_LUT[x(r,ehv+2)%2048]
B[k+3][1]=Gaussian_LUT[x(r,ehv+3)%2048]
r++
  }
B[0][0]=0
其中x(r,ehv)是在以种子ehv初始化的多项式x迭代r次创建的伪随机值。
计算64×64逆整型变换
64×64系数矩阵的逆变换将会产生胶片颗粒database[h][v]。按照如下方式计算逆变换:
database[h][v]=(((R64 T×B+128)))8)×R64+128)>>8
对水平的8×8块边沿进行解块
64×64胶片颗粒图案的创建过程的最后步骤包括对水平的8×8块边沿进行解块。通过根据下式削减像素值而执行解块:
for(l=0;l<64;l+=8){
  for(k=0;k<64;k++){
    database[h][v][k][l]=
           (database[h][v][k][l]*deblock_factor[v])>>7
    database[h][v][k][l+7]=
         (database[h][v][k][l+7]*deblock_factor[v])>>7
  }
}
其中针对优选实施例把deblock_factor[v]定义为:
deblock_factor[v]={66,71,77,84,90,96,103,109,116,
                   122,128,128,128}
上文描述了一种用于在图像中仿真胶片颗粒的技术,更具体地是一种用于在媒体设备重放的图像中仿真胶片颗粒的技术。
APPENDIX A
-Gaussian_LUT[2048]={
0xF5,0x0B,0x67,0xF5,0x29,0xDE,0x0C,0x3B,0x4D,0x61,0xAA,0x03,0x41,0xB2,0x2D,0x37,
0xCE,0x15,0x0D,0xF6,0xEC,0xEE,0x21,0x81,0x10,0xFB,0x97,0x12,0x13,0x46,0x2F,0xF6,
0xDA,0x2A,0xFE,0x4A,0xBD,0x34,0xA6,0x21,0xD2,0x14,0xFE,0xC9,0x31,0x00,0xC7,0xD7,
0x00,0x78,0x81,0x95,0xD0,0x09,0x0E,0x7F,0x7A,0x6C,0x33,0x7F,0x01,0x06,0x71,0x13,
0x1D,0x0C,0x4C,0x70,0x51,0xC3,0x81,0x6F,0xCD,0xE3,0x02,0xCF,0xE9,0x3A,0xE4,0xB7,
0x0B,0x70,0x42,0x4E,0xFE,0x8E,0xA9,0xFB,0xFB,0x28,0x3A,0xB0,0x31,0xE6,0xE2,0xDE,
0x97,0x32,0x10,0xE8,0xDD,0xF3,0xF2,0x81,0xC9,0xEA,0xC9,0x81,0x90,0x04,0xE7,0xB8,
0x7F,0x7F,0xFE,0x29,0x57,0xBF,0xF1,0x36,0x12,0x5A,0xB0,0xBF,0xC0,0x23,0xFA,0xCA,
0x62,0xFA,0x58,0x7D,0xE6,0x5B,0x00,0x3F,0x3B,0xF2,0xE9,0x70,0xE0,0x74,0x0D,0x19,
0x33,0xF0,0x6B,0xF9,0x34,0x26,0xDE,0x10,0xFA,0x04,0xA5,0x06,0x3E,0x3E,0xF1,0x26,
0xDC,0x12,0x36,0x11,0xCD,0x27,0x21,0xDB,0x7D,0xDA,0x8A,0x10,0xE2,0x00,0x12,0x62,
0x3C,0x64,0xF4,0xB8,0xEF,0xCD,0x62,0x02,0x02,0x3B,0x21,0xFD,0xFE,0x09,0xD7,0x97,
0xDB,0x0D,0x7F,0x0F,0x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0x7F,0xCF,0xDB,0xC9,0x17,0xDE,0xDD,0xCB,0x59,0xA5,0x01,0x31,0x4C,0xFB,
0x81,0x10,0x2D,0xFB,0xB7,0x00,0xC8,0xEE,0xB8,0x1C,0x5C,0x3B,0x31,0x14,0x11,0x6E,
0x92,0x20,0xAD,0x2E,0x2E,0xF6,0x22,0xA9,0x2B,0x39,0x9F,0x7F,0xEF,0x00,0x00,0xDA,
0x81,0xFE,0x00,0x3E,0x5D,0x00,0x24,0xBF,0xC3,0xEE,0x26,0x81,0x39,0x31,0xF0,0x7F,
0x58,0xD6,0x94,0xCD,0xF0,0x06,0xDC,0x44,0x2E,0xF2,0x6A,0x28,0x38,0x06,0x13,0x07,
0x02,0x57,0xA7,0xA4,0xEF,0xEB,0xE9,0x0C,0x07,0xFC,0xB3,0xA6,0xFD,0x07,0xDE,0xFC,
0x12,0x02,0x91,0x04,0xBE,0xAF,0x79,0xED,0xDF,0xDB,0xAC,0x7F,0x43,0x2D,0x11,0x2F
};
A.2.2 LUT of PRNG seeds
Seed_LUT[173]=
{
1,207848544,1756511882,930434649,763249220,575194890,947173707,1920384370,
447133882,1339935731,1377796300,271174457,1198069869,1661621657,1743986060,2077926481,
1331742148,786140364,1525112071,1771594297,1242061040,192056172,2018356587,166385984,
21118553,1721162627,993618401,953874363,156353104,1884552607,712894377,965972274,
2058965522,288658836,1626536144,1501102010,301172797,447403389,1040582505,1522100413,
870342432,1775643800,1221041362,1779102756,1180374639,852637658,1542167176,1149026881,
100447073,926671075,1933929005,542294649,1011053571,1671222556,1429688165,1891395211,
2055647522,22995785,1442532213,675966795,1703505481,2013843651,1671669678,1085040259,
430705574,2130376611,1261527826,15976504,2011754792,216863804,2105395052,1127940,
1783279601,1602691796,1505476467,1408080649,180336353,1381547875,339789689,965351473,
427101312,902100963,744024896,1284331604,1241185038,1426959894,2000290842,1266758843,
18789461,1665712481,264198500,1301146210,1273389250,794389433,2049226913,1879367632,
1300700193,212009030,1957319695,637701834,482780409,1365890669,1376040417,1512315348,
1024598031,1844999775,1933157338,1643399146,276675769,1707241504,1016480493,1361917086,
1730782380,1621217915,1585942753,1325639711,275717433,1581177009,509579973,1040197139,
519836363,1962657404,1906334341,723415919,1151165652,1369484037,915816613,582076062,
47146038,182628210,1964983821,1885918321,370125606,534524292,2051583970,1032364471,
1972079688,2047231194,563260760,1594071307,1354079352,2002807836,632717840,992281895,
1683480361,1484871997,103701272,345400458,1333607727,1396534806,1265043691,257575830,
1832801323,207421923,1878496261,913255098,1480038377,1655631378,199918889,1047339733,
584606242,116703068,1435852453,1851149566,1450020992,2073300909,331912080,66022624,
2137983702,884423146,1325171092,1765065345,708316132
};
A.2.3 Transformation matrix
iDCT64[64][64]={
{/*Row 0*/
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,
32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32},
{/*Row 1*/
45,45,45,45,44,44,43,42,41,40,39,38,37,36,34,33,
31,30,28,26,24,22,20,18,16,14,12,10,8,6,3,1,
-1,-3,-6,-8,-10,-12,-14,-16,-18,-20,-22,-24,-26,-28,-30,-31,
-33,-34,-36,-37,-38,-39,-40,-41,-42,-43,-44,-44,-45,-45,-45,-45},
{/*Row 2*/
45,45,44,43,41,39,36,34,30,27,23,19,15,11,7,2,
-2,-7,-11,-15,-19,-23,-27,-30,-34,-36,-39,-41,-43,-44,-45,-45,
-45,-45,-44,-43,-41,-39,-36,-34,-30,-27,-23,-19,-15,-11,-7,-2,
2,7,11,15,19,23,27,30,34,36,39,41,43,44,45,45},
{/*Row 3*/
45,44,42,39,36,31,26,20,14,8,1,-6,-12,-18,-24,-30,
-34,-38,-41,-44,-45,-45,-45,-43,-40,-37,-33,-28,-22,-16,-10,-3,
3,10,16,22,28,33,37,40,43,45,45,45,44,41,38,34,
30,24,18,12,6,-1,-8,-14,-20,-26,-31,-36,-39,-42,-44,-45},
{/*Row 4*/
45,43,40,35,29,21,13,4,-4,-13,-21,-29,-35,-40,-43,-45,
-45,-43,-40,-35,-29,-21,-13,-4,4,13,21,29,35,40,43,45,
45,43,40,35,29,21,13,4,-4,-13,-21,-29,-35,-40,-43,-45,
-45,-43,-40,-35,-29,-21,-13,-4,4,13,21,29,35,40,43,45},
{/*Row 5*/
45,42,37,30,20,10,-1,-12,-22,-31,-38,-43,-45,-45,-41,-36,
-28,-18,-8,3,14,24,33,39,44,45,44,40,34,26,16,6,
-6,-16,-26,-34,-40,-44,-45,-44,-39,-33,-24,-14,-3,8,18,28,
36,41,45,45,43,38,31,22,12,1,-10,-20,-30,-37,-42,-45,
{/*Row 6*/
45,41,34,23,11,-2,-15,-27,-36,-43,-45,-44,-39,-30,-19,-7,
7,19,30,39,44,45,43,36,27,15,2,-11,-23,-34,-41,-45,
-45,-41,-34,-23,-11,2,15,27,36,43,45,44,39,30,19,7,
-7,-19,-30,-39,-44,-45,-43,-36,-27,-15,-2,11,23,34,41,45},
{/*Row 7*/
45,39,30,16,1,-14,-28,-38,-44,-45,-40,-31,-18,-3,12,26,
37,44,45,41,33,20,6,-10,-24,-36,-43,-45,-42,-34,-22,-8,
8,22,34,42,45,43,36,24,10,-6,-20,-33,-41,-45,-44,-37,
-26,-12,3,18,31,40,45,44,38,28,14,-1,-16,-30,-39,-45},
{/*Row 8*/
44,38,25,9,-9,-25,-38,-44,-44,-38,-25,-9,9,25,38,44,
44,38,25,9,-9,-25,-38,-44,-44,-38,-25,-9,9,25,38,44,
44,38,25,9,-9,-25,-38,-44,-44,-38,-25,-9,9,25,38,44,
44,38,25,9,-9,-25,-38,-44,-44,-38,-25,-9,9,25,38,44},
{/*Row 9*/
44,36,20,1,-18,-34,-44,-45,-37,-22,-3,16,33,43,45,38,
24,6,-14,-31,-42,-45,-39,-26,-8,12,30,41,45,40,28,10,
-10,-28,-40,-45,-41,-30,-12,8,26,39,45,42,31,14,-6,-24,
-38,-45,-43,-33,-16,3,22,37,45,44,34,18,-1,-20,-36,-44},
{/*Row 10*/
44,34,15,-7,-27,-41,-45,-39,-23,-2,19,36,45,43,30,11,
-11,-30,-43,-45,-36,-19,2,23,39,45,41,27,7,-15,-34,-44,
-44,-34,-15,7,27,41,45,39,23,2,-19,-36,-45,-43,-30,-11,
11,30,43,45,36,19,-2,-23,-39,-45,-41,-27,-7,15,34,44},
{/*Row 11*/
44,31,10,-14,-34,-45,-42,-28,-6,18,37,45,40,24,1,-22,
-39,-45,-38,-20,3,26,41,45,36,16,-8,-30,-43,-44,-33,-12,
12,33,44,43,30,8,-16,-36,-45,-41,-26,-3,20,38,45,39,
22,-1,-24,-40,-45,-37,-18,6,28,42,45,34,14,-10,-31,-44},
{/*Row 12*/
43,29,4,-21,-40,-45,-35,-13,13,35,45,40,21,-4,-29,-43,
-43,-29,-4,21,40,45,35,13,-13,-35,-45,-40,-21,4,29,43,
43,29,4,-21,-40,-45,-35,-13,13,35,45,40,21,-4,-29,-43,
-43,-29,-4,21,40,45,35,13,-13,-35,-45,-40,-21,4,29,43},
{/*Row 13*/
43,26,-1,-28,-44,-42,-24,3,30,44,41,22,-6,-31,-45,-40,
-20,8,33,45,39,18,-10,-34,-45,-38,-16,12,36,45,37,14,
-14,-37,-45,-36,-12,16,38,45,34,10,-18,-39,-45,-33,-8,20,
40,45,31,6,-22,-41,-44,-30,-3,24,42,44,28,1,-26,-43},
{/*Row 14*/
43,23,-7,-34,-45,-36,-11,19,41,44,27,-2,-30,-45,-39,-15,
15,39,45,30,2,-27,-44,-41,-19,11,36,45,34,7,-23,-43,
-43,-23,7,34,45,36,11,-19,-41,-44,-27,2,30,45,39,15,
-15,-39,-45,-30,-2,27,44,41,19,-11,-36,-45,-34,-7,23,43},
{/*Row 15*/
42,20,-12,-38,-45,-28,3,33,45,34,6,-26,-44,-39,-14,18,
41,43,22,-10,-37,-45,-30,1,31,45,36,8,-24,-44,-40,-16,
16,40,44,24,-8,-36,-45,-31,-1,30,45,37,10,-22,-43,-41,
-18,14,39,44,26,-6,-34,-45,-33,-3,28,45,38,12,-20,-42},
{/*Row 16*/
42,17,-17,-42,-42,-17,17,42,42,17,-17,-42,-42,-17,17,42,
42,17,-17,-42,-42,-17,17,42,42,17,-17,-42,-42,-17,17,42,
42,17,-17,-42,-42,-17,17,42,42,17,-17,-42,-42,-17,17,42,
42,17,-17,-42,-42,-17,17,42,42,17,-17,-42,-42,-17,17,42},
{/*Row 17*/
41,14,-22,-44,-37,-6,30,45,31,-3,-36,-45,-24,12,40,42,
16,-20,-44,-38,-8,28,45,33,-1,-34,-45,-26,10,39,43,18,
-18,-43,-39,-10,26,45,34,1,-33,-45,-28,8,38,44,20,-16,
-42,-40,-12,24,45,36,3,-31,-45,-30,6,37,44,22,-14,-41},
{/*Row 18*/
41,11,-27,-45,-30,7,39,43,15,-23,-45,-34,2,36,44,19,
-19,-44,-36,-2,34,45,23,-15,-43,-39,-7,30,45,27,-11,-41,
-41,-11,27,45,30,-7,-39,-43,-15,23,45,34,-2,-36,-44,-19,
19,44,36,2,-34,-45,-23,15,43,39,7,-30,-45,-27,11,41},
{/*Row 19*/
40,8,-31,-45,-22,18,44,34,-3,-38,-42,-12,28,45,26,-14,
-43,-37,-1,36,44,16,-24,-45,-30,10,41,39,6,-33,-45,-20,
20,45,33,-6,-39,-41,-10,30,45,24,-16,-44,-36,1,37,43,
14,-26,-45,-28,12,42,38,3,-34,-44,-18,22,45,31,-8,-40},
{/*Row 20*/
40,4,-35,-43,-13,29,45,21,-21,-45,-29,13,43,35,-4,-40,
-40,-4,35,43,13,-29,-45,-21,21,45,29,-13,-43,-35,4,40,
40,4,-35,-43,-13,29,45,21,-21,-45,-29,13,43,35,-4,-40,
-40,-4,35,43,13,-29,-45,-21,21,45,29,-13,-43,-35,4,40},
{/*Row 21*/
39,1,-38,-40,-3,37,41,6,-36,-42,-8,34,43,10,-33,-44,
-12,31,44,14,-30,-45,-16,28,45,18,-26,-45,-20,24,45,22,
-22,-45,-24,20,45,26,-18,-45,-28,16,45,30,-14,-44,-31,12,
44,33,-10,-43,-34,8,42,36,-6,-41,-37,3,40,38,-1,-39},
{/*Row 22*/
39,-2,-41,-36,7,43,34,-11,-44,-30,15,45,27,-19,-45,-23,
23,45,19,-27,-45,-15,30,44,11,-34,-43,-7,36,41,2,-39,
-39,2,41,36,-7,-43,-34,11,44,30,-15,-45,-27,19,45,23,
-23,-45,-19,27,45,15,-30,-44,-11,34,43,7,-36,-41,-2,39},
{/*Row 23*/
38,-6,-43,-31,16,45,22,-26,-45,-12,34,41,1,-40,-36,10,
44,28,-20,-45,-18,30,44,8,-37,-39,3,42,33,-14,-45,-24,
24,45,14,-33,-42,-3,39,37,-8,-44,-30,18,45,20,-28,-44,
-10,36,40,-1,-41,-34,12,45,26,-22,-45,-16,31,43,6,-38},
{/*Row 24*/
38,-9,-44,-25,25,44,9,-38,-38,9,44,25,-25,-44,-9,38,
38,-9,-44,-25,25,44,9,-38,-38,9,44,25,-25,-44,-9,38,
38,-9,-44,-25,25,44,9,-38,-38,9,44,25,-25,-44,-9,38,
38,-9,-44,-25,25,44,9,-38,-38,9,44,25,-25,-44,-9,38},
{/*Row 25*/
37,-12,-45,-18,33,40,-6,-44,-24,28,43,1,-42,-30,22,45,
8,-39,-34,16,45,14,-36,-38,10,45,20,-31,-41,3,44,26,
-26,-44,-3,41,31,-20,-45,-10,38,36,-14,-45,-16,34,39,-8,
-45,-22,30,42,-1,-43,-28,24,44,6,-40,-33,18,45,12,-37},
{/*Row 26*/
36,-15,-45,-11,39,34,-19,-45,-7,41,30,-23,-44,-2,43,27,
-27,-43,2,44,23,-30,-41,7,45,19,-34,-39,11,45,15,-36,
-36,15,45,11,-39,-34,19,45,7,-41,-30,23,44,2,-43,-27,
27,43,-2,-44,-23,30,41,-7,-45,-19,34,39,-11,-45,-15,36},
{/*Row 27*/
36,-18,-45,-3,43,24,-31,-39,12,45,10,-40,-30,26,42,-6,
-45,-16,37,34,-20,-44,-1,44,22,-33,-38,14,45,8,-41,-28,
28,41,-8,-45,-14,38,33,-22,-44,1,44,20,-34,-37,16,45,
6,-42,-26,30,40,-10,-45,-12,39,31,-24,-43,3,45,18,-36},
{/*Row 28*/
35,-21,-43,4,45,13,-40,-29,29,40,-13,-45,-4,43,21,-35,
-35,21,43,-4,-45,-13,40,29,-29,-40,13,45,4,-43,-21,35,
35,-21,-43,4,45,13,-40,-29,29,40,-13,-45,-4,43,21,-35,
-35,21,43,-4,-45,-13,40,29,-29,-40,13,45,4,-43,-21,35},
{/*Row 29*/
34,-24,-41,12,45,1,-45,-14,40,26,-33,-36,22,42,-10,-45,
-3,44,16,-39,-28,31,37,-20,-43,8,45,6,-44,-18,38,30,
-30,-38,18,44,-6,-45,-8,43,20,-37,-31,28,39,-16,-44,3,
45,10,-42,-22,36,33,-26,-40,14,45,-1,-45,-12,41,24,-34},
{/*Row 30*/
34,-27,-39,19,43,-11,-45,2,45,7,-44,-15,41,23,-36,-30,
30,36,-23,-41,15,44,-7,-45,-2,45,11,-43,-19,39,27,-34,
-34,27,39,-19,-43,11,45,-2,-45,-7,44,15,-41,-23,36,30,
-30,-36,23,41,-15,-44,7,45,2,-45,-11,43,19,-39,-27,34},
{/*Row 31*/
33,-30,-36,26,38,-22,-40,18,42,-14,-44,10,45,-6,-45,1,
45,3,-45,-8,44,12,-43,-16,41,20,-39,-24,37,28,-34,-31,
31,34,-28,-37,24,39,-20,-41,16,43,-12,-44,8,45,-3,-45,
-1,45,6,-45,-10,44,14,-42,-18,40,22,-38,-26,36,30,-33},
{/*Row 32*/
32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,
32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,
32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,
32,-32,-32,32,32,-32,-32,32,32,-32,-32,32,32,-32,-32,32},
{/*Row 33*/
31,-34,-28,37,24,-39,-20,41,16,-43,-12,44,8,-45,-3,45,
-1,-45,6,45,-10,-44,14,42,-18,-40,22,38,-26,-36,30,33,
-33,-30,36,26,-38,-22,40,18,-42,-14,44,10,-45,-6,45,1,
-45,3,45,-8,-44,12,43,-16,-41,20,39,-24,-37,28,34,-31},
{/*Row 34*/
30,-36,-23,41,15,-44,-7,45,-2,-45,11,43,-19,-39,27,34,
-34,-27,39,19,-43,-11,45,2,-45,7,44,-15,-41,23,36,-30,
-30,36,23,-41,-15,44,7,-45,2,45,-11,-43,19,39,-27,-34,
34,27,-39,-19,43,11,-45,-2,45,-7,-44,15,41,-23,-36,30},
{/*Row 35*/
30,-38,-18,44,6,-45,8,43,-20,-37,31,28,-39,-16,44,3,
-45,10,42,-22,-36,33,26,-40,-14,45,1,-45,12,41,-24,-34,
34,24,-41,-12,45,-1,-45,14,40,-26,-33,36,22,-42,-10,45,
-3,-44,16,39,-28,-31,37,20,-43,-8,45,-6,-44,18,38,-30},
{/*Row 36*/
29,-40,-13,45,-4,-43,21,35,-35,-21,43,4,-45,13,40,-29,
-29,40,13,-45,4,43,-21,-35,35,21,-43,-4,45,-13,40,29,
29,-40,-13,45,-4,-43,21,35,-35,-21,43,4,-45,13,40,-29,
-29,40,13,-45,4,43,-21,-35,35,21,-43,-4,45,-13,-40,29},
{/*Row 37*/
28,-41,-8,45,-14,-38,33,22,-44,-1,44,-20,-34,37,16,-45,
6,42,-26,-30,40,10,-45,12,39,-31,-24,43,3,-45,18,36,
-36,-18,45,-3,-43,24,31,-39,-12,45,-10,-40,30,26,-42,-6,
45,-16,-37,34,20,-44,1,44,-22,-33,38,14,-45,8,41,-28},
{/*Row 38*/
27,-43,-2,44,-23,-30,41,7,-45,19,34,-39,-11,45,-15,-36,
36,15,-45,11,39,-34,-19,45,-7,-41,30,23,-44,2,43,-27,
-27,43,2,-44,23,30,-41,-7,45,-19,-34,39,11,-45,15,36,
-36,-15,45,-11,-39,34,19,-45,7,41,-30,-23,44,-2,-43,27},
{/*Row 39*/
26,-44,3,41,-31,-20,45,-10,-38,36,14,-45,16,34,-39,-8,
45,-22,-30,42,1,-43,28,24,-44,6,40,-33,-18,45,-12,-37,
37,12,-45,18,33,-40,-6,44,-24,-28,43,-1,-42,30,22,-45,
8,39,-34,-16,45,-14,-36,38,10,-45,20,31,-41,-3,44,-26},
{/*Row 40*/
25,-44,9,38,-38,-9,44,-25,-25,44,-9,-38,38,9,-44,25,
25,-44,9,38,-38,-9,44,-25,-25,44,-9,-38,38,9,-44,25,
25,-44,9,38,-38,-9,44,-25,-25,44,-9,-38,38,9,-44,25,
25,-44,9,38,-38,-9,44,-25,-25,44,-9,-38,38,9,-44,25},
{/*Row 41*/
24,-45,14,33,-42,3,39,-37,-8,44,-30,-18,45,-20,-28,44,
-10,-36,40,1,-41,34,12,-45,26,22,-45,16,31,-43,6,38,
-38,-6,43,-31,-16,45,-22,-26,45,-12,-34,41,-1,-40,36,10,
-44,28,20,-45,18,30,-44,8,37,-39,-3,42,-33,-14,45,-24},
{/*Row 42*/
23,-45,19,27,-45,15,30,-44,11,34,-43,7,36,-41,2,39,
-39,-2,41,-36,-7,43,-34,-11,44,-30,-15,45,-27,-19,45,-23,
-23,45,-19,-27,45,-15,-30,44,-11,-34,43,-7,-36,41,-2,-39,
39,2,-41,36,7,-43,34,11,-44,30,15,-45,27,19,-45,23},
{/*Row 43*/
22,-45,24,20,-45,26,18,-45,28,16,-45,30,14,-44,31,12,
-44,33,10,-43,34,8,-42,36,6,-41,37,3,-40,38,1,-39,
39,-1,-38,40,-3,-37,41,-6,-36,42,-8,-34,43,-10,-33,44,
-12,-31,44,-14,-30,45,-16,-28,45,-18,-26,45,-20,-24,45,-22},
{/*Row 44*/
21,-45,29,13,-43,35,4,-40,40,-4,-35,43,-13,-29,45,-21,
-21,45,-29,-13,43,-35,-4,40,-40,4,35,-43,13,29,-45,21,
21,-45,29,13,-43,35,4,-40,40,-4,-35,43,-13,-29,45,-21,
-21,45,-29,-13,43,-35,-4,40,-40,4,35,-43,13,29,-45,21},
{/*Row 45*/
20,-45,33,6,-39,41,-10,-30,45,-24,-16,44,-36,-1,37,-43,
14,26,-45,28,12,-42,38,-3,-34,44,-18,-22,45,-31,-8,40,
-40,8,31,-45,22,18,-44,34,3,-38,42,-12,-28,45,-26,-14,
43,-37,1,36,-44,16,24,-45,30,10,-41,39,-6,-33,45,-20},
{/*Row 46*/
19,-44,36,-2,-34,45,-23,-15,43,-39,7,30,-45,27,11,-41,
41,-11,-27,45,-30,-7,39,-43,15,23,-45,34,2,-36,44,-19,
-19,44,-36,2,34,-45,23,15,-43,39,-7,-30,45,-27,-11,41,
-41,11,27,-45,30,7,-39,43,-15,-23,45,-34,-2,36,-44,19},
{/*Row 47*/
18,-43,39,-10,-26,45,-34,1,33,-45,28,8,-38,44,-20,-16,
42,-40,12,24,-45,36,-3,-31,45,-30,-6,37,-44,22,14,-41,
41,-14,-22,44,-37,6,30,-45,31,3,-36,45,-24,-12,40,-42,
16,20,-44,38,-8,-28,45,-33,-1,34,-45,26,10,-39,43,-18},
{/*Row 48*/
17,-42,42,-17,-17,42,-42,17,17,-42,42,-17,-17,42,-42,17,
17,-42,42,-17,-17,42,-42,17,17,-42,42,-17,-17,42,-42,17,
17,-42,42,-17,-17,42,-42,17,17,-42,42,-17,-17,42,-42,17,
17,-42,42,-17,-17,42,-42,17,17,-42,42,-17,-17,42,-42,17},
{/*Row 49*/
16,-40,44,-24,-8,36,-45,31,-1,-30,45,-37,10,22,-43,-41,
-18,-14,39,-44,26,6,-34,45,-33,3,28,-45,38,-12,-20,42,
-42,20,12,-38,45,-28,-3,33,-45,34,-6,-26,44,-39,14,18,
-41,43,-22,-10,37,-45,30,1,-31,45,-36,8,24,-44,40,-16},
{/*Row 50*/
15,-39,45,-30,2,27,-44,41,-19,-11,36,-45,34,-7,-23,43,
-43,23,7,-34,45,-36,11,19,-41,44,-27,-2,30,-45,39,-15,
-15,39,-45,30,-2,-27,44,-41,19,11,-36,45,-34,7,23,-43,
43,-23,-7,34,-45,36,-11,-19,41,-44,27,2,-30,45,-39,15},
{/*Row 51*/
14,-37,45,-36,12,16,-38,45,-34,10,18,-39,45,-33,8,20,
-40,45,-31,6,22,-41,44,-30,3,24,-42,44,-28,1,26,-43,
43,-26,-1,28,-44,42,-24,-3,30,-44,41,-22,-6,31,-45,40,
-20,-8,33,-45,39,-18,-10,34,-45,38,-16,-12,36,-45,37,-14},
{/*Row 52*/
13,-35,45,-40,21,4,-29,43,-43,29,-4,-21,40,-45,35,-13,
-13,35,-45,40,-21,-4,29,-43,43,-29,4,21,-40,45,-35,13,
13,-35,45,-40,21,4,-29,43,-43,29,-4,-21,40,-45,35,-13,
-13,35,-45,40,-21,-4,29,-43,43,-29,4,21,-40,45,-35,13},
{/*Row 53*/
12,-33,44,-43,30,-8,-16,36,-45,41,-26,3,20,-38,45,-39,
22,1,-24,40,-45,37,-18,-6,28,-42,45,-34,14,10,-31,44,
-44,31,-10,-14,34,-45,42,-28,6,18,-37,45,-40,24,-1,-22,
39,-45,38,-20,-3,26,-41,45,-36,16,8,-30,43,-44,33,-12},
{/*Row 54*/
11,-30,43,-45,36,-19,-2,23,-39,45,-41,27,-7,-15,34,-44,
44,-34,15,7,-27,41,-45,39,-23,2,19,-36,45,-43,30,-11,
-11,30,-43,45,-36,19,2,-23,39,-45,41,-27,7,15,-34,44,
-44,34,-15,-7,27,-41,45,-39,23,-2,-19,36,-45,43,-30,11},
{/*Row 55*/
10,-28,40,-45,41,-30,12,8,-26,39,-45,42,-31,14,6,-24,
38,-45,43,-33,16,3,-22,37,-45,44,-34,18,1,-20,36,-44,
44,-36,20,-1,-18,34,-44,45,-37,22,-3,-16,33,-43,45,-38,
24,-6,-14,31,-42,45,-39,26,-8,-12,30,-41,45,-40,28,-10},
{/*Row 56*/
9,-25,38,-44,44,-38,25,-9,-9,25,-38,44,-44,38,-25,9,
9,-25,38,-44,44,-38,25,-9,-9,25,-38,44,-44,38,-25,9,
9,-25,38,-44,44,-38,25,-9,-9,25,-38,44,-44,38,-25,9,
9,-25,38,-44,44,-38,25,-9,-9,25,-38,44,-44,38,-25,9},
{/*Row 57*/
8,-22,34,-42,45,-43,36,-24,10,6,-20,33,-41,45,-44,37,
-26,12,3,-18,31,-40,45,-44,38,-28,14,1,-16,30,-39,45,
-45,39,-30,16,-1,-14,28,-38,44,-45,40,-31,18,-3,-12,26,
-37,44,-45,41,-33,20,-6,-10,24,-36,43,-45,42,-34,22,-8},
{/*Row 58*/
7,-19,30,-39,44,-45,43,-36,27,-15,2,11,-23,34,-41,45,
-45,41,-34,23,-11,-2,15,-27,36,-43,45,-44,39,-30,19,-7,
-7,19,-30,39,-44,45,-43,36,-27,15,-2,-11,23,-34,41,-45,
45,-41,34,-23,11,2,-15,27,-36,43,-45,44,-39,30,-19,7},
{/*Row 59*/
6,-16,26,-34,40,-44,45,44,39,-33,24,-14,3,8,-18,28,
-36,41,-45,45,-43,38,-31,22,-12,1,10,-20,30,-37,42,-45,
45,-42,37,-30,20,-10,-1,12,-22,31,-38,43,-45,45,-41,36,
-28,18,-8,-3,14,-24,33,-39,44,-45,44,-40,34,-26,16,-6},
{/*Row 60*/
4,-13,21,-29,35,-40,43,-45,45,-43,40,-35,29,-21,13,-4,
-4,13,-21,29,-35,40,-43,45,-45,43,-40,35,-29,21,-13,4,
4,-13,21,-29,35,-40,43,-45,45,-43,40,-35,29,-21,13,-4,
-4,13,-21,29,-35,40,-43,45,-45,43,-40,35,-29,21,-13,4},
{/*Row 61*/
3,-10,16,-22,28,-33,37,-40,43,-45,45,-45,44,-41,38,-34,
30,-24,18,-12,6,1,-8,14,-20,26,-31,36,-39,42,-44,45,
-45,44,-42,39,-36,31,-26,20,-14,8,-1,-6,12,-18,24,-30,
34,-38,41,-44,45,-45,45,-43,40,-37,33,-28,22,-16,10,-3},
{/*Row 62*/
2,-7,11,-15,19,-23,27,-30,34,-36,39,-41,43,-44,45,-45,
45,-45,44,-43,41,-39,36,-34,30,-27,23,-19,15,-11,7,-2,
-2,7,-11,15,-19,23,-27,30,-34,36,-39,41,-43,44,-45,45,
-45,45,-44,43,-41,39,-36,34,-30,27,-23,19,-15,11,-7,2},
{/*Row 63*/
1,-3,6,-8,10,-12,14,-16,18,-20,22,-24,26,-28,30,-31,
33,-34,36,-37,38,-39,40,-41,42,-43,44,-44,45,-45,45,-45,
45,-45,45,-45,44,-44,43,-42,41,-40,39,-38,37,-36,34,-33,
31,-30,28,-26,24,-22,20,-18,16,-14,12,-10,8,-6,3,-1}

Claims (43)

1.一种用于仿真胶片颗粒块的方法,包括步骤:
至少部分地根据图像块的属性来建立至少一个参数;以及
基于根据所述至少一个参数而产生的至少一个胶片颗粒图案,仿真至少一个胶片颗粒块。
2.根据权利要求1所述的方法,还包括步骤:把胶片颗粒块与所述图像块进行混合。
3.根据权利要求1所述的方法,其中,在所述仿真步骤之前接收伴随着所述图像块的补充胶片颗粒信息消息。
4.根据权利要求3所述的方法,还包括步骤:按照解码顺序把所述胶片颗粒块与所述图像块进行混合。
5.根据权利要求3所述的方法,还包括步骤:按照显示顺序把所述胶片颗粒块与所述图像块进行混合。
6.根据权利要求1所述的方法,还包括步骤:按照解码顺序来仿真所述至少一个胶片颗粒块。
7.根据权利要求1所述的方法,还包括步骤:按照显示顺序来仿真所述至少一个胶片颗粒块。
8.根据权利要求1所述的方法,其中,所述建立步骤还包括步骤:
接收伴随所述图像块并包含多个参数的胶片颗粒信息消息,每一个所述参数表示将要在所述图像块中仿真的胶片颗粒的属性;
从所述多个参数中选择至少一个参数。
9.根据权利要求1所述的方法,其中,所述仿真步骤还包括:
对所述图像块的色度分量的截频进行缩放;
计算所述图像块的平均像素值;
把所述块的平均像素值与伴随着将与所述胶片颗粒块进行混合的图像块的胶片颗粒信息消息中的相应强度值进行比较;
从胶片颗粒块数据库中检索胶片颗粒块;以及
对相邻块之间的垂直边沿进行解块。
10.根据权利要求9所述的方法,其中,在接收到具有4:4:4色度格式的至少一个参数时,把所述色度分量的截频缩放至4:2:0格式。
11.根据权利要求9所述的方法,其中,所述检索胶片颗粒块的步骤还包括步骤:随机地检索胶片颗粒块。
12.根据权利要求9所述的方法,其中,所述检索步骤还包括步骤:从预计算的胶片颗粒块的数据库中检索胶片颗粒块。
13.根据权利要求12所述的方法,还包括步骤:通过存储169个具有4096个预计算胶片颗粒样本的图案而建立胶片颗粒块数据库,每一个样本具有2进制补码形式且范围从-127至127。
14.根据权利要求9所述的方法,还包括步骤:通过如下步骤建立胶片颗粒块数据库:
规定具有高斯随机值的查找表;
随机地访问所述查找表;
对从所述查找表中随机访问的值执行整型逆变换;以及
对从所述整型逆变换中获得的图案的水平边沿进行解块。
15.根据权利要求1所述的方法,其中,如果伴随着所述图像块的胶片颗粒消息规定了禁止仿真,则不执行胶片颗粒仿真。
16.根据权利要求9所述的方法,还包括步骤:如果像素值处于所有指定的频带之外,则禁止胶片颗粒仿真。
17.一种用于针对图像块而仿真胶片颗粒的方法,包括步骤:
至少部分地根据所述图像块的属性来建立至少一个参数;
根据所述至少一个参数,以比特精度来仿真至少一个胶片颗粒块;以及
把胶片颗粒块与所述图像块进行混合。
18.根据权利要求17所述的方法,其中,在所述仿真步骤之前接收伴随着所述图像块的补充胶片颗粒信息消息。
19.根据权利要求18所述的方法,还包括步骤:按照解码顺序把所述胶片颗粒块与所述图像块进行混合。
20.根据权利要求17所述的方法,还包括步骤:按照显示顺序把所述胶片颗粒块与所述图像块进行混合。
21.根据权利要求17所述的方法,还包括步骤:按照解码顺序来仿真所述至少一个胶片颗粒块。
22.根据权利要求17所述的方法,还包括步骤:按照显示顺序来仿真所述至少一个胶片颗粒块。
23.一种用于对与图像块进行混合的胶片颗粒块进行仿真的设备,包括:
用于至少部分地根据图像块的属性来建立至少一个参数的装置;以及
用于通过根据所述至少一个参数而产生至少一个胶片颗粒图案来仿真至少一个胶片颗粒块的装置。
24.根据权利要求23所述的设备,还包括:用于至少把胶片颗粒块与所述图像块进行混合的装置。
25.根据权利要求23所述的设备,其中,混合装置按照解码顺序把所述胶片颗粒块与所述图像块混合。
26.根据权利要求23所述的设备,其中,混合装置按照显示顺序把所述胶片颗粒块与所述图像块混合。
27.根据权利要求23所述的设备,其中,所述用于仿真胶片颗粒的装置按照解码顺序来仿真所述至少一个胶片颗粒块。
28.根据权利要求23所述的设备,其中,所述用于仿真胶片颗粒的装置按照解码顺序来仿真所述至少一个胶片颗粒块。
29.根据权利要求23所述的设备,其中,所述建立装置还包括:
用于接收伴随所述图像块并包含多个参数的胶片颗粒信息消息的装置,每一个所述参数表示将要在所述图像块中仿真的胶片颗粒的属性;以及
用于从所述多个参数中选择至少一个参数的装置。
30.根据权利要求23所述的设备,其中,所述仿真装置还包括:
用于对所述图像块的色度分量的截频进行缩放的装置;
用于计算所述图像块的平均像素值的装置;
用于把所述块的平均像素值与伴随着将与所述胶片颗粒块进行混合的图像块的胶片颗粒信息消息中的相应强度值进行比较的装置;
胶片颗粒块数据库;
用于从所述胶片颗粒块数据库中检索胶片颗粒块的装置;以及
用于对相邻块之间的垂直边沿进行解块的装置。
31.根据权利要求30所述的设备,其中,在接收到具有4:4:4色度格式的至少一个参数时,缩放装置把所述色度分量的截频缩放至4:2:0格式。
32.根据权利要求30所述的设备,其中,所述用于检索胶片颗粒块的装置随机地检索所述胶片颗粒块。
33.根据权利要求30所述的设备,其中,所述数据库包含预计算的胶片颗粒块。
34.根据权利要求30所述的设备,其中,所述数据库包含169个具有4096个预计算胶片颗粒样本的图案,每一个样本具有2进制补码形式且范围从-127至127。
35.一种计算机可读介质,用于使计算机对与图像块进行混合的胶片颗粒进行仿真,包括步骤:
第一装置,用于使所述计算机至少部分地根据图像块的属性来建立至少一个参数;以及
第二装置,用于使所述计算机根据所述至少一个参数,以比特精度来仿真至少一个胶片颗粒块。
36.一种用于对与图像块进行混合的胶片颗粒块进行仿真的方法,包括步骤:
至少部分地根据所述图像块的属性来建立至少一个参数;以及
通过访问胶片颗粒图案数据库,根据所述至少一个参数来仿真所述至少一个胶片颗粒块。
37.根据权利要求36所述的方法,还包括步骤:把所述胶片颗粒图案数据库存储在非易失性存储器中。
38.根据权利要求36所述的方法,还包括步骤:在系统初始化时创建所述胶片颗粒图案数据库。
39.一种用于随机地产生与图像样本进行混合的胶片颗粒样本的方法,包括步骤:
在接收到至少一个胶片颗粒参数时,对伪随机数发生器的种子进行初始化;以及
根据所述随机数,通过随机地访问胶片颗粒图案数据库,产生至少一个胶片颗粒样本。
40.根据权利要求39所述的方法,还包括步骤:在接收到所述至少一个胶片颗粒参数时,把所述种子初始化为固定值。
41.根据权利要求39所述的方法,还包括步骤:在接收到所述至少一个胶片颗粒参数时,把所述种子初始化为可变值。
42.根据权利要求39所述的方法,还包括步骤:根据从接收到的比特流中提取出的至少一个参数,对所述种子进行初始化。
43.根据权利要求41所述的方法,还包括步骤:使用所述至少一个参数来访问具有预定种子的查找表。
CN200580040400.4A 2004-11-24 2005-11-22 媒体重放设备中使用的胶片颗粒仿真技术 Active CN101065971B (zh)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US63075604P 2004-11-24 2004-11-24
US60/630,756 2004-11-24
PCT/US2005/042282 WO2006057994A2 (en) 2004-11-24 2005-11-22 Film grain simulation technique for use in media playback devices

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2010101867059A Division CN101841721B (zh) 2004-11-24 2005-11-22 媒体重放设备中使用的胶片颗粒仿真技术

Publications (2)

Publication Number Publication Date
CN101065971A true CN101065971A (zh) 2007-10-31
CN101065971B CN101065971B (zh) 2014-01-01

Family

ID=36021743

Family Applications (2)

Application Number Title Priority Date Filing Date
CN200580040400.4A Active CN101065971B (zh) 2004-11-24 2005-11-22 媒体重放设备中使用的胶片颗粒仿真技术
CN2010101867059A Active CN101841721B (zh) 2004-11-24 2005-11-22 媒体重放设备中使用的胶片颗粒仿真技术

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN2010101867059A Active CN101841721B (zh) 2004-11-24 2005-11-22 媒体重放设备中使用的胶片颗粒仿真技术

Country Status (14)

Country Link
US (1) US8023567B2 (zh)
EP (1) EP1815691A2 (zh)
JP (2) JP4960879B2 (zh)
KR (1) KR101274644B1 (zh)
CN (2) CN101065971B (zh)
AU (2) AU2005309719B2 (zh)
BR (2) BR122018071050B1 (zh)
CA (1) CA2587445C (zh)
HK (1) HK1107481A1 (zh)
MX (1) MX2007006139A (zh)
MY (2) MY143341A (zh)
RU (1) RU2372660C2 (zh)
WO (1) WO2006057994A2 (zh)
ZA (2) ZA200704041B (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668106B (zh) * 2008-09-03 2011-12-14 奥林巴斯映像株式会社 图像处理装置、摄像装置以及图像处理方法
CN102291537A (zh) * 2008-09-03 2011-12-21 奥林巴斯映像株式会社 图像处理装置、摄像装置以及图像处理方法
CN101778300B (zh) * 2008-12-05 2012-05-30 香港应用科技研究院有限公司 模拟胶片颗粒噪声的方法和装置
CN116708876A (zh) * 2023-05-06 2023-09-05 神力视界(深圳)文化科技有限公司 视频流处理方法及电子设备

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI0414641B1 (pt) * 2003-09-23 2019-01-08 Thomson Licensing método para simular granulação de filme mediante composição em mosaico de amostras pré-computadas
JP2005100100A (ja) * 2003-09-25 2005-04-14 Toyota Motor Corp 車輪情報処理装置および車輪情報処理方法
CN1868215B (zh) * 2003-10-14 2012-10-03 汤姆森特许公司 用于位精确的胶片颗粒模拟的技术
AU2004298261B2 (en) * 2003-12-05 2010-02-25 Interdigital Vc Holdings, Inc. Technique for film grain simulation using a database of film grain patterns
US8150206B2 (en) * 2004-03-30 2012-04-03 Thomson Licensing Method and apparatus for representing image granularity by one or more parameters
CN101044510B (zh) * 2004-10-18 2012-01-04 汤姆森特许公司 胶片颗粒模拟方法
EP1803303B1 (en) * 2004-10-21 2019-12-04 InterDigital VC Holdings, Inc. Technique for adaptive de-blocking of block-based film grain patterns
CA2587095C (en) 2004-11-12 2015-01-20 Thomson Licensing Film grain simulation for normal play and trick mode play for video playback systems
CN101061724A (zh) * 2004-11-22 2007-10-24 汤姆森许可贸易公司 用于胶片颗粒仿真的胶片颗粒高速缓存分摊方法、装置和系统
EP1815688B1 (en) 2004-11-23 2009-07-01 Thomson Licensing Low-complexity film grain simulation technique
US8023567B2 (en) 2004-11-24 2011-09-20 Thomson Licensing Film grain simulation technique for use in media playback devices
JP4645948B2 (ja) 2005-03-18 2011-03-09 富士ゼロックス株式会社 復号化装置及びプログラム
US7778468B2 (en) * 2005-03-23 2010-08-17 Fuji Xerox Co., Ltd. Decoding apparatus, dequantizing method, and program thereof
JP4737711B2 (ja) * 2005-03-23 2011-08-03 富士ゼロックス株式会社 復号化装置、逆量子化方法、分布決定方法及びこのプログラム
US7596239B2 (en) * 2005-08-02 2009-09-29 Lsi Corporation Method and/or apparatus for video watermarking and steganography using simulated film grain
JP4784281B2 (ja) * 2005-11-18 2011-10-05 富士ゼロックス株式会社 復号化装置、逆量子化方法及びこれらのプログラム
KR101363445B1 (ko) * 2006-06-21 2014-02-14 톰슨 라이센싱 자동적인 필름 그레인 조정
US8260087B2 (en) * 2007-01-22 2012-09-04 Sharp Laboratories Of America, Inc. Image upsampling technique
US10715834B2 (en) 2007-05-10 2020-07-14 Interdigital Vc Holdings, Inc. Film grain simulation based on pre-computed transform coefficients
FR2943201B1 (fr) * 2009-03-12 2011-03-11 Ateme Sa Parametrage du grain d'image
US8351736B2 (en) * 2009-06-02 2013-01-08 Microsoft Corporation Automatic dust removal in digital images
JP5693089B2 (ja) 2010-08-20 2015-04-01 キヤノン株式会社 画像処理装置、及び画像処理装置の制御方法
US20120057854A1 (en) * 2010-09-07 2012-03-08 Ching-Lung Chang K rate fast-forwarding and backwarding mechanism for digital videos
JP5484310B2 (ja) 2010-12-24 2014-05-07 キヤノン株式会社 画像処理装置及び画像処理装置の制御方法
US10382752B2 (en) * 2013-10-15 2019-08-13 Sony Corporation Image processing device and method
RU2607415C2 (ru) * 2015-04-21 2017-01-10 Федеральное государственное казенное военное образовательное учреждение высшего образования "Академия Федеральной службы охраны Российской Федерации" (Академия ФСО России) Способ идентификации кадров потока мультимедийных данных на основе корреляционного анализа гистограмм изображений кадров
KR101616673B1 (ko) 2015-06-18 2016-04-28 이민석 어류 포획용 어항의 조립방법
EP3759917B1 (en) 2018-02-27 2024-07-24 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. A spectrally adaptive noise filling tool (sanft) for perceptual transform coding of still and moving images
EP3945721B1 (en) * 2020-07-30 2024-08-07 Ateme Method for image processing and apparatus for implementing the same
US11930222B1 (en) 2021-03-30 2024-03-12 Amazon Technologies, Inc. Encoding video for film grain synthesis
WO2022212792A1 (en) * 2021-04-02 2022-10-06 Dolby Laboratories Licensing Corporation Metadata signaling and conversion for film grain encoding
WO2023275222A1 (en) 2021-07-01 2023-01-05 Interdigital Vc Holdings France, Sas A method or an apparatus for estimating film grain parameters
WO2023205144A1 (en) * 2022-04-19 2023-10-26 Dolby Laboratories Licensing Corporation Metadata-aided removal of film grain
US20240098309A1 (en) * 2022-09-21 2024-03-21 Qualcomm Incorporated Systems and methods of video decoding with dynamic noise reconstruction

Family Cites Families (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5040211A (en) 1988-10-13 1991-08-13 Massachusetts Institute Of Technology Reliable television transmission through analog channels
US5475491A (en) 1989-02-10 1995-12-12 Canon Kabushiki Kaisha Exposure apparatus
US4935816A (en) * 1989-06-23 1990-06-19 Robert A. Faber Method and apparatus for video image film simulation
JPH0497681A (ja) 1990-08-16 1992-03-30 Nippon Telegr & Teleph Corp <Ntt> 映像符号化復号化装置
US5374954A (en) 1990-10-11 1994-12-20 Harry E. Mowry Video system for producing video image simulating the appearance of motion picture or other photographic film
US5687011A (en) 1990-10-11 1997-11-11 Mowry; Craig P. System for originating film and video images simultaneously, for use in modification of video originated images toward simulating images originated on film
US5140414A (en) 1990-10-11 1992-08-18 Mowry Craig P Video system for producing video images simulating images derived from motion picture film
US5335013A (en) 1992-01-16 1994-08-02 Faber Robert A Method and apparatus for video camera image film simulation
WO1996018265A1 (de) 1994-12-06 1996-06-13 Cfb Centrum Für Neue Bildgestaltung Gmbh Bildtransferverfahren und -vorrichtung
US5471572A (en) 1993-07-09 1995-11-28 Silicon Graphics, Inc. System and method for adding detail to texture imagery in computer generated interactive graphics
US5475425B1 (en) 1994-01-25 2000-07-25 Przyborski Production Apparatus and method for creating video ouputs that emulate the look of motion picture film
US5831673A (en) * 1994-01-25 1998-11-03 Przyborski; Glenn B. Method and apparatus for storing and displaying images provided by a video signal that emulates the look of motion picture film
JP3980659B2 (ja) 1994-08-31 2007-09-26 ソニー株式会社 動画像符号化方法及び装置、動画像復号化方法及び装置。
JPH08163594A (ja) 1994-12-12 1996-06-21 Sony Corp 動画像復号化方法及び動画像復号化装置
US5767870A (en) 1995-01-03 1998-06-16 Xerox Corporation Edge insensitive pixel deletion method for printing high resolution image
US5629769A (en) 1995-06-01 1997-05-13 Eastman Kodak Company Apparatus and method for the measurement of grain in images
EP0791273B1 (en) 1995-09-12 2000-06-07 Koninklijke Philips Electronics N.V. Hybrid waveform and model-based encoding and decoding of image signals
US5641596A (en) * 1995-12-05 1997-06-24 Eastman Kodak Company Adjusting film grain properties in digital images
GB9607633D0 (en) * 1996-04-12 1996-06-12 Discreet Logic Inc Grain matching of composite image in image
GB2312124B (en) 1996-04-12 1998-05-13 Discreet Logic Inc Processing image data
US6266429B1 (en) * 1998-09-23 2001-07-24 Philips Electronics North America Corporation Method for confirming the integrity of an image transmitted with a loss
SE9902400L (sv) 1998-11-09 2000-07-20 Micro Positioning Ab Anordning för positionsbestämning
CA2309002A1 (en) 2000-05-23 2001-11-23 Jonathan Martin Shekter Digital film grain reduction
US6940993B2 (en) 2000-12-13 2005-09-06 Eastman Kodak Company System and method for embedding a watermark signal that contains message data in a digital image
RU2004108695A (ru) 2001-08-24 2005-08-20 Конинклейке Филипс Электроникс Н.В. (Nl) Суммирование полей видеокадра
US7065255B2 (en) 2002-05-06 2006-06-20 Eastman Kodak Company Method and apparatus for enhancing digital images utilizing non-image data
PL378931A1 (pl) * 2003-05-15 2006-06-12 Thomson Licensing Sposób i urządzenie do przedstawiania ziarnistości obrazu przez jeden lub więcej parametrów
DE602004010683T2 (de) 2003-08-29 2009-01-02 Thomson Licensing Verfahren und vorrichtung zur modellierung von filmkorn-mustern im frequenzbereich
JP2005080301A (ja) 2003-09-01 2005-03-24 Matsushita Electric Ind Co Ltd 動画像符号化方法および動画像復号化方法
WO2005034517A1 (en) 2003-09-17 2005-04-14 Thomson Licensing S.A. Adaptive reference picture generation
BRPI0414641B1 (pt) 2003-09-23 2019-01-08 Thomson Licensing método para simular granulação de filme mediante composição em mosaico de amostras pré-computadas
AU2004306091B2 (en) 2003-09-23 2010-08-12 Interdigital Vc Holdings, Inc. Technique for simulating film grain using frequency filtering
DE602004032367D1 (de) 2003-09-23 2011-06-01 Thomson Licensing Video-komfortgeräusch-zusatztechnik
US7680356B2 (en) 2003-10-14 2010-03-16 Thomson Licensing Technique for bit-accurate comfort noise addition
CN1868215B (zh) * 2003-10-14 2012-10-03 汤姆森特许公司 用于位精确的胶片颗粒模拟的技术
AU2004298261B2 (en) 2003-12-05 2010-02-25 Interdigital Vc Holdings, Inc. Technique for film grain simulation using a database of film grain patterns
US8150206B2 (en) 2004-03-30 2012-04-03 Thomson Licensing Method and apparatus for representing image granularity by one or more parameters
CN101044510B (zh) * 2004-10-18 2012-01-04 汤姆森特许公司 胶片颗粒模拟方法
US8014558B2 (en) 2004-10-18 2011-09-06 Thomson Licensing Methods, apparatus and system for film grain simulation
EP1803303B1 (en) * 2004-10-21 2019-12-04 InterDigital VC Holdings, Inc. Technique for adaptive de-blocking of block-based film grain patterns
WO2006055193A1 (en) 2004-11-16 2006-05-26 Thomson Licensing Film grain simulation method based on pre-computed transform coefficients
EP1815688B1 (en) 2004-11-23 2009-07-01 Thomson Licensing Low-complexity film grain simulation technique
US8023567B2 (en) 2004-11-24 2011-09-20 Thomson Licensing Film grain simulation technique for use in media playback devices
US7432986B2 (en) 2005-02-16 2008-10-07 Lsi Corporation Method and apparatus for masking of video artifacts and/or insertion of film grain in a video decoder

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668106B (zh) * 2008-09-03 2011-12-14 奥林巴斯映像株式会社 图像处理装置、摄像装置以及图像处理方法
CN102291537A (zh) * 2008-09-03 2011-12-21 奥林巴斯映像株式会社 图像处理装置、摄像装置以及图像处理方法
CN102291537B (zh) * 2008-09-03 2015-05-27 奥林巴斯映像株式会社 图像处理装置、摄像装置以及图像处理方法
CN101778300B (zh) * 2008-12-05 2012-05-30 香港应用科技研究院有限公司 模拟胶片颗粒噪声的方法和装置
CN116708876A (zh) * 2023-05-06 2023-09-05 神力视界(深圳)文化科技有限公司 视频流处理方法及电子设备
CN116708876B (zh) * 2023-05-06 2024-05-14 神力视界(深圳)文化科技有限公司 视频流处理、展示方法、计算机可读存储介质及电子设备

Also Published As

Publication number Publication date
AU2010200926B2 (en) 2012-04-26
RU2372660C2 (ru) 2009-11-10
AU2010200926A1 (en) 2010-04-01
CA2587445C (en) 2013-06-18
EP1815691A2 (en) 2007-08-08
CN101841721B (zh) 2011-11-30
WO2006057994A3 (en) 2006-08-24
JP5400185B2 (ja) 2014-01-29
RU2007123613A (ru) 2008-12-27
ZA200810507B (en) 2009-08-26
KR20070088632A (ko) 2007-08-29
JP2012100354A (ja) 2012-05-24
CA2587445A1 (en) 2006-06-01
US8023567B2 (en) 2011-09-20
BR122018071050B1 (pt) 2019-04-02
AU2005309719A1 (en) 2006-06-01
MY143341A (en) 2011-04-29
CN101841721A (zh) 2010-09-22
US20060133686A1 (en) 2006-06-22
KR101274644B1 (ko) 2013-06-14
AU2005309719B2 (en) 2010-07-01
JP2008522491A (ja) 2008-06-26
JP4960879B2 (ja) 2012-06-27
WO2006057994A2 (en) 2006-06-01
BRPI0518258A2 (pt) 2008-11-11
HK1107481A1 (zh) 2008-04-03
CN101065971B (zh) 2014-01-01
ZA200704041B (en) 2009-03-25
MX2007006139A (es) 2007-07-19
MY159019A (en) 2016-11-30

Similar Documents

Publication Publication Date Title
CN101065971A (zh) 媒体重放设备中使用的胶片颗粒仿真技术
CN1293517C (zh) 图像处理装置及方法、图像拾取装置
CN1248162C (zh) 图像处理设备和方法、以及图像拍摄设备
CN1251148C (zh) 图像处理设备
CN100341328C (zh) 媒体播发装置及媒体播发方法
CN1241147C (zh) 图像处理设备和方法,以及图像拾取设备
CN1248164C (zh) 图像处理设备和方法、以及图像拍摄设备
CN1237488C (zh) 图像处理设备和方法以及图像拾取设备
CN1248163C (zh) 图像处理设备和方法
CN1190081C (zh) 发送和接收动态图像数据的方法及其设备
CN1826566A (zh) Dv元数据提取
CN1269075C (zh) 图像处理设备
CN1471691A (zh) 图像处理设备和方法,以及图像捕获设备
CN1922630A (zh) 图象处理装置、图象处理系统、图象处理方法、图象处理程序及集成电路装置
CN1868215A (zh) 用于位精确的胶片颗粒模拟的技术
CN1267856C (zh) 图像处理设备
CN1817034A (zh) 记录介质、再现装置、记录方法、集成电路、程序和再现方法
CN1993709A (zh) 信号处理设备
CN1770831A (zh) 数据处理方法、数据处理设备、半导体装置和电子设备
CN1969297A (zh) 图像处理设备和方法及图像拍摄设备
CN1823368A (zh) 媒体数据显示装置、媒体数据显示方法及媒体数据显示程序
CN1926576A (zh) 用于数字编码3d立体视频图像的方法和系统
CN1216199A (zh) 数字图象填补方法、图象处理装置及数据记录媒体
CN1313975C (zh) 图像处理装置和方法、以及图像捕获装置
CN1471693A (zh) 图像处理设备和方法以及图像获取设备

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1107481

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1107481

Country of ref document: HK

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: I Si Eli Murli Nor, France

Patentee after: THOMSON LICENSING

Address before: French Boulogne - Bilang Kurt

Patentee before: THOMSON LICENSING

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190603

Address after: American Delaware

Patentee after: Interactive Digital VC Holdings

Address before: I Si Eli Murli Nor, France

Patentee before: THOMSON LICENSING