Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
04-22-2018, 08:01 AM   #1
Veteran Member




Join Date: Feb 2010
Photos: Albums
Posts: 1,912
How "pure" can a Raw file be?

In another thread about NR and ISO the implication is that there exists a 'pure' Raw file that shouldn't be altered by the camera (even though it creates it) or PP software that isn't under the control of the photographer. Given that the Holy Grail of some seems to be the elimination of noise without altering anything else in the Raw file is this possible without contravening the laws of physics?

04-22-2018, 08:29 AM - 1 Like   #2
Otis Memorial Pentaxian
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 42,007
In theory, the RAW data represents voltages for each photo site on the sensor. "Pure" RAW would be these data as captured. "Not-so-pure" would be stuff like using the image processor for removing statistical outliers (probable noise), detection/mitigation of clipped values, and revising voltages to accommodate changes made, all before packaging the data and writing the file.


Steve

Last edited by stevebrot; 04-22-2018 at 08:35 AM.
04-22-2018, 08:55 AM - 4 Likes   #3
Pentaxian
photoptimist's Avatar

Join Date: Jul 2016
Photos: Albums
Posts: 5,121
The Holy Grail is an accurate estimate of the levels of red, green, and blue light that are in the scene. What if the some pixels are corrupted in ways known to the camera manufacturer but not readily known to the photographer or their software?

Some specific questions are:

1. If the sensor has a defective pixel that always puts out a 100% value (always white), should that bad value be kept for the "pure" raw file?

2. If the sensor has a defective pixel that always puts out a 0% value (always black), should that bad value be kept for the "pure" raw file?

3. If some pixels on the sensor are only 50% as sensitive as the rest of the pixels (because they are on-sensor PDAF pixels), should their values be corrected or uncorrected (the RAW image is criss-crossed by dark lines)?

4. If every pixel is either a bit more or less sensitive than the spec or photographer's exposure setting (that is, at ISO 100, some pixels act as if they are ISO 90 and others act as if they are ISO 110), should the "pure" raw file have ISO 100 pixel values or ISO-whatever pixel values?

What if "pure" is impure?
04-22-2018, 09:49 AM   #4
Veteran Member
joergens.mi's Avatar

Join Date: Jan 2012
Posts: 408
Have a look here, there you can see what the Prime IV will / can do


Socionext Europe ? Image Processors - Milbeaut®
https://www.eu.socionext.com/assets/downloads/32/Camera-Solution-Catalogue-AD04-00101-1E.pdf
https://www.eu.socionext.com/assets/downloads/32/Milbeaut_Factsheet_6_12.pdf

04-22-2018, 10:59 AM   #5
Otis Memorial Pentaxian
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 42,007
The last link has the best summary, though I do believe that those features relate to in-camera processing to actual image formats and not to low-level processing of sensor data.


Steve
04-22-2018, 11:40 AM - 1 Like   #6
Site Supporter
Site Supporter




Join Date: Mar 2008
Location: Prince George, BC
Photos: Gallery | Albums
Posts: 3,546
Deep Space Object astro stresses the sensor more tham many other types of photography due to the usually longer exposures needed to image the dim target. In the quest to bring out a faint signal from a galaxy or nebula., many techniques have been developed. If you start from a raw file, you have the best chance of success. But a faint signal will be overwhelmed by amp glow and other in-camera produced noise as well as sensor noise itself. I believe we should be worried about pre-processing of raw data only if it ends up removing the signal we are looking for. Otherwise the camera pre-processing is doing us a favor.

Last edited by jbinpg; 04-22-2018 at 12:32 PM.
04-22-2018, 12:34 PM - 1 Like   #7
Site Supporter
Site Supporter
Alex645's Avatar

Join Date: May 2015
Location: Kaneohe, HI
Photos: Albums
Posts: 3,526
QuoteOriginally posted by mohb Quote
Given that the Holy Grail of some seems to be the elimination of noise without altering anything else in the Raw file is this possible without contravening the laws of physics?
QuoteOriginally posted by photoptimist Quote
What if the some pixels are corrupted in ways known to the camera manufacturer but not readily known to the photographer or their software?
What if "pure" is impure?
I think for many of us, we have somehow assumed that RAW files were like unscanned film and upon discovering that even RAW files are processed (albeit minimally) that weʻve been duped and that a more pure state would be "the holy grail".

