• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

cimg_library::CImgList

cimg_library::CImgList< T > Struct Template Reference

Class representing list of images CImg<T>. More...

#include <CImg.h>

List of all members.

Public Types

typedef cimg::last< T, bool >::type boolT
typedef cimg::last< T, char >::type charT
typedef const CImg< T > * const_iterator
typedef cimg::last< T, double >
::type 
doubleT
typedef cimg::last< T, float >
::type 
floatT
typedef cimg::last< T, int >::type intT
typedef CImg< T > * iterator
typedef cimg::last< T, long >::type longT
typedef cimg::last< T, short >
::type 
shortT
typedef cimg::superset< T,
bool >::type 
Tbool
typedef cimg::superset< T,
char >::type 
Tchar
typedef cimg::superset< T,
double >::type 
Tdouble
typedef cimg::superset< T,
float >::type 
Tfloat
typedef cimg::superset< T, int >
::type 
Tint
typedef cimg::superset< T,
long >::type 
Tlong
typedef cimg::superset< T,
short >::type 
Tshort
typedef cimg::superset< T,
unsigned char >::type 
Tuchar
typedef cimg::superset< T,
unsigned int >::type 
Tuint
typedef cimg::superset< T,
unsigned long >::type 
Tulong
typedef cimg::superset< T,
unsigned short >::type 
Tushort
typedef cimg::last< T,
unsigned char >::type 
ucharT
typedef cimg::last< T,
unsigned int >::type 
uintT
typedef cimg::last< T,
unsigned long >::type 
ulongT
typedef cimg::last< T,
unsigned short >::type 
ushortT
typedef T value_type

Public Member Functions

List Manipulation



T _atN (const int pos, const int x=0, const int y=0, const int z=0, const int v=0) const
T & _atN (const int pos, const int x=0, const int y=0, const int z=0, const int v=0)
T _atNX (const int pos, const int x, const int y=0, const int z=0, const int v=0) const
T & _atNX (const int pos, const int x, const int y=0, const int z=0, const int v=0)
T _atNXY (const int pos, const int x, const int y, const int z=0, const int v=0) const
T & _atNXY (const int pos, const int x, const int y, const int z=0, const int v=0)
T _atNXYZ (const int pos, const int x, const int y, const int z, const int v=0) const
T & _atNXYZ (const int pos, const int x, const int y, const int z, const int v=0)
T _atNXYZV (const int pos, const int x, const int y, const int z, const int v) const
T & _atNXYZV (const int pos, const int x, const int y, const int z, const int v)
T _display_object3d_at2 (const int i, const int j) const
CImg< T > & at (const int pos)
T atN (const int pos, const int x=0, const int y=0, const int z=0, const int v=0) const
T & atN (const int pos, const int x=0, const int y=0, const int z=0, const int v=0)
T atN (const int pos, const int x, const int y, const int z, const int v, const T out_val) const
T & atN (const int pos, const int x, const int y, const int z, const int v, const T out_val)
T atNX (const int pos, const int x, const int y=0, const int z=0, const int v=0) const
T & atNX (const int pos, const int x, const int y=0, const int z=0, const int v=0)
T atNX (const int pos, const int x, const int y, const int z, const int v, const T out_val) const
T & atNX (const int pos, const int x, const int y, const int z, const int v, const T out_val)
T atNXY (const int pos, const int x, const int y, const int z=0, const int v=0) const
T & atNXY (const int pos, const int x, const int y, const int z=0, const int v=0)
T atNXY (const int pos, const int x, const int y, const int z, const int v, const T out_val) const
T & atNXY (const int pos, const int x, const int y, const int z, const int v, const T out_val)
T atNXYZ (const int pos, const int x, const int y, const int z, const int v=0) const
T & atNXYZ (const int pos, const int x, const int y, const int z, const int v=0)
T atNXYZ (const int pos, const int x, const int y, const int z, const int v, const T out_val) const
T & atNXYZ (const int pos, const int x, const int y, const int z, const int v, const T out_val)
T atNXYZV (const int pos, const int x, const int y, const int z, const int v) const
T & atNXYZV (const int pos, const int x, const int y, const int z, const int v)
T atNXYZV (const int pos, const int x, const int y, const int z, const int v, const T out_val) const
T & atNXYZV (const int pos, const int x, const int y, const int z, const int v, const T out_val)
const CImg< T > & back () const
CImg< T > & back ()
const_iterator begin () const
iterator begin ()
CImgList< T > & crop (const unsigned int i0, const unsigned int i1, const int x0, const int x1)
CImgList< T > & crop (const unsigned int i0, const unsigned int i1, const int x0, const int y0, const int x1, const int y1)
CImgList< T > & crop (const unsigned int i0, const unsigned int i1, const int x0, const int y0, const int z0, const int x1, const int y1, const int z1)
CImgList< T > & crop (const unsigned int i0, const unsigned int i1, const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1)
CImgList< T > & crop (const unsigned int i0, const unsigned int i1, const bool shared=false)
const_iterator end () const
iterator end ()
CImgList< T > & erase (const iterator iter)
CImg< T > & first ()
const CImg< T > & first () const
const CImg< T > & front () const
CImg< T > & front ()
CImgList< T > get_crop (const unsigned int i0, const unsigned int i1, const int x0, const int x1) const
CImgList< T > get_crop (const unsigned int i0, const unsigned int i1, const int x0, const int y0, const int x1, const int y1) const
CImgList< T > get_crop (const unsigned int i0, const unsigned int i1, const int x0, const int y0, const int z0, const int x1, const int y1, const int z1) const
CImgList< T > get_crop (const unsigned int i0, const unsigned int i1, const int x0, const int y0, const int z0, const int v0, const int x1, const int y1, const int z1, const int v1) const
CImgList< T > get_crop (const unsigned int i0, const unsigned int i1, const bool shared=false) const
template<typename t >
CImgList< T > get_insert (const unsigned int n, const CImgList< t > &list, const unsigned int pos=~0U, const bool shared=false) const
template<typename t >
CImgList< T > get_insert (const CImgList< t > &list, const unsigned int pos=~0U, const bool shared=false) const
template<typename t >
CImgList< T > get_insert (const unsigned int n, const CImg< t > &img, const unsigned int pos=~0U, const bool shared=false) const
CImgList< T > get_insert (const unsigned int n, const unsigned int pos=~0U) const
template<typename t >
CImgList< T > get_insert (const CImg< t > &img, const unsigned int pos=~0U, const bool shared=false) const
CImgList< T > get_remove () const
CImgList< T > get_remove (const unsigned int pos) const
CImgList< T > get_remove (const unsigned int pos1, const unsigned int pos2) const
CImgList< T > get_reverse () const
template<typename t >
CImgList< T > & insert (const unsigned int n, const CImgList< t > &list, const unsigned int pos=~0U, const bool shared=false)
template<typename t >
CImgList< T > & insert (const CImgList< t > &list, const unsigned int pos=~0U, const bool shared=false)
template<typename t >
CImgList< T > & insert (const unsigned int n, const CImg< t > &img, const unsigned int pos=~0U, const bool shared=false)
CImgList< T > & insert (const unsigned int n, const unsigned int pos=~0U)
template<typename t >
CImgList< T > & insert (const CImg< t > &img)
template<typename t >
CImgList< T > & insert (const CImg< t > &img, const unsigned int pos)
CImgList< T > & insert (const CImg< T > &img, const unsigned int pos, const bool shared)
template<typename t >
CImgList< T > & insert (const CImg< t > &img, const unsigned int pos, const bool shared)
CImg< T > & last ()
const CImg< T > & last () const
const T & operator() (const unsigned int pos, const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const
T & operator() (const unsigned int pos, const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0)
const CImg< T > & operator() (const unsigned int pos) const
CImg< T > & operator() (const unsigned int pos)
template<typename t >
CImgList< T > & operator<< (const CImgList< t > &list)
template<typename t >
CImgList< T > & operator<< (const CImg< t > &img)
const CImgList< T > & operator>> (CImgDisplay &disp) const
template<typename t >
CImgList< T > & operator>> (CImgList< t > &list) const
template<typename t >
CImgList< T > & operator>> (CImg< t > &img) const
const CImg< T > & operator[] (const unsigned int pos) const
CImg< T > & operator[] (const unsigned int pos)
CImgList< T > & pop_back ()
CImgList< T > & pop_front ()
template<typename t >
CImgList< T > & push_back (const CImgList< t > &list)
template<typename t >
CImgList< T > & push_back (const CImg< t > &img)
template<typename t >
CImgList< T > & push_front (const CImgList< t > &list)
template<typename t >
CImgList< T > & push_front (const CImg< t > &img)
CImgList< T > & remove ()
CImgList< T > & remove (const unsigned int pos)
CImgList< T > & remove (const unsigned int pos1, const unsigned int pos2)
CImgList< T > & reverse ()
Arithmetics Operators



CImgList< Tfloat > get_stats (const unsigned int variance_method=1) const
T & max ()
const T & max () const
template<typename t >
T & maxmin (t &min_val)
template<typename t >
const T & maxmin (t &min_val) const
double mean () const
T & min ()
const T & min () const
template<typename t >
T & minmax (t &max_val)
template<typename t >
const T & minmax (t &max_val) const
template<typename t >
CImgList< T > & operator*= (const CImgList< t > &list)
template<typename t >
CImgList< T > & operator*= (const t val)
CImgList< T > operator+ () const
CImgList< T > operator++ (int)
CImgList< T > & operator++ ()
template<typename t >
CImgList< T > & operator+= (const CImgList< t > &list)
template<typename t >
CImgList< T > & operator+= (const t val)
CImgList< T > operator- () const
CImgList< T > operator-- (int)
CImgList< T > & operator-- ()
template<typename t >
CImgList< T > & operator-= (const CImgList< t > &list)
template<typename t >
CImgList< T > & operator-= (const t val)
template<typename t >
CImgList< T > & operator/= (const CImgList< t > &list)
template<typename t >
CImgList< T > & operator/= (const t val)
CImgList< T > & operator= (const T val)
template<typename t >
CImgList< T > & operator= (const CImg< t > &img)
CImgList< T > & operator= (const CImgList< T > &list)
template<typename t >
CImgList< T > & operator= (const CImgList< t > &list)
CImgList< T > & stats (const unsigned int variance_method=1)
double variance ()

Public Attributes

unsigned int allocsize
CImg< T > * data
unsigned int size

Constructors - Destructor - Copy



Y V V Z V const unsigned int dy
Y V V Z V const unsigned int
const unsigned int 
dz
return res
Y V V Z V const unsigned int
const unsigned int const
unsigned int dv const bool 
res = true
Y V V Y
Y V V Z Z
 CImgList (const char *const filename)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 , typename t8 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const CImg< t7 > &img7, const CImg< t8 > &img8, const bool shared)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 , typename t8 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const CImg< t7 > &img7, const CImg< t8 > &img8)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const CImg< t7 > &img7, const bool shared)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const CImg< t7 > &img7)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const bool shared)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const bool shared)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5)
