View Full Version : Canon 4k Raw Codec Patent application


Barry Goyette
January 31st, 2012, 12:47 PM
This has been floating around for a few days. Surprised not to see it posted here. The US patent office just published Canon's application for a patent regarding a Raw video compression scheme that would allow for resolutions up to 4k. Reading these things is a bit tedious and mysterious, but the application seems to describe a method for scanning the sensor at multiple resolutions and then interlacing the data from low and high resolution raw scans to create the output data. I didn't see it in the application, but the suggestion is that Canon intends to design a codec that can be written to a CF card.

and the patent application itself:

United States Patent Application: 0120019694 (http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=/netahtml/PTO/search-bool.html&r=1&f=G&l=50&co1=AND&d=PG01&s1=20120019694.PGNR.&OS=DN/20120019694RS=DN/20120019694)

Glen Vandermolen
January 31st, 2012, 12:54 PM
It looks like 4K is going to be the norm, and sooner than we think.
Right now, the only affordable 4K (for me) is the JVC HMQ10.

I wonder if this has anything to do with the Cinema DSLR Canon mentioned in November.

Justin Molush
January 31st, 2012, 03:49 PM
Gonna browse through it and pick out some tidbits....

A method of reconstructing image data for successive frames of a moving scene, comprising: accessing a mixed resolution sequence of mosaiced frames of raw sensor data recorded on a recording medium, wherein the raw sensor data comprises pixel data for an image sensor having pixels arranged in correspondence to a mosaic of plural different colors in a color filter array; wherein each frame of the mixed resolution sequence of mosaiced frames of raw sensor data comprises pixel data sampled at one of at least first and second sampling mosaic patterns respectively corresponding to first and second resolutions in which the second resolution is lower than the first resolution

The process steps comprise designating a first sampling mosaic pattern for sampling the pixel data at a first resolution, designating a second sampling mosaic pattern for sampling the pixel data at a second resolution which is lower than the first resolution, selecting one of the first or the second sampling mosaic patterns for a frame by applying a predetermined rule, sampling pixel data of the frame using the selected sampling mosaic pattern, and recording the sampled pixel data for the frame onto a recording medium.

So it records 4K and 2K frames in sequence, and uses the 4K sample to upscale the 2K frame in post?

Repeated application of the steps of selecting, sampling and recording can be performed, for successive frames of the moving scene, whereby a mixed resolution sequence of mosaiced frames of pixel data is recorded on the recording medium. The second sampling mosaic pattern can be a subset of the first sampling mosaic pattern.

I wonder what this means for color depth? I mean, if this is a method of getting a raw sensor dump, the color depth could be enormous. The second sampling pattern can be used to bolster the data of the first frame? (as it says, it does it in very close temporal proximity, so the sensor readout HAS to be extremely fast as to not introduce ghosting... *read: minimal jello*)

I read this as, it reads out a second frame for extra color data OR as an extra frame in low-er resolution, higher framerate output (ie 2k, as opposed to the blended frame, semi-upscaled 4k it seems to be talking about).

Each frame of the mixed resolution sequence of mosaiced frames of raw sensor data comprises pixel data sampled at one of at least first and second sampling mosaic patterns respectively corresponding to first and second resolutions in which the second resolution is lower than the first resolution. The process steps further comprise identifying whether an active frame corresponds to the first sampling mosaic pattern or to the second sampling mosaic pattern, and applying first or second processing to the active frame in respective correspondence to the identification of whether the active frame corresponds to the first sampling mosaic pattern or to the second sampling mosaic pattern. The first processing demosaics the raw sensor data by using the raw sensor data for the active frame, so as to obtain image data for the active frame. The second processing demosaics the raw sensor data by using the raw sensor data for the active frame as well as raw sensor data for a high resolution frame in close temporal proximity to the active frame, so as to obtain image data for the active frame. In addition, the process steps comprise outputting the image data for each frame for at least temporary storage and rendering.

At first I read that it will create internal proxies, ready to use right out of the camera, but I highly doubt it.

More specifically, recording can be performed with a set of high resolution frames interlaced with one or more sets of lower resolution frames, where the pixels in the lower resolution frames are a subset of the high resolution pixels. Because of the interlacing of high and low resolution frames, the lower resolution frames can be reconstructed at the high resolution during demosaicing. Furthermore, data rate during recording can be reduced compared to recording all frames exclusively at the high resolution. In addition, the sensor data in each frame may be uncompressed, or compressed using an algorithm that introduces minimal artifacts, while the resolution of each frame may change with time.

Thus, by a mixture of high and low resolution frames, the lower resolution frames can be reconstructed at the high resolution using temporally neighboring high-resolution frames during demosaicing. Furthermore, data rate during recording can be reduced compared to recording all frames exclusively at the high resolution. In addition, the sensor data in each frame may be uncompressed, or compressed using an algorithm that introduces minimal artifacts, while the resolution of each frame may change with time.


Someone with a better mind for patent applications go over it with a fine tooth comb.

Jonathan Shaw
February 1st, 2012, 11:38 PM
It looks like 4K is going to be the norm, and sooner than we think.


Maybe for acquisition but I wouldn't think for delivery for a few years yet.

Dave Stewart
February 2nd, 2012, 05:45 PM
Nice, but I'm concerned about workflow with such large files. HD can even get a bit unwieldly at times, not to mention effects, plugins, HD content libraries. If you're excided about 4k, then be prepaired to probably replace everything you have amassed over the years.