![]() |
The Machine Perception Toolbox |
|
00001 /* 00002 * righteye_eye_only_eye_centered.cc 00003 * 00004 * Copyright (c) 2002 Machine Perception Laboratory 00005 * University of California San Diego. 00006 * 00007 * Please read the disclaimer and notes about redistribution 00008 * at the end of this file. 00009 * 00010 */ 00011 00012 #include "righteye_eye_only_eye_centered.h" 00013 00014 void righteye_eye_only_eye_centered::assignData(MPEyeFinder *ef, FeatureData &d){ 00015 d.patchsize=25; 00016 d.patch_width=25; 00017 d.patch_height=25; 00018 d.plus_minus_one=0; 00019 d.numfeatures=100; 00020 d.numcascades=1; 00021 d.cascades = casc; 00022 d.features = f; 00023 d.normOffset.top = 0; 00024 d.normOffset.left = 0; 00025 d.normOffset.right = 0; 00026 d.normOffset.bottom = 0; 00027 d.numStdAdjusts=50; 00028 d.stdAdjusts = stdAdj; 00029 d.real_fun = true; 00030 d.nl=64; 00031 ef->SetCentering(eye_centered); 00032 ef->SetRez(eye_only); 00033 }