template<typename t1 , typename t2 , typename t3 , typename t4 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const bool shared)
template<typename t1 , typename t2 , typename t3 , typename t4 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4)
template<typename t1 , typename t2 , typename t3 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const bool shared)
template<typename t1 , typename t2 , typename t3 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3)
template<typename t1 , typename t2 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2, const bool shared)
template<typename t1 , typename t2 >
 CImgList (const CImg< t1 > &img1, const CImg< t2 > &img2)
template<typename t >
 CImgList (const CImg< t > &img, const bool shared)
template<typename t >
 CImgList (const CImg< t > &img)
template<typename t >
 CImgList (const unsigned int n, const CImg< t > &img, const bool shared)
template<typename t >
 CImgList (const unsigned int n, const CImg< t > &img)
 CImgList (const unsigned int n, const unsigned int width, const unsigned int height, const unsigned int depth, const unsigned int dim, const double val0, const double val1,...)
 CImgList (const unsigned int n, const unsigned int width, const unsigned int height, const unsigned int depth, const unsigned int dim, const int val0, const int val1,...)
 CImgList (const unsigned int n, const unsigned int width, const unsigned int height, const unsigned int depth, const unsigned int dim, const T val)
 CImgList (const unsigned int n, const unsigned int width, const unsigned int height=1, const unsigned int depth=1, const unsigned int dim=1)
 CImgList (const CImgList< T > &list, const bool shared)
template<typename t >
 CImgList (const CImgList< t > &list, const bool shared)
 CImgList (const CImgList< T > &list)
template<typename t >
 CImgList (const CImgList< t > &list)
 CImgList (const unsigned int n)
 CImgList ()
 ~CImgList ()
 _cimglist_def_is_same (XY) _cimglist_def_is_same(XZ) _cimglist_def_is_same(XV) _cimglist_def_is_same(YZ) _cimglist_def_is_same(YV) _cimglist_def_is_same(XYZ) _cimglist_def_is_same(XYV) _cimglist_def_is_same(YZV) _cimglist_def_is_same(XYZV) _cimglist_def_is_same1(X) _cimglist_def_is_same1(Y) _cimglist_def_is_same1(Z) _cimglist_def_is_same1(V) _cimglist_def_is_same2(X
Y V V _cimglist_def_is_same2 (Z, V) _cimglist_def_is_same3(X
Y V _cimglist_def_is_same2 (Y, Z) _cimglist_def_is_same2(Y
Y _cimglist_def_is_same2 (X, Z) _cimglist_def_is_same2(X
Y V V Z V _cimglist_def_is_same3 (Y, Z, V) bool is_sameXYZV(const unsigned int dx
Y V V Z _cimglist_def_is_same3 (X, Y, V) _cimglist_def_is_same3(X
CImgList< T > & assign (const char *const filename)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 , typename t8 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const CImg< t7 > &img7, const CImg< t8 > &img8, const bool shared=false)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const CImg< t7 > &img7, const bool shared=false)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const CImg< t6 > &img6, const bool shared=false)
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const CImg< t5 > &img5, const bool shared=false)
template<typename t1 , typename t2 , typename t3 , typename t4 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const CImg< t4 > &img4, const bool shared=false)
template<typename t1 , typename t2 , typename t3 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const CImg< t3 > &img3, const bool shared=false)
template<typename t1 , typename t2 >
CImgList< T > & assign (const CImg< t1 > &img1, const CImg< t2 > &img2, const bool shared=false)
template<typename t >
CImgList< T > & assign (const CImg< t > &img, const bool shared=false)
template<typename t >
CImgList< T > & assign (const unsigned int n, const CImg< t > &img, const bool shared=false)
template<typename t >
CImgList< T > & assign (const CImgList< t > &list, const bool shared)
template<typename t >
CImgList< T > & assign (const CImgList< t > &list)
CImgList< T > & assign (const unsigned int n, const unsigned int width, const unsigned int height, const unsigned int depth, const unsigned int dim, const double val0, const double val1,...)
CImgList< T > & assign (const unsigned int n, const unsigned int width, const unsigned int height, const unsigned int depth, const unsigned int dim, const int val0, const int val1,...)
CImgList< T > & assign (const unsigned int n, const unsigned int width, const unsigned int height, const unsigned int depth, const unsigned int dim, const T val)
CImgList< T > & assign (const unsigned int n, const unsigned int width, const unsigned int height=1, const unsigned int depth=1, const unsigned int dim=1)
CImgList< T > & assign (const unsigned int n)
CImgList< T > & assign ()
CImgList< T > & clear ()
bool contains (const CImg< T > &img) const
template<typename t >
bool contains (const CImg< T > &img, t &n) const
bool contains (const T &pixel) const
template<typename t >
bool contains (const T &pixel, t &n) const
template<typename t >
bool contains (const T &pixel, t &n, t &x) const
template<typename t >
bool contains (const T &pixel, t &n, t &x, t &y) const
template<typename t >
bool contains (const T &pixel, t &n, t &x, t &y, t &z) const
template<typename t >
bool contains (const T &pixel, t &n, t &x, t &y, t &z, t &v) const
bool containsN (const int n) const
bool containsNXYZV (const int n, const int x=0, const int y=0, const int z=0, const int v=0) const
 for (unsigned int l=0;l< size &&res;++l) res
