head	1.4;
access;
symbols
	bobbase:1.4
	bob:1.4.1
	r2_1:1.4
	r2_0:1.3
	r1_1_beta:1.2
	r1_1_alpha:1.2
	r1_0:1.2
	r0_11:1.2;
locks
	thoth:1.4.1.2
	thoth:1.4; strict;
comment	@// @;


1.4
date	94.09.16.14.57.11;	author thoth;	state Exp;
branches
	1.4.1.1;
next	1.3;

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

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

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

1.4.1.1
date	94.12.28.18.29.10;	author thoth;	state Exp;
branches;
next	1.4.1.2;

1.4.1.2
date	95.01.13.19.37.42;	author thoth;	state Exp;
branches;
next	;


desc
@Friendly Basepointer Inspector, used to allow friendly access
to convolutions that need it.
@


1.4
log
@more DOS-inspired renaming.
@
text
@// Emacs -*- C++ -*-

//
//	Copyright 1993, Center for Computer Vision and Visualization,
//	University of Florida.  All rights reserved.
//

//
// It's the Friendly Basepointer Inspector class!
//

//
// $Log: FBI.c,v $
// Revision 1.3  1994/08/22  15:20:29  thoth
// DOS-inspired name rework.
//
// Revision 1.2  1994/03/30  13:56:17  thoth
// functions are now inlines to eliminate need for ptrepository objects.
//
// Revision 1.1  1994/03/22  16:08:28  thoth
// Initial revision
//

#include "FBI.h"

#include <limits.h>
#include <values.h>

#include "PSIter.h"

#include "Image.h"
#include "ConstI.h"
#include "VectorI.h"
#include "ImageIter.h"

#include "DDTempl.h"
#include "InvDT.h"


#if 0
template <class P,class T>
IA_BaseImage<P,T> * IA_FBI<P,T>::extract_baseptr(const IA_CoreImage<P,T>&i)
{
    return i.bip;
}
template <class P,class T>
IA_BaseDT<IA_Image<P,T> > * IA_FBI<P,T>::extract_baseptr
(const IA_DDTemplate<IA_Image<P,T> >&t)
{
    return t.bdtp;
}

template <class P,class T>
IA_DDTemplate<IA_Image<P,T> > IA_FBI<P,T>::make_DT
(IA_BaseDT<IA_Image<P,T> > *ptr)
{
    return ptr;
}
#endif


template <class T>
inline T max(T a, T b)
{
    return (a<b)?b:a;
}

template <class T>
inline T min(T a, T b)
{
    return (a<b)?a:b;
}
#include "BitConv.c"
#include "UcharConv.c"
#include "IntConv.c"
#include "FloatConv.c"
#include "CplxConv.c"
@


1.4.1.1
log
@conversion to throw of classes.
@
text
@a13 3
// Revision 1.4  1994/09/16  14:57:11  thoth
// more DOS-inspired renaming.
//
a38 1
#include "image_errors.h"
@


1.4.1.2
log
@CoreImage has been re-merged with Image.  All special stuff should be
friends of FBI now.
@
text
@a13 3
// Revision 1.4.1.1  1994/12/28  18:29:10  thoth
// conversion to throw of classes.
//
d46 1
a46 1
IA_BaseImage<P,T> * IA_FBI<P,T>::extract_baseptr(const IA_Image<P,T>&i)
@


1.3
log
@DOS-inspired name rework.
@
text
@d14 3
d37 1
a37 1
#include "InvariantDT.h"
@


1.2
log
@functions are now inlines to eliminate need for ptrepository objects.
@
text
@d14 3
d70 5
a74 5
#include "BitConvolutions.c"
#include "UcharConvolutions.c"
#include "IntConvolutions.c"
#include "FloatConvolutions.c"
#include "ComplexConvolutions.c"
@


1.1
log
@Initial revision
@
text
@d13 4
a16 1
// $Log: CoreImage.h,v $
d33 1
a39 1
#endif
d53 1
@
