00001 /* 00002 * Copyright (c) 1998, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * 00006 * Author(s): 00007 * Dennis Koelma (koelma@wins.uva.nl) 00008 * Edo Poll (poll@wins.uva.nl) 00009 */ 00010 00011 #ifndef HxFeatureFunctors_h 00012 #define HxFeatureFunctors_h 00013 00014 #include "HxFeatureFunctor.h" 00015 00016 00018 // HxFfSampleFun 00019 // Feature functor based on HxImageRep::sampleIdentMask with a given SampleFun 00020 00021 class HxFfSampleFun : public HxFeatureFunctor 00022 { 00023 public: 00024 HxFfSampleFun(HxString sf); 00025 00026 virtual HxValue compute(HxBlob2d* blob) const; 00027 private: 00028 HxString _sfName; 00029 }; 00030 00031 #endif