application reshapes an NDF
to create another NDF by copying array values. The array
components in the input NDF are treated as vectors. Each output array is filled in
order with values from the input vector, until it is full or the input vector
is exhausted. Output data and variance pixels not filled are set to the bad
value; unfilled quality pixels are set to zero. The filling is in Fortran order,
namely the first dimension, followed by the second dimension,…to the highest
It is possible to form a vectorized NDF using Parameter VECTORIZE without having to
specify the shape.
reshape in out shape=?
IN = NDF (Read)
The input NDF to be reshaped.
OUT = NDF (Read)
The NDF after reshaping.
) = _INTEGER (Read)
The shape of the output NDF. For example,
[50,30,20] would create
50 columns by 30 lines by 20 bands. It is only accessed when VECTORIZE=
= LITERAL (Read)
for the output NDF structure. A null value (
) propagates the
title from the base NDF to the output NDF.
VECTORIZE = _LOGICAL (Read)
TRUE, the output NDF is the vectorized form of the input NDF. If
FALSE, Parameter SHAPE
is used to specify the new shape.
reshape shear normal
shape=[511,512] This reshapes the NDF called shear to form NDF normal, whose shape is
pixels. One example is where the original image has
pixels but one pixel was omitted from each line during some data capture, causing the
image to be sheared between lines.
reshape cube cube1d vectorize This vectorizes
the NDF called cube to form NDF cube1d. This could be used for a task that only permits