Next: SHOWQUAL - Display the quality names defined in an NDF
Up: Specifications of KAPPA applications
Previous: SETVAR - Sets new values for the VARIANCE component of an NDF data structure
SHADOW
- Enhances edges in a two-dimensional NDF using a shadow effect
- Description:
- This routine enhances a two-dimensional NDF by creating a
bas-relief or shadow effect, that causes features in an array to
appear as though they have been illuminated from the side by some
imaginary light source. The enhancement is useful in locating
edges and fine detail in an array.
- Usage:
-
shadow in out
- Parameters:
-
IN = NDF (Read)
-
The two-dimensional NDF to be enhanced.
-
OUT = NDF (Write)
-
The output NDF containing the enhanced image.
-
SHIFT( 2 ) = _INTEGER (Read)
-
The shift in x and y pixel
indices to be used in the
enhancement. If the x shift is positive, positive features
in the original array will appear to be lit from the positive
x direction, i.e. from the right. Similarly, if the y shift
is positive, the light source will appear to be shining from
the top of the array. A one- or two-pixel shift is normally
adequate. [1,1]
-
TITLE = LITERAL (Read)
-
The title for the output NDF. A null value will cause
the title of the NDF supplied for parameter IN to be used
instead. [!]
- Examples:
- shadow horse horse_bas
- This enhances the NDF called horse by making it appear to be
illuminated from the top-right, and stores the result in the
NDF called horse_bas.
- shadow out=aash in=aa [-1,-1] title="Bas relief"
- This enhances the NDF called aa by making it appear to be
illuminated from the bottom left, and stores the result in the
NDF called aash, which has the title "Bas relief".
-
Related Applications
- KAPPA: LAPLACE,
MEDIAN;
FIGARO: ICONV3.
- Implementation Status:
-
Click here
to see an example plot
(120k).
Next: SHOWQUAL - Display the quality names defined in an NDF
Up: Specifications of KAPPA applications
Previous: SETVAR - Sets new values for the VARIANCE component of an NDF data structure
KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2008 September 12
E-mail:ussc@star.rl.ac.uk
Copyright © 2008 Science and Technology Facilities Council