Basic Image AlgorithmS Library 2.8.0

BlobDetectorBase.cpp

00001 /* 
00002    This file is part of the BIAS library (Basic ImageAlgorithmS).
00003 
00004    Copyright (C) 2003-2009    (see file CONTACT for details)
00005    Multimediale Systeme der Informationsverarbeitung
00006    Institut fuer Informatik
00007    Christian-Albrechts-Universitaet Kiel
00008    
00009    
00010    BIAS is free software; you can redistribute it and/or modify
00011    it under the terms of the GNU Lesser General Public License as published by
00012    the Free Software Foundation; either version 2.1 of the License, or
00013    (at your option) any later version.
00014    
00015    BIAS is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018    GNU Lesser General Public License for more details.
00019 
00020    You should have received a copy of the GNU Lesser General Public License
00021    along with BIAS; if not, write to the Free Software
00022    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 */
00024 
00025 #include "BlobDetectorBase.hh"
00026 #include <Base/Common/W32Compat.hh>
00027 #include <Base/Common/BIASpragma.hh>
00028 
00029 
00030 using namespace BIAS;
00031 using namespace std;
00032 
00033 //////////////////////////////////////////////////////////////////////////
00034 //                 implementation
00035 //////////////////////////////////////////////////////////////////////////
00036 
00037 template <class StorageType>
00038 BlobDetectorBase<StorageType>::
00039 BlobDetectorBase() 
00040 {
00041   dMaxNumBlobs_ = 0;
00042 }
00043 
00044 template <class StorageType>
00045 BlobDetectorBase<StorageType>::
00046 ~BlobDetectorBase()
00047 {
00048 }
00049 
00050 //////////////////////////////////////////////////////////////////////////
00051 //                 instantiation
00052 //////////////////////////////////////////////////////////////////////////
00053 
00054 template class BlobDetectorBase<unsigned char>; 
00055 template class BlobDetectorBase<float>; 
00056 
00057 // fill in instances as required
00058 #ifdef BUILD_IMAGE_INT
00059 template class BlobDetectorBase<int>; 
00060 #endif
00061 #ifdef BUILD_IMAGE_CHAR
00062 template class BlobDetectorBase<char>; 
00063 #endif
00064 #ifdef BUILD_IMAGE_SHORT
00065 #endif
00066 #ifdef BUILD_IMAGE_USHORT
00067 template class BlobDetectorBase<unsigned short>; 
00068 #endif
00069 #ifdef BUILD_IMAGE_UINT
00070 #endif
00071 #ifdef BUILD_IMAGE_DOUBLE
00072 #endif
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends