Entropy512
Veteran Member
Here's a more direct look at outlier removal with the a7RII and a7RIII:
http://blog.kasson.com/the-last-word/a7rii-star-eating-histograms/
Jim
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Here's a more direct look at outlier removal with the a7RII and a7RIII:
http://blog.kasson.com/the-last-word/a7rii-star-eating-histograms/
Jim
Indeed.I think it's most likely that the pre-processing for lossy ARW compression which finds the min, max, and scaling factor for each interleaved 16-same-color-pixel subsequence in a 32-pixel block is the outlier detector.In my opinion, this "pixel pairing" is the smoking gun.
Exactly the same spatial filtering effects happen on uncompressed raws as compressed ones. What we're seeing as not an artiact of compression.Indeed.I think it's most likely that the pre-processing for lossy ARW compression which finds the min, max, and scaling factor for each interleaved 16-same-color-pixel subsequence in a 32-pixel block is the outlier detector.In my opinion, this "pixel pairing" is the smoking gun.
I'd be interested to see a controlled test that uses uncompressed raws, to remove any possible influence of the posterization that can be caused by ARW compression, as posterization is essentially synonymous with the apparition of repeated identical pixel values.
One of the best direct comparison tests I've seen so far is the one Matt Grum has done here, using a background of glitter to form the "stars":One way to implement a reproducible test to see if the Sony really eats imaged point sources of light — i.e. real stars — instead of limiting its appetite to hot pixels that are not actually stars, would be e.g. to take a picture of a test chart.
True enough. However, compression does itself perform some spatial filtering when neighborhood dynamic ranges are high:Exactly the same spatial filtering effects happen on uncompressed raws as compressed ones. What we're seeing as not an artifact of compression.Indeed.I think it's most likely that the pre-processing for lossy ARW compression which finds the min, max, and scaling factor for each interleaved 16-same-color-pixel subsequence in a 32-pixel block is the outlier detector.In my opinion, this "pixel pairing" is the smoking gun.
I'd be interested to see a controlled test that uses uncompressed raws, to remove any possible influence of the posterization that can be caused by ARW compression, as posterization is essentially synonymous with the apparition of repeated identical pixel values.


