This might seam a bit OT until you realize how this phenomena effects "Cinemode" in the same way the Log encoding effects the results of my lossy compression test. Read on...
After reading an article on how LOG encoding helps spare the shadow detail when doing lossy compression, I had to test the notion myself. The idea is really compelling to me. (it seems to almost defy logic... until you think about what is going on under the hood.. I mean, in your brain... the relationship of the perceptual stuff to reality )
Anyway, I devised a test similar to the one outlined in the article. I used Jpeg2000 as my "lossy" format because it's the closest thing to Cineform I have access to. (JPEG2000 is wavelet based) The JPEG200 plug-in I used was perfect because it allowed me to use 10 bits per component in RGB, (Not YCC) similar to Cineform RAW. (Also allowing me to not lose any precision from the original lossless Cineon file I started with)
Starting with a log image (in this case the Kodak dlad "Marcy" image) All color space conversions done in floating-point color space so "rounding error" doesn't compromise the results.
1. encode the log image to to lossy format (low enough quality so we can see artifacts)
2. Make a linear version of the same image. (I was careful to make a true linear version by adjusting the LOG to LIN parameters to output an un-gamma corrected linear version) Encode that into a lossy file of the same quality. (same file size)
3. reload both images from lossy files and color time them to look "good" (Log to Lin the log image and color time the linear image to look the same)
4. Compare the quality of the resulting images.
The results were really interesting. I'm sending you guys a link to the (losslessy encoded) color graded output frames. They are only 8 bit but since they are post color correction so it's not as big a deal. You can see the differences pretty clearly. If you look closely you'll notice it seems as if the image that was compressed in linear space looks like it used way too many of its "bits" on highlight detail while not preserving any for the mid tones and shadows. The LOG encoded file seems to have used its bits more uniformly (perceptually at least) and has a more uniform distribution of quality.
Keep in mind I intentionally encoded these files to have a low enough quality setting to show some compression artifacts. (I needed to see enough artifacts to judge if one color space was better than the other at surviving lossy compression) To get the quality low enough, the JPEG2000 files ended up being an astonishing 400KB. We are talking about 10 bit per component 2k res files! With a little more bandwidth (about 1.5-2MB per frame), the artifacts on the LOG version go away completely. I mean, all the way down the film grain. There is no visible loss at all. Even when you diff the frames together in Photoshop. When you compare that to the original 12.1MB file size... I mean, wow, JPEG2000 is pretty amazing! Cineform must be pretty great if it's even close.
Results:
http://hv20.info/yopu/lossy_log.png
http://hv20.info/yopu/lossy_lin.png
Pixel Harvest is doing 3¢ per frame 2k film scans in LOG encoded Cineform avi format. (Basically, AVI movie files ready to edit in Premiere or After Effects)
http://www.pixelharvest.com/
Maybe shooting on film isn't as far out of reach as I always though...
OK, so how does this relate to the HV20 and Cinemode? Well, Cinemode is a LOG or LOG-like curve. (Not the same as the Cineon LOG I was doing my testing with, but similar) Hence, it should help the image survive HDV compression a little better than regular TV gamma. (Which has the same effect only not as strong)


Reply With Quote
