blobProp.H

Go to the documentation of this file.
00001 /*!@file VFAT/blobProp.H Basic image segmenter blob finder using color
00002  part of color tracker*/
00003 
00004 // //////////////////////////////////////////////////////////////////// //
00005 // The iLab Neuromorphic Vision C++ Toolkit - Copyright (C) 2001 by the //
00006 // University of Southern California (USC) and the iLab at USC.         //
00007 // See http://iLab.usc.edu for information about this project.          //
00008 // //////////////////////////////////////////////////////////////////// //
00009 // Major portions of the iLab Neuromorphic Vision Toolkit are protected //
00010 // under the U.S. patent ``Computation of Intrinsic Perceptual Saliency //
00011 // in Visual Environments, and Applications'' by Christof Koch and      //
00012 // Laurent Itti, California Institute of Technology, 2001 (patent       //
00013 // pending; application number 09/912,225 filed July 23, 2001; see      //
00014 // http://pair.uspto.gov/cgi-bin/final/home.pl for current status).     //
00015 // //////////////////////////////////////////////////////////////////// //
00016 // This file is part of the iLab Neuromorphic Vision C++ Toolkit.       //
00017 //                                                                      //
00018 // The iLab Neuromorphic Vision C++ Toolkit is free software; you can   //
00019 // redistribute it and/or modify it under the terms of the GNU General  //
00020 // Public License as published by the Free Software Foundation; either  //
00021 // version 2 of the License, or (at your option) any later version.     //
00022 //                                                                      //
00023 // The iLab Neuromorphic Vision C++ Toolkit is distributed in the hope  //
00024 // that it will be useful, but WITHOUT ANY WARRANTY; without even the   //
00025 // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //
00026 // PURPOSE.  See the GNU General Public License for more details.       //
00027 //                                                                      //
00028 // You should have received a copy of the GNU General Public License    //
00029 // along with the iLab Neuromorphic Vision C++ Toolkit; if not, write   //
00030 // to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,   //
00031 // Boston, MA 02111-1307 USA.                                           //
00032 // //////////////////////////////////////////////////////////////////// //
00033 //
00034 // Primary maintainer for this file: T. Nathan Mundhenk <mundhenk@usc.edu>
00035 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/VFAT/blobProp.H $
00036 // $Id: blobProp.H 4663 2005-06-23 17:47:28Z rjpeters $
00037 //
00038 
00039 #ifndef BLOBPROP_H_DEFINED
00040 #define BLOBPROP_H_DEFINED
00041 
00042 class blobProp
00043 {
00044 public:
00045   // hard Blob constraints
00046 
00047   //# spatial location constraint
00048   //! region of search for blobs if loss of track
00049   int BP_LOTbound;
00050   //! region of search for blobs otherwise
00051   int BP_bound;
00052 
00053   //! extra leway in bounds set from outside class
00054   int BP_softBound;
00055   int BP_lowBound;
00056   int BP_traj;
00057   int BP_sampleStart;
00058   int BP_maxTraj;
00059   int BP_maxSize;
00060   int BP_minSize;
00061   //!this is the maximum size a blob can be by windows size (2 = 1/2)
00062   float BP_maxFrameSize;
00063   //! minimum blob size in pixel mass
00064   int BP_minMass;
00065   //! maximum blob size in pixel mass
00066   int BP_maxMass;
00067   //! Low bound ratio for blob shape in height/width
00068   float BP_ratioMin;
00069   //! extra leway on min ratio set from outside class
00070   float BP_softRatioMin;
00071   //! High bound ratio for blob shape in height/width
00072   float BP_ratioMax;
00073   //! extra leway on max ratio set from outside class
00074   float BP_softRatioMax;
00075   //! smallest size for a cluster to be considered a good sample
00076   int BP_minClusterSize;
00077   //! set the weights in cluster for spatial relation
00078   float BP_clusterWeightSpat;
00079   //! set the weights in cluster for Hue
00080   float BP_clusterWeightH;
00081   //! set the weights in cluster for Sat
00082   float BP_clusterWeightS;
00083   //! set the weights in cluster for Val
00084   float BP_clusterWeightV;
00085   //! set initial standard deviation for color tracking after Hue
00086   float BP_clusterColorStdH;
00087   //! set initial standard deviation for color tracking after Sat
00088   float BP_clusterColorStdS;
00089   //! set initial standard deviation for color tracking after Val
00090   float BP_clusterColorStdV;
00091   //! check that blobs are within mass constraint
00092   bool BP_checkMass;
00093   //! check that blobs are within an x frame from last track
00094   bool BP_checkFrameX;
00095   //! check that blobs are within a y frame from last track
00096   bool BP_checkFrameY;
00097   //! check that blobs are withing a certain ratio contraint
00098   bool BP_checkSizeRatios;
00099 };
00100 
00101 #endif
Generated on Sun May 8 08:42:32 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3