9/27/12

Which sharpness value to set in your Canon HDSLR?






Hi all,

VisionColor suggests to set the sharpness parameter to “+1” while almost everyone else argue that “0” is the correct one for video.

The reasons for “0” are to reduce the moire and the assumption that the sharpening won’t add any detail anyway but halos. Well, the guys from VisionColor know what they say.

Technically, edge enhancement (sharpness) is a convolution of an edge
:









(a clean signal is brought as example)

With this function:











Resulting the function to look:











That’s the reason for halos around the edges, the bright side of the contour is brighter and the dark - darker. No extra detail from nowhere will be added.
By definition, edge is a contrast line bigger than a defined threshold.
H.264 has an algorithm for smoothing very fine details since they are very wasteful to the encoder, even if the bitrate is high. It gives overall better results in most of the cases because it prevents high quantization of the more dominant edges. When we sharpen the footage within the camera we create better edge separation and actually tell the encoder that the edge that was too fine and was squeezed, now is above this squeezing threshold - and will be encoded with the rest of the frame. Bottom line, a value of “+1” in the sharpness in your Canon DSLR may keep some of the fine details from being quantized in the encoder without too ugly halos.
Canon’s encoder has a limit in minimum QP of 10 and relatively a high bitrate (though very primitive encoder), so in 90% of your footage you won’t have any difference on the entire quantization of the frame.
“+2” and above will create externalized halos, probably won't preserve much more detail and of course a lot more (loved by all) moire - so it is less recommended.

The following examples were taken while the camera is in motion (rotation actually - this way it is more difficult for the encoder to estimate the motion):
(View full image) (View full image) (View full image)

As it can be inferred, "1" is the sweet spot in terms of detail<->halo. However, the downside is obviously some slight moire addition (for example: the diagonal line in in bottom right corner). We should treat moire as "no going back". Moire is an anomaly occurs because a digital prediction, in places of optical gap, causes never existing edges. AFAIK, it cannot be fixed effectively in post - even if you blur the footage.

Conclusion (for ISO 640 and below):
If your project will go any further than Youtube, Vimeo or any highly compressed video viewer - set sharpness to "+1".
Otherwise: consider "0".


How sharpness affects high ISO footage?
Paradoxically, at high ISO you’ll get less noise when the sharpness setting is higher. It would happen because you sharpen the noise and it gets quantized - this way damages the image. Smart temporal denoise to get extra detail will be discussed in future posts.

The following examples are identical to the previous, except for the ISO that is set to 1250 (In proper workflow I don't see any reason to go any higher than that):
(View full image) (View full image)             (View full image)            (View full image)   

The "+5" exists just to show how far you can go with it. Higher quantizer value = heavier compressed = more details lost.


Conclusion (for ISO above 640):
Like the low ISO conclusion with some more weight to "0".


In addition to all the above, I wouldn't suggest to sharpen the footage in post (especially if you also decide to do it in the camera) because it creates a MiniDV camcorder look. Feature movies usually are not sharpened (if not remastered for DVD).


Mark.


 Reference: http://www.sciencedirect.com/science/article/pii/S1076567004360015

9/26/12

Introduction


Hi all,

Since it’s the first post, I think introduction would be the most appropriate for it.
First of all please forgive me for my bad English. English is far from being my native language.


- So I’ll start with the most obvious question: why are we here?
This (yet another) blog will discuss digital cinematography issues. Especially related to DSLR video shooting along with some RED stuff.

- What is the new information that can be fed in the end of 2012?

It seems like every single subject related to DLSR film making was already discussed.
Well, no. A lot of technical information was dismissed over the time. A lot of wrong beliefs regarding how things work grown to incorrect theories and workflows. Contradictions between various sources get enthusiast cinematographers confused. I’ll try here to settle the existing inaccuracies, bring some new information and analyze some upcoming stuff.

- Who am I to be so confident about this domain?
First, feel free to contradict the future technical posts if they seem to be inaccurate. Second, I’ll present myself:  
My name is Mark. I’m a video quality expert and video algorithms technician in a plc that design image processing units for digital cameras. Furthermore, I’m an independent DP, editor and colorist. I was involved in some projects for the TV and the internet. 
My website (in case you weren’t directed to this blog from there): www.MaGinMP.com .


See you in future posts,
Mark.
maginmp@gmail.com