bool is_empty () const
template<typename t >
bool is_sameN (const CImgList< t > &list) const
bool is_sameN (const unsigned int n) const
bool is_sameNXYZV (const unsigned int n, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv) const
 operator bool () const
CImgList< T > & swap (CImgList< T > &list)
CImgList< T > & transfer_to (CImgList< T > &list)
template<typename t >
CImgList< T > & transfer_to (CImgList< t > &list)
static const char * pixel_type ()

Input-Output



CImgList< T > & _load_cimg (cimg_std::FILE *const file, const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1)
CImgList< T > & _load_cimg (cimg_std::FILE *const file, const char *const filename)
CImgList< T > & _load_yuv (cimg_std::FILE *const file, const char *const filename, const unsigned int sizex, const unsigned int sizey, const unsigned int first_frame, const unsigned int last_frame, const unsigned int step_frame, const bool yuv2rgb)
const CImgList< T > & _save_cimg (cimg_std::FILE *const file, const char *const filename, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const
const CImgList< T > & _save_cimg (cimg_std::FILE *const file, const char *const filename, const bool compression) const
const CImgList< T > & _save_yuv (cimg_std::FILE *const file, const char *const filename, const bool rgb2yuv) const
CImgList< T > & load (const char *const filename)
CImgList< T > & load_cimg (cimg_std::FILE *const file, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1)
CImgList< T > & load_cimg (const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1)
CImgList< T > & load_cimg (cimg_std::FILE *const file)
CImgList< T > & load_cimg (const char *const filename)
CImgList< T > & load_ffmpeg (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool pixel_format=true, const bool resume=false)
CImgList< T > & load_ffmpeg_external (const char *const filename)
CImgList< T > & load_gzip_external (const char *const filename)
template<typename tf , typename tc >
CImgList< T > & load_off (const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces=false)
CImgList< T > & load_parrec (const char *const filename)
CImgList< T > & load_tiff (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1)
CImgList< T > & load_yuv (cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true)
CImgList< T > & load_yuv (const char *const filename, const unsigned int sizex, const unsigned int sizey, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true)
const CImgList< T > & print (const char *title=0, const bool display_stats=true) const
const CImgList< T > & save (const char *const filename, const int number=-1) const
const CImgList< T > & save_cimg (cimg_std::FILE *const file, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const
const CImgList< T > & save_cimg (const char *const filename, const unsigned int n0, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0) const
const CImgList< T > & save_cimg (const char *const filename, const bool compress=false) const
const CImgList< T > & save_cimg (cimg_std::FILE *file, const bool compress=false) const
const CImgList< T > & save_ffmpeg (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int fps=25) const
const CImgList< T > & save_ffmpeg_external (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const char *const codec="mpeg2video") const
const CImgList< T > & save_gzip_external (const char *const filename) const
template<typename tf , typename tc >
const CImgList< T > & save_off (cimg_std::FILE *const file, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool invert_faces=false) const
template<typename tf , typename tc >
const CImgList< T > & save_off (const char *const filename, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool invert_faces=false) const
const CImgList< T > & save_yuv (cimg_std::FILE *const file, const bool rgb2yuv=true) const
const CImgList< T > & save_yuv (const char *const filename=0, const bool rgb2yuv=true) const
CImg< charT > value_string (const char separator=',', const unsigned int max_size=0) const
static void _save_empty_cimg (cimg_std::FILE *const file, const char *const filename, const unsigned int nb, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv)
static CImgList< T > get_load (const char *const filename)
static CImgList< T > get_load_cimg (cimg_std::FILE *const file, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1)
static CImgList< T > get_load_cimg (const char *const filename, const unsigned int n0, const unsigned int n1, const unsigned int x0, const unsigned int y0, const unsigned int z0, const unsigned int v0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int v1)
static CImgList< T > get_load_cimg (cimg_std::FILE *const file)
static CImgList< T > get_load_cimg (const char *const filename)
static CImgList< T > get_load_ffmpeg (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool pixel_format=true)
static CImgList< T > get_load_ffmpeg_external (const char *const filename)
static CImgList< T > get_load_gzip_external (const char *const filename)
template<typename tf , typename tc >
static CImgList< T > get_load_off (const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors, const bool invert_faces=false)
static CImgList< T > get_load_parrec (const char *const filename)
static CImgList< T > get_load_tiff (const char *const filename, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1)
static CImgList< T > get_load_yuv (cimg_std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true)
static CImgList< T > get_load_yuv (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int first_frame=0, const unsigned int last_frame=~0U, const unsigned int step_frame=1, const bool yuv2rgb=true)
static void save_empty_cimg (cimg_std::FILE *const file, const unsigned int nb, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)
static void save_empty_cimg (const char *const filename, const unsigned int nb, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1)

Fourier Transforms



CImgList< T > & crop_font ()
const CImgList< T > & display (const char *const title=0, const bool display_info=true, const char axis='x', const char align='p') const
const CImgList< T > & display (CImgDisplay &disp, const bool display_info, const char axis='x', const char align='p') const
const CImgList< T > & display (CImgDisplay &disp, const char axis='x', const char align='p') const
CImgList< T > & FFT (const bool invert=false)
CImgList< T > & FFT (const char axis, const bool invert=false)
CImg< T > get_append (const char axis, const char align='p') const
CImgList< T > get_crop_font () const
CImgList< Tfloat > get_FFT (const bool invert=false) const
CImgList< Tfloat > get_FFT (const char axis, const bool invert=false) const
CImgList< T > get_invert_object3d () const
CImgList< T > get_split (const char axis) const
CImgList< T > & invert_object3d ()
CImgList< T > & split (const char axis)
static CImgList< T > _font (const unsigned int *const font, const unsigned int w, const unsigned int h, const unsigned int paddingx, const unsigned int paddingy, const bool variable_size=true)
static CImgList< T > font (const unsigned int font_width, const bool variable_size=true)

Detailed Description

template<typename T>
struct cimg_library::CImgList< T >

Class representing list of images CImg<T>.

Definition at line 32761 of file CImg.h.


Member Typedef Documentation

template<typename T>
typedef cimg::last<T,bool>::type cimg_library::CImgList< T >::boolT

Definition at line 32793 of file CImg.h.

template<typename T>
typedef cimg::last<T,char>::type cimg_library::CImgList< T >::charT

Definition at line 32795 of file CImg.h.

template<typename T>
typedef const CImg<T>* cimg_library::CImgList< T >::const_iterator

Define a CImgList<T>::const_iterator.

Definition at line 32776 of file CImg.h.

template<typename T>
typedef cimg::last<T,double>::type cimg_library::CImgList< T >::doubleT

Definition at line 32803 of file CImg.h.

template<typename T>
typedef cimg::last<T,float>::type cimg_library::CImgList< T >::floatT

Definition at line 32802 of file CImg.h.

template<typename T>
typedef cimg::last<T,int>::type cimg_library::CImgList< T >::intT

Definition at line 32799 of file CImg.h.

template<typename T>
typedef CImg<T>* cimg_library::CImgList< T >::iterator

Define a CImgList<T>::iterator.

Definition at line 32773 of file CImg.h.

template<typename T>
typedef cimg::last<T,long>::type cimg_library::CImgList< T >::longT

Definition at line 32801 of file CImg.h.

template<typename T>
typedef cimg::last<T,short>::type cimg_library::CImgList< T >::shortT

Definition at line 32797 of file CImg.h.

template<typename T>
typedef cimg::superset<T,bool>::type cimg_library::CImgList< T >::Tbool

Definition at line 32782 of file CImg.h.

template<typename T>
typedef cimg::superset<T,char>::type cimg_library::CImgList< T >::Tchar

Definition at line 32784 of file CImg.h.

template<typename T>
typedef cimg::superset<T,double>::type cimg_library::CImgList< T >::Tdouble

Definition at line 32792 of file CImg.h.

template<typename T>
typedef cimg::superset<T,float>::type cimg_library::CImgList< T >::Tfloat

Definition at line 32791 of file CImg.h.

template<typename T>
typedef cimg::superset<T,int>::type cimg_library::CImgList< T >::Tint

Definition at line 32788 of file CImg.h.

template<typename T>
typedef cimg::superset<T,long>::type cimg_library::CImgList< T >::Tlong

Definition at line 32790 of file CImg.h.

template<typename T>
typedef cimg::superset<T,short>::type cimg_library::CImgList< T >::Tshort

Definition at line 32786 of file CImg.h.

template<typename T>
typedef cimg::superset<T,unsigned char>::type cimg_library::CImgList< T >::Tuchar

Definition at line 32783 of file CImg.h.

template<typename T>
typedef cimg::superset<T,unsigned int>::type cimg_library::CImgList< T >::Tuint

Definition at line 32787 of file CImg.h.

template<typename T>
typedef cimg::superset<T,unsigned long>::type cimg_library::CImgList< T >::Tulong

Definition at line 32789 of file CImg.h.

template<typename T>
typedef cimg::superset<T,unsigned short>::type cimg_library::CImgList< T >::Tushort

Definition at line 32785 of file CImg.h.

template<typename T>
typedef cimg::last<T,unsigned char>::type cimg_library::CImgList< T >::ucharT

Definition at line 32794 of file CImg.h.

template<typename T>
typedef cimg::last<T,unsigned int>::type cimg_library::CImgList< T >::uintT

Definition at line 32798 of file CImg.h.

template<typename T>
typedef cimg::last<T,unsigned long>::type cimg_library::CImgList< T >::ulongT

Definition at line 32800 of file CImg.h.

template<typename T>
typedef cimg::last<T,unsigned short>::type cimg_library::CImgList< T >::ushortT

Definition at line 32796 of file CImg.h.

template<typename T>
typedef T cimg_library::CImgList< T >::value_type

Get value type.

Definition at line 32779 of file CImg.h.


Constructor & Destructor Documentation

template<typename T>
cimg_library::CImgList< T >::~CImgList (  )  [inline]

Destructor.

Definition at line 32847 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList (  )  [inline]

Default constructor.

Definition at line 32852 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const unsigned int  n  )  [inline, explicit]

Construct an image list containing n empty images.

Definition at line 32856 of file CImg.h.

template<typename T>
template<typename t >
cimg_library::CImgList< T >::CImgList ( const CImgList< t > &  list  )  [inline]

Default copy constructor.

Definition at line 32863 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const CImgList< T > &  list  )  [inline]

