<div dir="ltr">Although I attempted to compile DK, I wasn't successful, so now I'm using using appImage. I'll make sure I have the latest version and will report back if this happens again.<div><br></div><div>Thanks,</div><div><br></div><div>Tac</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 15, 2018 at 7:10 AM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">The Impulse Denoise option give artifacts. The Exposure correction amplify this side effect.</div><div class="gmail_extra"><br></div><div class="gmail_extra">It's certainly a problem in libraw GPL3 extension pack. We do not process anything in DK Raw import tool while demosaicing.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I try to reproduce the dysfunction with the libraw command line tool to preform demosaicing (the option are similar than dcraw CLI tool).</div><div class="gmail_extra">If you have compiled yourself DK, all libraw CLI tools are in core/test/rawengine/. dcraw_emu is the tool to reproduce all operations on command line :</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">[gilles@localhost rawengine]$ ./dcraw_emu
</span><br>dcraw_emu: almost complete dcraw emulator
<br>Usage: ./dcraw_emu [OPTION]... [FILE]...
<br>-c float-num Set adjust maximum threshold (default 0.75)
<br>-v Verbose: print progress messages (repeated -v will add verbosity)
<br>-w Use camera white balance, if possible
<br>-a Average the whole image for white balance
<br>-A <x y w h> Average a grey box for white balance
<br>-r <r g b g> Set custom white balance
<br>+M/-M Use/don't use an embedded color matrix
<br>-C <r b> Correct chromatic aberration
<br>-P <file> Fix the dead pixels listed in this file
<br>-K <file> Subtract dark frame (16-bit raw PGM)
<br>-k <num> Set the darkness level
<br>-S <num> Set the saturation level
<br>-R <num> Set raw processing options to num
<br>-n <num> Set threshold for wavelet denoising
<br>-H [0-9] Highlight mode (0=clip, 1=unclip, 2=blend, 3+=rebuild)
<br>-t [0-7] Flip image (0=none, 3=180, 5=90CCW, 6=90CW)
<br>-o [0-6] Output colorspace (raw,sRGB,Adobe,Wide,ProPhoto,<wbr>XYZ,ACES)
<br>-j Don't stretch or rotate raw pixels
<br>-W Don't automatically brighten the image
<br>-b <num> Adjust brightness (default = 1.0)
<br>-q N Set the interpolation quality:
<br> 0 - linear, 1 - VNG, 2 - PPG, 3 - AHD, 4 - DCB
<br>-h Half-size color image (twice as fast as "-q 0")
<br>-f Interpolate RGGB as four colors
<br>-m <num> Apply a 3x3 median filter to R-G and B-G
<br>-s [0..N-1] Select one raw image from input file
<br>-4 Linear 16-bit, same as "-6 -W -g 1 1
<br>-6 Write 16-bit linear instead of 8-bit with gamma
<br>-g pow ts Set gamma curve to gamma pow and toe slope ts (default = 2.222 4.5)
<br>-T Write TIFF instead of PPM
<br>-G Use green_matching() filter <br>-B <x y w h> use cropbox <br>-F Use FILE I/O instead of streambuf API <br>-timing Detailed timing report <br>-fbdd N 0 - disable FBDD noise reduction (default), 1 - light FBDD, 2 - full <br>-dcbi N Number of extra DCD iterations (default - 0) <br>-dcbe DCB color enhance <br>-aexpo <e p> exposure correction <br>-apentax4shot enables merge of 4-shot pentax files <br>-apentax4shotorder 3102 sets pentax 4-shot alignment order <br>-dbnd <r g b g> debanding <br>-mmap Use mmap()-ed buffer instead of plain FILE I/O <br>-mem Use memory buffer instead of FILE I/O<br>-disars Do not use RawSpeed library <br>-disinterp Do not run interpolation step <br>-dsrawrgb1 Disable YCbCr to RGB conversion for sRAW (Cb/Cr interpolation enabled)<br>-dsrawrgb2 Disable YCbCr to RGB conversion for sRAW (Cb/Cr interpolation disabled) <br>-disadcf Do not use dcraw Foveon code even if compiled with demosaic-pack-GPL2 <br></span></div><div class="gmail_extra"><span style="font-family:monospace"><br></span></div><div class="gmail_extra"><span style="font-family:monospace">But the impulse denoise option is not here. Only the wavelets denoise exists, and this one work fine in DK (as with CLI tool).</span></div><div class="gmail_extra"><span style="font-family:monospace"><br></span></div><div class="gmail_extra"><span style="font-family:monospace">As it said in libraw site, the libraw extra extension pack GPL2 and GPL3 are deprecated with next libraw 0.19. So i suppose that reporting this problem to libraw team will be not supported as well.</span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><span style="font-family:monospace"><br></span></div><div class="gmail_extra">Gilles Caulier<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></font></span></div>
</blockquote></div><br></div>