Defines | Functions
contrib/tbl/vipl/vipl_with_vbl_array_2d/accessors/vipl_accessors_vbl_array_2d.h File Reference
#include <vbl/vbl_array_2d.h>

Go to the source code of this file.

Defines

#define FILTER_IMPTR_DEC_REFCOUNT(v)   {delete (v); (v)=0;}
#define FILTER_IMPTR_INC_REFCOUNT(v)
#define FILTER_KERNPTR_DEC_REFCOUNT(v)
#define VIPL_DECLARE_ACCESSORS(T)

Functions

template<class DataType >
DataType fgetpixel (vbl_array_2d< DataType > const &i, int x, int y, DataType)
template<class DataType >
void fsetpixel (vbl_array_2d< DataType > &i, int x, int y, DataType e)
template<class DataType >
DataType getpixel (vbl_array_2d< DataType > const &i, int x, int y, DataType)
template<class DataType >
void setpixel (vbl_array_2d< DataType > &i, int x, int y, DataType e)

Define Documentation

#define FILTER_IMPTR_DEC_REFCOUNT (   v)    {delete (v); (v)=0;}

Definition at line 6 of file vipl_accessors_vbl_array_2d.h.

#define FILTER_IMPTR_INC_REFCOUNT (   v)

Definition at line 8 of file vipl_accessors_vbl_array_2d.h.

#define FILTER_KERNPTR_DEC_REFCOUNT (   v)

Definition at line 10 of file vipl_accessors_vbl_array_2d.h.

#define VIPL_DECLARE_ACCESSORS (   T)
Value:
T fgetpixel(vbl_array_2d<T> const& i, int x, int y, T); \
void fsetpixel(vbl_array_2d<T>& i, int x, int y, T e); \
T getpixel(vbl_array_2d<T> const& i, int x, int y, T); \
void setpixel(vbl_array_2d<T>& i, int x, int y, T e)

Definition at line 17 of file vipl_accessors_vbl_array_2d.h.


Function Documentation

template<class DataType >
DataType fgetpixel ( vbl_array_2d< DataType > const &  i,
int  x,
int  y,
DataType   
)

Definition at line 8 of file vipl_accessors_vbl_array_2d.txx.

template<class DataType >
void fsetpixel ( vbl_array_2d< DataType > &  i,
int  x,
int  y,
DataType  e 
)

Definition at line 12 of file vipl_accessors_vbl_array_2d.txx.

template<class DataType >
DataType getpixel ( vbl_array_2d< DataType > const &  i,
int  x,
int  y,
DataType   
)

Definition at line 16 of file vipl_accessors_vbl_array_2d.txx.

template<class DataType >
void setpixel ( vbl_array_2d< DataType > &  i,
int  x,
int  y,
DataType  e 
)

Definition at line 21 of file vipl_accessors_vbl_array_2d.txx.