Pages: [1]   Go Down

Author Topic: Demosaicing: a possibly silly and definitely basic question about raw processing  (Read 3783 times)

Ellis Vener

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2151
    • http://www.ellisvener.com

For raw processing, not camera produced JPEGs.

Are there differences in the demosaicing algorithms used by various raw processing programs (Adobe Camera Raw, Apple Aperture/iPhoto, Canon's DPP, Capture One, DxO, Hasselblad Phocus, Iridient Developer, Nikon's Capture NX programs,  and the similar Sigma and Sony applications, etc.) or is the demosaicing color interpolation done or set  by a camera's internal image processor as part of the raw file?
Logged

Schewe

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 6229
    • http:www.schewephoto.com

Raw means that the image must be demosaiced by software after the fact, and yes, there are differences–sometimes huge–between different software's rendering (except for ACR/LR which is the same assuming the same dot version).
Logged

Ellis Vener

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2151
    • http://www.ellisvener.com

Raw means that the image must be demosaiced by software after the fact, and yes, there are differences–sometimes huge–between different software's rendering (except for ACR/LR which is the same assuming the same dot version).

Thank you Jeff.
Logged

Ellis Vener

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2151
    • http://www.ellisvener.com

Raw means that the image must be demosaiced by software after the fact, and yes, there are differences–sometimes huge–between different software's rendering (except for ACR/LR which is the same assuming the same dot version).

A follow up question with regard to ACR, are the different "dot versions" the same thing as different "process" versions (2012, etc.)?
Logged

Schewe

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 6229
    • http:www.schewephoto.com

A follow up question with regard to ACR, are the different "dot versions" the same thing as different "process" versions (2012, etc.)?

No...not necessarily. Some dot versions in the past have altered or changed in a dot version although that should have no impact on demosiacing...the big change in demosiacing happened in ACR 4.1 where the built -in luminance noise reduction was removed.

Process versions can change the way ACR handles the color and tone mapping but not demosiacing.
Logged

Pictus

  • Full Member
  • ***
  • Offline Offline
  • Posts: 216
    • Retouching

Would be very good if a future version of ACR/Lightroom to be accelerated by OpenCL.
Capture One 7 with OpenCL(need capable graphic card) is insane fast.
Also an option to choose a different demosaicing algorithm would be a blessing!
Keep the current as default and  include one for high quality(AMaZE ?)
and another(LMMSE ?) for high ISO and/or moiré...  ;D

Raw file http://movies.dpreview.com.s3.amazonaws.com/pentax_k5iis/IMGP0101.DNG.zip
« Last Edit: July 22, 2014, 05:37:55 pm by Pictus »
Logged

Schewe

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 6229
    • http:www.schewephoto.com

Would be very good if a future version of ACR/Lightroom to be accelerated by OpenCL.

Likely at some point...

Quote
Also an option to choose a different demosaicing algorithm would be a blessing!

Very unlikely...although don't be surprised that Adobe (read the ACR engineering elves) come up with improved demosaicing algorithms in the future. Not sure when though.
Logged

Tim Lookingbill

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2436

Always found this site on demosaicing algorithm rendering differences interesting...

http://www.linuxphoto.org/html/test_demosaicing.html

Other camera influences mainly regarding hardware as in the presents and thickness of a sensor's antialiasing filter can challenge certain demosaicing approaches.
Logged

EduPerez

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 700
    • Edu Pérez

RawTherapee lets the user choose between different demosaicing algorithms.
Logged

Ellis Vener

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2151
    • http://www.ellisvener.com

Always found this site on demosaicing algorithm rendering differences interesting...

http://www.linuxphoto.org/html/test_demosaicing.html

Other camera influences mainly regarding hardware as in the presents and thickness of a sensor's antialiasing filter can challenge certain demosaicing approaches.

Tim,
That looks great and thank you for the link, but unless I am missing something the tests do not appear to have been updated in awhile.
Logged

