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


1.1
date	94.09.29.18.57.53;	author jnw;	state Exp;
branches;
next	;


desc
@test program to drive kirsch edge detector
@


1.1
log
@Initial revision
@
text
@// test-kirsch.c
// Test the Kirsch algorithm declared in kirsch.h and defined in kirsch.c

#include <iostream.h>
#include "kirsch.h"
#include "scale-to-uchar.h"
#include "scale-to-uchar.c"

int main(int argc, char *argv[]) {

    IA_Image<IA_Point<int>,int>
	in( IA_Image<IA_Point<int>,int>::read_PGM(cin) ),
	out;


    out = scale_to_uchar( kirsch( in));
    
    out.write_PGM(cout);

    return 0;
}
@