Definition at line 32869 of file CImg.h.

template<typename T>
template<typename t >
cimg_library::CImgList< T >::CImgList ( const CImgList< t > &  list,
const bool  shared 
) [inline]

Advanced copy constructor.

Definition at line 32877 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const CImgList< T > &  list,
const bool  shared 
) [inline]

Definition at line 32887 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height = 1,
const unsigned int  depth = 1,
const unsigned int  dim = 1 
) [inline]

Construct an image list containing n images with specified size.

Definition at line 32894 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height,
const unsigned int  depth,
const unsigned int  dim,
const T  val 
) [inline]

Construct an image list containing n images with specified size, filled with specified value.

Definition at line 32902 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height,
const unsigned int  depth,
const unsigned int  dim,
const int  val0,
const int  val1,
  ... 
) [inline]

Construct an image list containing n images with specified size and specified pixel values (int version).

Definition at line 32910 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height,
const unsigned int  depth,
const unsigned int  dim,
const double  val0,
const double  val1,
  ... 
) [inline]

Construct an image list containing n images with specified size and specified pixel values (double version).

Definition at line 32929 of file CImg.h.

template<typename T>
template<typename t >
cimg_library::CImgList< T >::CImgList ( const unsigned int  n,
const CImg< t > &  img 
) [inline]

Construct a list containing n copies of the image img.

Definition at line 32937 of file CImg.h.

template<typename T>
template<typename t >
cimg_library::CImgList< T >::CImgList ( const unsigned int  n,
const CImg< t > &  img,
const bool  shared 
) [inline]

Construct a list containing n copies of the image img, forcing the shared state.

Definition at line 32945 of file CImg.h.

template<typename T>
template<typename t >
cimg_library::CImgList< T >::CImgList ( const CImg< t > &  img  )  [inline, explicit]

Construct an image list from one image.

Definition at line 32953 of file CImg.h.

template<typename T>
template<typename t >
cimg_library::CImgList< T >::CImgList ( const CImg< t > &  img,
const bool  shared 
) [inline, explicit]

Construct an image list from one image, forcing the shared state.

Definition at line 32961 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2 
) [inline]

Construct an image list from two images.

Definition at line 32969 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const bool  shared 
) [inline]

Construct an image list from two images, forcing the shared state.

Definition at line 32977 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3 
) [inline]

Construct an image list from three images.

Definition at line 32985 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const bool  shared 
) [inline]

Construct an image list from three images, forcing the shared state.

Definition at line 32993 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4 
) [inline]

Construct an image list from four images.

Definition at line 33001 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const bool  shared 
) [inline]

Construct an image list from four images, forcing the shared state.

Definition at line 33009 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5 
) [inline]

Construct an image list from five images.

Definition at line 33017 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const bool  shared 
) [inline]

Construct an image list from five images, forcing the shared state.

Definition at line 33027 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6 
) [inline]

Construct an image list from six images.

Definition at line 33037 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const bool  shared 
) [inline]

Construct an image list from six images, forcing the shared state.

Definition at line 33047 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const CImg< t7 > &  img7 
) [inline]

Construct an image list from seven images.

Definition at line 33057 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const CImg< t7 > &  img7,
const bool  shared 
) [inline]

Construct an image list from seven images, forcing the shared state.

Definition at line 33067 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 , typename t8 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const CImg< t7 > &  img7,
const CImg< t8 > &  img8 
) [inline]

Construct an image list from eight images.

Definition at line 33077 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 , typename t8 >
cimg_library::CImgList< T >::CImgList ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const CImg< t7 > &  img7,
const CImg< t8 > &  img8,
const bool  shared 
) [inline]

Construct an image list from eight images, forcing the shared state.

Definition at line 33087 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::CImgList ( const char *const   filename  )  [inline]

Construct an image list from a filename.

Definition at line 33096 of file CImg.h.


Member Function Documentation

template<typename T>
T cimg_library::CImgList< T >::_atN ( const int  pos,
const int  x = 0,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) const [inline]

Definition at line 33996 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::_atN ( const int  pos,
const int  x = 0,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) [inline]

