Classes | Functions
dlib Namespace Reference

Classes

struct  image_traits< rs_frame_image< T, RS > >
 

Functions

template<typename T , int RS>
voidimage_data (rs_frame_image< T, RS > &img)
 
template<typename T , int RS>
const voidimage_data (const rs_frame_image< T, RS > &img)
 
template<typename T , int RS>
long num_columns (const rs_frame_image< T, RS > &img)
 
template<typename T , int RS>
long num_rows (const rs_frame_image< T, RS > &img)
 
template<typename T , int RS>
long width_step (rs_frame_image< T, RS > const &img)
 

Detailed Description

In dlib, an "image" is any object that implements the generic image interface. In particular, this simply means that an image type (let's refer to it as image_type from here on) has the following seven global functions defined for it:

Additionally, an image object must be default constructable. This means that expressions of the form: image_type img; Must be legal.

Finally, the type of pixel in image_type must have a pixel_traits specialization. That is, pixel_traits<typename image_traits<image_type>::pixel_type> must be one of the specializations of pixel_traits.

(see http://dlib.net/dlib/image_processing/generic_image.h.html)

Function Documentation

template<typename T , int RS>
void* dlib::image_data ( rs_frame_image< T, RS > &  img)
inline

Definition at line 109 of file rs_frame_image.h.

template<typename T , int RS>
const void* dlib::image_data ( const rs_frame_image< T, RS > &  img)
inline

Definition at line 117 of file rs_frame_image.h.

template<typename T , int RS>
long dlib::num_columns ( const rs_frame_image< T, RS > &  img)
inline

Definition at line 106 of file rs_frame_image.h.

template<typename T , int RS>
long dlib::num_rows ( const rs_frame_image< T, RS > &  img)
inline

Definition at line 104 of file rs_frame_image.h.

template<typename T , int RS>
long dlib::width_step ( rs_frame_image< T, RS > const &  img)
inline

Definition at line 125 of file rs_frame_image.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36