False colour artifact

Hi,
when using LibRaw on a Nikon image with these settings:

LibRaw libRaw;
libRaw.open_buffer( pImageMemoryBuffer, bufferSize );
libRaw.imgdata.params.adjust_maximum_thr = 0.0f; //do not adjust any channels
libRaw.imgdata.params.fbdd_noiserd = 0; //do not use noise reduction
libRaw.imgdata.params.gamm[ 0 ] = 1.0; //set linear gamma curve
libRaw.imgdata.params.gamm[ 1 ] = 1.0; //set linear gamma curve
libRaw.imgdata.params.no_auto_bright = 1; //do not automatically brighten the image
libRaw.imgdata.params.user_qual = 3; //set the interpolation quality
libRaw.imgdata.params.use_camera_wb = 1; //use camera white balance
libRaw.unpack();
libRaw.dcraw_process();
libraw_processed_image_t* pProcessedImage = libRaw.dcraw_make_mem_image();

I am finding a false colour artifact which is happening at the high contrast edges ie between a black and white edge, I am experiencing a lot of red. Is there anything I can do about this please?
Thanks,
Patrick

Forums: