[Bug 276883] New: [WIS] jpeg to raw color curves, AKA apply to raw in-camera settigs

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 276883] New: [WIS] jpeg to raw color curves, AKA apply to raw in-camera settigs

Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883

           Summary: [WIS] jpeg to raw color curves, AKA apply to raw
                    in-camera settigs
           Product: digikam
           Version: 2.0.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: Batch Queue Manager
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Created an attachment (id=61527)
 --> (http://bugs.kde.org/attachment.cgi?id=61527)
histmatch.py

Version:           2.0.0 (using KDE 4.6.4)
OS:                Linux

A Feature that could be really interesting to have is to apply to raw files the
operations the camera would have used to create the jpeg.

To make this possible cameras save in exif binary chunk of data, in scattered
proprietary formats, thus making support of this feature to support very
difficult outside programs of the vendor (i.e Nikon Capture NX)

There is another way, cameras often save preview and also full jpeg (nef 12 bit
compressed fex) in the raw file, this file is worked by the camera and show
evident differences to the raw.

The idea is to try to re-create the histogram of the jpeg onto the raw.
Fred Weinhaus did exactly that using imagemagick's `convert`
http://www.fmwconcepts.com/imagemagick/histmatch/index.php
The attached python script is a conversion of his histmatch bash one. The
linked page has a good description of how it work.

There is a bug preventing images of different sizes to work, but as a proof of
concept it should be enough ;)

it's called like
`histmatch.py -c luminance preview.jpg 16bit.png 16bit_out.png`
the "scatteer" script on the same site can be used to analize results.

While this approach can and should be perfected it has already good results

So it would be interesting to have a similar feature in the batch conversion

P.S. a way to make it better could possibly involve hald maps for 3d clut, need
more investigation
P.P.S I'll look at this in depth after my short holidays i.e. after July 10

Reproducible: Didn't try



Expected Results:  
better camera/digikam match of produced images

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276883] [WIS] jpeg to raw color curves, AKA apply to raw in-camera settigs

Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883


Francesco Riosa <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Francesco Riosa <francesco+kde pnpitalia it>  2011-07-13 19:38:13 ---
*** Bug 277707 has been marked as a duplicate of this bug. ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276883] JPEG to RAW color curves, AKA apply to raw in-camera settings

Gilles Caulier-4
In reply to this post by Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Summary|[WIS] jpeg to raw color     |JPEG to RAW color curves,
                   |curves, AKA apply to raw    |AKA apply to raw in-camera
                   |in-camera settigs           |settings

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 276883] JPEG to RAW color curves, AKA apply to raw in-camera settings

Gilles Caulier-4
In reply to this post by Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883

--- Comment #2 from Gilles Caulier <[hidden email]> ---
Francesco,

The idea of this entry is very interesting. I would you like to see a C++
implementation which :

1/ extract JPEG preview from RAW (easy to do with libkdcraw API)
2/ Analyse JPEG image and compute settings to apply on RAW image data as post
processing
3/ Perform post processing to RAW using standard Digikam filters

Are you interested to work on this project ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 276883] Add color curves to BQM RAW to JPEG conversion

Gilles Caulier-4
In reply to this post by Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JPEG to RAW color curves,   |Add color curves to BQM RAW
                   |AKA apply to raw in-camera  |to JPEG conversion
                   |settings                    |

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 276883] Add color curves correction in RAW demosaicing processing from BQM

Gilles Caulier-4
In reply to this post by Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add color curves to BQM RAW |Add color curves correction
                   |to JPEG conversion          |in RAW demosaicing
                   |                            |processing from BQM

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 276883] Add color curves correction in RAW demosaicing processing from BQM

bugzilla_noreply
In reply to this post by Francesco Riosa-2
https://bugs.kde.org/show_bug.cgi?id=276883

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|BatchQueueManager           |BatchQueueManager-Tool-RAWP
                   |                            |rocessing

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel