head	1.1;
access;
symbols;
locks; strict;
comment	@ * @;


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


desc
@Just putting this under control so I won't loose it.  This header file
  has yet to be implemented by me.  Though it's functionality already
  exists in the iac++ library (or a close variation.
@


1.1
log
@Initial revision
@
text
@// threshold.h          Section: 3.2
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
// Global thresholding
//

#ifndef _threshold_h_
#define _threshold_h_

#include "UcharDI.h"


////////////////////////////////////////////////////////////////////////
// threshold_on_single_value()
//
// Here we are interested in creating a binary image with the
//    property that result image values of 1 imply the corresponding
//    pixel in the source image matched our threshold value.
// NOTE:  The domain of the source and result image are identical.

template <class P, class T>
IA_Image<P,IA_Bit>
threshold_on_single_value( const IA_Image<P,T> & image,
			   T threshold_value );


////////////////////////////////////////////////////////////////////////
// threshold_on_value_set()
//
// Here we are interested in creating an image whose value are the
//    same for a given set of values, and zero otherwise.
// NOTE:  The domain of the source and result image may differ.
//        The result domain will consist only of those points
//        whose associated pixel image value are members of the
//        value set.

template <class P, class T>
IA_Image<P,T>
threshold_on_value_set( const IA_Image<P,T> & image,
			const IA_Set<T> & threshold_set );


////////////////////////////////////////////////////////////////////////
// threshold_on_value_set_with_zero_extend()
//
// The functional difference between this result and
//    threshold_on_value_set()
//    is that the domain of the source and result will be identical.

template <class P, class T>
IA_Image<P,T>
threshold_on_value_set_with_zero_extend( const IA_Image<P,T> & image,
					 const IA_Set<T> & threshold_set );


////////////////////////////////////////////////////////////////////////
// threshold_by_restricted_assignment()
//
// This thresholding technique does ???

#endif
@
