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


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.1
log
@Initial revision
@
text
@// convert-hopfield-images.c

#ifndef _convert_hopfield_images_h_
#define _convert_hopfield_images_h_

#include "IntDI.h"


// Convert any dimension image to a 1-D image,
//   the values will be in  point set iteration order.
//
IA_Image<IA_Point<int>,int>
convert_to_1D( const IA_Image<IA_Point<int>,int> & idi );


// Convert a 1-D image into a 2-D image by using the same data
//   values, in the same order, but with a boxy point set.
//
IA_Image<IA_Point<int>,int>
convert_to_2D( const IA_Image<IA_Point<int>,int> & idi_1D,
	       int width );

#endif
@
