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


1.5
date	94.10.13.06.45.35;	author rjj;	state Exp;
branches;
next	1.4;

1.4
date	94.09.02.05.10.13;	author rjj;	state Exp;
branches;
next	1.3;

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

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

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


desc
@Initial neighborhood version of the Median-Filter.
@


1.5
log
@Added algorithm name to header.  Correct spelling errors.
Made style changes.  Added support for median-gamma<T> instantiation.
@
text
@// median-gamma.h       Section: 2.8  Median Filter
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
// Support file for the iac++ implementation of a median filter,
//      utilizing neighborhood operations.
//

#ifndef _median_gamma_h_
#define _median_gamma_h_

#include "UcharDI.h"
#include "IntDI.h"
#include "FloatDI.h"


///////////////////////////////////////////////////////////////////
// median_gamma<T>()
//    Calculate the median value from an array of values

template <class T>
T
median_gamma( T *values, unsigned int arraySize );

#endif
@


1.4
log
@Deleted all but template declaration of median_gamma().
@
text
@d1 1
a1 1
// median-gamma.h       Section: 2.8
@


1.3
log
@This file is now obsolete.  The definition of median_gamma() has
  been moved into median.c
@
text
@a19 1
#if 1
a22 8
#else

u_char  median_gamma( u_char *values, unsigned int arraySize );

int     median_gamma( int    *values, unsigned int arraySize );

float   median_gamma( float  *values, unsigned int arraySize );
#endif
@


1.2
log
@Commented out the template verison of median_gamma() and
  provided three specific version, for u_char, int, and float.
@
text
@d1 1
a1 1
// median-gamma.c       Section: 2.8
d20 1
a20 1
#if 0
d24 1
a24 1
#endif
d31 1
@


1.1
log
@Initial revision
@
text
@d11 3
d15 1
d20 1
d24 7
@
