fredmiranda.com
Login

Moderated by: Fred Miranda
  New fredmiranda.com Mobile Site
  New Feature: SMS Notification alert
  New Feature: Buy & Sell Watchlist
  

FM Forums | Sony Forum | Join Upload & Sell

1       2       3              8              10              17       18       end
  

Archive 2015 · Uncompressed 14 bit for A7sii and A7rii

  
 
Matt Grum
Offline
• • •
Upload & Sell: Off
p.9 #1 · Uncompressed 14 bit for A7sii and A7rii


Lee Saxon wrote:
If you'll look back you'll see that I specifically excluded real features such as IBIS or PDAF pixels. I'm talking about things like having an unusable grip, lossy raw compression, a battery they couldn't possibly think is big enough.


I don't have time to go searching back through everyone's post history so I was just responding to what was written in this thread.

There is always a slow rollout of certain features and the intentional obsolesce of older models. Often this is the case with video codecs and LOG tonecurves. However I don't think this was the case with the shutter/grip, which seemed to be in reaction to A7 criticisms, lossy RAW compression (unless they were playing a very long game since it's been around many years) or the battery - which is designed to be standard across the E-mount line, and so has to be sized for the smallest bodies.




Sep 16, 2015 at 08:33 AM
Matt Grum
Offline
• • •
Upload & Sell: Off
p.9 #2 · Uncompressed 14 bit for A7sii and A7rii


GMPhotography wrote:
Being a optimist one can hope they may have addressed a few of these things without saying anything. If they say something that's a admission something is wrong. No OEM admits there wrong.


They don't have to admit they're wrong - they could just say "improves image quality with long exposures", similar statements have been made in the past. The fact that nothing is mentioned on this front strongly suggests this update will be for uncompressed RAW only, as stated in the announcement.

GMPhotography wrote:
Not a engineer but I do have a thought. To compress a Raw file that would take processing power to actual complete that task. If you shot a bigger file that is uncompressed than its just pushing the raw data without compressing it. I wonder and we are assuming that the uncompressed raw will tax the system let's say but what if the opposite is true, it's not taxing the system any harder because it does not have to go through the compression routine. Just thinking out loud.


The lossy compression will be done with dedicated parallel processing hardware and will thus be extremely fast, so omitting it ought to have a negligible effect on image processing speed or power consumption. It will however mean the buffer is effectively halved, and card write times doubled.



Sep 16, 2015 at 08:41 AM
alundeb
Offline
• • • • •
Upload & Sell: Off
p.9 #3 · Uncompressed 14 bit for A7sii and A7rii


kwalsh wrote:
Yes the 11 bit nonlinear coding is the culprit but this would not follow a patch/stripe pattern for something like posterization of blue sky.

The algorithm is described as "11+7" meaning 11 bit non-linear companding and 7 bit delta encoding.

The first step, 11 bit companding, is *always* lossy. It is applied to every sensor value converting a 14 bit linear value from the sensor to a 11 bit non linear value. This in itself is not a bad idea if done "right" since we don't need so many levels in the highlights. The problem is Sony was too aggressive here, especially
...Show more

Thanks for the explanation Ken. I was under the impression that the 11 bit comression was done for the patch reference pixel only, and after the delta encoding. If implemented differently, the same encoding scheme could have avoided potential posterization of uniform areas. They could theorethically have encoded the delta values in 14 bits linear space and compensated for the error in the 11 bits companding when assigning the delta values.



Sep 16, 2015 at 09:26 AM
kwalsh
Offline
• • • •
Upload & Sell: Off
p.9 #4 · Uncompressed 14 bit for A7sii and A7rii


alundeb wrote:
Thanks for the explanation Ken. I was under the impression that the 11 bit comression was done for the patch reference pixel only, and after the delta encoding.


Ah, I see what you were thinking. I haven't examined the DCRAW source code directly myself, but lexa's post on the Raw Digger site analyzing the cRAW format states that the 7 bit deltas are in the 11 bit non linear space rather than the original 14 bit linear space.


If implemented differently, the same encoding scheme could have avoided potential posterization of uniform areas. They could theorethically have encoded the delta values in 14 bits linear space and compensated for the error in the 11 bits companding when assigning the delta values.


Indeed, and actually in this theoretical case only the two max/min pixels per stripe would be subject to the 11 bit lossy companding. The remaining 14 pixels could express their true original values (in the case of very low contrast in the stripe). For higher contrast you would of course scale the deltas, and you would have to scale them "sooner" because they aren't companded but in the end I think the delta scaling would be much like the effective scaling that occurs in the companding. Hmmm....

