DefaultExtractor.cpp
Go to the documentation of this file.
00001 /*******************************************************************************
00002  *  DefaultExtractor.cpp
00003  *
00004  *  (C) 2008 AG Aktives Sehen <agas@uni-koblenz.de>
00005  *           Universitaet Koblenz-Landau
00006  *
00007  *  $Id: $
00008  *
00009  *******************************************************************************/
00010 
00011 #include "DefaultExtractor.h"
00012 
00013 // #include "Architecture/Config/Config.h" // TODO
00014 // #include "Architecture/Tracer/Tracer.h" // TODO
00015 
00016 
00017 #include "ParallelSurfExtractor.h"
00018 // #include "OrigSurfExtractor.h"
00019 
00020 #define THIS DefaultExtractor
00021 
00022 using namespace std;
00023 
00024 KeyPointExtractor* THIS::createInstance()
00025 {
00026     ExtractorType type = ExtractorType(0); // TODO ExtractorType( Config::getInt( "KeyPointExtraction.iAlgorithm" ) );
00027 
00028   switch ( type )
00029   {
00030     case ExtParallelSurf:
00031       return new ParallelSurfExtractor();
00032       
00033 /*    case ExtOrigSurf:
00034       return new OrigSurfExtractor();*/
00035       
00036     default:
00037       //TRACE_ERROR( "Unknown extractor type!" ); // TODO use ros
00038       return new ParallelSurfExtractor();
00039   }
00040 }
00041 
00042 #undef THIS
00043 


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43