This functions performs a radial stretch for each color component (R,G,B). This allows manual correction of Barrel Distortion and Pincushion distortion (lens distortion, underwater distortion).
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void RadialStretch( double ARed, double BRed, double CRed, double DRed, double AGreen, double BGreen, double CGreen, double DGreen, double ABlue, double BBlue, double CBlue, double DBlue )
Public Sub RadialStretch ( _ ARed As Double, _ BRed As Double, _ CRed As Double, _ DRed As Double, _ AGreen As Double, _ BGreen As Double, _ CGreen As Double, _ DGreen As Double, _ ABlue As Double, _ BBlue As Double, _ CBlue As Double, _ DBlue As Double _ )
public: void RadialStretch( double ARed, double BRed, double CRed, double DRed, double AGreen, double BGreen, double CGreen, double DGreen, double ABlue, double BBlue, double CBlue, double DBlue )
Parameters
- ARed
- Double
Coefficient A for channel Red.
- BRed
- Double
Coefficient B for channel Red.
- CRed
- Double
Coefficient C for channel Red.
- DRed
- Double
Coefficient D for channel Red.
- AGreen
- Double
Coefficient A for channel Green.
- BGreen
- Double
Coefficient B for channel Green.
- CGreen
- Double
Coefficient C for channel Green.
- DGreen
- Double
Coefficient D for channel Green.
- ABlue
- Double
Coefficient A for channel Blue.
- BBlue
- Double
Coefficient B for channel Blue.
- CBlue
- Double
Coefficient C for channel Blue.
- DBlue
- Double
Coefficient D for channel Blue.