Repairing Artifacts and Cosmetic Defects


Cosmetic repair tools are used to correct blemishes and other artifacts in images. Use the commands below to repair the following types of defects. In addition, you may wish to create synthetic images and add defects in order to evaluate your repairing techniques.

Choosing a Repair Method based on the Defect Type

The table below matches the defect type to a command that can be used to correct it.

Description of Artifact:

Commands to Use:

Isolated hot or cold pixels

Create Pixel Mask

Apply Pixel Mask

Interactive Repair

Clean Image Set

Residual hot or cold pixels that are not corrected by removing the dark current

Create Pixel Mask

Apply Pixel Mask

Interactive Repair

Clean Image Set

Hot columns and Cold Traps

Blemish Mask Editor

Apply Blemish Mask

Defect clusters larger than 1 pixel in area

Blemish Mask Editor

Apply Blemish Mask

Cosmic rays and ionizing radiation events

Clean Image Set

Cosmic Ray Filter

Median Filter

Stars that interfere with photometric measurements

Star Removal Module

In addition to commands listed in the table above, the Combine Images command can be used to reject artifacts that do not align at the same pixel locations in an image set.

Cosmetic Repair Commands

Apply Pixel Mask

Repairs isolated pixels using coordinates loaded from a file containing x,y positions of the bad pixels. Use this for repairing pixels that always are located at the same coordinates, such as hot or cold pixels.

Apply Blemish Mask

Repairs lines and rectangular regions of pixels that are always located at the same coordinates, such as hot columns, cold traps, and blemishes larger than 1 pixel in area.

Blemish Mask Editor

Creates and edits a blemish mask, which is a text-based description of blemish locations.

Clean Image Set

Detects ands, optionally, repairs transient bad points and regions which vary in position, such as cosmic ray and ionizing radiation events, as well as poorly corrected hot pixels.

Create Pixel Mask

Used to create a pixel mask by detecting isolated pixels that are very high or very low.

Interactive Repair

Provides a pixel zapping tool used to repair pixels by interactively marking them on an image.

Pixel Mask Editor

Creates and edits a pixel mask, which is a text-based description of x,y locations of bad pixels.

Cosmic Ray Filter

Automatically detects and repairs isolated pixels and small clusters of hot pixels as are often caused by cosmic rays and ionizing radiation.

Star Removal

Used to remove interfering stars or other point sources from the image. This is typically used before doing photometry on the image.

Related Topics

Contents, Calibrating Images, Image Sets