## Derive_Coefficients

**Syntax**

Derive_Coefficients(int ImageWidth, int ImageHeight, MapWinGIS.Point ptLowerLeft, MapWinGIS.Point ptUpperLeft, MapWinGIS.Point ptUpperRight, MapWinGIS.Point ptLowerRight)

**Summary**

Initializes the projective coefficients. Requires that the input is a rectangular image, and the output points are the projected output values corresponding to the input image corners in the following positions: pt2 - pt3 | | pt1 - pt4 // X' = (aX + bY + c) / (gX + hY + 1) // Y' = (dX + eY + f) / (gX + hY + 1)

**Parameters**

ImageWidth |
The width of the entire original image in pixels |

ImageHeight |
The height of the entire original image in pixels |

ptLowerLeft |
The projected location of the lower left corner of the input image |

ptUpperLeft |
The projected location of the upper left corner of the input image |

ptUpperRight |
The projected location of the upper right corner of the input image |

ptLowerRight |
The projected location of the lower right corner of the input image |

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to Projective