JeVoisBase  1.0
JeVois Smart Embedded Machine Vision Toolkit Base Modules
env_motion_channel.h
Go to the documentation of this file.
1 /*!@file Envision/env_motion_channel.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_motion_channel.h $
35 // $Id: env_motion_channel.h 8422 2007-05-23 19:20:28Z rjpeters $
36 //
37 
38 #pragma once
39 
44 
45 struct env_dims;
46 struct env_image;
47 struct env_params;
48 struct env_math;
49 
50 // ######################################################################
51 //! A composite channel containing a set of direction channels
53 {
57 };
58 
59 #ifdef __cplusplus
60 extern "C"
61 {
62 #endif
63 
65  const struct env_params* envp);
66 
68 
69  /// env_motion_channel only requires luminosity input
70  /** for efficiency, the motion channel takes ownership of the lowpass5 pyramid (rather than needing to make a copy of
71  it), so that after this function the lowpass5 argument will point to an empty pyramid */
73  struct env_motion_channel* chan,
74  const char* tagName,
75  const struct env_params* envp,
76  const struct env_math* imath,
77  const struct env_dims inputdims,
78  struct env_pyr* lowpass5,
79  env_chan_status_func* status_func,
80  void* status_userdata,
81  struct env_image* result);
82 
83 #ifdef __cplusplus
84 }
85 #endif
void env_motion_channel_init(struct env_motion_channel *chan, const struct env_params *envp)
void env_motion_channel_input_and_consume_pyr(struct env_motion_channel *chan, const char *tagName, const struct env_params *envp, const struct env_math *imath, const struct env_dims inputdims, struct env_pyr *lowpass5, env_chan_status_func *status_func, void *status_userdata, struct env_image *result)
env_motion_channel only requires luminosity input
struct env_pyr * shifted_prev
Basic image class.
Definition: env_image.h:43
A composite channel containing a set of direction channels.
struct env_pyr unshifted_prev
unsigned long env_size_t
Definition: env_types.h:71
void env_motion_channel_destroy(struct env_motion_channel *chan)
A simple struct to hold a pair of width/height dimensions.
Definition: env_types.h:80
This class implements a set of images, often used as a dyadic pyramid.
Definition: env_pyr.h:45
void( env_chan_status_func)(void *userdata, const char *tagName, const struct env_image *img)
Definition: env_channel.h:55