head	1.3;
access;
symbols
	bobbase:1.3
	bob:1.3
	r2_1:1.3
	r2_0:1.3
	r1_1_beta:1.3
	r1_1_alpha:1.3
	r1_0:1.3
	r0_11:1.3
	r0_10:1.2
	r0_9:1.1;
locks; strict;
comment	@# @;


1.3
date	94.02.12.19.36.51;	author thoth;	state Exp;
branches;
next	1.2;

1.2
date	93.12.29.17.16.45;	author thoth;	state Exp;
branches;
next	1.1;

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


desc
@BitDDTempl convolutions and reductions.
@


1.3
log
@Rehack of template operation specifications.
@
text
@#
#	Copyright 1993, Center for Computer Vision and Visualization,
#	University of Florida.  All rights reserved.
#

#
# $Log: bit-convolutions.desc,v $
# Revision 1.2  1993/12/29  17:16:45  thoth
# Bit Discrete Image now uses Bit type.
#
# Revision 1.1  1993/11/29  22:25:25  thoth
# Initial revision
#
# 
# The XOR for the hit-miss transform is implemented using logical operators
# instead of the bitwise '^' to guarantee that only values of 1 and 0
# result.

convolution hit_miss zero=1 I(IA_Bit) I(IA_Bit) T(IA_Bit)
init:	RTYPE a = 1;
accum:	a =  (a & IA_Bit(IVAL == TVAL));
final:	IRESULT = a;
end


convolution hit_miss zero=1 I(IA_Bit) T(IA_Bit) I(IA_Bit)
init:	RTYPE a = 1;
accum:	a =  (a & IA_Bit(IVAL == TVAL));
final:	IRESULT = a;
accvar: IRESULT = (IRESULT & IA_Bit(IVAL == TVAL));
end

@


1.2
log
@Bit Discrete Image now uses Bit type.
@
text
@d8 3
d19 1
a19 1
convolution IA_Bit	hit_miss  IA_Bit  IA_Bit  zero=1
d23 8
a30 2
forw_init: IRESULT = 1;
forw_accumvar: IRESULT = (IRESULT & IA_Bit(IVAL == TVAL));
@


1.1
log
@Initial revision
@
text
@d7 4
a10 1
# $Log$
d16 1
a16 1
convolution u_char	hit_miss  u_char  u_char  zero=1
d18 1
a18 1
accum:	a =  (a && (!IVAL == !TVAL));
d21 1
a21 1
forw_accumvar: IRESULT = (IRESULT && (!IVAL == !TVAL));
@
