Main Page | File List | Globals

edge.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>

Go to the source code of this file.

Functions

int read_pgm_hdr (FILE *, int *, int *)
void ** matrix (int, int, int, int, int)
void error (const char *)
int skipcomment (FILE *fp)
void reflect (unsigned char **xc, int nrows, int ncols, int amount)
void reflectf (float **xc, int nrows, int ncols, int amount)
float LinearInterpolate (float y1, float y2, float mu)
void nms (float **anglec, float **magc, int nrows, int ncols, int thresh, int thresh2)
void robert (unsigned char **xc, int nrows, int ncols, int thresh, int thresh2)
void prewit (unsigned char **xc, int nrows, int ncols, int thresh, int thresh2)
void sobel (unsigned char **xc, int nrows, int ncols, int thresh, int thresh2)
void frie_chen (unsigned char **xc, int nrows, int ncols, int thresh, int thresh2)
int main (int argc, char **argv)

Variables

int skipNMS = 0


Function Documentation

int read_pgm_hdr FILE *  ,
int *  ,
int * 
 

Definition at line 33 of file edge.c.

References skipcomment().

void ** matrix int  ,
int  ,
int  ,
int  ,
int 
 

Definition at line 74 of file edge.c.

void error const char *   ) 
 

Definition at line 55 of file edge.c.

int skipcomment FILE *  fp  ) 
 

Definition at line 107 of file edge.c.

void reflect unsigned char **  xc,
int  nrows,
int  ncols,
int  amount
 

Definition at line 134 of file edge.c.

References error(), and matrix().

void reflectf float **  xc,
int  nrows,
int  ncols,
int  amount
 

Definition at line 172 of file edge.c.

References error(), and matrix().

float LinearInterpolate float  y1,
float  y2,
float  mu
 

Definition at line 213 of file edge.c.

void nms float **  anglec,
float **  magc,
int  nrows,
int  ncols,
int  thresh,
int  thresh2
 

Definition at line 222 of file edge.c.

References error(), LinearInterpolate(), matrix(), and reflectf().

void robert unsigned char **  xc,
int  nrows,
int  ncols,
int  thresh,
int  thresh2
 

Definition at line 514 of file edge.c.

References error(), matrix(), nms(), and skipNMS.

void prewit unsigned char **  xc,
int  nrows,
int  ncols,
int  thresh,
int  thresh2
 

Definition at line 599 of file edge.c.

References error(), matrix(), nms(), and skipNMS.

void sobel unsigned char **  xc,
int  nrows,
int  ncols,
int  thresh,
int  thresh2
 

Definition at line 690 of file edge.c.

References error(), matrix(), nms(), and skipNMS.

void frie_chen unsigned char **  xc,
int  nrows,
int  ncols,
int  thresh,
int  thresh2
 

Definition at line 781 of file edge.c.

References error(), matrix(), nms(), and skipNMS.

int main int  argc,
char **  argv
 

Definition at line 867 of file edge.c.

References error(), and read_pgm_hdr().


Variable Documentation

int skipNMS = 0
 

Definition at line 21 of file edge.c.


Generated on Wed May 4 18:18:26 2005 for Edge detection by doxygen 1.3.6