JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
env_params.h
Go to the documentation of this file.
1 /*!@file Envision/env_params.h */
2 
3 // //////////////////////////////////////////////////////////////////// //
4 // The iLab Neuromorphic Vision C++ Toolkit - Copyright (C) 2000-2005 //
5 // by the University of Southern California (USC) and the iLab at USC. //
6 // See http://iLab.usc.edu for information about this project. //
7 // //////////////////////////////////////////////////////////////////// //
8 // Major portions of the iLab Neuromorphic Vision Toolkit are protected //
9 // under the U.S. patent ``Computation of Intrinsic Perceptual Saliency //
10 // in Visual Environments, and Applications'' by Christof Koch and //
11 // Laurent Itti, California Institute of Technology, 2001 (patent //
12 // pending; application number 09/912,225 filed July 23, 2001; see //
13 // http://pair.uspto.gov/cgi-bin/final/home.pl for current status). //
14 // //////////////////////////////////////////////////////////////////// //
15 // This file is part of the iLab Neuromorphic Vision C++ Toolkit. //
16 // //
17 // The iLab Neuromorphic Vision C++ Toolkit is free software; you can //
18 // redistribute it and/or modify it under the terms of the GNU General //
19 // Public License as published by the Free Software Foundation; either //
20 // version 2 of the License, or (at your option) any later version. //
21 // //
22 // The iLab Neuromorphic Vision C++ Toolkit is distributed in the hope //
23 // that it will be useful, but WITHOUT ANY WARRANTY; without even the //
24 // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR //
25 // PURPOSE. See the GNU General Public License for more details. //
26 // //
27 // You should have received a copy of the GNU General Public License //
28 // along with the iLab Neuromorphic Vision C++ Toolkit; if not, write //
29 // to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, //
30 // Boston, MA 02111-1307 USA. //
31 // //////////////////////////////////////////////////////////////////// //
32 //
33 // Primary maintainer for this file: Rob Peters <rjpeters at usc dot edu>
34 // $HeadURL: svn://isvn.usc.edu/software/invt/trunk/saliency/src/Envision/env_params.h $
35 // $Id: env_params.h 9830 2008-06-18 18:50:22Z lior $
36 //
37 
38 #pragma once
39 
43 
44 struct env_params
45 {
53  env_size_t num_orientations; //!< number of Gabor subchannels
58  env_size_t output_map_level; ///< the pyramid level at which the feature map is taken
64 
65  int (*submapPreProc)(const char* tagName,
66  env_size_t clev, env_size_t slev,
67  struct env_image* submap,
68  const struct env_image* center,
69  const struct env_image* surround,
70  void * user_data);
71  int (*submapPostNormProc)(const char* tagName,
72  env_size_t clev, env_size_t slev,
73  struct env_image *submap,
74  const struct env_image* center,
75  const struct env_image* surround,
76  void * user_data);
77  int (*submapPostProc)(const char* tagName,
78  struct env_image *cmap,
79  void * user_data);
83 };
84 
85 #ifdef __cplusplus
86 extern "C"
87 {
88 #endif
89 
90  void env_params_set_defaults(struct env_params* envp);
91 
92  env_size_t env_max_cs_index(const struct env_params* envp);
93 
94  env_size_t env_max_pyr_depth(const struct env_params* envp);
95 
96  intg32 env_total_weight(const struct env_params* envp);
97 
98  void env_params_validate(const struct env_params* envp);
99 
100 #ifdef __cplusplus
101 }
102 #endif
env_params::motion_thresh
byte motion_thresh
Definition: env_params.h:50
env_params::user_data_postnorm
void * user_data_postnorm
Definition: env_params.h:81
env_params::submapPostNormProc
int(* submapPostNormProc)(const char *tagName, env_size_t clev, env_size_t slev, struct env_image *submap, const struct env_image *center, const struct env_image *surround, void *user_data)
Definition: env_params.h:71
env_config.h
env_params::range_thresh
intg32 range_thresh
Definition: env_params.h:47
env_params::user_data_preproc
void * user_data_preproc
Definition: env_params.h:80
demo.int
int
Definition: demo.py:37
env_params::submapPostProc
int(* submapPostProc)(const char *tagName, struct env_image *cmap, void *user_data)
Definition: env_params.h:77
env_params::cs_lev_max
env_size_t cs_lev_max
Definition: env_params.h:55
env_params::chan_f_weight
byte chan_f_weight
Definition: env_params.h:62
env_size_t
unsigned long env_size_t
Definition: env_types.h:71
env_params::chan_m_weight
byte chan_m_weight
Definition: env_params.h:63
env_params_validate
void env_params_validate(const struct env_params *envp)
Definition: env_params.c:97
env_params::num_orientations
env_size_t num_orientations
number of Gabor subchannels
Definition: env_params.h:53
env_params_set_defaults
void env_params_set_defaults(struct env_params *envp)
Definition: env_params.c:43
env_params::submapPreProc
int(* submapPreProc)(const char *tagName, env_size_t clev, env_size_t slev, struct env_image *submap, const struct env_image *center, const struct env_image *surround, void *user_data)
Definition: env_params.h:65
env_params
Definition: env_params.h:44
env_params::user_data_postproc
void * user_data_postproc
Definition: env_params.h:82
env_maxnorm_type
env_maxnorm_type
Types of normalization.
Definition: env_types.h:87
env_params::multiscale_flicker
byte multiscale_flicker
Definition: env_params.h:52
env_params::cs_del_min
env_size_t cs_del_min
Definition: env_params.h:56
env_image.h
env_params::cs_lev_min
env_size_t cs_lev_min
Definition: env_params.h:54
env_params::chan_i_weight
byte chan_i_weight
Definition: env_params.h:59
env_params::flicker_thresh
byte flicker_thresh
Definition: env_params.h:51
env_params::chan_c_weight
byte chan_c_weight
Definition: env_params.h:60
env_types.h
env_max_cs_index
env_size_t env_max_cs_index(const struct env_params *envp)
Definition: env_params.c:73
env_params::maxnorm_type
enum env_maxnorm_type maxnorm_type
Definition: env_params.h:46
env_total_weight
intg32 env_total_weight(const struct env_params *envp)
Definition: env_params.c:85
env_image
Basic image class.
Definition: env_image.h:43
env_params::num_motion_directions
env_size_t num_motion_directions
Definition: env_params.h:49
env_params::chan_o_weight
byte chan_o_weight
Definition: env_params.h:61
env_params::cs_del_max
env_size_t cs_del_max
Definition: env_params.h:57
env_params::output_map_level
env_size_t output_map_level
the pyramid level at which the feature map is taken
Definition: env_params.h:58
intg32
ENV_INTG32_TYPE intg32
32-bit signed integer
Definition: env_types.h:52
env_max_pyr_depth
env_size_t env_max_pyr_depth(const struct env_params *envp)
Definition: env_params.c:79
env_params::scale_bits
env_size_t scale_bits
Definition: env_params.h:48