Image Processing Toolbox User's Guide Previous page   Next Page

Determining the Value of Individual Pixels

The Image Tool provides information about the location and value of individual pixels in an image. This information is displayed in the Pixel Information tool at the bottom left corner of the Image Tool window. The pixel value and location information represent the pixel under the current location of the cursor. The Image Tool updates this information as you move the cursor over the image.

For example, view an image in the Image Tool.

The following figure shows the Image Tool with pixel location and value displayed in the Pixel Information tool. For more information, see Saving the Pixel Value and Location Information.

Pixel Information in Image Tool

Saving the Pixel Value and Location Information

To save the pixel location and value information displayed, right-click a pixel in the image and choose the Copy pixel info option. The Image Tool copies the x- and y-coordinates and the pixel value to the clipboard.

To paste this position vector into the MATLAB workspace or another application, right-click and select Paste from the context menu.

Previous page  Getting Information about the Pixels in an Image Getting the Display Range of an Image Next page

© 1994-2005 The MathWorks, Inc.