head	1.2;
access
	monica
	thoth;
symbols;
locks; strict;
comment	@// @;


1.2
date	94.08.24.14.14.48;	author monica;	state Exp;
branches;
next	1.1;

1.1
date	93.02.20.16.51.43;	author thoth;	state Exp;
branches;
next	;


desc
@test image subtraction.  Heavily mangled logic due to compiler errors.
@


1.2
log
@added rcs flags
@
text
@// Emacs: -*- C++ -*-
static char test002rcsid[] = "$Id: test102c.c,v 1.1 1993/02/20 16:51:43 thoth Exp $";

//
// $Log: test102c.c,v $
//Revision 1.1  1993/02/20  16:51:43  thoth
//Initial revision
//

#include	"IntDI.h"

void read(const char *fname, IA_DiscreteImage<int> &img)
{
  ifstream	i(fname);
  img = IA_IntDiscreteImage::read_PGM(i);
}
void write(IA_DiscreteImage<int> & img, const char *fname)
{
  ofstream	o(fname);
  IA_IntDiscreteImage(img).write_PGM(o);
}
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
static char test002rcsid[] = "$Id: test102.c,v 1.1 93/02/20 16:49:24 thoth Exp $";
d5 4
a8 1
// $Log:	test102.c,v $
@