But even film had to be processed and prints were always a second generation with a great need for some post-processing. I can imagine how an astronomer or bio researcher would want unaltered pixel data, but engineers with human manufacturing and economic realities are dealing with millions of pixels that need software tweaks to correct anomalies. (e.g. Is that a newly found pulsar or a glitch in my sensor?)

My perspective is that RAW files are minimally processed and jpegs are out of the camera processed. No post processing on a RAW file and even in a scientific use, is too RAW for consumption. Post-process a jpeg and you are most likely over cooking it.

I agree with the concerns @photoptimist poses; even if we could extract a purely unprocessed RAW file, the only benefit I could imagine would be seeing the actual flaws of the sensor which could be compared to how effective the camera processing is when creating a traditional DNG or PEF/NEF/CR2, etc.

I apologize in advance if Iʻm missing your point.

04-22-2018, 01:23 PM - 2 Likes   #8
Otis Memorial Pentaxian
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 42,007
QuoteOriginally posted by Alex645 Quote
I think for many of us, we have somehow assumed that RAW files were like unscanned film and upon discovering that even RAW files are processed (albeit minimally) that weʻve been duped and that a more pure state would be "the holy grail".
Unscanned film is hardly without processing. Perhaps you meant undeveloped film.

I consider development to negatives to be analogous to what the low level image processor does. The result represents a persistent impression of light on the medium that is characteristic of that medium and for digital where the "medium" is the combination of sensor and processor.


Steve
04-22-2018, 01:57 PM   #9
Site Supporter
Site Supporter
Alex645's Avatar

Join Date: May 2015
Location: Kaneohe, HI
Photos: Albums
Posts: 3,526
QuoteOriginally posted by stevebrot Quote
Unscanned film is hardly without processing. Perhaps you meant undeveloped film.

Steve
No, I meant unscanned, but youʻre right, even processed (developed) film is.....processed.

Ever since Joseph Nicéphore Niépce (B&W), James Clerk Maxwell (color), and Steven Sasson, the term RAW is relative and not absolute.

"I put my heart and my soul into my work, and have lost my mind in the process." --Vincent Van Gogh
04-22-2018, 04:12 PM - 2 Likes   #10
Site Supporter
Site Supporter
Digitalis's Avatar

Join Date: Mar 2009
Location: Melbourne, Victoria
Photos: Gallery
Posts: 11,694
QuoteOriginally posted by Alex645 Quote
I think for many of us, we have somehow assumed that RAW files were like unscanned film and upon discovering that even RAW files are processed (albeit minimally) that weʻve been duped and that a more pure state would be "the holy grail".
Audiophiles and scotch aficionados have a similar mentality, all music is mixed before it is sold commercially and the sound is coloured by the speakers/headphones they listen to it through*. Blended whisky is widely held to be inferior to single malts from a specific distillery**. This quest for greater purity is often expensive and in the end pretty much an exercise in futility. RAW is the best option for editing as the higher bit depth offers more tonal flexibility than 8-bit Jpeg.

* do you really think every recording studio has $80,000 focal speakers with plasma tweeters hooked up with dual mono Tube amps with sterling silver speaker cables?
** though i'm prepared to admit some blended whiskies can be remarkably good.
04-22-2018, 04:45 PM   #11
Moderator
Not a Number's Avatar

Join Date: Mar 2012
Location: Venice, CA
Posts: 10,525
I would say there is no such thing as an "uncooked" RAW. There is signal processing and NR being done at every level/step from the sensor on.

And speaking of audio, dialing the clock back to the early mid 80's, many of the first generation of audio CDs often had a harsh unnatural sound with clipping and silibance. Most of the problem was that sound/recording engineers were used to equalizing (boosting and reducing) parts of the sound spectrum to overcome noise and unequal dynamic response in analog recording methods and media. Some of it was due to the A/D and D/A converters. It took a little learning curve to know what equalization "profiles" to use and tuning the digital converters.
04-22-2018, 05:04 PM - 1 Like   #12
Pentaxian
photoptimist's Avatar

Join Date: Jul 2016
Photos: Albums
Posts: 5,121
The challenge for the scientific photographer is that no sensor puts out unaltered data. The conversion of photon flux to electron counts or voltage is rife with pixel-by-pixel alterations in terms of sensitivity, dark current, saturation, cross-talk and a litany of different noise sources. Scientific imaging requires good calibration to un-alter the "raw" but impure data to form an accurate estimate of the original scene.