Definition at line 33992 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::_atNX ( const int  pos,
const int  x,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) const [inline]

Definition at line 33964 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::_atNX ( const int  pos,
const int  x,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) [inline]

Definition at line 33960 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::_atNXY ( const int  pos,
const int  x,
const int  y,
const int  z = 0,
const int  v = 0 
) const [inline]

Definition at line 33932 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::_atNXY ( const int  pos,
const int  x,
const int  y,
const int  z = 0,
const int  v = 0 
) [inline]

Definition at line 33928 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::_atNXYZ ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v = 0 
) const [inline]

Definition at line 33900 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::_atNXYZ ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v = 0 
) [inline]

Definition at line 33896 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::_atNXYZV ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v 
) const [inline]

Definition at line 33868 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::_atNXYZV ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v 
) [inline]

Definition at line 33864 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::_cimglist_def_is_same ( XY   ) 
template<typename T>
Y V V cimg_library::CImgList< T >::_cimglist_def_is_same2 ( Z  ,
V   
)
template<typename T>
Y V cimg_library::CImgList< T >::_cimglist_def_is_same2 ( Y  ,
Z   
)
template<typename T>
Y cimg_library::CImgList< T >::_cimglist_def_is_same2 ( X  ,
Z   
)
template<typename T>
Y V V Z V cimg_library::CImgList< T >::_cimglist_def_is_same3 ( Y  ,
Z  ,
V   
) const
Type Constraints
template<typename T>
Y V V Z cimg_library::CImgList< T >::_cimglist_def_is_same3 ( X  ,
Y  ,
V   
)
Type Constraints
template<typename T>
T cimg_library::CImgList< T >::_display_object3d_at2 ( const int  i,
const int  j 
) const [inline]

Definition at line 33828 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::_font ( const unsigned int *const   font,
const unsigned int  w,
const unsigned int  h,
const unsigned int  paddingx,
const unsigned int  paddingy,
const bool  variable_size = true 
) [inline, static]

Definition at line 35020 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::_load_cimg ( cimg_std::FILE *const   file,
const char *const   filename,
const unsigned int  n0,
const unsigned int  n1,
const unsigned int  x0,
const unsigned int  y0,
const unsigned int  z0,
const unsigned int  v0,
const unsigned int  x1,
const unsigned int  y1,
const unsigned int  z1,
const unsigned int  v1 
) [inline]

Definition at line 35353 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::_load_cimg ( cimg_std::FILE *const   file,
const char *const   filename 
) [inline]

Definition at line 35231 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::_load_yuv ( cimg_std::FILE *const   file,
const char *const   filename,
const unsigned int  sizex,
const unsigned int  sizey,
const unsigned int  first_frame,
const unsigned int  last_frame,
const unsigned int  step_frame,
const bool  yuv2rgb 
) [inline]

Definition at line 35586 of file CImg.h.

template<typename T>
const CImgList<T>& cimg_library::CImgList< T >::_save_cimg ( cimg_std::FILE *const   file,
const char *const   filename,
const unsigned int  n0,
const unsigned int  x0,
const unsigned int  y0,
const unsigned int  z0,
const unsigned int  v0 
) const [inline]

Definition at line 36373 of file CImg.h.

template<typename T>
const CImgList<T>& cimg_library::CImgList< T >::_save_cimg ( cimg_std::FILE *const   file,
const char *const   filename,
const bool  compression 
) const [inline]

Save an image list into a .cimg file.

A CImg RAW file is a simple uncompressed binary file that may be used to save list of CImg<T> images.

Parameters:
filename : name of the output file.
Returns:
A reference to the current CImgList instance is returned.

Definition at line 36311 of file CImg.h.

template<typename T>
static void cimg_library::CImgList< T >::_save_empty_cimg ( cimg_std::FILE *const   file,
const char *const   filename,
const unsigned int  nb,
const unsigned int  dx,
const unsigned int  dy,
const unsigned int  dz,
const unsigned int  dv 
) [inline, static]

Definition at line 36497 of file CImg.h.

template<typename T>
const CImgList<T>& cimg_library::CImgList< T >::_save_yuv ( cimg_std::FILE *const   file,
const char *const   filename,
const bool  rgb2yuv 
) const [inline]

Definition at line 36272 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign ( const char *const   filename  )  [inline]

In-place version of the corresponding constructor.

Definition at line 33254 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 , typename t8 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const CImg< t7 > &  img7,
const CImg< t8 > &  img8,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33245 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 , typename t7 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const CImg< t7 > &  img7,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33235 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 , typename t6 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const CImg< t6 > &  img6,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33225 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 , typename t5 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const CImg< t5 > &  img5,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33215 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 , typename t4 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const CImg< t4 > &  img4,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33206 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 , typename t3 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const CImg< t3 > &  img3,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33198 of file CImg.h.

template<typename T>
template<typename t1 , typename t2 >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t1 > &  img1,
const CImg< t2 > &  img2,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33190 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImg< t > &  img,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33182 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::assign ( const unsigned int  n,
const CImg< t > &  img,
const bool  shared = false 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33174 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImgList< t > &  list,
const bool  shared 
) [inline]

In-place version of the copy constructor.

Definition at line 33166 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::assign ( const CImgList< t > &  list  )  [inline]

In-place version of the copy constructor.

Definition at line 33158 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height,
const unsigned int  depth,
const unsigned int  dim,
const double  val0,
const double  val1,
  ... 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33150 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height,
const unsigned int  depth,
const unsigned int  dim,
const int  val0,
const int  val1,
  ... 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33143 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height,
const unsigned int  depth,
const unsigned int  dim,
const T  val 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33135 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign ( const unsigned int  n,
const unsigned int  width,
const unsigned int  height = 1,
const unsigned int  depth = 1,
const unsigned int  dim = 1 
) [inline]

In-place version of the corresponding constructor.

Definition at line 33127 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign ( const unsigned int  n  )  [inline]

In-place version of the corresponding constructor.

Definition at line 33115 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::assign (  )  [inline]

In-place version of the default constructor and default destructor.

Definition at line 33102 of file CImg.h.

template<typename T>
CImg<T>& cimg_library::CImgList< T >::at ( const int  pos  )  [inline]

Read an image in specified position.

Definition at line 33833 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atN ( const int  pos,
const int  x = 0,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) const [inline]

Definition at line 33985 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atN ( const int  pos,
const int  x = 0,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) [inline]

Read a pixel value with Neumann boundary conditions for the first coordinates (pos).

Definition at line 33978 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atN ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) const [inline]

Definition at line 33973 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atN ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) [inline]

Read a pixel value with Dirichlet boundary conditions for the first coordinates (pos).

Definition at line 33969 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNX ( const int  pos,
const int  x,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) const [inline]

Definition at line 33953 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNX ( const int  pos,
const int  x,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) [inline]

Read a pixel value with Neumann boundary conditions for the two first coordinates (pos, x).

Definition at line 33946 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNX ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) const [inline]

Definition at line 33941 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNX ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) [inline]

Read a pixel value with Dirichlet boundary conditions for the two first coordinates (pos,x).

Definition at line 33937 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNXY ( const int  pos,
const int  x,
const int  y,
const int  z = 0,
const int  v = 0 
) const [inline]

Definition at line 33921 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNXY ( const int  pos,
const int  x,
const int  y,
const int  z = 0,
const int  v = 0 
) [inline]

Read a pixel value with Neumann boundary conditions for the three first coordinates (pos, x,y).

Definition at line 33914 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNXY ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) const [inline]

Definition at line 33909 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNXY ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) [inline]

Read a pixel value with Dirichlet boundary conditions for the three first coordinates (pos, x,y).

