head	1.3;
access
	monica
	thoth;
symbols;
locks
	monica:1.3; strict;
comment	@// @;


1.3
date	94.08.24.00.30.59;	author monica;	state Exp;
branches;
next	1.2;

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

1.1
date	94.08.23.22.07.03;	author monica;	state Exp;
branches;
next	;


desc
@@


1.3
log
@int main & exit(0)
@
text
@// Emacs: -*- C++ -*-
// $Log: test011.c,v $
//Revision 1.2  1994/08/23  22:08:48  monica
//added rcs tags
//
// $Id: test011.c,v 1.2 1994/08/23 22:08:48 monica Exp monica $
// test011.c     Image constructors

#include "test.h"

int dumb( const IA_Point<int> &ip) {
    return 1;
}

int main() 
{

    // we want to continue through any throws that may occur.
    IA::abort_on_throw=0;

    // declare an image

    IA_Image<IA_Point<int>,int> im1 = read_int_PGM("/cis/research/iac++/depot/src/test_image/RCS/sr71.pgm");
    IA_Image<IA_Point<int>,int> im2;
    IA_Set<IA_Point<int> > ps = im1.domain();

    im2 = IA_Image<IA_Point<int>,int>(ps, dumb);

    stats(im2);
    
    exit(0);
}

@


1.2
log
@added rcs tags
@
text
@d2 5
a6 2
// $Log$
// $Id$
d15 1
a15 1
main() 
d31 1
@


1.1
log
@Initial revision
@
text
@d2 2
a3 1

@
