Scott Craver
Department of Electrical and Computer Engineering
Binghamton University
ES building room 2310, phone (cell) 607-727-7166
  • Example Course:
    • EE 480F, Cryptography and Information Security
  • Links:
    • Binghamton University
    • Princeton University
    • Northern Illinois University
  • Contests
    The Underhanded C Contest Watson School Trivia questions (with answers)
  • About Me:
    My CV (pdf)
    Teaching Statement
    Research Statement
  • Intensity Luminance Version 1.0

    This program computes aggregate RGB intensity values In order to quantify living and dead biomass in microscope images. It scans through a directory tree to find all computer images of supported type, and outputs for each image found the aggregate red, green and blue intensity values in CSV format.

  • Downloading and Running

    The file can be found here.

    Instructions for running can be found in the file. From the file:


    #  To run:  in the terminal, type ./redgreencount.tcl [nameofdirectory]
    #  To make a CSV file for excel:  ./redgreencount.tcl [nameofdirectory] > out.csv
    #  You can also plumb multiple directories by ./redgreencount.tcl foo bar etc
    #
    #  This will plumb the directory, and for each subdirectory containing
    #  images (tif, jpeg or ppm,)  it will return the total intensity of
    #  redness, greenity and bluetitude over all the images in that one
    #  directory.  The CSV output lists the directory path, directory name,
    #  number of images, then the sum of red, green and blue intensity.
    

Created with vi