Definition at line 33905 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNXYZ ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v = 0 
) const [inline]

Definition at line 33889 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNXYZ ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v = 0 
) [inline]

Read a pixel value with Neumann boundary conditions for the four first coordinates (pos, x,y,z).

Definition at line 33882 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNXYZ ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) const [inline]

Definition at line 33877 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNXYZ ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) [inline]

Read a pixel value with Dirichlet boundary conditions for the four first coordinates (pos, x,y,z).

Definition at line 33873 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNXYZV ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v 
) const [inline]

Definition at line 33857 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNXYZV ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v 
) [inline]

Read a pixel value with Neumann boundary conditions.

Definition at line 33850 of file CImg.h.

template<typename T>
T cimg_library::CImgList< T >::atNXYZV ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) const [inline]

Definition at line 33845 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::atNXYZV ( const int  pos,
const int  x,
const int  y,
const int  z,
const int  v,
const T  out_val 
) [inline]

Read a pixel value with Dirichlet boundary conditions.

Definition at line 33841 of file CImg.h.

template<typename T>
const CImg<T>& cimg_library::CImgList< T >::back (  )  const [inline]

Definition at line 34005 of file CImg.h.

template<typename T>
CImg<T>& cimg_library::CImgList< T >::back (  )  [inline]

Returns a reference to the last element.

Definition at line 34001 of file CImg.h.

template<typename T>
const_iterator cimg_library::CImgList< T >::begin (  )  const [inline]

Definition at line 34023 of file CImg.h.

template<typename T>
iterator cimg_library::CImgList< T >::begin (  )  [inline]

Returns an iterator to the beginning of the vector.

Definition at line 34019 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::clear (  )  [inline]

Equivalent to assign() (STL-compliant name).

Definition at line 33110 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::contains ( const CImg< T > &  img  )  const [inline]

Return true if the list contains the image img.

Definition at line 33444 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::contains ( const CImg< T > &  img,
t &  n 
) const [inline]

Return true if the list contains the image 'img'. If true, returns the position (n) of the image in the list.

Definition at line 33436 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::contains ( const T &  pixel  )  const [inline]

Return true if one of the image list contains the specified referenced value.

Definition at line 33429 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::contains ( const T &  pixel,
t &  n 
) const [inline]

Return true if one of the image list contains the specified referenced value. If true, set coordinates (n).

Definition at line 33423 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::contains ( const T &  pixel,
t &  n,
t &  x 
) const [inline]

Return true if one of the image list contains the specified referenced value. If true, set coordinates (n,x).

Definition at line 33416 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::contains ( const T &  pixel,
t &  n,
t &  x,
t &  y 
) const [inline]

Return true if one of the image list contains the specified referenced value. If true, set coordinates (n,x,y).

Definition at line 33409 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::contains ( const T &  pixel,
t &  n,
t &  x,
t &  y,
t &  z 
) const [inline]

Return true if one of the image list contains the specified referenced value. If true, set coordinates (n,x,y,z).

Definition at line 33402 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::contains ( const T &  pixel,
t &  n,
t &  x,
t &  y,
t &  z,
t &  v 
) const [inline]

Return true if one of the image list contains the specified referenced value. If true, set coordinates (n,x,y,z,v).

Definition at line 33394 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::containsN ( const int  n  )  const [inline]

Return true if the list contains the image (n).

Definition at line 33387 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::containsNXYZV ( const int  n,
const int  x = 0,
const int  y = 0,
const int  z = 0,
const int  v = 0 
) const [inline]

Return true if the list contains the pixel (n,x,y,z,v).

Definition at line 33381 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  x1 
) [inline]

Get sub-images of a sublist.

Definition at line 34362 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  y0,
const int  x1,
const int  y1 
) [inline]

Get sub-images of a sublist.

Definition at line 34344 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  y0,
const int  z0,
const int  x1,
const int  y1,
const int  z1 
) [inline]

Get sub-images of a sublist.

Definition at line 34326 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  y0,
const int  z0,
const int  v0,
const int  x1,
const int  y1,
const int  z1,
const int  v1 
) [inline]

Get sub-images of a sublist.

Definition at line 34308 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::crop ( const unsigned int  i0,
const unsigned int  i1,
const bool  shared = false 
) [inline]

Get a sub-list.

Definition at line 34294 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::crop_font (  )  [inline]

Create an auto-cropped font (along the X axis) from a input font font.

Definition at line 34933 of file CImg.h.

template<typename T>
const CImgList<T>& cimg_library::CImgList< T >::display ( const char *const   title = 0,
const bool  display_info = true,
const char  axis = 'x',
const char  align = 'p' 
) const [inline]

Display the current CImgList instance in a new display window.

Definition at line 35074 of file CImg.h.

template<typename T>
const CImgList<T>& cimg_library::CImgList< T >::display ( CImgDisplay &  disp,
const bool  display_info,
const char  axis = 'x',
const char  align = 'p' 
) const [inline]

Display the current CImgList instance in a new display window.

This function opens a new window with a specific title and displays the list images of the current CImgList instance into it. Images of the list are concatenated in a single temporarly image for visualization purposes. The function returns when a key is pressed or the display window is closed by the user.

Parameters:
title : specify the title of the opening display window.
axis : specify the axis for image concatenation. Can be 'x','y','z' or 'v'.
align : specify the alignment for image concatenation. Can be 'p' (top), 'c' (center) or 'n' (bottom).
Returns:
A reference to the current CImgList instance is returned.

Definition at line 35062 of file CImg.h.

template<typename T>
const CImgList<T>& cimg_library::CImgList< T >::display ( CImgDisplay &  disp,
const char  axis = 'x',
const char  align = 'p' 
) const [inline]

Display the current CImgList instance in an existing CImgDisplay window (by reference).

This function displays the list images of the current CImgList instance into an existing CImgDisplay window. Images of the list are concatenated in a single temporarly image for visualization purposes. The function returns immediately.

Parameters:
disp : reference to an existing CImgDisplay instance, where the current image list will be displayed.
axis : specify the axis for image concatenation. Can be 'x','y','z' or 'v'.
align : specify the alignment for image concatenation. Can be 'p' (top), 'c' (center) or 'n' (bottom).
Returns:
A reference to the current CImgList instance is returned.

Definition at line 35047 of file CImg.h.

template<typename T>
const_iterator cimg_library::CImgList< T >::end (  )  const [inline]

Definition at line 34041 of file CImg.h.

template<typename T>
iterator cimg_library::CImgList< T >::end (  )  [inline]

Returns an iterator just past the last element.

Definition at line 34037 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::erase ( const iterator  iter  )  [inline]

Remove the element pointed by iterator iter.

Definition at line 34417 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::FFT ( const bool  invert = false  )  [inline]

Compute the Fast Fourier Transform of a complex image.

Definition at line 34642 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::FFT ( const char  axis,
const bool  invert = false 
) [inline]

Compute the Fast Fourier Transform (along the specified axis).

Definition at line 34429 of file CImg.h.

template<typename T>
CImg<T>& cimg_library::CImgList< T >::first (  )  [inline]

Definition at line 34032 of file CImg.h.

template<typename T>
const CImg<T>& cimg_library::CImgList< T >::first (  )  const [inline]

Return a reference to the first image.

Definition at line 34028 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::font ( const unsigned int  font_width,
const bool  variable_size = true 
) [inline, static]

Return a CImg pre-defined font with desired size.

Parameters:
font_height = height of the desired font (can be 11,13,24,38 or 57)
fixed_size = tell if the font has a fixed or variable width.

Definition at line 34971 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::for (  ) 
template<typename T>
const CImg<T>& cimg_library::CImgList< T >::front (  )  const [inline]

Definition at line 34014 of file CImg.h.

