Main Page   Data Structures   File List   Data Fields   Globals  

edge.c File Reference

#include "sadie.h"

Go to the source code of this file.

Functions

void EDGE (IMAGE *in, short option, IMAGE **out1, IMAGE **out2)

Variables

PIXEL maskv [][3][3]
PIXEL maskh [][3][3]


Function Documentation

void EDGE IMAGE in,
short  option,
IMAGE **  out1,
IMAGE **  out2
 

Definition at line 38 of file edge.c.

References CHECKIMG(), GRADIENT(), in, maskh, maskv, MESSAGE(), PIXEL, PREWITT, ROBERTS, ROBERTS2, SLEN, SOBEL, SOBEL2, SOBEL3, T_EDGE, T_EXIT, IMAGE::text, and TIMING().

Referenced by Sadie_Filter_LibGradCmd().


Variable Documentation

PIXEL maskh[][3][3] [static]
 

Initial value:

  { {{-1.0, 0.0, 1.0}, {-2.0, 0.0, 2.0}, {-1.0, 0.0, 1.0}},
{{-1.0, 0.0, 1.0}, {-1.0, 0.0, 1.0}, {-1.0, 0.0, 1.0}},
{{0.0, -1.0, 1.0}, {0.0, -1.0, 1.0}, {0.0, -1.0, 1.0}},
{{0.0, 0.0, 0.0}, {0.0, 0.0, 1.0}, {0.0, -1.0, 0.0}},
{{0.0, 0.0, 0.0}, {0.0, -1.0, 1.0}, {0.0, 0.0, 0.0}},
{{-1.0, 1.0, 1.0}, {-1.0, -2.0, 1.0}, {-1.0, 1.0, 1.0}}
}

Definition at line 11 of file edge.c.

Referenced by EDGE().

PIXEL maskv[][3][3] [static]
 

Initial value:

  { {{1.0, 2.0, 1.0}, {0.0, 0.0, 0.0}, {-1.0, -2.0, -1.0}},
{{1.0, 1.0, 1.0}, {0.0, 0.0, 0.0}, {-1.0, -1.0, -1.0}},
{{1.0, 1.0, 1.0}, {-1.0, -1.0, -1.0}, {0.0, 0.0, 0.0}},
{{0.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, -1.0}},
{{0.0, 1.0, 0.0}, {0.0, -1.0, 0.0}, {0.0, 0.0, 0.0}},
{{1.0, 1.0, 1.0}, {1.0, -2.0, 1.0}, {-1.0, -1.0, -1.0}}
}

Definition at line 3 of file edge.c.

Referenced by EDGE().


Generated on Sun May 18 15:36:20 2003 for tclSadie by doxygen1.3