Well, for whatever reason that's not the way they did it - they do the deltas on the 11 bit companded values if the Raw Digger post is to be believed.

Cheers!



Sep 16, 2015 at 10:05 AM
Matt Grum
Offline
• • •
Upload & Sell: Off
p.9 #5 · Uncompressed 14 bit for A7sii and A7rii


kwalsh wrote:
I haven't examined the DCRAW source code directly myself, but lexa's post on the Raw Digger site analyzing the cRAW format states that the 7 bit deltas are in the 11 bit non linear space rather than the original 14 bit linear space.


I have examined the DCRAW source code directly, the detlas are indeed based on the 11 bit nonlinear values.

kwalsh wrote:
Indeed, and actually in this theoretical case only the two max/min pixels per stripe would be subject to the 11 bit lossy companding. The remaining 14 pixels could express their true original values (in the case of very low contrast in the stripe). For higher contrast you would of course scale the deltas, and you would have to scale them "sooner" because they aren't companded but in the end I think the delta scaling would be much like the effective scaling that occurs in the companding. Hmmm....


The delta values would have to be nonlinear, but essentially delta encoding the original 14-bit values would be possible, and would give greater precision for the same compression ratio...

...but I would wonder how often you get a variation of less than 127 ADUs within a 32-pixel wide area of the image. Not very often would be my guess. When I have a minute I'll grab a RAW file to actually check!



Sep 16, 2015 at 10:32 AM
theSuede
Offline
• • • •
Upload & Sell: Off
p.9 #6 · Uncompressed 14 bit for A7sii and A7rii


It will be really interesting to ABX-test the uncompressed format against the two older ones (gamma, gamma/lossy).

I know I can find situations where it will show a visible difference, the question is how far I have to push things before it shows. I'm willing to bet quite a lot of money that it's pretty far, and the risk of me losing is really small.

But I guess the option to have it (uncompressed, linear) is good. I do wish they keep an option for gamma-compression though. I'm used to large files, and photography is NOTHING compared to editing raw video - which can take up hundreds of gigabytes of intermediate storage to render rather short series of footage with grading and effects - but efficiency is more important to me.

Now, we're not limited by memory size or storage size. We're mainly limited by memory and storage throughput - bandwidth.
It's actually faster (and more energy/battery efficient!) to move a few thousand MP's worth of image data by compressing-moving-decompressing than by moving the full bulk of uncompressed data, since computation at the dispatch and endpoints is cheaper than bus bandwidth. At least as soon as you move outside the processor level 1-3 caches in a computer, and certainly in FPGA's and ASIC's. This means that editing is faster with compressed data, just as gaming video cards accelerate work by compressing memory streams as it sends it from the processors to the memory and back you gain maybe ten percent of performance without losing data fidelity.



Sep 16, 2015 at 10:58 AM
theSuede
Offline
• • • •
Upload & Sell: Off
p.9 #7 · Uncompressed 14 bit for A7sii and A7rii


Matt Grum wrote:
I have examined the DCRAW source code directly, the deltas are indeed based on the 11 bit nonlinear values.

The delta values would have to be nonlinear, but essentially delta encoding the original 14-bit values would be possible, and would give greater precision for the same compression ratio...

...but I would wonder how often you get a variation of less than 127 ADUs within a 32-pixel wide area of the image. Not very often would be my guess. When I have a minute I'll grab a RAW file to actually check!


What you really need to do is to run reverse MTF analysis, so you know the possible contrast ratios within that spatial frame.

For the other part (gamma-coding), you need to look at the minimum value-step available in that frame. One ADU delta is invaluable at blackpoint linear, but totally useless (more than one hundred times smaller than the photon shot noise at ISO100) in the highlights.

Given gamma encoding, the noise vs delta changes with level. The problem with the way Sony encodes lossily is not that the dynamic range within the frame is limited, but that the minimum available delta is bigger than the the minimum accurate information step in the darker parts of the strip. That gives posterization of individual levels - when you push the shadow beyond the slope of the gamma encoding.

That last sentence is important, since that was what the software engineers / signal processing engineers at Sony overlooked. That their sensors were getting so good that they contained usable detail information well below the step of their reduced-bit gamma coding.

In a Canon sensor, that would STILL not be the case. Read noise (at lower ISOs) and/or shot noise (at ISOs >400) would overwhelm the minimum level step in the shadows where this quantization/posterization problem is visible with this kind of encoding.



Sep 16, 2015 at 11:06 AM
alundeb
Offline
• • • • •
Upload & Sell: Off
p.9 #8 · Uncompressed 14 bit for A7sii and A7rii