template<typename T>
CImg<T>& cimg_library::CImgList< T >::front (  )  [inline]

Returns a reference to the first element.

Definition at line 34010 of file CImg.h.

template<typename T>
CImg<T> cimg_library::CImgList< T >::get_append ( const char  axis,
const char  align = 'p' 
) const [inline]

Return a single image which is the concatenation of all images of the current CImgList instance.

Parameters:
axis : specify the axis for image concatenation. Can be 'x','y','z' or 'v'.
align : specify the alignment for image concatenation. Can be 'p' (top), 'c' (center) or 'n' (bottom).
Returns:
A CImg<T> image corresponding to the concatenation is returned.

Definition at line 34720 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  x1 
) const [inline]

Definition at line 34367 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  y0,
const int  x1,
const int  y1 
) const [inline]

Definition at line 34350 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  y0,
const int  z0,
const int  x1,
const int  y1,
const int  z1 
) const [inline]

Definition at line 34332 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_crop ( const unsigned int  i0,
const unsigned int  i1,
const int  x0,
const int  y0,
const int  z0,
const int  v0,
const int  x1,
const int  y1,
const int  z1,
const int  v1 
) const [inline]

Definition at line 34314 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_crop ( const unsigned int  i0,
const unsigned int  i1,
const bool  shared = false 
) const [inline]

Definition at line 34298 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_crop_font (  )  const [inline]

Definition at line 34937 of file CImg.h.

template<typename T>
CImgList<Tfloat> cimg_library::CImgList< T >::get_FFT ( const bool  invert = false  )  const [inline]

Definition at line 34694 of file CImg.h.

template<typename T>
CImgList<Tfloat> cimg_library::CImgList< T >::get_FFT ( const char  axis,
const bool  invert = false 
) const [inline]

Definition at line 34637 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T> cimg_library::CImgList< T >::get_insert ( const unsigned int  n,
const CImgList< t > &  list,
const unsigned int  pos = ~0U,
const bool  shared = false 
) const [inline]

Definition at line 34195 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T> cimg_library::CImgList< T >::get_insert ( const CImgList< t > &  list,
const unsigned int  pos = ~0U,
const bool  shared = false 
) const [inline]

Definition at line 34181 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T> cimg_library::CImgList< T >::get_insert ( const unsigned int  n,
const CImg< t > &  img,
const unsigned int  pos = ~0U,
const bool  shared = false 
) const [inline]

Definition at line 34167 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_insert ( const unsigned int  n,
const unsigned int  pos = ~0U 
) const [inline]

Definition at line 34152 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T> cimg_library::CImgList< T >::get_insert ( const CImg< t > &  img,
const unsigned int  pos = ~0U,
const bool  shared = false 
) const [inline]

Definition at line 34139 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_invert_object3d (  )  const [inline]

Definition at line 34962 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load ( const char *const   filename  )  [inline, static]

Definition at line 35209 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_cimg ( cimg_std::FILE *const   file,
const unsigned int  n0,
const unsigned int  n1,
const unsigned int  x0,
const unsigned int  y0,
const unsigned int  z0,
const unsigned int  v0,
const unsigned int  x1,
const unsigned int  y1,
const unsigned int  z1,
const unsigned int  v1 
) [inline, static]

Definition at line 35346 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_cimg ( const char *const   filename,
const unsigned int  n0,
const unsigned int  n1,
const unsigned int  x0,
const unsigned int  y0,
const unsigned int  z0,
const unsigned int  v0,
const unsigned int  x1,
const unsigned int  y1,
const unsigned int  z1,
const unsigned int  v1 
) [inline, static]

Definition at line 35331 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_cimg ( cimg_std::FILE *const   file  )  [inline, static]

Definition at line 35227 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_cimg ( const char *const   filename  )  [inline, static]

Definition at line 35218 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_ffmpeg ( const char *const   filename,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1,
const bool  pixel_format = true 
) [inline, static]

Definition at line 35803 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_ffmpeg_external ( const char *const   filename  )  [inline, static]

Definition at line 35846 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_gzip_external ( const char *const   filename  )  [inline, static]

Definition at line 35886 of file CImg.h.

template<typename T>
template<typename tf , typename tc >
static CImgList<T> cimg_library::CImgList< T >::get_load_off ( const char *const   filename,
CImgList< tf > &  primitives,
CImgList< tc > &  colors,
const bool  invert_faces = false 
) [inline, static]

Definition at line 35899 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_parrec ( const char *const   filename  )  [inline, static]

Definition at line 35552 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_tiff ( const char *const   filename,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1 
) [inline, static]

Definition at line 35943 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_yuv ( cimg_std::FILE *const   file,
const unsigned int  sizex,
const unsigned int  sizey = 1,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1,
const bool  yuv2rgb = true 
) [inline, static]

Definition at line 35579 of file CImg.h.

template<typename T>
static CImgList<T> cimg_library::CImgList< T >::get_load_yuv ( const char *const   filename,
const unsigned int  sizex,
const unsigned int  sizey = 1,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1,
const bool  yuv2rgb = true 
) [inline, static]

Definition at line 35564 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_remove (  )  const [inline]

Definition at line 34279 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_remove ( const unsigned int  pos  )  const [inline]

Definition at line 34267 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_remove ( const unsigned int  pos1,
const unsigned int  pos2 
) const [inline]

Definition at line 34258 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_reverse (  )  const [inline]

Definition at line 34289 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::get_split ( const char  axis  )  const [inline]

Definition at line 34703 of file CImg.h.

template<typename T>
CImgList<Tfloat> cimg_library::CImgList< T >::get_stats ( const unsigned int  variance_method = 1  )  const [inline]

Definition at line 33772 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::insert ( const unsigned int  n,
const CImgList< t > &  list,
const unsigned int  pos = ~0U,
const bool  shared = false 
) [inline]

Insert n copies of the list list at position pos of the current list.

Definition at line 34187 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::insert ( const CImgList< t > &  list,
const unsigned int  pos = ~0U,
const bool  shared = false 
) [inline]

Insert a copy of the image list list into the current image list, starting from position pos.

Definition at line 34173 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::insert ( const unsigned int  n,
const CImg< t > &  img,
const unsigned int  pos = ~0U,
const bool  shared = false 
) [inline]

Insert n copies of the image img into the current image list, at position pos.

Definition at line 34158 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::insert ( const unsigned int  n,
const unsigned int  pos = ~0U 
) [inline]

Insert n empty images img into the current image list, at position pos.

Definition at line 34144 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::insert ( const CImg< t > &  img  )  [inline]

Insert a copy of the image img into the current image list, at position pos.

Definition at line 34134 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::insert ( const CImg< t > &  img,
const unsigned int  pos 
) [inline]

Definition at line 34128 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::insert ( const CImg< T > &  img,
const unsigned int  pos,
const bool  shared 
) [inline]

Definition at line 34083 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::insert ( const CImg< t > &  img,
const unsigned int  pos,
const bool  shared 
) [inline]

Insert a copy of the image img into the current image list, at position pos.

Definition at line 34056 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::invert_object3d (  )  [inline]

Invert primitives orientation of a 3D object.

Definition at line 34952 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::is_empty (  )  const [inline]

Return true if list is empty.

Definition at line 33285 of file CImg.h.

template<typename T>
template<typename t >
bool cimg_library::CImgList< T >::is_sameN ( const CImgList< t > &  list  )  const [inline]

Return true if list if of specified size.

Definition at line 33301 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::is_sameN ( const unsigned int  n  )  const [inline]

Return true if list if of specified size.

Definition at line 33295 of file CImg.h.

template<typename T>
bool cimg_library::CImgList< T >::is_sameNXYZV ( const unsigned int  n,
const unsigned int  dx,
const unsigned int  dy,
const unsigned int  dz,
const unsigned int  dv 
) const [inline]

