DistanceTransform.h File Reference

#include <assert.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>

Go to the source code of this file.

Classes

class  DistanceTransform
 an abstract distance transform class More...
class  DistanceTransform::P
 DistanceTransform::P class. Simply a 2D point. More...

Defines

#define M_SQRT2   1.41421356237309504880


Detailed Description

Header file for DistanceTransform class which, given and input binary image, calculates the corresponding distance transform via various methods.

Author:
George J. Grevera, Ph.D., ggrevera@sju.edu
Copyright (C) 2002, George J. Grevera

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or from http://www.gnu.org/licenses/gpl.txt.

This General Public License does not permit incorporating this code into proprietary programs. (So a hypothetical company such as GH (Generally Hectic) should NOT incorporate this code into their proprietary programs.)


Define Documentation

#define M_SQRT2   1.41421356237309504880
 

Define the sqrt(2) if not defined in math.h (such as the Windows NiceTry compiler).


Generated on Thu Jan 12 10:28:45 2006 by  doxygen 1.4.5