home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / ch_3.5 / bcd / dtor.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-11  |  525 b   |  26 lines

  1. /*
  2.  * This program is used with permission from I. Cox.
  3.  * Please reference:
  4.  * R. A. Boie, I. Cox, Proc. IEEE 1st Int. Conf. Computer Vision,
  5.  * London, 1987, pp. 450-456.
  6.  */
  7. #include <stdio.h>
  8. #include <stdlib.h>
  9. #include <math.h>
  10. #include <malloc.h>
  11. #include "edge_finder.h"
  12.  
  13. extern struct image *my_image;
  14.  
  15. void
  16. image_cleanup ()
  17. {
  18.   free (my_image->gaussian);
  19.   free (my_image->filter);
  20.   free (my_image->idx);
  21.   free (my_image->idy);
  22.   free (my_image->id45);
  23.   free (my_image->id135);
  24.   free (my_image->edge_map_hi);
  25. }
  26.