RSS/Atom feed Twitter
Site is read-only, email is disabled

How to Get the Colour Average (and possibly other statistics ) for a Selection

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

Shlomi Fish
2009-04-24 14:59:14 UTC (over 15 years ago)

How to Get the Colour Average (and possibly other statistics) for a Selection

Hi all!

Let's say I have an image, and I made a selection. Now I want to run a command that gets the mean/average colour of the selection (and possibly other statistics like median, standard deviation, etc.).

I'd appreciate any pointers to existing tools. This won't be too hard for me to implement (I'm a programmer), but I'd rather spare myself the time.

Regards,

Shlomi Fish

Simon Budig
2009-04-24 15:08:35 UTC (over 15 years ago)

How to Get the Colour Average (and possibly other statistics) for a Selection

Shlomi Fish (shlomif@iglu.org.il) wrote:

Let's say I have an image, and I made a selection. Now I want to run a command that gets the mean/average colour of the selection (and possibly other statistics like median, standard deviation, etc.).

I'd appreciate any pointers to existing tools. This won't be too hard for me to implement (I'm a programmer), but I'd rather spare myself the time.

For the GUI there is the "Histogram" Dockable.

Hope this helps, Simon

Simon Budig
2009-04-24 15:10:49 UTC (over 15 years ago)

How to Get the Colour Average (and possibly other statistics) for a Selection

Simon Budig (simon@budig.de) wrote:

For the GUI there is the "Histogram" Dockable.

Oh, and there of course is "gimp-histogram" in the PDB as well.

Bye, Simon

Shlomi Fish
2009-04-30 10:50:21 UTC (over 15 years ago)

How to Get the Colour Average (and p ossibly other statistics ) for a Selection

On Friday 24 April 2009 16:10:49 Simon Budig wrote:

Simon Budig (simon@budig.de) wrote:

For the GUI there is the "Histogram" Dockable.

Oh, and there of course is "gimp-histogram" in the PDB as well.

Thanks!

That did the trick. Now the only problem is that the font on the histogram's statistics is small, but I was told that to fix it one needs to change the gtk+ theme.

Regards,

Shlomi Fish

Bye,
Simon

DJ
2009-04-30 15:13:24 UTC (over 15 years ago)

How to Get the Colour Average (and possibly other statistics ) for a Selection

Hi Shlomi, gimp users,

SF> statistics is small, but I was told that to fix it one needs to change the SF> gtk+ theme.

Wouldn't the fix be under Gimp's, Edit | Preferences | Themes, I have a "Default" and "Small" theme.