Vladimirovich

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 1311

Raw means that the image must be demosaiced
but then there is Sigma where you might not need any demosaicking (but you do need w/ recent sensor) - just the color transform... or monochrome cameras - no demosaick either
Logged

Vladimirovich

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 1311

Tim,
That looks great and thank you for the link, but unless I am missing something the tests do not appear to have been updated in awhile.
as mentioned Rawtherapee allows to select from many options and it is free - so you can run the tests yourself on your raws
Logged

sniper

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 670

as mentioned Rawtherapee allows to select from many options and it is free - so you can run the tests yourself on your raws
I'm fairly new to Rawtherapee, could you point me to the options to change the demosaicing, I can't see them in the settings.
Regards Wayne
Logged

EduPerez

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 700
    • Edu Pérez

I'm fairly new to Rawtherapee, could you point me to the options to change the demosaicing, I can't see them in the settings.
Regards Wayne

It is not part of the global settings, but the processing profile applied to each image: open a RAW file, and go to the last tab (the one that locks like a checkered board) on the right pane.
Logged

sniper

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 670

It is not part of the global settings, but the processing profile applied to each image: open a RAW file, and go to the last tab (the one that locks like a checkered board) on the right pane.

Got it now, many thanks for that.    Now I'll have to have a play.   :)
Logged

Tim Lookingbill

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2436

Tim,
That looks great and thank you for the link, but unless I am missing something the tests do not appear to have been updated in awhile.

Not sure I understand your point, Ellis.

I posted it as an FYI for those wondering how much demosaicing algorithms of various recipes good or bad can affect Raw previews. I didn't intend it to be considered as empirical evidence of one DA's superiority over another.

If your point was concern over whether the link was relevant to this thread, I'm only going by your thread title.
Logged

Ellis Vener

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2151
    • http://www.ellisvener.com

Tim,
I'm sorry,. I must have written my response badly. I am truly grateful for your taking the time the time to respond and share that link.  My only concern is that the results posted there do not take into account any changes that might have been made to the various programs between the time that survey was created and now. Specifically with reference to Lightroom (ACR) and Capture One.
Logged

Fine_Art

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 1172

The screenshot crop below shows the de-bayering methods of Raw Therapee. The methods used by most software are there.

My understanding is that ACR/Lightroom uses the AHD method with some modification.

If you want to see how AHD would work with the deconvolution in RT or the NR of RT you can test it for free. You can also test how AHD compares to AMAZE. AMAZE wins hands down IMO.
Logged

Tim Lookingbill

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 2436

Tim,
I'm sorry,. I must have written my response badly. I am truly grateful for your taking the time the time to respond and share that link.  My only concern is that the results posted there do not take into account any changes that might have been made to the various programs between the time that survey was created and now. Specifically with reference to Lightroom (ACR) and Capture One.

I agree, Ellis.

But that linked site shows what type of artifacts to look for in any number of Raw converters that could indicate causality by either or both the influence by the sensor's AA filter and/or demosaicing algorithm. Some artifacts can't be fixed but at least that site shows the cause and what to look for.

For instance my Pentax K100D's AA filter is quite thin and it explains why some shots taken at certain distances combined with my 6MP sensor produce overly sawtoothed edge artifacts (think low rez vector graphic sharpness) in ACR/LR 100% previews while other shots don't. On some shots I have to dial back the sharpening to get rid of this. Other Raw converters I've used produce an artificial softening with noisy edges (almost like jpeg compression) that I don't particularly like. Some shots of screen windows from a distance show moire while others don't.

Is that the fault of the demosaicing algorithm? And is a test based on one image going to prove it? I don't buy it.

I find tests that use a single image to show better or worse demosaicing results pretty misleading because of the other influences pertaining to distance, resolution and default sharpening. That site just shows what the results look like but I admit doesn't tell the whole story, but neither do discussions of this sort as well.
Logged
Pages: [1]   Go Up