Rss Feed Tweeter button Technorati button Delicious button Digg button Stumbleupon button

Display Histogram Values

Jan. 08, 2013 Email This Post Email This Post

This script tries to overcome the ridiculously small font on the Histogram window by grabbing the values and sending them to the Error Console.

 

Display Histogram Values
Display Histogram Values
kp24_histo_values.scm
Version: 1.0
Author: paynekj
1.8 KiB
510 Downloads
Details...

Posted by GnuTux in Script-Fu, Scripts & Plug-ins | Trackback URL

Tagged: , , , ,

6 comments

  1. Amir Dori says:
    January 9, 2013 at 3:20 pm - Reply

    Thank you so much. This script it great but I need (if possible) a few modifications:
    1.Remove the file name from the list.
    2.Display ONLY the pixel number (without the word pixel) and without all the rest of the data.
    3.Display the number without the decimals.
    Thank you.

  2. I’m not going to modify the script as I think it’s more generally useful as it is.

    I will show you how to modify your copy to do what you want.

    Open the file in a text editor and find the line
    (gimp-message (string-append (car (gimp-image-get-filename Image)) "\nMean: " mean_value
    "\nStandard Deviation: " std_dev_value "\nMedian: " median_value "\nPixels: " pixels
    "\nCount: " count "\nPercentile: " percentile))

    Change it to
    (gimp-message pixels)

    As you say you are pasting the number into Excel, I suggest you remove any decimals using the formatting in Excel.

  3. Thank you very very much. This is very helpful.

  4. Thanks for this.
    That text IS tiny.

    For your output to match the GUI display, the percentile values should be multiplied by 100.

  5. Would it be possible to get also the values for the three seperate color chanel red, green and blue?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>