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


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

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


desc
@Initial implementation for the Hopfield Neural Network algorithm.  Buggy!
@


1.2
log
@Move make_examplars_image() to  make-examplars.[hc].
This makes this file pretty much obsolete.
@
text
@// hopfield-weights.h   Section: 13.2
//      Copyright 1994, Center for Computer Vision and Visualization,
//      University of Florida.  All rights reserved.
// Here we define some functions that will support the Hopfield algorithm.
//
// The goal here is to define functions necessary to build the 
//      weighting image utilized in the Hopfiled nueral network.
// We will do that by a set of transformations from the examplar
//      images to the final weighting image.
// The advantage of building this image, is that the template
//      used in the Hopfiedl algorithm, even though it is variant,
//      can use the weighting image to construct the template image.
//

#ifndef _hopfield_weights_h_
#define _hopfield_weights_h_

#include "IntDI.h"


/////////////////////////////////////////////////////////////////////////
// ek_image_func()
// This function returns a image to be used in a convolution with
//    the 2D ek_image.  It is given a 3D point, and returns a 2D
//    image which will reference the e[k][i] & e[k][j] points
//    in the ek_image.  The image value is 1.
// Where i == j, it returns a 1 point image, with image value 0.
//
IA_Image<IA_Point<int>,int>
ek_image_func( const IA_Point<int> & p3d );




/////////////////////////////////////////////////////////////////////////
// hopfield_weight_image()
// This function creates the weighting image as defined by the
//    Hopfield algorithm, based on the examplar images.
//
IA_Image<IA_Point<int>,int>
hopfield_weight_image( IA_Image<IA_Point<int>,int> * e_array,
		       unsigned int e_array_size );

#endif
@


1.1
log
@Initial revision
@
text
@a21 10
// make_examplars_image()
// Create an 2D image from the array of 1D examplar images.
// We assume that each examplar image is the same cardinality.
//
IA_Image<IA_Point<int>,int>
make_examplars_image( IA_Image<IA_Point<int>,int> * e_array,
		      unsigned int e_array_size );


/////////////////////////////////////////////////////////////////////////
@
