Edit Pixel Values


The Edit Pixel Values command gives you direct access to the pixel data (the actual values of pixels) using a table editor. This command opens, for viewing or editing, the region of the image outlined by the Image Cursor. In this window you can simply view the values by (column, row) coordinate or you can edit the pixel data directly and then save the changed values back into the image.

dlg_pixel_editor.png

You can resize the column width by dragging the vertical separator bar between column headings. To minimize the column widths, right-click on the table and use the Optimize Grid Columns command in the pop-up menu.

As shown above, the table's central column and row are shaded to indicate the center of the image cursor. If you scroll the pixel table, you can always return to the central position by looking for the shaded column or row in the table. In addition, you can use the pixeldatacenterbtn.gif button to re-center the table.

Multi-selection Mode

Some operations used Multi-selection mode. This mode allows more than 1 table cell to be highlighted at the same time. To enable or disable multi-selection mode, right click on the table to open the context menu. If the Multi-selection command is set to [off], click on it to toggle it to the [on] state, or vice versa.

Pixel Editing

A powerful capability of this command is to allow the pixel values to be changed, or "edited". You can edit individual values anywhere in the table, or you can copy a particular value from one (column,row) location along a column, row, or region extending from that point.

Note

Editing the pixel table does not edit the image. To apply the table changes to the image, you must use the [Apply] button and then save the image to a file.

Editing a Single Pixel

  1. Click on the cell of interest.

  2. Change the value to the new value.

  3. Leave the cell to accept the change. The cell changes color to show it was edited.

  4. Repeat steps 1 to 3 to make all desired changes to the pixel data.

  5. To replace the changed pixels into the displayed image, click[OK].

  6. To permanently save the changed image to a file, use one of the standard File Save methods.

Duplicating a Column, Row, or Region

This procedure is used to copy, or "fill" values from

  1. a point or row into other rows;

  2. a point or column into other columns;

  3. a point into a rectangle.

As described below, the copying options are controlled by the shape of the region you mark. Note: This method requires Multi-selection mode to be [on]. You can verify this by right clicking on the table to open the context menu.

Procedure
  1. Enable Multi-selection Mode. To check this or change the mode, right click on the table to open a Context Menu.

  2. Mouse down on the starting cell at one end of the target column or row. This is the cell containing the value you wish to extend into other cells.

  3. Drag the mouse to the ending cell and release the mouse there.

  4. Right click on the table to open the context menu. In the menu, click the mouse the command that lists the direction you want to copy the starting cell. The commands listed change according to the direction in which the region was marked. The changed cells change color to show they were edited.

  5. To replace the changed pixels into the displayed image, click[Apply].

  6. To permanently save the changed image to a file, use one of the standard File Save methods.

Examples

Related Topics

Image Coordinate Systems, Image Cursor