00001 /* 00002 00003 Result combining of locate matrixes 00004 Copyright (C) 2000-2001 Jussi Laako 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 00020 */ 00021 00022 00023 #include <Alloc.hh> 00024 #include <dsp/DSPOp.hh> 00025 00026 #include "Config.h" 00027 00028 00029 #ifndef LOCATESYTEM_HH 00030 #define LOCATESYSTEM_HH 00031 00032 00036 class clLocateSystem 00037 { 00038 long lWidth; 00039 long lHeight; 00040 long lPointCount; 00041 long lResultCount; 00042 GDT fWeight; 00043 GDT *fpResults; 00044 GDT *fpFinal; 00045 clAlloc Results; 00046 clAlloc Final; 00047 clDSPOp DSP; 00048 public: 00049 clLocateSystem (); 00050 ~clLocateSystem (); 00058 bool Initialize (long, long, GDT); 00064 void Add (const GDT *); 00068 void Process (); 00074 void GetResults (GDT *); 00075 }; 00076 00077 #endif 00078
1.3.3