The camera maker's clever chips and algorithms to cook up a "better" raw file will certainly correct some impurities (e.g., removing the black and white speckles of dead and hot pixels) but at the cost of replacing one impurity with another lesser impurity (e.g., anomalous pixel-to-pixel correlations where the camera filled in the bad pixel with adjacent data). The scientific user will still need to to a calibration to detect and adjust for these impurities but then calibration was always requirement because a pure image was never an option.


(P.S. there's also the alterations to the image created by the lens such as vignetting, distortion, aberration, etc. That "comet" in the corner of the astro image may be coma!)
04-22-2018, 06:32 PM   #13
Veteran Member
SSGGeezer's Avatar

Join Date: Jun 2017
Location: Indiana, U.S.
Photos: Gallery | Albums
Posts: 4,845
QuoteOriginally posted by Digitalis Quote
Audiophiles and scotch aficionados have a similar mentality, all music is mixed before it is sold commercially and the sound is coloured by the speakers/headphones they listen to it through*. Blended whisky is widely held to be inferior to single malts from a specific distillery**. This quest for greater purity is often expensive and in the end pretty much an exercise in futility. RAW is the best option for editing as the higher bit depth offers more tonal flexibility than 8-bit Jpeg.

* do you really think every recording studio has $80,000 focal speakers with plasma tweeters hooked up with dual mono Tube amps with sterling silver speaker cables?
** though i'm prepared to admit some blended whiskies can be remarkably good.
And the standard speakers sitting next to the mixing board for years were not very good Radio Shack Tandys so they could estimate how the mix sounded on the average person's gear, in other words, weak equipment. Never been one for Scotch though, but still love an occasional quality Kentucky Bourbon.
04-22-2018, 06:46 PM   #14
Loyal Site Supporter
Loyal Site Supporter




Join Date: May 2016
Location: East Coast
Posts: 2,903
I can't help but think of people talking about their like of colors from CCD sensors and attempting to duplicate the color rendition in post for CMOS sensors. So right there we plainly see that the characteristics of sensor affect the RAW data, and there really can't be a single pure RAW, or they would all look alike. I'm thinking the sensor and camera wrapped around it should be thought of as making a film selection. You know what the baseline characteristic of Plus-X is. You know what happens if you push it. Select your film and work within it's parameters for what you need to do and do not worry too much about "pure" RAW, as it doesn't really exist.
04-22-2018, 07:53 PM   #15
PDL
Pentaxian




Join Date: Oct 2006
Location: PNW USA
Photos: Gallery
Posts: 2,127
Here is an interesting video that I refered to in another thread - it has even made it to the front page of DPR.


Your mileage might vary, but it is an interesting discussion on what occurs on a digital processor. Now, imagine how all that "data" would be stored into a file. You can also check out the site supporting ExifTool in which you can bury yourself in file level details.

ExifTool by Phil Harvey

As for Scotch Whiskey, neat and smokey - for gods sake no ice. Bourbon, yup, especially in a Manhattan at Oliver's http://www.mayflowerpark.com/olivers-lounge . Irish Whiskey - I prefer Red Breast, Canadian Whiskey ----- I haven't had a drink of that in twenty years. I prefer Scotch Whiskey --- sipping whiskey. In fact I am going to have dinner with two wee drams about right now.....

Last edited by PDL; 04-22-2018 at 08:02 PM. Reason: booze
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
photography, photoshop
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I predict RAW file sizes? runswithsizzers Pentax DSLR Discussion 11 11-19-2016 02:06 PM
Can a K3 with 18-135 match the a6300 with 16-50 and 55-210 for pure IQ? LemonStarburst Pentax K-3 & K-3 II 16 08-06-2016 11:58 PM
PDCU: overwrite RAW or save altered RAW-file Alfie Digital Processing, Software, and Printing 4 09-27-2012 09:33 PM
Adjust date in DNG Raw file, best method? Can it be done in bulk? WiseOx Digital Processing, Software, and Printing 3 07-05-2011 03:51 PM
How to save stitched RAW files to a RAW file? HermanLee Digital Processing, Software, and Printing 7 07-09-2010 05:51 PM



All times are GMT -7. The time now is 03:26 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top