Sign up now! · Forgot password?
gimpusers.com RSS feed
58 @ identi.ca
819 @ Twitter

Histogram

ForumsFor GIMP users ► Histogram

Sent: 2012-02-09 17:26:30 UTC (3 months ago)

From: Anja_W

Histogram

Hi everybody!

I am fairly new to Gimp, but love it. I am a marine biologist and I would like to use this program for my research. I do need to export the histogram values as I need to do some calculations (pixel count and value). Is there any way I can do this? Thank you for your help.

Anja

Anja_W (via gimpusers.com)

» Reply to this message

Sent: 2012-02-09 17:45:00 UTC (3 months ago)

From: Stefan Maerz

Histogram

Anja,
I've used gimp for some rudimentary image analysis for the past four or five years. However, I've started migrating to Fiji (a fork of imagej).

It streamlines much of my tasks, because it is the right tool for the job.

To be direct, I don't have an answer for you, but I am interested to know if it can be done within gimp.

In imagej with an image open go:
Analyze>Histogram>List>File>Save As... this should give you a .xls file.

HTH,
Stefan Maerz

» Reply to this message

Sent: 2012-02-09 23:41:49 UTC (3 months ago)

From: Partha Bagchi

Histogram

On Thu, Feb 9, 2012 at 12:26 PM, Anja_W wrote:
> Hi everybody!
>
> I am fairly new to Gimp, but love it. I am a marine biologist and I would like to use this program for my research. I do need to export the histogram values as I need to do some calculations (pixel count and value). Is there any way I can do this? Thank you for your help.
>
> Anja
>
> --
> Anja_W (via gimpusers.com)
> _______________________________________________
> gimp-user-list mailing list
> gimp-user-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gimp-user-list

I think Gimp would be the wrong tool for this.

You might want to use R (http://www.r-project.org/) for this sort of
thing which will also allow you to do a whole bunch other
calculations. It's a very powerful statistical / mathematical
programming language with great graphics support.

Note that since each pixel in general is a vector of 3 values
typically between (0, 1) or (0, 255), you can plot each channel
separately in R to give you the histogram or you can do other plots.

» Reply to this message

Sent: 2012-02-09 23:44:28 UTC (3 months ago)

From: Alexandre Prokoudine

Histogram

On Fri, Feb 10, 2012 at 3:41 AM, Partha Bagchi wrote:

> I think Gimp would be the wrong tool for this.
>
> You might want to use R (http://www.r-project.org/)

» Reply to this message

Sent: 2012-02-09 23:56:08 UTC (3 months ago)

From: Partha Bagchi

Histogram

On Thu, Feb 9, 2012 at 6:44 PM, Alexandre Prokoudine
wrote:
> On Fri, Feb 10, 2012 at 3:41 AM, Partha Bagchi wrote:
>
>> I think Gimp would be the wrong tool for this.
>>
>> You might want to use R (http://www.r-project.org/)

» Reply to this message

Sent: 2012-02-10 00:17:23 UTC (3 months ago)

From: Stefan Maerz

Histogram

>>> I think Gimp would be the wrong tool for this.
>>>
>>> You might want to use R (http://www.r-project.org/) for this sort of
>>> thing which will also allow you to do a whole bunch other
>>> calculations. It's a very powerful statistical / mathematical
>>> programming language with great graphics support.
>>
>> Actually there is a gimp-octave plug-in by elsamuko :)

>
> Octave I think is a clone of Matlab - that should be fine too. :)

I've used octave (since switched to sage), but I once played a little bit
with imagemagick in octave. IIRC, without any sort of plugins.
I'd presume that octave supports histograms out of the box.

-Stefan Maerz
> _______________________________________________
> gimp-user-listmailing list
> gimp-user-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gimp-user-list
>

» Reply to this message

Sent: 2012-02-10 09:18:29 UTC (3 months ago)

From: Anja_W

Histogram

Thanks everybody for your replys. I really appreciate it. I was not aware that you can use R for pictures. Any good tutorials out there? Any specific package I need to instal? Thanks again. Anja

Anja_W (via gimpusers.com)

» Reply to this message

Sent: 2012-02-10 10:43:36 UTC (3 months ago)

From: Partha Bagchi

Histogram

On Fri, Feb 10, 2012 at 4:18 AM, Anja_W wrote:
> Thanks everybody for your replys. I really appreciate it. I was not aware that you can use R for pictures. Any good tutorials out there? Any specific package I need to instal? Thanks again. Anja
>
> --
> Anja_W (via gimpusers.com)
> _______________________________________________
> gimp-user-list mailing list
> gimp-user-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gimp-user-list

R has has extensive collection of packages that you can download
contributed usually by scientist working in specific area. I am almost
positive that there are packages written specifically for marine
biologists, certainly for ecologists etc.

As for dealing with pictures, you can install the readimage package
and then read in a jpeg as an image matrix. Let me know if you need
specific help.

For tuotrials (there are 100s) start with the "Other" section on the
R-website and you will find books that you can buy from Amazon to user
contributed tutorials and book even conveniently classified as <100
pages to more than 100 pages long.

Enjoy.

» Reply to this message

Your Ad Here