The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

mac/build/mpisearch.framework/Headers/featuredata.h

Go to the documentation of this file.
00001 /*
00002  *  featuredata.h
00003  *
00004  *  Created by Rhan Dahl on Thu Apr 18 2002.
00005  *  Fixes: Added matlab ci struct support  -EC, 08/18/2002
00006  * 
00007  *  Copyright (c) 2002 Machine Perception Laboratory 
00008  *  University of California San Diego.
00009  * 
00010  * Please read the disclaimer and notes about redistribution 
00011  * at the end of this file.
00012  *
00013  */
00014 #ifndef _FEATURE_DATA_H_
00015 #define _FEATURE_DATA_H_
00016 
00017 typedef struct {
00018   int start;
00019   int end;
00020   float thresh;
00021 } Cascade;
00022 
00023 typedef struct {
00024   int x, y, value;
00025 } Corner;
00026 
00027 typedef struct {
00028   int id;
00029   int numcorners;
00030   float alpha;
00031   float bias;
00032   int weight;
00033   int abs;
00034 
00035   // additional fields for real-valued features
00036   double nl_over_range;
00037   double * tuning_curve;
00038 
00039   Corner *corners;
00040 } Feature;
00041 
00042 typedef struct {
00043   int top, left, right, bottom;
00044 } OffsetWindow;
00045 
00046 typedef struct {
00047   Feature *features;
00048   Cascade *cascades;
00049   int numfeatures;
00050   int numcascades;
00051   int numStdAdjusts;
00052   int patchsize;
00053   int patch_height;
00054   int patch_width;
00055   int plus_minus_one;
00056   int preserve_aH;
00057   float * stdAdjusts;
00058   OffsetWindow normOffset;
00059   bool real_fun;
00060   int nl;
00061 } FeatureData;
00062 
00063 
00064 #endif
00065 
00066 
00067 
00068 /*
00069  * 
00070  * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
00071  * 
00072  *    1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
00073  *    2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
00074  *    3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
00075  * 
00076  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00077  * 
00078  */
00079 
00080 
00081 
00082 
00083 
00084 
00085 
00086 
00087 
00088 

Generated on Mon Nov 8 17:07:33 2004 for MPT by  doxygen 1.3.9.1