# Run Corrector

The RunCorrector block holds a VisionPro CogCalibImageCorrectorRunParams and refers to a TrainCorrector block. When executed, this block runs the referenced image corrector using the selected parameters.

The referred TrainCorrector is selected in "Corrector" property.

## General Information

Class name: RunCorrector

Namespace: Cognex.Designer.AlignPlus.ImageCorrector

Assembly: Cognex.Designer.AlignPlus.ImageCorrector.dll

## Inputs

Item | Type | Description
--- | --- | ---
Image | ICogImage | The input image to correct

## Outputs

Item | Type | Description
--- | --- | ---
CorrectedImage | ICogImage | The output corrected image

## Properties

Name | Type | Description
--- | --- | ---
Selected Corrector | String | Get/set the corrector (an instance of a TrainCorrector block, generally in another sequence) to run when this block is executed.
Is Moving Camera | Boolean | Get/set if the corrector should be run for a moving camera configuration. If false, specifies a stationary camera configuration. This flag must match the IsMovingCamera property of the SelectedCorrector. If it does not, an exception will be thrown when this block is executed. If true, this block will show input pins for X, Y and Theta. These pins must be connected to inputs representing the current stage position.
Unfilled Pel Value Enable | Boolean | Get/set the unfilled pel value behavior. If true, unfilled pixels in the corrected image will be initialized using UnfilledPelValue. Otherwise unfilled pixels will be uninitialized. See the VisionPro CogCalibImageCorrectorRunParams.UnfilledPelValueEnabled property.
Unfilled Pel Value | Int32 | Get/set the unfilled pixel value. If UnfilledPelValueEnable is true, unfilled pixels in the corrected image will be set to this value. See the VisionPro CogCalibImageCorrectorRunParams.UnfilledPelValue property.