Yeah, if we consider the posterization effect from the 11 bit gamma they use as a "signal" that can be seen in images, the photon shot noise from the A7s pixels at 18% of saturation should be about ten times that "signal". It could be possible to see after extreme stretching, but at a signal/noise ratio of -20 dB I would think the noise dominates.



Sep 16, 2015 at 11:24 AM
AJSJones
Offline
• • • •
Upload & Sell: Off
p.9 #9 · Uncompressed 14 bit for A7sii and A7rii


Anyone else see the potential ambiguity in the press release?

Either
...selectable Compressed (11+7) and Uncompressed (14-Bit) RAW image capture"
or
... selectable (Compressed and Uncompressed) 14-Bit RAW image capture"



Sep 16, 2015 at 11:37 AM
kwalsh
Offline
• • • •
Upload & Sell: Off
p.9 #10 · Uncompressed 14 bit for A7sii and A7rii


Matt Grum wrote:
I have examined the DCRAW source code directly, the detlas are indeed based on the 11 bit nonlinear values.


Thanks!


The delta values would have to be nonlinear, but essentially delta encoding the original 14-bit values would be possible, and would give greater precision for the same compression ratio...


Well they wouldn't have to be nonlinear, but it might make sense to do so for more sensible compression performance. For example, the compression algorithm could be:

1. Find min and max 14-bit values in the stripe
2. Covert to 11-bit and store
3. For remaining pixels compute difference in 14-bit space between pixel value and the min value as translated back to 14-bit from the stored 11-bit min value. This step preserves the exact 14-bit value of these non min/max pixels despite the fact that the min and max pixels themselves did not preserve their own exact values.
4. Scale or otherwise compand this delta as necessary.

In step 4 there is no need for this delta to be stored with a non linear compander, it could be stored linearly using the simple power of 2 scaling as necessary. I'm not sure that is necessarily the best option, but it is one option. Or maybe that's what you meant by non-linear (i.e. scaling by factors of two as necessary).


...but I would wonder how often you get a variation of less than 127 ADUs within a 32-pixel wide area of the image. Not very often would be my guess. When I have a minute I'll grab a RAW file to actually check!


Well you would in the very lowest ADU counts - something like the red channel in a uniform sky. But of course in almost all other cases it would be quite a bit larger and you'd then need to scale or compand the deltas at which point you haven't gained anything from the different delta encoding approach.

In the end just a less aggressive gamma curve - one that preserved the LSB for the lowest ADU values instead of always throwing away the LSB - would be just fine in my book. At least for the posterization of skies.



Sep 16, 2015 at 12:06 PM
kwalsh
Offline
• • • •
Upload & Sell: Off
p.9 #11 · Uncompressed 14 bit for A7sii and A7rii


AJSJones wrote:
Anyone else see the potential ambiguity in the press release?

Either
...selectable Compressed (11+7) and Uncompressed (14-Bit) RAW image capture"
or
... selectable (Compressed and Uncompressed) 14-Bit RAW image capture"


Yeah a little ambiguous. On the DPR announcement they mentioned that their understanding was the choices were the original 11+7 lossy compression or completely uncompressed 14 bit (not even losslessly compressed).



Sep 16, 2015 at 12:08 PM
Tariq Gibran
Offline
• • • • • •
Upload & Sell: Off
p.9 #12 · Uncompressed 14 bit for A7sii and A7rii


Mystik wrote:
There’s a stark difference between deliberate planned obsolescence and real technological improvements and developments that allow for better performance at a given price point over time.

Purposely holding back features is suicidal in competitive consumer electronics market segments, unless there’s some sort of collusion between the competitors, as innovation is where the value proposition lies in the consumer electronics space. Those who do not innovate in this space, die. If you, as a player in a consumer electronics space, deliberately do not put your best innovations into your current products, your competition will.

Holding back innovations only works at best, within
...Show more

Holding back innovations might work though IF say Sony has such a technology lead that the competition will not be able to immediately respond. It seems we certainly see this with sensor technology and Sony. How many years has Sony's sensor tech shown a clear advantage over Canon?

Another point about planned obsolescence, Sony and cameras is that it's not just a matter of initial durability but, perhaps just as important, product support and parts availability down the road. CaNikon might say support their higher end models with parts/ service for 8 or even 10 years. How long does Sony support their models? If they (Sony) choose not to produce enough parts for expected service beyond a few years, that's also planned obsolescence.




Sep 16, 2015 at 12:34 PM
alundeb
Offline
• • • • •
Upload & Sell: Off
p.9 #13 · Uncompressed 14 bit for A7sii and A7rii


