Login  Register

HistogramWindow to plugin...

Posted by Tony Collins-4 on Nov 25, 2009; 4:24pm
URL: http://imagej.273.s1.nabble.com/MTrack2-plugin-bug-fix-tp3690333p3690335.html

Hi,

I'd like a bit more control over the histogram plot in ImageJ (size, text displayed, etc.) for some FLIM images I want to publish. I though the quickest way to do this would be to adapt the core HistogramWindow() code and convert it to a plugin that I could customise.
http://rsbweb.nih.gov/ij/developer/source/ij/gui/HistogramWindow.java.html

I replaced:
        package ij.gui;
with
        import ij.gui.*;

and swapped the string:
        HistogramWindow

With
        My_HistogramWindow
And saved it as My_HistogramWindow.java

It compiles OK but I get an error *dialog* saying "Unable to load plugin (ins)".

Any suggestions as to whether there is a fix to this would be much appreciated.

Cheers,

Tony
 
Tony J. Collins, Ph.D.
McMaster Biophotonics Facility
HSC 4H21A, McMaster University, Hamilton, ON, L8N 3Z5
[hidden email]     www.macbiophotonics.ca