blog.kasson.com
It is hard to say what we are looking at here without having the actual RAW file.The way I proposed the algorithm that Jim refers to, was to actually examine the patterns in pixel values resulting from the spatial filtering:
Pairs of pixels with identical values
In the above diagram I have done this only in a small area of the image from a Sony A7RII firmware v4.0.
In my opinion, this "pixel pairing" is the smoking gun.
More info here: http://www.markshelley.co.uk/Astronomy/SonyA7S/diagnosingstareater.html
Mark
You can download one of my Sony A7S bulb mode images from here:It is hard to say what we are looking at here without having the actual RAW file.The way I proposed the algorithm that Jim refers to, was to actually examine the patterns in pixel values resulting from the spatial filtering:
Pairs of pixels with identical values
In the above diagram I have done this only in a small area of the image from a Sony A7RII firmware v4.0.
In my opinion, this "pixel pairing" is the smoking gun.
More info here: http://www.markshelley.co.uk/Astronomy/SonyA7S/diagnosingstareater.html
Mark
Thanks, I will play with those files when I have the time.You can download one of my Sony A7S bulb mode images from here:It is hard to say what we are looking at here without having the actual RAW file.The way I proposed the algorithm that Jim refers to, was to actually examine the patterns in pixel values resulting from the spatial filtering:
Pairs of pixels with identical values
In the above diagram I have done this only in a small area of the image from a Sony A7RII firmware v4.0.
In my opinion, this "pixel pairing" is the smoking gun.
More info here: http://www.markshelley.co.uk/Astronomy/SonyA7S/diagnosingstareater.html
Mark
https://drive.google.com/open?id=0B3Ky5pyZvsINaDBraUhvQUVadkk
It uses the old algorithm.
Drew Geraci made some raw A7RIII files available with exposures longer than 3.2sec. You can find a link at the bottom of this article:
https://petapixel.com/2017/11/14/sony-a7r-iii-star-eater-no/
They use the new algorithm.
The stars in his image survived the spatial filtering because of their larger size but the same pixel pairing artifacts exist and allow the effects of the algorithm on smaller sizes to be predicted.
I downloaded the files from the Dropbox link. The EXIF shows it was v1.00 of the A7RII firmware i.e. the camera's original firmware. The hot pixels you are seeing are the "confetti" noise on longer exposures, that everyone complained about when the A7RII was first released.How about the files in the link I posted? You participated in that thread. Why aren't the hot pixels removed there? Here is a crop of one of them, zoomed in considerably.I don't think they are mine to spread around. Why don't you shoot Rishi a PM?Any chance you can post the files you got from dpreview? Or long exposure dark frames from the A7RII? The ones I found here clearly show hot pixels which are not removed.
30s, ISO 3200, A7R2
Can you provide a link to the star eating article? I'm unsure which one you might be referring to. It doesn't make sense to me that hot pixels can exist in an image demonstrating "star eater".Thanks, I will play with those files when I have the time.You can download one of my Sony A7S bulb mode images from here:
https://drive.google.com/open?id=0B3Ky5pyZvsINaDBraUhvQUVadkk
It uses the old algorithm.
Drew Geraci made some raw A7RIII files available with exposures longer than 3.2sec. You can find a link at the bottom of this article:
https://petapixel.com/2017/11/14/sony-a7r-iii-star-eater-no/
They use the new algorithm.
The stars in his image survived the spatial filtering because of their larger size but the same pixel pairing artifacts exist and allow the effects of the algorithm on smaller sizes to be predicted.
By the new algorithm - you mean a new version of the firmware? I am not a Sony user.
What firmware was used by dpreview in their star eating article for the A7RII? One can see unremoved hot pixels there and very few (some should exist in any file) equal pairs.
Here:Can you provide a link to the star eating article? I'm unsure which one you might be referring to. It doesn't make sense to me that hot pixels can exist in an image demonstrating "star eater".
Thanks, this helpful.Yes, by the new algorithm - I do mean a new version of the firmware
The original A7RII v1.0 firmware had the "confetti noise" problem on longer exposures.
Sony released v1.1 firmware that "fixed" the confetti noise problem on all exposures of 4sec or longer. It was almost certainly this update that introduced star eater to those exposures.
A lot later on, v4.0 of the A7RII firmware "improved" the spatial filtering by reducing its effect on the green channel - at least that's what my analysis suggests.
So in summary, it's important to know the firmware version of any image being examined.
It's using A7RII v3.0 which would be applying spatial aliasing but to be honest it's very difficult to tell anything useful from that jpeg. I'm not seeing any obvious hot pixels.Here:Can you provide a link to the star eating article? I'm unsure which one you might be referring to. It doesn't make sense to me that hot pixels can exist in an image demonstrating "star eater".
https://www.dpreview.com/news/3195011528/analysis-the-sony-a7r-iii-is-still-a-star-eater
It seems to me that what people want is a menu option to output an uncompressed raw data file with no algorithms applied whatever. Perhaps it could be called a "Technical Raw File" to discourage use by beginners.Good points, Hank. BTW, I’ve been working with uncompressed files so far.
- ProfHankD wrote:
Obviously, Jim's answer is at least very reasonable justification.Suppression of hot pixels caused by dark current.Why would they do it? To improve dxo mark score? Because (some) raw developers do a poor job? Because their built-in lossless raw compression needs it?
However, Sony's lossy raw compression actually computes the min and max values that Jim's presumed-correct filter equation needs. If they are generating a lossy-compressed raw image and keep the "outliers" in the image data, they could have the effect of causing significant posterization (scaling of the 7-bit value offsets) that would effect not just one pixel, but the entire 16-pixel sequence (within the color-interleaved 32-pixel ARW compression block). In other words, stray pixel values could cause much more severe artifacting using ARW compression than they would for most raw formats, so Sony may have a little extra motivation to do this filtering.
Sony now supports both lossy-compressed and uncompressed raw, but the default path has long been lossy-compressed, and their compression is designed so that image data compressed by it can be updated in-place. In short, I'd bet a lot of the imaging pipe is tuned to work with compressed data; I wouldn't even be surprised if the compression -- and this filtering -- is literally done on the sensor chip. If so, my suggestion to Sony would be to make selection of the uncompressed raw output disable the outlier filtering. That's probably already an alternative code path at a very low level, so why not?
One could even go lower and call it something like a "camera debug record" perhaps with extra EXIF about various normally hidden internal settings. This is also a perfect reason to continue, and fully open, the PlayMemories App interface -- so that custom apps could get access to things without changing the camera default behavior.It seems to me that what people want is a menu option to output an uncompressed raw data file with no algorithms applied whatever. Perhaps it could be called a "Technical Raw File" to discourage use by beginners.
The sensor already has hot pixel mapping - would "Technical Raw" disable that too?It seems to me that what people want is a menu option to output an uncompressed raw data file with no algorithms applied whatever. Perhaps it could be called a "Technical Raw File" to discourage use by beginners.
Yeah - I remember JimK mentioning a few categories of things that did make sense for the camera to do - ones that were best described as "camera calibration corrections" - stolen PDAF pixels are effectively in that category too.The sensor already has hot pixel mapping - would "Technical Raw" disable that too?It seems to me that what people want is a menu option to output an uncompressed raw data file with no algorithms applied whatever. Perhaps it could be called a "Technical Raw File" to discourage use by beginners.
What about the PDAF pixels - i.e. blue pixels which have been "stolen" for AF, so there is no blue value at that site? Would "Technical Raw" interpolate a value?
I'm reasonably happy for those to take place but I certainly don't want spatial filtering. However, other folk's mileage may vary.
Mark