TarzaNN
TarzaNN neural network simulator
C:/Users/albertlr/projects/TarzaNN/TarzaNN/HistogramFilter.h
Go to the documentation of this file.
00001 /****************************************************************************
00002  **
00003  ** Copyright C 2002-2012 Laboratory for Active and Attentive Vision (LAAV), Department of Computer Science and Engineering, York University, Toronto, ON, Canada.
00004  ** All rights reserved.
00005  **
00006  ** This file is part of the TarzaNN Neural Network Simulator.
00007  **
00008  ** This file may be distributed and/or modified under the terms of the
00009  ** GNU General Public License version 2 as published by the Free Software
00010  ** Foundation and appearing in the file LICENSE.GPL included in the
00011  ** packaging of this file.
00012  **
00013  ** See http://www.tarzann.org/gpl/ for GPL licensing information.
00014  **
00015  ** Contact info@tarzann.org if any conditions of this licensing are
00016  ** not clear to you.
00017  **
00018  ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00019  ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00020  **
00021  ****************************************************************************/
00022 
00023 #ifndef HISTOGRAM_FILTER_H_INCLUDED
00024 #define HISTOGRAM_FILTER_H_INCLUDED
00025 #include "FilterFactory.h"
00026 #include "Filter.h"
00027 
00029 class HistogramFilter: public Filter {
00030     friend class FilterFactory;
00031 
00032 public:
00033         //public filter parameters which are utilized by the histogram feature plane
00034         int numBins;
00035         int minX;
00036         int maxX;
00037         int minY;
00038         int maxY;
00039 
00040 protected:
00041         // constructor
00042         // numBins gives the number of bins which are part of the histogram
00043         // minX, maxX, minY, and maxY give the coordinates over which the histogram is being constructed.  If not specified, the histogram is constructed over the whole image.
00044     HistogramFilter (int numBins, int minX, int maxX, int minY, int maxY);
00045 
00046 };
00047 #endif //HISTOGRAM_FILTER_H_INCLUDED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines