This plugin displays the pixel values at the cursor and its surroundings.
Also see the Pixel Inspector Tool (based on this plugin), which is usually more handy than this plugin.
The plugin displays the pixel values of a square neighborhood around the current cursor position as a table. The position can be fixed by a keystroke; in this case the last cursor position is used further on and marked in the image. The arrow keys nudge this position if the Pixel Inspector window is in the foreground. Use the fixed mode to examine how a filter changes the data (also during preview).
By default, the key switching between fixed mode and following the cursor is the “!” key; it can be changed in the Preferences menu.
If the Pixel Inspector Window is in the foreground, “c” (also with any modifier keys, e.g. CTRL-C etc.) copies the current table of pixel values into the clipboard (tab-delimited).
In the table, the center position (current cursor) is printed in red (x, y and the value). Columns and row headers (x & y) are always raw pixel values, irrespective of any spatial calibration. The direction of the y axis is determined by Analyze>Set Measurements>Invert Y Coordinates). The pixel value readout depends on the preferences.
The Pixel Inspector panel closes automatically if the image is closed.
For the Preferences menu, press the Prefs button at top left. Preferences items are stored in the IJ_Prefs.txt file.
Pixel_Inspector.java”; uppercase/lowercase matters.