head	1.3;
access;
symbols;
locks; strict;
comment	@// @;


1.3
date	94.10.14.06.16.22;	author rjj;	state Exp;
branches;
next	1.2;

1.2
date	94.08.27.17.59.17;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.08.09.03.07.12;	author rjj;	state Exp;
branches;
next	;


desc
@Initial implementation of the Medial Axis Transform.
Note the the inverse is not yet implemented.
@


1.3
log
@Added algorithm name to header.  Made spelling and style changes.
Added support for the inverse_medial_axis() function.
@
text
@// mat.h                Section: 4.4  Medial Axis Transform (MAT)
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
// Medial Axis Transform

#ifndef mat_h_
#define mat_h_

#include "IntPS.h"
#include "BitDI.h"
#include "IntDI.h"


/////////////////////////////////////////////////////////////////////
// medial_axis()
//      1st argument: The input image
//      2nd argument: The point set which represents the ball to
//                    use in calculating the medial axis transform
//      3rd argument: A reference argument used to pass back
//                    the number of iterations required to calculate
//                    the medial axis transform
//      result      : The medial axis image is returned

IA_Image<IA_Point<int>,int>
medial_axis( const IA_Image<IA_Point<int>,IA_Bit> & aImage,
	     const IA_Set<IA_Point<int> > & ball,
	     unsigned int & count );


/////////////////////////////////////////////////////////////////////
// inverse_medial_axis()
//      1st argument: The input medial axis image
//      2nd argument: Point set that represents the ball used
//                    in calculating the medial axis transform


IA_Image<IA_Point<int>,IA_Bit>
inverse_medial_axis( const IA_Image<IA_Point<int>,int> & m,
		     const IA_Set<IA_Point<int> > & ball );
#endif
@


1.2
log
@Modified includes to be iac++ 2.0 compliant.
@
text
@d1 1
a1 1
// mat.h                Section: 4.4
d17 2
a18 2
//      2nd argument: The point set to be used to calculate
//                    the medial axis transform
d25 2
a26 2
medial_axis( const IA_Image<IA_Point<int>,IA_Bit> & a,
	     const IA_Set<IA_Point<int> > & ps,
a29 1
/* NOT CURRENTLY IMPLEMENTED  ****************************************
d32 4
a35 5
//      1st argument: The input image
//      2nd argument: The point set to be used to calculate
//                    the inverse medial axis transform
//      3rd argument: The count as returned back by medial_axis()
//      result      : The inverse medial axis image is returned
d38 2
a39 5
inverse_media_axis( const IA_Image<IA_Point<int>,u_char> & m,
		    const IA_Set<IA_Point<int> > & ps,
		    const unsigned int count );

**********************************************************************/
@


1.1
log
@Initial revision
@
text
@d9 1
a9 1
#include "IntPointSet.h"
@
