Scripting API

<<LensBlur Main Index LensDistortion>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

LensCorrection

Script Name: LensCorrection
Name: LensCorrection
Library: CmdColor
Description: Corrects distortion caused by lens.
Status bar text: Corrects lens distortion
Tool tip text: Lens Correction
Undo text: Lens Correction
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Lens correctionCorrectionBooleanEnable lens correctionNo0falsetrue
MakerMakerIntegerCamera manufacturerNo00255
ModelModelIntegerCamera modelNo00255
LensLensIntegerLens nameNo00255
Focal length to use for the correctionFocal LengthRealFocal length to use for the correctionNo35.00.099999.0
Third order radial correction coefficientWarp Coeff ARealThird order radial correction coefficientNo0.0-1.01.0
Second order radial correction coefficientWarp Coeff BRealSecond order radial correction coefficientNo0.0-1.01.0
First order radial correction coefficientWarp Coeff CRealFirst order radial correction coefficientNo0.0-1.01.0
Enable chromatic aberrationChromatic AberrationBooleanEnable chromatic aberration correctionNo0falsetrue
Adjust red channel to correct red or cyan fringes.Chromatic RCRealAdjust red channel to correct red or cyan fringes.No0.0-0.50.5
Adjust blue channel to correct blue or yellow fringes.Chromatic BYRealAdjust blue channel to correct blue or yellow fringes.No0.0-0.50.5
Enable vignetteVignetteBooleanEnable vignette correctionNo0falsetrue
The darkness of the vignetteVignette StrengthRealThe darkness of the vignetteNo0.5-1.51.5
Set the edge of the vignette areaVignette RadiusIntegerSet the edge of the vignette areaNo500100
Resize imageResize ImageBooleanResize the image to prevent blank edgesNo0falsetrue
MakerMakerOrgIntegerCamera manufacturerNo00255
ModelModelOrgIntegerCamera modelNo00255
LensLensOrgIntegerLens nameNo00255
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Command Attributes:
IsExternal: true
IsUndoable: true
ProcessChanges: true
FinalizeTransient: true
ShowInEffectsBrowser: true
This command is safe for execution in a processing thread.: true
This command is safe for execution in a processing thread.: true
 
Resource Attributes:
HasWinPlacement: true
IsPreviewable: true
IsProofable: true
HelpID:37337
DlgHasPresets: true
IsEditable: true