Edit Blemish Mask


The Edit Blemish Mask command is used to edit the description used to repair image blemishes using Apply Blemish Mask. Each blemish is described by a column and row range. The Blemish Mask Editor can work with an existing blemish description file that you have created or you may use it to create a new mask.

Editing Blemish Masks

The Blemish Mask Editor is a resizable Table Editor window. The Mask file current loaded is listed in the drop edit field at the top of the window.

To create a new blemish mask:

  1. Type X (column) and Y (row) limits for each defect on a separate line of the table. The Notes entry is optional.

  2. The editor adds lines in chunks of 100. If you run to the end of the buffer, right click on the table to open its Context Menu and select Append Rows. Then continue entering blemish data.

  3. When you are finished typing and changing values, save using one of these methods:

  4.     Click [Apply] to save to the original file.

        Click the button to save it to a new file or a different file.

To Edit an Existing Mask:
  1. Click on the right end of the Blemish Mask File field. Select the blemish file and click [Open] to load the blemish mask.

  2. Edit pixel coordinates as needed. Note that the editor adds lines in chunks of 100. If you run to the end of the buffer, right click on the table to open its Context Menu and select Append Rows. Then continue entering blemish data.

  3. When you are finished typing and changing values, save using one of these methods:

  4.     Click [Apply] to save to the original file.

        Click the button to save it to a new file or a different file.

Using a Blemish Mask

A blemish is usually a horizontal or vertical line or a rectangular region containing an artifact. Typical examples of a column blemish are known as a hot column or a cold trap. Points are also considered a blemish, but points may also be repaired using the Apply Pixel Mask method. There are two ways to create a pixel mask; see the Edit Pixel Mask and Create Pixel Mask commands.

A Blemish Mask is usually stored in a file with a blm extension, like Blemish-list.blm, although txt or any other extension is possible. Each line of the blemish mask file contains the column range X min to X max and the row range Y min to Y max for a single blemish. The Notes column holds an optional comment for the blemish. For example, the first line in the dialog above defines a line defect at column 155, extending from row 44 through row 125. This is commonly called a "partial bad column".

Note

Remember that coordinates in Mira are 1-based, meaning that pixel (1,1) is the origin of the image array. See Image Coordinate System and Pixel Coordinate Definition.

Related Topics

Edit Pixel Mask, Apply Blemish Mask, Interactive Repair, Calibrate Images, Apply Pixel Mask, Image Coordinate System