Definition at line 33376 of file CImg.h.

template<typename T>
CImg<T>& cimg_library::CImgList< T >::last (  )  [inline]

Definition at line 34050 of file CImg.h.

template<typename T>
const CImg<T>& cimg_library::CImgList< T >::last (  )  const [inline]

Return a reference to the last image.

Definition at line 34046 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load ( const char *const   filename  )  [inline]

Load an image list from a file.

Definition at line 35130 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_cimg ( cimg_std::FILE *const   file,
const unsigned int  n0,
const unsigned int  n1,
const unsigned int  x0,
const unsigned int  y0,
const unsigned int  z0,
const unsigned int  v0,
const unsigned int  x1,
const unsigned int  y1,
const unsigned int  z1,
const unsigned int  v1 
) [inline]

Load a sub-image list from a non compressed .cimg file.

Definition at line 35339 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_cimg ( const char *const   filename,
const unsigned int  n0,
const unsigned int  n1,
const unsigned int  x0,
const unsigned int  y0,
const unsigned int  z0,
const unsigned int  v0,
const unsigned int  x1,
const unsigned int  y1,
const unsigned int  z1,
const unsigned int  v1 
) [inline]

Load a sub-image list from a non compressed .cimg file.

Definition at line 35324 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_cimg ( cimg_std::FILE *const   file  )  [inline]

Load an image list from a .cimg file.

Definition at line 35223 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_cimg ( const char *const   filename  )  [inline]

Load an image list from a .cimg file.

Definition at line 35214 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_ffmpeg ( const char *const   filename,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1,
const bool  pixel_format = true,
const bool  resume = false 
) [inline]

Load an image from a video file, using ffmpeg libraries.

Definition at line 35662 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_ffmpeg_external ( const char *const   filename  )  [inline]

Load an image from a video file (MPEG,AVI) using the external tool 'ffmpeg'.

Definition at line 35809 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_gzip_external ( const char *const   filename  )  [inline]

Load a gzipped list, using external tool 'gunzip'.

Definition at line 35851 of file CImg.h.

template<typename T>
template<typename tf , typename tc >
CImgList<T>& cimg_library::CImgList< T >::load_off ( const char *const   filename,
CImgList< tf > &  primitives,
CImgList< tc > &  colors,
const bool  invert_faces = false 
) [inline]

Load a 3D object from a .OFF file.

Definition at line 35892 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_parrec ( const char *const   filename  )  [inline]

Load an image list from a PAR/REC (Philips) file.

Definition at line 35462 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_tiff ( const char *const   filename,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1 
) [inline]

Load a TIFF file.

Definition at line 35906 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_yuv ( cimg_std::FILE *const   file,
const unsigned int  sizex,
const unsigned int  sizey,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1,
const bool  yuv2rgb = true 
) [inline]

Load an image sequence from a YUV file.

Definition at line 35572 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::load_yuv ( const char *const   filename,
const unsigned int  sizex,
const unsigned int  sizey,
const unsigned int  first_frame = 0,
const unsigned int  last_frame = ~0U,
const unsigned int  step_frame = 1,
const bool  yuv2rgb = true 
) [inline]

Load an image sequence from a YUV file.

Definition at line 35557 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::max (  )  [inline]

Return a reference to the maximum pixel value of the instance list.

Definition at line 33612 of file CImg.h.

template<typename T>
const T& cimg_library::CImgList< T >::max (  )  const [inline]

Return a reference to the maximum pixel value of the instance list.

Definition at line 33598 of file CImg.h.

template<typename T>
template<typename t >
T& cimg_library::CImgList< T >::maxmin ( t &  min_val  )  [inline]

Return a reference to the minimum pixel value of the instance list.

Definition at line 33715 of file CImg.h.

template<typename T>
template<typename t >
const T& cimg_library::CImgList< T >::maxmin ( t &  min_val  )  const [inline]

Return a reference to the minimum pixel value of the instance list.

Definition at line 33695 of file CImg.h.

template<typename T>
double cimg_library::CImgList< T >::mean (  )  const [inline]

Return the mean pixel value of the instance list.

Definition at line 33734 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::min (  )  [inline]

Return a reference to the minimum pixel value of the instance list.

Definition at line 33640 of file CImg.h.

template<typename T>
const T& cimg_library::CImgList< T >::min (  )  const [inline]

Return a reference to the minimum pixel value of the instance list.

Definition at line 33626 of file CImg.h.

template<typename T>
template<typename t >
T& cimg_library::CImgList< T >::minmax ( t &  max_val  )  [inline]

Return a reference to the minimum pixel value of the instance list.

Definition at line 33675 of file CImg.h.

template<typename T>
template<typename t >
const T& cimg_library::CImgList< T >::minmax ( t &  max_val  )  const [inline]

Return a reference to the minimum pixel value of the instance list.

Definition at line 33655 of file CImg.h.

template<typename T>
cimg_library::CImgList< T >::operator bool (  )  const [inline]

Return true if list is not empty.

Definition at line 33290 of file CImg.h.

template<typename T>
const T& cimg_library::CImgList< T >::operator() ( const unsigned int  pos,
const unsigned int  x,
const unsigned int  y = 0,
const unsigned int  z = 0,
const unsigned int  v = 0 
) const [inline]

Definition at line 33822 of file CImg.h.

template<typename T>
T& cimg_library::CImgList< T >::operator() ( const unsigned int  pos,
const unsigned int  x,
const unsigned int  y = 0,
const unsigned int  z = 0,
const unsigned int  v = 0 
) [inline]

Return a reference to (x,y,z,v) pixel of the pos-th image of the list.

Definition at line 33818 of file CImg.h.

template<typename T>
const CImg<T>& cimg_library::CImgList< T >::operator() ( const unsigned int  pos  )  const [inline]

Definition at line 33813 of file CImg.h.

template<typename T>
CImg<T>& cimg_library::CImgList< T >::operator() ( const unsigned int  pos  )  [inline]

Equivalent to CImgList<T>::operator[].

Definition at line 33809 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator*= ( const CImgList< t > &  list  )  [inline]

Operator*=.

Definition at line 33571 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator*= ( const t  val  )  [inline]

Operator*=.

Definition at line 33562 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::operator+ (  )  const [inline]

Operator+.

Definition at line 33480 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::operator++ ( int   )  [inline]

Operator++ (postfix).

Definition at line 33511 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::operator++ (  )  [inline]

Operator++ (prefix).

Definition at line 33505 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator+= ( const CImgList< t > &  list  )  [inline]

Operator+=.

Definition at line 33498 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator+= ( const t  val  )  [inline]

Operator+=.

Definition at line 33489 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::operator- (  )  const [inline]

Operator-.

Definition at line 33518 of file CImg.h.

template<typename T>
CImgList<T> cimg_library::CImgList< T >::operator-- ( int   )  [inline]

Operator-- (postfix).

Definition at line 33551 of file CImg.h.

template<typename T>
CImgList<T>& cimg_library::CImgList< T >::operator-- (  )  [inline]

Operator-- (prefix).

Definition at line 33545 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator-= ( const CImgList< t > &  list  )  [inline]

Operator-=.

Definition at line 33538 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator-= ( const t  val  )  [inline]

Operator-=.

Definition at line 33529 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator/= ( const CImgList< t > &  list  )  [inline]

Operator/=.

Definition at line 33591 of file CImg.h.

template<typename T>
template<typename t >
CImgList<T>& cimg_library::CImgList< T >::operator/= ( const t  val  )  [inline]

Operator/=.

Definition at line 33582 of file CImg.h.

template<typename T>
template<typename t >