RAW processing

All about RAW processing

Understanding highlight modes

Hi,
I have been trying to find information about how the highlight (recovery) modes work, but haven't found much (btw, does this forum really have no search feature?)

In particular I wonder what does the 'blend' highlight mode do? What is being blended?
I looked at the implementation, but it is a bit too cryptic for me to figure out what is happening.

And what is the difference between 'unclip' and the different 'rebuild' variants?

Forums: 

Generating ColorMatrix1 from input data

I have an application where we take in a RAW file, apply some processing, and then output to a DNG via libtiff. I get almost all the information I need to generate the DNG file out of libraw fine, but I cannot find out where or how ColorMatrix1 is generated. It seems like cam_xyz is always ColorMatrix2, and rgb_cam is an interpolation of ColorMatrix1 and 2, but I don't know how to work my way to ColorMatrix1 for arbitrary input. Is this something that can be accomplished with libraw?

Forums: 

Help with improving the image quality when decoding Fuji RAF

I have been using LibRaw to decode RAF files from Fuji mirrorless cameras.

However, I noticed that the bright/highlight areas are somewhat clipped and has a blue color tint when I apply a macOS Core Image highlight filter, trying to recover highlights.

My workflow goes like this:

1. Use LibRaw to unpack the image data
2. Create a Core Image (CIImage) from the image data
3. Use Core Image filters for processing highlights, there is a filter in the Core Image API for just that.

Here is what I do in step 1:

Forums: 

How to create syntethic mosaic images

Can somebody tell briefly how to create synthetic images like png in the article Bayer moire?
I tried a lot of approaches.

For example, I tried to convert real dng into a tiff and put data by libtiff in it, but it wasn't successful.

Also, I tried to create tiff with dng tags, which dng SDK validated after converting, but it wasn't successful as well.

Finally, I tried to add dng tags to the tiff image by using ExifTool. After converting, such an image was opened and demosaiced, but it is grayscaled.

Forums: 

ICC and DCP profile

Hi everyone,

I want to create icc and or dcp profiles for use with Lightroom in particular. Unfortunately, it's not clear to me at what exact state of development LR applies a profile and hopefully, that same state LR uses can be replicated using LibRaw?

I'd also like to test and or compare the result of applying the newly created profile via LR to some other mean of applying the profile, especially in the case of dcp profiles. Any suggestion?

Thanks,

~Yves

Forums: 

Pages

Subscribe to RSS - RAW processing