MIL_ID RegResultId, | //in |
MIL_INT Source, | //in |
MIL_INT Destination, | //in |
MIL_DOUBLE X, | //in |
MIL_DOUBLE Y, | //in |
MIL_DOUBLE *ResXPtr, | //out |
MIL_DOUBLE *ResYPtr, | //out |
MIL_INT64 ControlFlag | //in |
This function converts a pair of coordinates between two of the following coordinate systems: the global pixel coordinate system, any registered image's pixel coordinate system, and the mosaic's coordinate system.
Specifies the registration result buffer that contains the information that will be used to transform the coordinates. The registration result buffer must have been previously allocated on the required system using MregAllocResult() or restored from a file using MregRestore().
Specifies the source coordinate system. This parameter must be set to one of the following values:
For the source coordinate
system
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_MOSAIC |
Specifies to use the coordinate system relative to which the mosaic will be composed. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_REGISTRATION_GLOBAL |
Specifies the global pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the index of the registration result element associated with the image whose coordinate system to use. |
Specifies the destination coordinate system. This parameter must be set to one of the following values:
For the destination coordinate
system
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_MOSAIC |
Specifies to use the coordinate system relative to which the mosaic will be composed. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_REGISTRATION_GLOBAL |
Specifies the global pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the index of the registration result element associated with the image whose coordinate system to use. |
Specifies the address in which to write the resulting X-coordinate. This coordinate is given in the coordinate system that is specified in the Destination parameter.
Specifies the address in which to write the resulting Y-coordinate. This coordinate is given in the coordinate system that is specified in the Destination parameter.
Header | Include mil.h. |
Library | Use mil.lib; milreg.lib. |
DLL | Requires mil.dll; milreg.dll. |