00001 /* --------------------------------------------------------------------------- 00002 Phission : 00003 Realtime Vision Processing System 00004 00005 Copyright (C) 2003-2006 Philip D.S. Thoren (pthoren@cs.uml.edu) 00006 University of Massachusetts at Lowell, 00007 Laboratory for Artificial Intelligence and Robotics 00008 00009 --------------------------------------------------------------------------- 00010 <Add other copyrights here> 00011 --------------------------------------------------------------------------- 00012 00013 This file is part of Phission. 00014 00015 Phission is free software; you can redistribute it and/or modify 00016 it under the terms of the GNU Lesser General Public License as published by 00017 the Free Software Foundation; either version 2 of the License, or 00018 (at your option) any later version. 00019 00020 Phission is distributed in the hope that it will be useful, 00021 but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 GNU Lesser General Public License for more details. 00024 00025 You should have received a copy of the GNU Lesser General Public License 00026 along with Phission; if not, write to the Free Software 00027 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00028 00029 ---------------------------------------------------------------------------*/ 00030 #ifndef _THRESHOLD_FILTER_H 00031 #define _THRESHOLD_FILTER_H 00032 00038 #include <phFilter.h> 00039 00045 /* ------------------------------------------------------------------------ */ 00079 PHAPI(class) threshold_Filter : public phFilter 00080 { 00081 private: 00082 uint32_t m_channel; 00083 uint32_t m_value; 00084 00085 protected: 00086 int filter(); 00087 00088 public: 00100 threshold_Filter(uint32_t channel = 0, uint32_t value = 0); 00101 ~threshold_Filter(); 00102 00103 int set(uint32_t channel = 0, uint32_t value = 0); 00104 00105 phFilter *cloneFilter(); 00106 00107 }; 00108 /* ImageProcessing */ 00110 00111 #endif /* _THRESHOLD_FILTER_H */ 00112
Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |