- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine applies a transformation to the pixel
co-ordinates of the elements of an (output) n-dimensional array of a specified shape. It then
determines the nearest-neighbour element in the transformed (input) m-dimensional array,
as a vector index, which is returned. This array of vector indices may then be used by
another routine to fill the output array with values from the input array.
Invocation
CALL
KPG1_TRPIx( NDIMI, IDIMS, TRID, AXES, OEL, NDIMO, OLBND, ODIMS, COIN, COOUT, FRIND,
INDICE, STATUS )
Arguments
NDIMI = INTEGER (Given)
The dimensionality of the
input array.
IDIMS( NDIMI ) = INTEGER (Given)
The dimensions of the input n-D
array.
TRID = INTEGER (Given)
The TRANSFORM identifier of the mapping.
AXES(
) = ?
(Given)
The concatenated axis co-ordinates of the input array. This array should therefore
have a dimension at least as large as the sum of the input array’ s dimensions.
OEL =
INTEGER (Given)
The first dimension of the work arrays. It should be at least ODIMS( 1 ).
NDIMO = INTEGER (Given)
The dimensionality of the output array.
OLBND( NDIMO ) =
INTEGER (Given)
The lower bounds of the output n-D array.
ODIMS( NDIMO ) =
INTEGER (Given)
The dimensions of the output n-D array.
COIN( OEL, NDIMI ) = ?
(Returned)
Workspace used to store the co-ordinates of a row of points in the input array.
COOUT( OEL, NDIMO ) = ? (Returned)
Workspace used to store the co-ordinates of a row
of points in the output array.
FRIND( OEL, NDIMI ) = ? (Returned)
Workspace used
to store the floating-point pixel indices of a row of points in the input array.
INDICE(
) =
INTEGER (Returned)
The vector indices of the nearest-array element of the transformed positions of
the output array. This array should therefore have a dimension at least as large as the product of the
output array’ s dimensions.
STATUS = INTEGER (Given and Returned).
Global status value
Notes:
Bugs:
{note_bugs_here}
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