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


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

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

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


desc
@@


1.3
log
@commented out malloc debug stmts
@
text
@// $Log: test039.c,v $
// Revision 1.2  1994/11/04  21:54:55  monica
// *** empty log message ***
//
// Revision 1.1  1994/10/21  18:49:23  monica
// Initial revision
//
// Revision 1.1  1994/08/30  15:55:20  monica
// Initial revision
// $Id: test039.c,v 1.2 1994/11/04 21:54:55 monica Exp monica $

#include "test.h"
#include "FloatCI.h"
#include "FloatDI.h"
#include "Image.h"

//extern "C" malloc_debug();

int main ()
{
    IA::abort_on_throw=0;
    
//    malloc_debug(2);
    // declare images

    IA_Image<IA_Point<int>,IA_Bit> empt1;
    IA_Image<IA_Point<int>,complex> empt2; 
    IA_Image<IA_Point<double>,float> empt3;
    IA_Image<IA_Point<int>,float> empt4;
    IA_Image<IA_Point<int>,int> empt5;

    IA_Image<IA_Point<int>,IA_RGB> empt6;
    IA_Image<IA_Point<int>,u_char> empt7;

    stats(empt1);
    stats(empt2);
//    stats(empt3);
    stats(empt4);
    stats(empt5);

    cout << "\nimage has "<<empt5.card()<<" values\n";
    cout << "\nimage has "<<empt3.card()<<" values\n";
    cout << "\nimage has "<<empt7.card()<<" values\n";

    exit(0);
}

@


1.2
log
@*** empty log message ***
@
text
@d2 3
d10 1
a10 1
// $Id: test039.c,v 1.1 1994/10/21 18:49:23 monica Exp monica $
d23 1
a23 1
    malloc_debug(2);
@


1.1
log
@Initial revision
@
text
@d2 3
d7 1
a7 1
// $Id: test039.c,v 1.1 1994/08/30 15:55:20 monica Exp monica $
d9 1
a9 1
// #include "test.h"
d23 18
a40 5
//    IA_Image<IA_Point<int>,int> empt_int;
//    IA_Image<IA_Point<double>,int> empt2;

    IA_Image<IA_Point<int>,float> empt3;
    IA_Image<IA_Point<double>,float> empt;
d44 1
@
