Defines | Functions
contrib/tbl/vipl/vipl_with_vnl_matrix/accessors/vipl_accessors_vnl_matrix.h File Reference
#include <vnl/vnl_matrix.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 (vnl_matrix< DataType > const &i, int x, int y, DataType)
template<class DataType >
void fsetpixel (vnl_matrix< DataType > &i, int x, int y, DataType e)
template<class DataType >
DataType getpixel (vnl_matrix< DataType > const &i, int x, int y, DataType)
template<class DataType >
void setpixel (vnl_matrix< 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_vnl_matrix.h.

#define FILTER_IMPTR_INC_REFCOUNT (   v)

Definition at line 8 of file vipl_accessors_vnl_matrix.h.

#define FILTER_KERNPTR_DEC_REFCOUNT (   v)

Definition at line 10 of file vipl_accessors_vnl_matrix.h.

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

Definition at line 17 of file vipl_accessors_vnl_matrix.h.


Function Documentation

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

Definition at line 8 of file vipl_accessors_vnl_matrix.txx.

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

Definition at line 12 of file vipl_accessors_vnl_matrix.txx.

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

Definition at line 16 of file vipl_accessors_vnl_matrix.txx.

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

Definition at line 21 of file vipl_accessors_vnl_matrix.txx.