Help for DERIV
PURPOSE
A vicar application program to provide the first derivative of an
image.
OPERATION
This program takes an input data set and converts it to its first derivative
in either the Horizontal (sample) orientation or the Vertical (line) orientation.
The second output is the inflection map, where 0 is no inflection, +1 is inflection
going from pos to negative and -1 is inflection going from negative to postive.
The parmeter orient gives the orientation of the derivative.
The return parameters give the number of positive and negative inflection points
in the map
RESTRICTIONS
1) This program does not preserve Map Projection label geometry.
2) This program does not work on multiband images
PROGRAM HISTORY:
Written by: Ray Bambery, 13 November 2010
Cognizant programmer: Ray Bambery
Revision history:
2010-11-13 R. J. Bambery - initial release
2010-12-05 R. J. Bambery - add inflection map
2011-05-02 R. J. Bambery - fix warning messages from gcc 4.4 compiler
2015-11-19 W. L. Bunch - Migrated to MIPL
2022-07-26 B. Crocco afids to opensource
PARAMETERS:
INP
Input image.
OUT
1) Output image.
2) Output inflection map
ORIENT
Direction to produce
1st derivative
HORIZ is in line direction.
VERT is in sample direction.
POSINFL
Number of positive inflection
points in the output map
NEGINFL
Number of negative inflection
points in the output map
.END
See Examples:
Cognizant Programmer: