Histogram specification?

You can try this script: Gimp Script: Histogram Match - Rob A's (Im)personal Blog.

It may need to be updated to work in current Company version.

@snibgo Thanks a lot for your detailed instructions. I understand the principle of your approach. But it will take a while till I understand exactly what the script is doing.

@anon41087856 and @sguyader thanks for pointing out which other tools may help me.

Hermann-Josef

Another thought: hereā€™s a gain-and-bias result:

This tweaks the RGB channels, giving each a multiplier and addition to make the mean and standard deviations match the target. This is simpler than the match-histogram method, and the result is fairly good. When the range of input colours is small, it is more reliable than match-histogram, so might be better for a method that chops one image into tiles, finds the tiles in the other input, matches pairwise, then blends the results.

My command was:

call %PICTBAT%imgGainBias ^
  childspoon_x-0c.png childspoon_x-1c.png childspoon_gb.jpg

ā€¦ where imgGainBias is at Gain and bias.

2 Likes

@snibgo Thank you for this alternative solution.

Hermann-Josef

Hi @Claes , is this that Histogrammar you mention ? :thinking:

Ciao, Gabriele!

Unfortunately: no :frowning:

Have fun!
Claes in Lund, Svezia

:slightly_frowning_face:Iā€™m searching an FOOS for a Rawdigger alternativeā€¦ Do you have any hints?

You could try HISTOGRAMMAR V1.2 2011 HISTOGRAMMAR V1.1 on Guillermo Luijkā€™s homepage. GUILLERMO LUIJK >> PROGRAMAS >> HISTOGRAMMAR
YMMV in using it.

I do my raw inspection in Mathematica, because so far I have never really bothered to learn Python. If you know Python, you could use rawpy Ā· PyPI which utilizes libraw to import your files and try to find what youā€™re looking for.

If I understood itā€™s for windows only ; Iā€™m on Linux

Have you any hints?

Ah sorry, didnā€™t know you were on Linux. In that case Iā€™m afraid I cannot help you out. What is it you want to do exactly?

I was curious to analize my RAW histograms more in details: view single sensor bin (R,G1,G2;B)ā€¦ I know I can find into RT with no demosaicing and the inspectorā€¦but
Iā€™m amazed in the FOOS there isnā€™t a software as Rawdigger :face_with_raised_eyebrow:

Iā€™ve taken up the endeavor a couple of times, but put it aside as more pressing programming arose (sounds more ā€˜officialā€™ than it is, really about what I felt like doing day-to-dayā€¦ :smiley: ), Really, I put a bit of work into rawprocā€™s histogram, and it meets my needs rather wellā€¦

I have put some time into a command-line program thatā€™ll read a raw file courtesy libraw, then walk the image array, collect and sum the channel data per value, and puke it out as comma-separated text suitable for opening in your favorite spreadsheet program. Libreoffice makes a nice histogram of the data with itā€™s column chart. Works okay on my test raw, but itā€™s not easily compiled by non-programmers in its present state.

Really, Rawdigger isnā€™t such a commercial abomination; it helps fund libraw, the open-source core library that some of us use in our raw processing programs.

Indeed I agree with this, but:

RawDigger is a microscope of sorts that lets you drill down into raw data both on Mac OS X and Windows.

:sob:

1 Like

Didnā€™t realize that. Danged GUIsā€¦ :laughing:

Now is your chance to make a Linux version and call it ā€œRaw Butcherā€

2 Likes

Well, I almost have one, if you donā€™t mind your GUI being LibreOffice/Excelā€¦ :scream:

I can draw you a clever icon :wink:

1 Like

Hi Glenn,
we are waiting :smiley:

PS. Idea :thinking: ā€¦ and if RT ( because itā€™s capable to make RAW histogram but in the 0-255 range for gui and velocity needs) could export a RAW histogram scale 1:1 ??

@dafrasaga Gabriele, you might find this interesting: Improvements to change main histogram to 65535 bins by Thanatomanic Ā· Pull Request #5904 Ā· Beep6581/RawTherapee Ā· GitHub :wink:
The wish is to include this change for the 5.9 release of RT, but it needs some polishing up first.

Good :+1: