Module ij

Class PixelInspectionTool

  • All Implemented Interfaces:
    PlugIn

    public class PixelInspectionTool
    extends PlugInTool
    This plugin continuously displays the pixel values of the cursor and its surroundings. It is usefule for examining how a filter changes the data (also during preview). If the Pixel Inspector Window is in the foreground, "c" with any modifier keys (CTRL-C etc) copies the current data into the clipboard (tab-delimited). The arrow keys nudge the position. Preferences (Press the Prefs button at top left): Radius determines the size of the window, 3x3 for radius=1, etc. The Pixel Inspector window must be closed and opened to get the new size. Readout for grayscale 8&16 bit images can be raw, calibrated or hexadecimal. Readout for RGB images can ge R,G,B triples, gray value or hexadecimal. For copying the data to clipboard, it can be selected whether the position (x,y) is not not written, written in the first line or in the same way as the header lines of the Pixel Inspector panel. Limitations and known problems: x and y coordinates are always uncalibrated pixel numbers. Some image operations do not update the display. Michael Schmid Version 2007-Dec-06 - bugs fixed: did not always follow cursor nudge could make the display hang pixel value calibration was sometimes ignored Version 2007-Dec-14 - supports exponential format for large/small data values
    • Constructor Detail

      • PixelInspectionTool

        public PixelInspectionTool()
    • Method Detail

      • getToolName

        public java.lang.String getToolName()
        Description copied from class: PlugInTool
        Return the tool name.
        Overrides:
        getToolName in class PlugInTool
      • getToolIcon

        public java.lang.String getToolIcon()
        Description copied from class: PlugInTool
        Return the string encoding of the tool icon. See http://rsb.info.nih.gov/ij/developer/macro/macros.html#icons The default icon is the first letter of the tool name.
        Overrides:
        getToolIcon in class PlugInTool