alundeb wrote:
Yeah, if we consider the posterization effect from the 11 bit gamma they use as a "signal" that can be seen in images, the photon shot noise from the A7s pixels at 18% of saturation should be about ten times that "signal". It could be possible to see after extreme stretching, but at a signal/noise ratio of -20 dB I would think the noise dominates.


Blah, I did the math wrong. The photon shot noise is only 3 times the quantization step in 11 bit nonlinear right above 18% grey.



Sep 16, 2015 at 01:01 PM
nehemiahphoto
Offline
• • • • •
Upload & Sell: On
p.9 #14 · Uncompressed 14 bit for A7sii and A7rii


sebboh wrote:
i don't know about the a7r or a7rII, but my a7 and rx1 always have corrections turned off and i seem to have posterization issues much more frequently than on other cameras i've used. pretty much every time there is a large chunk of blue sky in the frame.



I noticed this too, especially on the RX1, even if the files weren't push super hard. And I do wonder if Sony will put out an rx1 follow up. Is ISO 64 possible through FW?




Sep 16, 2015 at 03:01 PM
hiepphotog
Offline
• • • •
Upload & Sell: Off
p.9 #15 · Uncompressed 14 bit for A7sii and A7rii


nehemiahphoto wrote:
I noticed this too, especially on the RX1, even if the files weren't push super hard. And I do wonder if Sony will put out an rx1 follow up. Is ISO 64 possible through FW?



Is this blue sky posterization visible only in JPEG? I have a bunch of big blue sky shots on the A7s, and I have not noticed it much even with pushing (JPEG shows minor banding).



Sep 16, 2015 at 04:16 PM
Fred Miranda
Offline
Admin
Upload & Sell: On
p.9 #16 · Uncompressed 14 bit for A7sii and A7rii


Did you guys see this?
The new firmware option will be called "RAW File Type" and we will be able to choose "Compressed" or "Uncompressed".

Source: http://www.thephoblographer.com/2015/09/15/first-impressions-sony-a7s-mk-ii/#.VfnvtbRYVEc







Sep 16, 2015 at 05:38 PM
AGeoJO
Offline
• • • • • • •
Upload & Sell: On
p.9 #17 · Uncompressed 14 bit for A7sii and A7rii


Thanks, Fred for posting that. Now, the file size goes from 24MB to 48MB and that's for A7s II. How big will the uncompressed file size be for the A7r II ?


Sep 16, 2015 at 06:13 PM
sebboh
Offline
• • • • • •
Upload & Sell: Off
p.9 #18 · Uncompressed 14 bit for A7sii and A7rii


thanks ken, matt, and theSuede! that makes much more sense then the previous explanations i'd heard.

nehemiahphoto wrote:
I noticed this too, especially on the RX1, even if the files weren't push super hard. And I do wonder if Sony will put out an rx1 follow up. Is ISO 64 possible through FW?


hiepphotog wrote:
Is this blue sky posterization visible only in JPEG? I have a bunch of big blue sky shots on the A7s, and I have not noticed it much even with pushing (JPEG shows minor banding).


no, shows up in raw viewing in LR as well as direct export to tiff.

here is an unprocessed shot (on an rx1) exported as tiff, downsized, and then converted to 8bit jpg for web:
http://farm6.staticflickr.com/5478/11285767924_1381719e31_o.jpg



Sep 16, 2015 at 06:17 PM
Fred Miranda
Offline
Admin
Upload & Sell: On
p.9 #19 · Uncompressed 14 bit for A7sii and A7rii


AGeoJO wrote:
Thanks, Fred for posting that. Now, the file size goes from 24MB to 48MB and that's for A7s II. How big will the uncompressed file size be for the A7r II ?


I expect to be close to double so 75-85MB depending on the image. It's nice to have the option as I would only use uncompressed to more serious work.



Sep 16, 2015 at 06:20 PM
mogul
Offline
• • • • •
Upload & Sell: On
p.9 #20 · Uncompressed 14 bit for A7sii and A7rii


sebboh wrote:
thanks ken, matt, and theSuede! that makes much more sense then the previous explanations i'd heard.


no, shows up in raw viewing in LR as well as direct export to tiff.

here is an unprocessed shot (on an rx1) exported as tiff, downsized, and then converted to 8bit jpg for web:
http://farm6.staticflickr.com/5478/11285767924_1381719e31_o.jpg


That example is caused by the curvature of the window is was shot through.



Sep 16, 2015 at 06:20 PM
1       2       3              8              10              17       18       end




FM Forums | Sony Forum | Join Upload & Sell

1       2       3              8              10              17       18       end
    
 

Welcome back
Log in to your account