How does the GH1 extract video from its sensor?

guyburns

Active member
I'll begin this thread by quoting the first sentence from:

http://luminous-landscape.com/forum/index.php?showtopic=38713

"What do we actually know about how various DSLR's get video output from sensors with far more photosites than there are pixels in the final output?"

It's quite an informative thread, with comments by people who obviously have a good understanding of the process, but no actual hard facts. I'd like some facts if they are available (the last post in the above thread was six months ago).

My question is: how does the GH1 (and say, the 550D) get 1920 x 1080 video data from their sensors?

I was assuming (before I read the thread above) that they would simply choose a 1920 x 1080 section of the sensor and read from it. I was rather dismayed to read that all sorts of processing is going on -- binning, line-skipping, upsampling, downsampling. And there was talk of aliasing (in the 5DMk11) being different in the horizontal and vertical directions -- a concept I'm just coming to grips with.

What I'd like explained (please provide web references if necessary) is why don't the manufacturers just take a certain 1920 x 1080 section of the sensor, extract the data from that, and then process it as video? What's wrong with that simple approach?

Barry Green (at http://www.dvxuser.com/articles/article.php/20) says, when explaining aliasing:

So the still cameras have anti-alias filters tuned for still photos, and that means that they let in way too much tiny detail for the video portion to render properly. You can't have a single system designed to render 21-megapixel stills, and 2-megapixel video, simultaneously – you have to choose to prioritize one or the other, and all the HDSLR manufacturers are (rightly) choosing to prioritize the still-camera capability (these are, after all, primarily still cameras, with video “grafted on”).​

I don't understand. The camera has been optimised for stills, so it has suitable anti-alias filters for that purpose. i.e. filters that allow fine detail to be captured by sampling at a high resolution. Surely, if when trying to capture video, the designers of the camera took a 1920 x 1080 sample from a certain part of the sensor, there would be no aliasing problem in the resulting video because the data extracted from the chip is simply a subset of what goes to a still image. What have I missed?

It's a mystery to me, and I'd like to understand video capture from a DSLR in a lot more detail than I do now. I thought if I bought a HD video DSLR I'd be getting HD straight from the sensor with minimal processing, and not an image that has had who-knows-what done to it.

Does anyone outside of the camera manufacturers actually know the who-knows-what?

Please help!
 
What I'd like explained (please provide web references if necessary) is why don't the manufacturers just take a certain 1920 x 1080 section of the sensor, extract the data from that, and then process it as video? What's wrong with that simple approach?
There's nothing "wrong" with it, but you just have to realize that a 1920x1080 section is going to result in a field of view that matches about a 1/2" sensor video camera. Which means bye-bye to your wide angle lenses and your shallow depth of field. It's totally a valid technique, it's just that that's not really what people want.

Actually the Canon t2i probably does exactly that, when using its sensor crop mode. And the GH1 can do it for stills, when you use the "extended optical zoom" feature.

I think we'd all want that as an option, but using the full sensor is what gives us the shallow DOF.


Surely, if when trying to capture video, the designers of the camera took a 1920 x 1080 sample from a certain part of the sensor, there would be no aliasing problem in the resulting video because the data extracted from the chip is simply a subset of what goes to a still image. What have I missed?
You haven't missed anything, your understanding is correct. You just have to understand that using a small portion of the sensor would be pretty much equivalent to using a small-sensor video camera. No aliasing, but no shallow DOF either.
 
Thanks Barry. You've cleared up one small aspect -- that using a 1920 x 1080 crop from a sensor would give a final video image (neglecting the mp4 processing) as sharp as a still, but that the manufacturers don't give that option.

You've also explained what I didn't understand when I read the 550D manual. One of the movie modes is described as:

Crop 640 x 480... It will give a telephoto effect of about 7x. This shooting mode is called movie crop.
​

So what I was describing in my post would be called a 1920 x 1080 movie crop.

Now, assume I am using a GH1 in 16:9 mode (4352 x 2448 pixels), with a 100mm lens, and that Panasonic did offer a 1920 x 1080 crop in that mode. Am I correct in saying:

1. A video signal taken from that 1920 x 1080 crop would have the same quality as a still image taken from the entire sensor (neglecting the mp4 processing).

2. The cropped image on the sensor would be approximately 1920/4352 = 44% the size of a still; i.e. a 2.3 crop factor.

3. That crop factor means that the lens is effectively operating as a 100 x 2.3 = 230 mm lens.

4. This is where I am jumping ahead of myself because I do not have a good knowledge yet of the maths behind depth of field (I'll have to pull out my 1980s SLR book for that). But I found a DOF calculator at:

http://www.dpreview.com/learn/?/Glossary/Optical/Depth_of_Field_01.htm

and I plugged in a few numbers. Using a 100mm lens at f5.6 on a 4/3 sensor, subject distance 5 m, the depth of field is given as 0.47 metres.

A 4/3 sensor has a diagonal of 22.5 mm, so I assume if I want to calculate DOF for my 1920 x 1080 crop, I have to use a sensor size that has a diagonal of 22.5 x 0.44 = 9.9 mm. The closest I could find in the DOF calculator was a 1/1.8 sensor with a diagonal of 8.9 mm. Plugging in a 100mm lens at f5.6 on a 1/1.8 sensor, subject distance 5 m, the depth of field is given as 0.19 metres.

The DOF has improved when using a 1920 x 1080 crop, which is the opposite of what you have stated. I might have misunderstood something, but it seems to me that with a particular lens mounted on a GH1, if you could choose a 1920 x 1080 crop mode, the lens would effectively increase in focal length by a factor of 2.3, and the depth of field would decrease by a similar factor.
 
The DOF has improved when using a 1920 x 1080 crop, which is the opposite of what you have stated. I might have misunderstood something, but it seems to me that with a particular lens mounted on a GH1, if you could choose a 1920 x 1080 crop mode, the lens would effectively increase in focal length by a factor of 2.3, and the depth of field would decrease by a similar factor.
Well, of course if you do that, the DOF will decrease. That's just like using a longer lens; longer focal lengths give you less DOF than shorter focal lengths. But you have forgotten an important factor: the aperture value. In order to match DOF with the shorter focal length, you have to stop-down the aperture. Now work backwards, and you'll see why the smaller the sensor or image format, the greater the DOF for any given lens. Taking a 1920x1080 crop from the full ~12MP sensor is just like using a smaller sensor.

In your example, assuming that your calculations are correct (I haven't verified them), then using a 100mm lens with the 1920x1080 crop would result in the same FOV as a 230mm lens covering the entire sensor. Now imagine using the 100mm lens on the entire sensor (not just the crop). Of course the 230mm lens would have much greater DOF. But if you wanted to match DOF with the 100mm lens (on the entire sensor), the aperture must be stopped-down.

If you put a 50mm lens at f/2.0 on the GH1, it will have the same field of view and DOF as a 100mm lens at f/4.0 on a full-frame camera (such as the 5D). You could obtain the equipment and verify this for yourself. But it's also attested in DOF formulas.
 
Last edited:
Thanks for the input, Ydgmdlu, but you've thrown me off track to somewhere I don't want to go just yet. I want to understand as best I can how video is extracted from CMOS sensors, so to start with I want to keep things simple. I want to find out what effect a 1920 x 1080 crop would have on a GH1 with a given lens, and what happens when you select "Full-size mode" versus an imaginary "1920 x 1080 crop" mode. For me, I'm never really happy until I can apply my knowledge in new situations and get the right answer. So I would ask anyone who contributes to leave other lenses mounted on other cameras out of it at this stage. It is confusing enough as it is.

So, to recap: given a GH1 fitted with one lens -- and that lens is kept on the camera -- and an option of "full crop" or "1920 x 1080" crop, is it correct to say that if you changed from "full crop" to "1920 x 1080" crop the DOF would decrease? Barry suggested otherwise; and I'd like to know whether his comment: "No aliasing, but no shallow DOF either" is correct.

My first thought was: why would the depth of field change at all? If I have a 12MP still taken from a GH1, take it into Photoshop, crop it to 1920 x 1080, obviously the sharpness doesn't change. The image is fixed. Isn't a Photoshop crop the same thing as a "in-camera" crop? But maybe secondary effects come into play.

DOF involves complicated mathematics which I was avoiding at the moment, hoping to get a "feel" for DOF by asking a few questions.

And please -- remember I'm a beginner. What may be obvious to respondents ("Of course..." type of statements) is very likely not obvious to me and to a lot of other people. I simply don't have enough knowledge at this stage to be sure one way or the other about certain aspects of video DSLRs and DOF. I'm here to learn.

Finally, this thread has been sidetracked. My post was about how does the GH1 capture video. This "1920 x 1080" crop mode, bringing with it DOF, is a detour on the way. But I want to stay with this for the moment before I move on to "binning" and "line skipping" and "aliasing" and all the other data transforms that appear to be taking place.

So, is there a difference between a Photoshop crop and an "in camera" crop. And how does that effect DOF in both cases?
 
I'm not sure if I'm following but the camera isn't cropping into a 1080 image. You'll get the same DoF while doing video as if you had taken a still. What you are losing is resolution not actual feild of view.
 
Hi Phil,

At the moment I'm talking about a hypothetical 1920 x 1080 crop, basically because I wanted to know why it wasn't offered as an option. It should be. It appears that such an option would result in:

(a) an increase in focal length for a given lens (with a corresponding decrease in angle of view and a shallower DOF);

(b) less processing of the sensor data, meaning a cleaner image.
​

For the GH1 in video mode it would means the kit lens would become the 35mm equivalent of a 65-650 lens with the flick of a switch, and the image would become theoretically cleaner.

I've had a look at the Wikipedia article on DOF and I'll take their description as definitive (slightly edited for clarity):

1. SAME ANGLE OF VIEW. When a picture is taken in two different format sizes from the same distance at the same f-number with lenses that give the same angle of view, the smaller format has greater DOF;

2. SAME LENS. When a picture is taken in two different formats from the same distance at the same f-number using lenses of the same focal length, the smaller format has less DOF;

3. CROPPING AN IMAGE. Cropping an image and enlarging to the same size final image as an uncropped image taken under the same conditions is equivalent to using a smaller format under the same conditions, so the cropped image has less DOF.
​

Unless any of the above statements are incorrect, I'll get back to my original post: how does the GH1 capture video from its sensor? I'm working up to understanding "binning", "line skipping", "aliasing", and why, in the 5DMk11 at least (and in the GH1 and 550D?), aliasing differs in the horizontal and vertical directions.
 
Hi Phil,

At the moment I'm talking about a hypothetical 1920 x 1080 crop, basically because I wanted to know why it wasn't offered as an option. It should be. It appears that such an option would result in:
(a) an increase in focal length for a given lens (with a corresponding decrease in angle of view and a shallower DOF);

(b) less processing of the sensor data, meaning a cleaner image.
​
For the GH1 in video mode it would means the kit lens would become the 35mm equivalent of a 65-650 lens with the flick of a switch, and the image would become theoretically cleaner.

I've had a look at the Wikipedia article on DOF and I'll take their description as definitive (slightly edited for clarity):
1. SAME ANGLE OF VIEW. When a picture is taken in two different format sizes from the same distance at the same f-number with lenses that give the same angle of view, the smaller format has greater DOF;

2. SAME LENS. When a picture is taken in two different formats from the same distance at the same f-number using lenses of the same focal length, the smaller format has less DOF;

3. CROPPING AN IMAGE. Cropping an image and enlarging to the same size final image as an uncropped image taken under the same conditions is equivalent to using a smaller format under the same conditions, so the cropped image has less DOF.
​
Unless any of the above statements are incorrect, I'll get back to my original post: how does the GH1 capture video from its sensor? I'm working up to understanding "binning", "line skipping", "aliasing", and why, in the 5DMk11 at least (and in the GH1 and 550D?), aliasing differs in the horizontal and vertical directions.



Isn't this basically what the GH1 does with its 2X and 4X digital zoom modes?

Since the sensor is so much bigger than a regular 1920x1080 camera sensor, the digital zoom on the GH1 isn't as terrible as it is on a regular camcorder...but it still sucks. I used it this past weekend at a wedding just for a real world test. It was getting dark so the kit lens was useless...so I used 2X zoom on the 20mm f1.7 and crossed my fingers. Looks TERRIBLE.

Either way, I can't imagine an indy film-maker would even be remotely interested in cropping the sensor output...when they have the option of simply getting closer to the subject. For event video work...if you're nuts enough to use a GH1, the digital crop/zoom option is available in times of pure desperation. :embarasse
 
So, to recap: given a GH1 fitted with one lens -- and that lens is kept on the camera -- and an option of "full crop" or "1920 x 1080" crop, is it correct to say that if you changed from "full crop" to "1920 x 1080" crop the DOF would decrease?
No. The DOF would stay exactly the same. What would change is that you'd have a much smaller area filling the whole frame, so imagine you took a still picture, and then used scissors to cut away all the edges, leaving the smaller central area. Then blow that up to fill the screen. Same DOF, but smaller field of view.

My first thought was: why would the depth of field change at all? If I have a 12MP still taken from a GH1, take it into Photoshop, crop it to 1920 x 1080, obviously the sharpness doesn't change. The image is fixed. Isn't a Photoshop crop the same thing as a "in-camera" crop?
You are exactly correct.

So, is there a difference between a Photoshop crop and an "in camera" crop. And how does that effect DOF in both cases?
As far as DOF, there is no difference. Both result in a serious change in field of view.
 
Isn't this basically what the GH1 does with its 2X and 4X digital zoom modes?
Yes and no. Digital zoom is a crop that is then magnified to fill the full frame.

A more appropriate comparison to what he's asking is the "extended optical zoom" mode, but that's only available on stills.

the digital zoom on the GH1 isn't as terrible as it is on a regular camcorder...
I disagree. The digital zoom is every bit as bad as it is on a regular camcorder.
 
Here is a video I shot using the kit lens at 140mm with the 2x Digital Zoom on so I guess that's 280mm. It came out much clearer than I thought it would and the kit lens Image Stabilization helped out also since this was handheld. Certainly usable for web video.

Now the 4x Digital Zoom mode really does suck on the GH1 and is more like a regular camcorder's digital zoom.

Randy

 
Last edited:
The digital zoom is a simple mathematical extraction. If you go to 2x digital zoom, it's pretty much standard-def. if you go to 4x, it's VHS quality or worse.

There's no magic in the digital zoom, and I find the results in 2x to be low-res for something that's supposed to be HD. For standard-def it's okay.
 
Either way, I can't imagine an indy film-maker would even be remotely interested in cropping the sensor output...

Since no one has contradicted my statement...

For the GH1 in video mode it would means the kit lens would become the 35mm equivalent of a 65-650 lens with the flick of a switch, and the image would become theoretically cleaner.​

... I would have thought that everyone would like that option. You don't have to use it. It is not a crop that results in less resolution, it is a direct 1920 x 1080 crop from a much larger sensor and it would involve minimal processing. However, it would have the effect of increasing focal length, and whether the user wants that, only the user can decide. At the moment it appears that the GH1 and every other digital camera that supports 1920 x 1080, does all sorts of things to the data coming from the sensor. For example, one respondent to the thread link that I posted wrote:

From what I can see on the GH1 there's a combined downsample then upsample process going on, and what appears to be a similar line skipping phenonema. I'd suspect, but can't be sure, that it lineskips to 720p, then upsamples that result somehow to 1080p, which is why the 1080p is both soft and aliasy.​

Who knows whether he's right or wrong. That's what I'm trying to find out. The gist is: to reduce 4000 x 3000 pixels (approximately) to 1920 x 1080 requires some serious data processing, which both degrades the data and slows the processor. Panasonic decided to do it this way (I assume) so as not to increase the effective focal length of the lens by a further factor of 2.3, on top of the existing 2.0 crop factor due to the 4/3 sensor.

What I'd like to see is an 8 Mpixel camera (3840 x 2160) that takes 8 Mpixel stills, and for video combines the pixels in groups of 2 x 2 (is this what "binning" is?) to give a 1920 x 1080 output, thus achieving a big improvement in noise levels. Better still, a full-sized sensor with 18 Mpixels (5760 x 3240), grouped 3x3 for video. Cameras now have the resolution to do that; we just have to wait until it's implemented.

I'll ask again: does anyone know precisely how 1920 x 1080 video is captured from a large sensor in a camera such as the GH1 or 550D? Once I find out, I want to play around with, say, 4000 x 3000 stills in Photoshop, remove two out of every three lines vertically and horizontally to approximate what the GH1 is probably doing, and see what the effect is.
 
I'll ask again: does anyone know precisely how 1920 x 1080 video is captured from a large sensor in a camera such as the GH1 or 550D?
Only the engineers know for sure.

Our speculation is that they skip pixels on the sensor, reading maybe one out of each three, in each direction. So the field of view comes from the entire sensor, but only about 1/9th of the total sensor is read. This is a gross simplification, and doesn't account for the Bayer pattern, but it does simplify the general operating theory.

But the simple fact is nobody outside of the sensor factory knows for sure.
 
Last edited:
It's been a source of raging debate since the 5D first hit, over a year and a half ago. The reigning theory is that it skips pixels and skips lines. The only thing we've been told by Canon is that they use a six-pixel bin, and don't skip lines. But those who have put it under the microscope reject that, saying that the results the Canon gets are absolutely in line with what one would expect if it was skipping two lines out of three.

And that skipping of rows and pixels, combined with the cheap downconversion hardware, results in massive aliasing and especially purple/orange moire.

The GH1 probably does some things similarly, but it's immune to the purple/orange aliasing. It has luma aliasing, but not chroma aliasing.

So, nobody really knows, and the only statement we have from anyone in the factory seems contradictory to the theories that have been put forth and tested.
 
Since the manufacturers don't brag about how they do it, I suppose they must have something to hide -- which strongly suggests the skipping scenario.
 
Or they have trade secrets or patents on their technology, and therefore don't want to go handing those trade secrets to their competitors...
 
Back
Top