Film grain simulation based on pre-computed transform coefficients
Film grain simulation within a receiver ( 11 ) occurs by first obtaining at least one block of pre-computed transformed coefficients. The block of pre-computed transformed coefficients undergoes filtering responsive to a frequency range that characterizes a desired pattern of the film grain. In practice, the frequency range lies within a set of cut frequencies f HL , f VL , f HH and f VH of a filter in two dimensions that characterizes a desired film grain pattern. Thereafter, the filtered set of coefficients undergoes an inverse transform to yield the film grain pattern.
1. A method for simulating film grain in a decoded video stream, comprising:
receiving an encoded video stream;
receiving film grain information indicative of a desired film grain pattern;
decoding the encoded video stream;
accessing a set of transformed coefficients from a memory;
generating the film grain by frequency filtering the set of transformed coefficients responsive to a frequency range that characterizes the desired pattern of film grain for blending the film grain with the decoded video stream.
2. The method according to claim 1 wherein the film grain information is received in a Supplemental Enhancement Message.
3. A method, comprising:
transmitting an encoded video stream to a decoder; and
transmitting to the decoder film grain information indicative of a desired film grain pattern so the decoder can decode the encoded video and can generate film grain by accessing a set of transformed coefficients from a memory of the decoder and frequency filtering the set of transformed coefficients responsive to a frequency range that characterizes the desired pattern of the film grain to combine the film grain with the decoded video stream.
4. The method according to claim 3 wherein the film grain information is transmitted in a Supplemental Enhancement Message.
5. Apparatus comprising:
a transmitter configured to (a) encode input video and transmit such encoded video; and (b) model film grain present in the input video to generate and transmit film grain information indicative of a desired film grain pattern, whereby the film grain is generated by accessing a set of transformed coefficients from a memory and frequency filtering the set of transformed coefficients responsive to a frequency range that characterizes the desired film grain pattern.
6. The apparatus according to claim 5 wherein the film grain information is transmitted in a Supplemental Enhancement Message.
7. The apparatus according to claim 5 wherein the transmitter includes one of a processor or dedicated logic circuit.
8. The apparatus according to claim 5 wherein the transmitter comprises an encoder.
9. The apparatus according to claim 8 wherein the encoder encodes input video in accordance with the ITU-T Rec. H.264 | ISO/IEC 14496-10 video compression standard.
10. An apparatus for simulating film grain in a decoded video stream comprising:
a decoder configured to (a) receive an encoded video stream; (b) receive film grain information indicative of a desired film grain pattern; (c) decode the encoded video stream; (d) access a set of transformed coefficients from a memory and generate the film grain by frequency filtering a set of transformed coefficients responsive to a frequency range that characterizes the desired pattern of film grain for blending the film grain with the decoded video stream.