Class representing an image (up to 4 dimensions wide), each pixel being of type T
.
More...
#include <CImg.h>
Classes | |
struct | _cimg_math_parser |
struct | _marching2d_func |
struct | _marching2d_func_expr |
struct | _marching2d_func_float |
struct | _marching3d_func |
struct | _marching3d_func_expr |
struct | _marching3d_func_float |
Public Types | |
typedef T * | iterator |
Iterator type for CImg<T>. More... | |
typedef const T * | const_iterator |
Const iterator type for CImg<T>. More... | |
typedef T | value_type |
Value type. More... | |
typedef cimg::superset< T, bool >::type | Tbool |
typedef cimg::superset< T, unsigned char >::type | Tuchar |
typedef cimg::superset< T, char >::type | Tchar |
typedef cimg::superset< T, unsigned short >::type | Tushort |
typedef cimg::superset< T, short >::type | Tshort |
typedef cimg::superset< T, unsigned int >::type | Tuint |
typedef cimg::superset< T, int > ::type | Tint |
typedef cimg::superset< T, unsigned long >::type | Tulong |
typedef cimg::superset< T, long >::type | Tlong |
typedef cimg::superset< T, float >::type | Tfloat |
typedef cimg::superset< T, double >::type | Tdouble |
typedef cimg::last< T, bool >::type | boolT |
typedef cimg::last< T, unsigned char >::type | ucharT |
typedef cimg::last< T, char >::type | charT |
typedef cimg::last< T, unsigned short >::type | ushortT |
typedef cimg::last< T, short > ::type | shortT |
typedef cimg::last< T, unsigned int >::type | uintT |
typedef cimg::last< T, int >::type | intT |
typedef cimg::last< T, unsigned long >::type | ulongT |
typedef cimg::last< T, long >::type | longT |
typedef cimg::last< T, float > ::type | floatT |
typedef cimg::last< T, double > ::type | doubleT |
Public Member Functions | |
Overloaded Operators | |
T & | operator[] (const unsigned int off) |
Fast access to pixel value for reading or writing, using an offset to the image pixel. More... | |
const T & | operator[] (const unsigned int off) const |
T & | operator() (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) |
Fast access to pixel value for reading or writing. More... | |
const T & | operator() (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const |
operator bool () const | |
Return true if image is not empty. More... | |
CImg< T > & | operator= (const T val) |
Operator=(). More... | |
CImg< T > & | operator= (const char *const expression) |
Operator=(). More... | |
template<typename t > | |
CImg< T > & | operator= (const CImg< t > &img) |
Operator=(). More... | |
CImg< T > & | operator= (const CImg< T > &img) |
CImg< T > & | operator= (const CImgDisplay &disp) |
Operator=(). More... | |
template<typename t > | |
CImg< T > & | operator+= (const t val) |
Operator+=(). More... | |
CImg< T > & | operator+= (const char *const expression) |
Operator+=(). More... | |
template<typename t > | |
CImg< T > & | operator+= (const CImg< t > &img) |
Operator+=(). More... | |
CImg< T > & | operator++ () |
Operator++() (prefix). More... | |
CImg< T > | operator++ (int) |
Operator++() (postfix). More... | |
CImg< T > | operator+ () const |
Operator+() (unary). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator+ (const t val) const |
Operator+(). More... | |
CImg< Tfloat > | operator+ (const char *const expression) const |
Operator+(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator+ (const CImg< t > &img) const |
Operator+(). More... | |
template<typename t > | |
CImg< T > & | operator-= (const t val) |
Operator-=(). More... | |
CImg< T > & | operator-= (const char *const expression) |
Operator-=(). More... | |
template<typename t > | |
CImg< T > & | operator-= (const CImg< t > &img) |
Operator-=(). More... | |
CImg< T > & | operator-- () |
Operator–() (prefix). More... | |
CImg< T > | operator-- (int) |
Operator–() (postfix). More... | |
CImg< T > | operator- () const |
Operator-() (unary). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator- (const t val) const |
Operator-(). More... | |
CImg< Tfloat > | operator- (const char *const expression) const |
Operator-(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator- (const CImg< t > &img) const |
Operator-(). More... | |
template<typename t > | |
CImg< T > & | operator*= (const t val) |
Operator*=(). More... | |
CImg< T > & | operator*= (const char *const expression) |
Operator*=(). More... | |
template<typename t > | |
CImg< T > & | operator*= (const CImg< t > &img) |
Operator*=(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator* (const t val) const |
Operator*(). More... | |
CImg< Tfloat > | operator* (const char *const expression) const |
Operator*(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator* (const CImg< t > &img) const |
Operator*(). More... | |
template<typename t > | |
CImg< T > & | operator/= (const t val) |
Operator/=(). More... | |
CImg< T > & | operator/= (const char *const expression) |
Operator/=(). More... | |
template<typename t > | |
CImg< T > & | operator/= (const CImg< t > &img) |
Operator/=(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator/ (const t val) const |
Operator/(). More... | |
CImg< Tfloat > | operator/ (const char *const expression) const |
Operator/(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator/ (const CImg< t > &img) const |
Operator/(). More... | |
template<typename t > | |
CImg< T > & | operator%= (const t val) |
Operator%=(). More... | |
CImg< T > & | operator%= (const char *const expression) |
Operator%=(). More... | |
template<typename t > | |
CImg< T > & | operator%= (const CImg< t > &img) |
Operator%=(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator% (const t val) const |
Operator%(). More... | |
CImg< Tfloat > | operator% (const char *const expression) const |
Operator%(). More... | |
template<typename t > | |
CImg< _cimg_Tt > | operator% (const CImg< t > &img) const |
Operator%(). More... | |
template<typename t > | |
CImg< T > & | operator&= (const t val) |
Operator&=(). More... | |
CImg< T > & | operator&= (const char *const expression) |
Operator&=(). More... | |
template<typename t > | |
CImg< T > & | operator&= (const CImg< t > &img) |
Operator&=(). More... | |
template<typename t > | |
CImg< T > | operator& (const t val) const |
Operator&(). More... | |
template<typename t > | |
CImg< T > & | operator|= (const t val) |
Operator|=(). More... | |
CImg< T > & | operator|= (const char *const expression) |
Operator|=(). More... | |
template<typename t > | |
CImg< T > & | operator|= (const CImg< t > &img) |
Operator|=(). More... | |
template<typename t > | |
CImg< T > | operator| (const t val) const |
Operator|(). More... | |
template<typename t > | |
CImg< T > & | operator^= (const t val) |
Operator^=(). More... | |
CImg< T > & | operator^= (const char *const expression) |
Operator^=(). More... | |
template<typename t > | |
CImg< T > & | operator^= (const CImg< t > &img) |
Operator^=(). More... | |
template<typename t > | |
CImg< T > | operator^ (const t val) const |
Operator^(). More... | |
CImg< T > | operator~ () const |
Operator~(). More... | |
CImg< T > & | operator<<= (const int n) |
Operator<<=(). More... | |
CImg< T > | operator<< (const int n) const |
Operator<<(). More... | |
CImg< T > & | operator>>= (const int n) |
Operator>>=(). More... | |
CImg< T > | operator>> (const int n) const |
Operator>>(). More... | |
template<typename t > | |
bool | operator== (const CImg< t > &img) const |
Operator==(). More... | |
template<typename t > | |
bool | operator!= (const CImg< t > &img) const |
Operator!=(). More... | |
template<typename t > | |
CImgList< _cimg_Tt > | operator, (const CImg< t > &img) const |
Operator,(). More... | |
template<typename t > | |
CImgList< _cimg_Tt > | operator, (CImgList< t > &list) const |
Operator,(). More... | |
CImgList< T > | operator< (const char axis) const |
Operator<(). More... | |
Instance Checking | |
bool | is_empty () const |
Return true if current image is empty. More... | |
bool | is_sameX (const unsigned int dx) const |
Return true if image (*this) has the specified width. More... | |
template<typename t > | |
bool | is_sameX (const CImg< t > &img) const |
Return true if images (*this) and img have same width. More... | |
bool | is_sameX (const CImgDisplay &disp) const |
Return true if images (*this) and the display disp have same width. More... | |
bool | is_sameY (const unsigned int dy) const |
Return true if image (*this) has the specified height. More... | |
template<typename t > | |
bool | is_sameY (const CImg< t > &img) const |
Return true if images (*this) and img have same height. More... | |
bool | is_sameY (const CImgDisplay &disp) const |
Return true if images (*this) and the display disp have same height. More... | |
bool | is_sameZ (const unsigned int dz) const |
Return true if image (*this) has the specified depth. More... | |
template<typename t > | |
bool | is_sameZ (const CImg< t > &img) const |
Return true if images (*this) and img have same depth. More... | |
bool | is_sameV (const unsigned int dv) const |
Return true if image (*this) has the specified number of channels. More... | |
template<typename t > | |
bool | is_sameV (const CImg< t > &img) const |
Return true if images (*this) and img have same dim. More... | |
bool | is_sameXY (const unsigned int dx, const unsigned int dy) const |
Return true if image (*this) has the specified width and height. More... | |
template<typename t > | |
bool | is_sameXY (const CImg< t > &img) const |
Return true if images have same width and same height. More... | |
bool | is_sameXY (const CImgDisplay &disp) const |
Return true if image (*this) and the display disp have same width and same height. More... | |
bool | is_sameXZ (const unsigned int dx, const unsigned int dz) const |
Return true if image (*this) has the specified width and depth. More... | |
template<typename t > | |
bool | is_sameXZ (const CImg< t > &img) const |
Return true if images have same width and same depth. More... | |
bool | is_sameXV (const unsigned int dx, const unsigned int dv) const |
Return true if image (*this) has the specified width and number of channels. More... | |
template<typename t > | |
bool | is_sameXV (const CImg< t > &img) const |
Return true if images have same width and same number of channels. More... | |
bool | is_sameYZ (const unsigned int dy, const unsigned int dz) const |
Return true if image (*this) has the specified height and depth. More... | |
template<typename t > | |
bool | is_sameYZ (const CImg< t > &img) const |
Return true if images have same height and same depth. More... | |
bool | is_sameYV (const unsigned int dy, const unsigned int dv) const |
Return true if image (*this) has the specified height and number of channels. More... | |
template<typename t > | |
bool | is_sameYV (const CImg< t > &img) const |
Return true if images have same height and same number of channels. More... | |
bool | is_sameZV (const unsigned int dz, const unsigned int dv) const |
Return true if image (*this) has the specified depth and number of channels. More... | |
template<typename t > | |
bool | is_sameZV (const CImg< t > &img) const |
Return true if images have same depth and same number of channels. More... | |
bool | is_sameXYZ (const unsigned int dx, const unsigned int dy, const unsigned int dz) const |
Return true if image (*this) has the specified width, height and depth. More... | |
template<typename t > | |
bool | is_sameXYZ (const CImg< t > &img) const |
Return true if images have same width, same height and same depth. More... | |
bool | is_sameXYV (const unsigned int dx, const unsigned int dy, const unsigned int dv) const |
Return true if image (*this) has the specified width, height and depth. More... | |
template<typename t > | |
bool | is_sameXYV (const CImg< t > &img) const |
Return true if images have same width, same height and same number of channels. More... | |
bool | is_sameXZV (const unsigned int dx, const unsigned int dz, const unsigned int dv) const |
Return true if image (*this) has the specified width, height and number of channels. More... | |
template<typename t > | |
bool | is_sameXZV (const CImg< t > &img) const |
Return true if images have same width, same depth and same number of channels. More... | |
bool | is_sameYZV (const unsigned int dy, const unsigned int dz, const unsigned int dv) const |
Return true if image (*this) has the specified height, depth and number of channels. More... | |
template<typename t > | |
bool | is_sameYZV (const CImg< t > &img) const |
Return true if images have same heigth, same depth and same number of channels. More... | |
bool | is_sameXYZV (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv) const |
Return true if image (*this) has the specified width, height, depth and number of channels. More... | |
template<typename t > | |
bool | is_sameXYZV (const CImg< t > &img) const |
Return true if images (*this) and img have same width, same height, same depth and same number of channels. More... | |
bool | containsXYZV (const int x, const int y=0, const int z=0, const int v=0) const |
Return true if pixel (x,y,z,v) is inside image boundaries. More... | |
template<typename t > | |
bool | contains (const T &pixel, t &x, t &y, t &z, t &v) const |
Return true if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y,z,v). More... | |
template<typename t > | |
bool | contains (const T &pixel, t &x, t &y, t &z) const |
Return true if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y,z). More... | |
template<typename t > | |
bool | contains (const T &pixel, t &x, t &y) const |
Return true if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y). More... | |
template<typename t > | |
bool | contains (const T &pixel, t &x) const |
Return true if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x). More... | |
bool | contains (const T &pixel) const |
Return true if specified referenced value is inside the image boundaries. More... | |
template<typename t > | |
bool | is_overlapped (const CImg< t > &img) const |
Return true if the memory buffers of the two images overlaps. More... | |
template<typename tf > | |
bool | is_object3d (const CImgList< tf > &primitives, const bool check_primitives=true, const bool throw_exception=false, const char *const calling_function=0) const |
Return true if the couple (instance,primitives) stands for a valid 3D object. More... | |
Mathematical Functions | |
CImg< T > & | sqr () |
Compute the square value of each pixel. More... | |
CImg< Tfloat > | get_sqr () const |
CImg< T > & | sqrt () |
Compute the square root of each pixel value. More... | |
CImg< Tfloat > | get_sqrt () const |
CImg< T > & | exp () |
Compute the exponential of each pixel value. More... | |
CImg< Tfloat > | get_exp () const |
CImg< T > & | log () |
Compute the log of each each pixel value. More... | |
CImg< Tfloat > | get_log () const |
CImg< T > & | log10 () |
Compute the log10 of each each pixel value. More... | |
CImg< Tfloat > | get_log10 () const |
CImg< T > & | abs () |
Compute the absolute value of each pixel value. More... | |
CImg< Tfloat > | get_abs () const |
CImg< T > & | cos () |
Compute the cosinus of each pixel value. More... | |
CImg< Tfloat > | get_cos () const |
CImg< T > & | sin () |
Compute the sinus of each pixel value. More... | |
CImg< Tfloat > | get_sin () const |
CImg< T > & | tan () |
Compute the tangent of each pixel. More... | |
CImg< Tfloat > | get_tan () const |
CImg< T > & | cosh () |
Compute the hyperbolic cosine of each pixel value. More... | |
CImg< Tfloat > | get_cosh () const |
CImg< T > & | sinh () |
Compute the hyperbolic sine of each pixel value. More... | |
CImg< Tfloat > | get_sinh () const |
CImg< T > & | tanh () |
Compute the hyperbolic tangent of each pixel value. More... | |
CImg< Tfloat > | get_tanh () const |
CImg< T > & | acos () |
Compute the arc-cosine of each pixel value. More... | |
CImg< Tfloat > | get_acos () const |
CImg< T > & | asin () |
Compute the arc-sinus of each pixel value. More... | |
CImg< Tfloat > | get_asin () const |
CImg< T > & | atan () |
Compute the arc-tangent of each pixel. More... | |
CImg< Tfloat > | get_atan () const |
template<typename t > | |
CImg< T > & | atan2 (const CImg< t > &img) |
Compute the arc-tangent of each pixel. More... | |
template<typename t > | |
CImg< Tfloat > | get_atan2 (const CImg< t > &img) const |
template<typename t > | |
CImg< T > & | mul (const CImg< t > &img) |
Pointwise multiplication between two images. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_mul (const CImg< t > &img) const |
template<typename t > | |
CImg< T > & | div (const CImg< t > &img) |
Pointwise division between two images. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_div (const CImg< t > &img) const |
CImg< T > & | pow (const double p) |
Compute the power by p of each pixel value. More... | |
CImg< Tfloat > | get_pow (const double p) const |
template<typename t > | |
CImg< T > & | pow (const CImg< t > &img) |
Compute the power of each pixel value. More... | |
template<typename t > | |
CImg< Tfloat > | get_pow (const CImg< t > &img) const |
CImg< T > & | pow (const char *const expression) |
Compute the power of each pixel value. More... | |
CImg< Tfloat > | get_pow (const char *const expression) const |
CImg< T > & | min (const T val) |
Pointwise min operator between an image and a value. More... | |
CImg< T > | get_min (const T val) const |
template<typename t > | |
CImg< T > & | min (const CImg< t > &img) |
Pointwise min operator between two images. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_min (const CImg< t > &img) const |
CImg< T > & | min (const char *const expression) |
Pointwise min operator between an image and a string. More... | |
CImg< Tfloat > | get_min (const char *const expression) const |
CImg< T > & | max (const T val) |
Pointwise max operator between an image and a value. More... | |
CImg< T > | get_max (const T val) const |
template<typename t > | |
CImg< T > & | max (const CImg< t > &img) |
Pointwise max operator between two images. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_max (const CImg< t > &img) const |
CImg< T > & | max (const char *const expression) |
Pointwise max operator between an image and a string. More... | |
CImg< Tfloat > | get_max (const char *const expression) const |
T & | min () |
Return a reference to the minimum pixel value of the instance image. More... | |
const T & | min () const |
T & | max () |
Return a reference to the maximum pixel value of the instance image. More... | |
const T & | max () const |
template<typename t > | |
T & | minmax (t &max_val) |
Return a reference to the minimum pixel value and return also the maximum pixel value. More... | |
template<typename t > | |
const T & | minmax (t &max_val) const |
template<typename t > | |
T & | maxmin (t &min_val) |
Return a reference to the maximum pixel value and return also the minimum pixel value. More... | |
template<typename t > | |
const T & | maxmin (t &min_val) const |
T | kth_smallest (const unsigned int k) const |
Return the kth smallest element of the image. More... | |
T | median () const |
Return the median value of the image. More... | |
Tfloat | sum () const |
Return the sum of all the pixel values in an image. More... | |
Tfloat | mean () const |
Return the mean pixel value of the instance image. More... | |
Tfloat | variance (const unsigned int variance_method=1) const |
Return the variance of the image. More... | |
template<typename t > | |
Tfloat | variancemean (const unsigned int variance_method, t &mean) const |
Return the variance and the mean of the image. More... | |
template<typename t > | |
Tfloat | MSE (const CImg< t > &img) const |
Compute the MSE (Mean-Squared Error) between two images. More... | |
template<typename t > | |
Tfloat | PSNR (const CImg< t > &img, const Tfloat valmax=(Tfloat) 255) const |
Compute the PSNR between two images. More... | |
double | eval (const char *const expression, const double x=0, const double y=0, const double z=0, const double v=0) const |
Evaluate math expression. More... | |
CImg< T > & | stats (const unsigned int variance_method=1) |
Compute a statistics vector (min,max,mean,variance,xmin,ymin,zmin,vmin,xmax,ymax,zmax,vmax). More... | |
CImg< Tfloat > | get_stats (const unsigned int variance_method=1) const |
Value Manipulation | |
CImg< T > & | fill (const T val) |
Fill an image by a value val . More... | |
CImg< T > | get_fill (const T val) const |
CImg< T > & | fill (const T val0, const T val1) |
Fill sequentially all pixel values with values val0 and val1 respectively. More... | |
CImg< T > | get_fill (const T val0, const T val1) const |
CImg< T > & | fill (const T val0, const T val1, const T val2) |
Fill sequentially all pixel values with values val0 and val1 and val2. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3) |
Fill sequentially all pixel values with values val0 and val1 and val2 and val3. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4) |
Fill sequentially all pixel values with values val0 and val1 and val2 and val3 and val4. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5) |
Fill sequentially all pixel values with values val0 and val1 and val2 and val3 and val4 and val5. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14) const |
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14, const T val15) |
Fill sequentially pixel values. More... | |
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5, const T val6, const T val7, const T val8, const T val9, const T val10, const T val11, const T val12, const T val13, const T val14, const T val15) const |
CImg< T > & | fill (const char *const expression, const bool repeat_flag) |
Fill image values according to the given expression, which can be a formula or a list of values. More... | |
CImg< T > | get_fill (const char *const values, const bool repeat_values) const |
template<typename t > | |
CImg< T > & | fill (const CImg< t > &values, const bool repeat_values=true) |
Fill image values according to the values found in the specified image. More... | |
template<typename t > | |
CImg< T > | get_fill (const CImg< t > &values, const bool repeat_values=true) const |
CImg< T > & | fillX (const unsigned int y, const unsigned int z, const unsigned int v, const int a0,...) |
Fill image values along the X-axis at the specified pixel position (y,z,v). More... | |
CImg< T > & | fillX (const unsigned int y, const unsigned int z, const unsigned int v, const double a0,...) |
CImg< T > & | fillY (const unsigned int x, const unsigned int z, const unsigned int v, const int a0,...) |
Fill image values along the Y-axis at the specified pixel position (x,z,v). More... | |
CImg< T > & | fillY (const unsigned int x, const unsigned int z, const unsigned int v, const double a0,...) |
CImg< T > & | fillZ (const unsigned int x, const unsigned int y, const unsigned int v, const int a0,...) |
Fill image values along the Z-axis at the specified pixel position (x,y,v). More... | |
CImg< T > & | fillZ (const unsigned int x, const unsigned int y, const unsigned int v, const double a0,...) |
CImg< T > & | fillV (const unsigned int x, const unsigned int y, const unsigned int z, const int a0,...) |
Fill image values along the V-axis at the specified pixel position (x,y,z). More... | |
CImg< T > & | fillV (const unsigned int x, const unsigned int y, const unsigned int z, const double a0,...) |
CImg< T > & | invert_endianness () |
Invert endianness of the image buffer. More... | |
CImg< T > | get_invert_endianness () const |
CImg< T > & | rand (const T val_min, const T val_max) |
Fill the instance image with random values between specified range. More... | |
CImg< T > | get_rand (const T val_min, const T val_max) const |
CImg< T > & | round (const float x, const int rounding_type=0) |
Compute image with rounded pixel values. More... | |
CImg< T > | get_round (const float x, const unsigned int rounding_type=0) const |
CImg< T > & | noise (const double sigma, const unsigned int noise_type=0) |
Add random noise to the values of the instance image. More... | |
CImg< T > | get_noise (const double sigma, const unsigned int noise_type=0) const |
CImg< T > & | normalize (const T value_min, const T value_max) |
Linearly normalize values of the instance image between value_min and value_max . More... | |
CImg< Tfloat > | get_normalize (const T value_min, const T value_max) const |
CImg< T > & | normalize () |
Normalize multi-valued pixels of the instance image, with respect to their L2-norm. More... | |
CImg< Tfloat > | get_normalize () const |
CImg< T > & | norm (const int norm_type=2) |
Compute L2-norm of each multi-valued pixel of the instance image. More... | |
CImg< Tfloat > | get_norm (const int norm_type=2) const |
CImg< T > & | cut (const T value_min, const T value_max) |
Cut values of the instance image between value_min and value_max . More... | |
CImg< T > | get_cut (const T value_min, const T value_max) const |
CImg< T > & | quantize (const unsigned int nb_levels, const bool keep_range=true) |
Uniformly quantize values of the instance image into nb_levels levels. More... | |
CImg< T > | get_quantize (const unsigned int n, const bool keep_range=true) const |
CImg< T > & | threshold (const T value, const bool soft_threshold=false, const bool strict_threshold=false) |
Threshold values of the instance image. More... | |
CImg< T > | get_threshold (const T value, const bool soft_threshold=false, const bool strict_threshold=false) const |
CImg< T > & | histogram (const unsigned int nb_levels, const T value_min=(T) 0, const T value_max=(T) 0) |
Compute the histogram of the instance image. More... | |
CImg< floatT > | get_histogram (const unsigned int nb_levels, const T value_min=(T) 0, const T value_max=(T) 0) const |
CImg< T > & | equalize (const unsigned int nb_levels, const T value_min=(T) 0, const T value_max=(T) 0) |
Compute the histogram-equalized version of the instance image. More... | |
CImg< T > | get_equalize (const unsigned int nblevels, const T val_min=(T) 0, const T val_max=(T) 0) const |
template<typename t > | |
CImg< T > & | index (const CImg< t > &palette, const bool dithering=false, const bool map_indexes=false) |
Index multi-valued pixels of the instance image, regarding to a predefined palette. More... | |
template<typename t > | |
CImg< typename cimg::superset < t, unsigned int >::type > | get_index (const CImg< t > &palette, const bool dithering=false, const bool map_indexes=true) const |
template<typename t > | |
CImg< T > & | map (const CImg< t > &palette) |
Map predefined palette on the scalar (indexed) instance image. More... | |
template<typename t > | |
CImg< t > | get_map (const CImg< t > &palette) const |
CImg< T > & | label_regions () |
Create a map of indexed labels counting disconnected regions with same intensities. More... | |
CImg< uintT > | get_label_regions () const |
Geometric / Spatial Manipulation | |
CImg< T > & | resize (const int pdx, const int pdy=-100, const int pdz=-100, const int pdv=-100, const int interpolation_type=1, const int border_condition=-1, const bool center=false) |
Resize an image. More... | |
CImg< T > | get_resize (const int pdx, const int pdy=-100, const int pdz=-100, const int pdv=-100, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const |
template<typename t > | |
CImg< T > & | resize (const CImg< t > &src, const int interpolation_type=1, const int border_condition=-1, const bool center=false) |
Resize an image. More... | |
template<typename t > | |
CImg< T > | get_resize (const CImg< t > &src, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const |
CImg< T > & | resize (const CImgDisplay &disp, const int interpolation_type=1, const int border_condition=-1, const bool center=false) |
Resize an image. More... | |
CImg< T > | get_resize (const CImgDisplay &disp, const int interpolation_type=1, const int border_condition=-1, const bool center=false) const |
CImg< T > & | resize_halfXY () |
Half-resize an image, using a special optimized filter. More... | |
CImg< T > | get_resize_halfXY () const |
CImg< T > & | resize_doubleXY () |
Upscale an image by a factor 2x. More... | |
CImg< T > | get_resize_doubleXY () const |
CImg< T > & | resize_tripleXY () |
Upscale an image by a factor 3x. More... | |
CImg< T > | get_resize_tripleXY () const |
CImg< T > & | mirror (const char axis) |
Mirror an image along the specified axis. More... | |
CImg< T > | get_mirror (const char axis) const |
CImg< T > & | translate (const int deltax, const int deltay=0, const int deltaz=0, const int deltav=0, const int border_condition=0) |
Translate the image. More... | |
CImg< T > | get_translate (const int deltax, const int deltay=0, const int deltaz=0, const int deltav=0, const int border_condition=0) const |
template<typename t > | |
CImg< t > | _get_permute_axes (const char *permut, const t &) const |
CImg< T > & | permute_axes (const char *order) |
Permute axes order. More... | |
CImg< T > | get_permute_axes (const char *order) const |
CImg< T > & | unroll (const char axis) |
Unroll all images values into specified axis. More... | |
CImg< T > | get_unroll (const char axis) const |
CImg< T > & | rotate (const float angle, const unsigned int border_conditions=3, const unsigned int interpolation=1) |
Rotate an image. More... | |
CImg< T > | get_rotate (const float angle, const unsigned int border_conditions=3, const unsigned int interpolation=1) const |
CImg< T > & | rotate (const float angle, const float cx, const float cy, const float zoom, const unsigned int border_conditions=3, const unsigned int interpolation=1) |
Rotate an image around a center point (cx ,cy ). More... | |
CImg< T > | get_rotate (const float angle, const float cx, const float cy, const float zoom, const unsigned int border_conditions=3, const unsigned int interpolation=1) const |
template<typename t > | |
CImg< T > & | warp (const CImg< t > &warp, const bool relative=false, const bool interpolation=true, const unsigned int border_conditions=0) |
Warp an image. More... | |
template<typename t > | |
CImg< T > | get_warp (const CImg< t > &warp, const bool relative=false, const bool interpolation=true, const unsigned int border_conditions=0) const |
CImg< T > & | projections2d (const unsigned int x0, const unsigned int y0, const unsigned int z0, const int dx=-100, const int dy=-100, const int dz=-100) |
Return a 2D representation of a 3D image, with three slices. More... | |
CImg< T > | get_projections2d (const unsigned int x0, const unsigned int y0, const unsigned int z0, const int dx=-100, const int dy=-100, const int dz=-100) const |
CImg< T > & | crop (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 bool border_condition=false) |
Get a square region of the image. More... | |
CImg< T > | get_crop (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 bool border_condition=false) const |
CImg< T > & | crop (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool border_condition=false) |
Get a rectangular part of the instance image. More... | |
CImg< T > | get_crop (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool border_condition=false) const |
CImg< T > & | crop (const int x0, const int y0, const int x1, const int y1, const bool border_condition=false) |
Get a rectangular part of the instance image. More... | |
CImg< T > | get_crop (const int x0, const int y0, const int x1, const int y1, const bool border_condition=false) const |
CImg< T > & | crop (const int x0, const int x1, const bool border_condition=false) |
Get a rectangular part of the instance image. More... | |
CImg< T > | get_crop (const int x0, const int x1, const bool border_condition=false) const |
CImg< T > & | autocrop (const T value, const char *const axes="vzyx") |
Autocrop an image, regarding of the specified backround value. More... | |
CImg< T > | get_autocrop (const T value, const char *const axes="vzyx") const |
CImg< T > & | autocrop (const T *const color, const char *const axes="zyx") |
Autocrop an image, regarding of the specified backround color. More... | |
CImg< T > | get_autocrop (const T *const color, const char *const axes="zyx") const |
template<typename t > | |
CImg< T > & | autocrop (const CImg< t > &color, const char *const axes="zyx") |
Autocrop an image, regarding of the specified backround color. More... | |
template<typename t > | |
CImg< T > | get_autocrop (const CImg< t > &color, const char *const axes="zyx") const |
CImg< intT > | _autocrop (const T value, const char axis) const |
CImg< T > & | column (const unsigned int x0) |
Get one column. More... | |
CImg< T > | get_column (const unsigned int x0) const |
CImg< T > & | columns (const unsigned int x0, const unsigned int x1) |
Get a set of columns. More... | |
CImg< T > | get_columns (const unsigned int x0, const unsigned int x1) const |
CImg< T > & | line (const unsigned int y0) |
Get a line. More... | |
CImg< T > | get_line (const unsigned int y0) const |
CImg< T > & | lines (const unsigned int y0, const unsigned int y1) |
Get a set of lines. More... | |
CImg< T > | get_lines (const unsigned int y0, const unsigned int y1) const |
CImg< T > & | slice (const unsigned int z0) |
Get a slice. More... | |
CImg< T > | get_slice (const unsigned int z0) const |
CImg< T > & | slices (const unsigned int z0, const unsigned int z1) |
Get a set of slices. More... | |
CImg< T > | get_slices (const unsigned int z0, const unsigned int z1) const |
CImg< T > & | channel (const unsigned int v0) |
Get a channel. More... | |
CImg< T > | get_channel (const unsigned int v0) const |
CImg< T > & | channels (const unsigned int v0, const unsigned int v1) |
Get a set of channels. More... | |
CImg< T > | get_channels (const unsigned int v0, const unsigned int v1) const |
CImg< T > | get_shared_points (const unsigned int x0, const unsigned int x1, const unsigned int y0=0, const unsigned int z0=0, const unsigned int v0=0) |
Get a shared-memory image referencing a set of points of the instance image. More... | |
const CImg< T > | get_shared_points (const unsigned int x0, const unsigned int x1, const unsigned int y0=0, const unsigned int z0=0, const unsigned int v0=0) const |
CImg< T > | get_shared_lines (const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int v0=0) |
Return a shared-memory image referencing a set of lines of the instance image. More... | |
const CImg< T > | get_shared_lines (const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int v0=0) const |
CImg< T > | get_shared_line (const unsigned int y0, const unsigned int z0=0, const unsigned int v0=0) |
Return a shared-memory image referencing one particular line (y0,z0,v0) of the instance image. More... | |
const CImg< T > | get_shared_line (const unsigned int y0, const unsigned int z0=0, const unsigned int v0=0) const |
CImg< T > | get_shared_planes (const unsigned int z0, const unsigned int z1, const unsigned int v0=0) |
Return a shared memory image referencing a set of planes (z0->z1,v0) of the instance image. More... | |
const CImg< T > | get_shared_planes (const unsigned int z0, const unsigned int z1, const unsigned int v0=0) const |
CImg< T > | get_shared_plane (const unsigned int z0, const unsigned int v0=0) |
Return a shared-memory image referencing one plane (z0,v0) of the instance image. More... | |
const CImg< T > | get_shared_plane (const unsigned int z0, const unsigned int v0=0) const |
CImg< T > | get_shared_channels (const unsigned int v0, const unsigned int v1) |
Return a shared-memory image referencing a set of channels (v0->v1) of the instance image. More... | |
const CImg< T > | get_shared_channels (const unsigned int v0, const unsigned int v1) const |
CImg< T > | get_shared_channel (const unsigned int v0) |
Return a shared-memory image referencing one channel v0 of the instance image. More... | |
const CImg< T > | get_shared_channel (const unsigned int v0) const |
CImgList< T > | get_split (const char axis, const int nb=0) const |
Split image into a list. More... | |
CImgList< T > | get_split (const T value, const bool keep_values, const bool shared, const char axis='y') const |
template<typename t > | |
CImg< T > & | append (const CImg< t > &img, const char axis='x', const char align='p') |
Append an image. More... | |
CImg< T > & | append (const CImg< T > &img, const char axis='x', const char align='p') |
template<typename t > | |
CImg< _cimg_Tt > | get_append (const CImg< T > &img, const char axis='x', const char align='p') const |
CImg< T > | get_append (const CImg< T > &img, const char axis='x', const char align='p') const |
Drawing Functions | |
template<typename tc > | |
CImg< T > & | _draw_scanline (const int x0, const int x1, const int y, const tc *const color, const float opacity=1, const float brightness=1, const bool init=false) |
template<typename tc > | |
CImg< T > & | _draw_scanline (const tc *const color, const float opacity=1) |
template<typename tc > | |
CImg< T > & | draw_point (const int x0, const int y0, const tc *const color, const float opacity=1) |
Draw a 2D colored point (pixel). More... | |
template<typename tc > | |
CImg< T > & | draw_point (const int x0, const int y0, const CImg< tc > &color, const float opacity=1) |
Draw a 2D colored point (pixel). More... | |
template<typename tc > | |
CImg< T > & | draw_point (const int x0, const int y0, const int z0, const tc *const color, const float opacity=1) |
Draw a 3D colored point (voxel). More... | |
template<typename tc > | |
CImg< T > & | draw_point (const int x0, const int y0, const int z0, const CImg< tc > &color, const float opacity=1) |
Draw a 3D colored point (voxel). More... | |
template<typename t , typename tc > | |
CImg< T > & | _draw_point (const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity) |
template<typename t , typename tc > | |
CImg< T > & | draw_point (const CImgList< t > &points, const tc *const color, const float opacity=1) |
Draw a cloud of colored points. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_point (const CImgList< t > &points, const CImg< tc > &color, const float opacity=1) |
Draw a cloud of colored points. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_point (const CImg< t > &points, const tc *const color, const float opacity=1) |
Draw a cloud of colored points. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_point (const CImg< t > &points, const CImg< tc > &color, const float opacity=1) |
Draw a cloud of colored points. More... | |
template<typename tc > | |
CImg< T > & | draw_line (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D colored line. More... | |
template<typename tc > | |
CImg< T > & | draw_line (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D colored line. More... | |
template<typename tc > | |
CImg< T > & | draw_line (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D colored line, with z-buffering. More... | |
template<typename tc > | |
CImg< T > & | draw_line (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D colored line, with z-buffering. More... | |
template<typename tc > | |
CImg< T > & | draw_line (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 3D colored line. More... | |
template<typename tc > | |
CImg< T > & | draw_line (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 3D colored line. More... | |
template<typename tc > | |
CImg< T > & | draw_line (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D textured line. More... | |
template<typename tc > | |
CImg< T > & | draw_line (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D textured line, with perspective correction. More... | |
template<typename tc > | |
CImg< T > & | draw_line (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a 2D textured line, with z-buffering and perspective correction. More... | |
template<typename t , typename tc > | |
CImg< T > & | _draw_line (const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const unsigned int pattern, const bool init_hatch) |
template<typename t , typename tc > | |
CImg< T > & | draw_line (const CImgList< t > &points, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored lines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_line (const CImgList< t > &points, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored lines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_line (const CImg< t > &points, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored lines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_line (const CImg< t > &points, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored lines in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_arrow (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1, const float angle=30, const float length=-10, const unsigned int pattern=~0U) |
Draw a colored arrow in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_arrow (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity=1, const float angle=30, const float length=-10, const unsigned int pattern=~0U) |
Draw a colored arrow in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_spline (const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const tc *const color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a cubic spline curve in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_spline (const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const CImg< tc > &color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a cubic spline curve in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_spline (const int x0, const int y0, const int z0, const float u0, const float v0, const float w0, const int x1, const int y1, const int z1, const float u1, const float v1, const float w1, const tc *const color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a cubic spline curve in the instance image (for volumetric images). More... | |
template<typename tc > | |
CImg< T > & | draw_spline (const int x0, const int y0, const int z0, const float u0, const float v0, const float w0, const int x1, const int y1, const int z1, const float u1, const float v1, const float w1, const CImg< tc > &color, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a cubic spline curve in the instance image (for volumetric images). More... | |
template<typename t > | |
CImg< T > & | draw_spline (const int x0, const int y0, const float u0, const float v0, const int x1, const int y1, const float u1, const float v1, const CImg< t > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const float opacity=1, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a cubic spline curve in the instance image. More... | |
template<typename tp , typename tt , typename tc > | |
CImg< T > & | _draw_spline (const tp &points, const tt &tangents, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const bool close_set, const float precision, const unsigned int pattern, const bool init_hatch) |
template<typename tp , typename tc > | |
CImg< T > & | _draw_spline (const tp &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const bool close_set, const float precision, const unsigned int pattern, const bool init_hatch) |
template<typename tp , typename tt , typename tc > | |
CImg< T > & | draw_spline (const CImgList< tp > &points, const CImgList< tt > &tangents, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored splines in the instance image. More... | |
template<typename tp , typename tt , typename tc > | |
CImg< T > & | draw_spline (const CImgList< tp > &points, const CImgList< tt > &tangents, const CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored splines in the instance image. More... | |
template<typename tp , typename tt , typename tc > | |
CImg< T > & | draw_spline (const CImg< tp > &points, const CImg< tt > &tangents, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored splines in the instance image. More... | |
template<typename tp , typename tt , typename tc > | |
CImg< T > & | draw_spline (const CImg< tp > &points, const CImg< tt > &tangents, const CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored splines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_spline (const CImgList< t > &points, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored splines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_spline (const CImgList< t > &points, CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored splines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_spline (const CImg< t > &points, const tc *const color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored lines in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_spline (const CImg< t > &points, const CImg< tc > &color, const float opacity=1, const bool close_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
Draw a set of consecutive colored lines in the instance image. More... | |
template<typename tc > | |
CImg< T > & | _draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity, const float brightness) |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity=1) |
Draw a 2D filled colored triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const float opacity=1) |
Draw a 2D filled colored triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float opacity, const unsigned int pattern) |
Draw a 2D outlined colored triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw a 2D outlined colored triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const float opacity=1, const float brightness=1) |
Draw a 2D filled colored triangle, with z-buffering. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &color, const float opacity=1, const float brightness=1) |
Draw a 2D filled colored triangle, with z-buffering. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a 2D Gouraud-shaded colored triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a 2D Gouraud-shaded colored triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a 2D Gouraud-shaded colored triangle, with z-buffering. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &color, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a Gouraud triangle with z-buffer consideration. More... | |
template<typename tc1 , typename tc2 , typename tc3 > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc1 *const color1, const tc2 *const color2, const tc3 *const color3, const float opacity=1) |
Draw a colored triangle with interpolated colors. More... | |
template<typename tc1 , typename tc2 , typename tc3 > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc1 > &color1, const CImg< tc2 > &color2, const CImg< tc3 > &color3, const float opacity=1) |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1) |
Draw a 2D textured triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1) |
Draw a 2D textured triangle, with perspective correction. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float opacity=1, const float brightness=1) |
Draw a 2D textured triangle, with z-buffering and perspective correction. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const tc *const color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded triangle. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded triangle. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const tc *const color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded triangle, with z-buffering. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &color, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded triangle, with z-buffering. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a 2D Gouraud-shaded textured triangle. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a 2D Gouraud-shaded textured triangle, with perspective correction. More... | |
template<typename tc > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const float brightness0, const float brightness1, const float brightness2, const float opacity=1) |
Draw a 2D Gouraud-shaded textured triangle, with z-buffering and perspective correction. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const int x1, const int y1, const int x2, const int y2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded textured triangle. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded textured triangle, with perspective correction. More... | |
template<typename tc , typename tl > | |
CImg< T > & | draw_triangle (CImg< floatT > &zbuffer, const int x0, const int y0, const float z0, const int x1, const int y1, const float z1, const int x2, const int y2, const float z2, const CImg< tc > &texture, const int tx0, const int ty0, const int tx1, const int ty1, const int tx2, const int ty2, const CImg< tl > &light, const int lx0, const int ly0, const int lx1, const int ly1, const int lx2, const int ly2, const float opacity=1) |
Draw a 2D Pseudo-Phong-shaded textured triangle, with z-buffering and perspective correction. More... | |
CImg< T > & | draw_rectangle (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 T val, const float opacity=1) |
Draw a 4D filled rectangle in the instance image, at coordinates (x0 ,y0 ,z0 ,v0 )-(x1 ,y1 ,z1 ,v1 ). More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity=1) |
Draw a 3D filled colored rectangle in the instance image, at coordinates (x0 ,y0 ,z0 )-(x1 ,y1 ,z1 ). More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const CImg< tc > &color, const float opacity=1) |
Draw a 3D filled colored rectangle in the instance image, at coordinates (x0 ,y0 ,z0 )-(x1 ,y1 ,z1 ). More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const tc *const color, const float opacity, const unsigned int pattern) |
Draw a 3D outlined colored rectangle in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw a 3D outlined colored rectangle in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity=1) |
Draw a 2D filled colored rectangle in the instance image, at coordinates (x0 ,y0 )-(x1 ,y1 ). More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity=1) |
Draw a 2D filled colored rectangle in the instance image, at coordinates (x0 ,y0 )-(x1 ,y1 ). More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int x1, const int y1, const tc *const color, const float opacity, const unsigned int pattern) |
Draw a 2D outlined colored rectangle. More... | |
template<typename tc > | |
CImg< T > & | draw_rectangle (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw a 2D outlined colored rectangle. More... | |
template<typename t , typename tc > | |
CImg< T > & | _draw_polygon (const t &points, const unsigned int N, const tc *const color, const float opacity) |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImgList< t > &points, const tc *const color, const float opacity=1) |
Draw a filled polygon in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImgList< t > &points, const CImg< tc > &color, const float opacity=1) |
Draw a filled polygon in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImg< t > &points, const tc *const color, const float opacity=1) |
Draw a filled polygon in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImg< t > &points, const CImg< tc > &color, const float opacity=1) |
Draw a filled polygon in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | _draw_polygon (const t &points, const unsigned int W, const unsigned int H, const tc *const color, const float opacity, const unsigned int pattern) |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImgList< t > &points, const tc *const color, const float opacity, const unsigned int pattern) |
Draw a polygon outline. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImgList< t > &points, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw a polygon outline. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImg< t > &points, const tc *const color, const float opacity, const unsigned int pattern) |
Draw a polygon outline. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_polygon (const CImg< t > &points, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw a polygon outline. More... | |
template<typename tc > | |
CImg< T > & | draw_circle (const int x0, const int y0, int radius, const tc *const color, const float opacity=1) |
Draw a filled circle. More... | |
template<typename tc > | |
CImg< T > & | draw_circle (const int x0, const int y0, int radius, const CImg< tc > &color, const float opacity=1) |
Draw a filled circle. More... | |
template<typename tc > | |
CImg< T > & | draw_circle (const int x0, const int y0, int radius, const tc *const color, const float opacity, const unsigned int) |
Draw an outlined circle. More... | |
template<typename tc > | |
CImg< T > & | draw_circle (const int x0, const int y0, int radius, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw an outlined circle. More... | |
template<typename tc > | |
CImg< T > & | _draw_ellipse (const int x0, const int y0, const float r1, const float r2, const float angle, const tc *const color, const float opacity, const unsigned int pattern) |
template<typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const float r1, const float r2, const float angle, const tc *const color, const float opacity=1) |
Draw a filled ellipse. More... | |
template<typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const float r1, const float r2, const float angle, const CImg< tc > &color, const float opacity=1) |
Draw a filled ellipse. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const CImg< t > &tensor, const tc *const color, const float opacity=1) |
Draw a filled ellipse. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const CImg< t > &tensor, const CImg< tc > &color, const float opacity=1) |
Draw a filled ellipse. More... | |
template<typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const float r1, const float r2, const float angle, const tc *const color, const float opacity, const unsigned int pattern) |
Draw an outlined ellipse. More... | |
template<typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const float r1, const float r2, const float angle, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw an outlined ellipse. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const CImg< t > &tensor, const tc *const color, const float opacity, const unsigned int pattern) |
Draw an outlined ellipse. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_ellipse (const int x0, const int y0, const CImg< t > &tensor, const CImg< tc > &color, const float opacity, const unsigned int pattern) |
Draw an outlined ellipse. More... | |
template<typename t > | |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const int v0, const CImg< t > &sprite, const float opacity=1) |
Draw an image. More... | |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const int v0, const CImg< T > &sprite, const float opacity=1) |
template<typename t > | |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const CImg< t > &sprite, const float opacity=1) |
Draw an image. More... | |
template<typename t > | |
CImg< T > & | draw_image (const int x0, const int y0, const CImg< t > &sprite, const float opacity=1) |
Draw an image. More... | |
template<typename t > | |
CImg< T > & | draw_image (const int x0, const CImg< t > &sprite, const float opacity=1) |
Draw an image. More... | |
template<typename t > | |
CImg< T > & | draw_image (const CImg< t > &sprite, const float opacity=1) |
Draw an image. More... | |
template<typename ti , typename tm > | |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const int v0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1) |
Draw a sprite image in the instance image (masked version). More... | |
template<typename ti , typename tm > | |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1) |
Draw an image. More... | |
template<typename ti , typename tm > | |
CImg< T > & | draw_image (const int x0, const int y0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1) |
Draw an image. More... | |
template<typename ti , typename tm > | |
CImg< T > & | draw_image (const int x0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1) |
Draw an image. More... | |
template<typename ti , typename tm > | |
CImg< T > & | draw_image (const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_valmax=1) |
Draw an image. More... | |
template<typename tc1 , typename tc2 , typename t > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity, const CImgList< t > &font,...) |
Draw a text. More... | |
template<typename tc1 , typename tc2 , typename t > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const CImg< tc1 > &foreground_color, const CImg< tc2 > &background_color, const float opacity, const CImgList< t > &font,...) |
Draw a text. More... | |
template<typename tc , typename t > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const tc *const foreground_color, const int, const float opacity, const CImgList< t > &font,...) |
Draw a text. More... | |
template<typename tc , typename t > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const int, const tc *const background_color, const float opacity, const CImgList< t > &font,...) |
Draw a text. More... | |
template<typename tc1 , typename tc2 > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity=1, const unsigned int font_size=11,...) |
Draw a text. More... | |
template<typename tc1 , typename tc2 > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const CImg< tc1 > &foreground_color, const CImg< tc2 > &background_color, const float opacity=1, const unsigned int font_size=11,...) |
Draw a text. More... | |
template<typename tc > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const tc *const foreground_color, const int background_color=0, const float opacity=1, const unsigned int font_size=11,...) |
Draw a text. More... | |
template<typename tc > | |
CImg< T > & | draw_text (const int x0, const int y0, const char *const text, const int, const tc *const background_color, const float opacity=1, const unsigned int font_size=11,...) |
Draw a text. More... | |
template<typename tc1 , typename tc2 , typename t > | |
CImg< T > & | _draw_text (const int x0, const int y0, const char *const text, const tc1 *const foreground_color, const tc2 *const background_color, const float opacity, const CImgList< t > &font) |
template<typename t1 , typename t2 > | |
CImg< T > & | draw_quiver (const CImg< t1 > &flow, const t2 *const color, const float opacity=1, const unsigned int sampling=25, const float factor=-20, const bool arrows=true, const unsigned int pattern=~0U) |
Draw a vector field in the instance image, using a colormap. More... | |
template<typename t1 , typename t2 > | |
CImg< T > & | draw_quiver (const CImg< t1 > &flow, const CImg< t2 > &color, const float opacity=1, const unsigned int sampling=25, const float factor=-20, const bool arrows=true, const unsigned int pattern=~0U) |
Draw a vector field in the instance image, using a colormap. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_axis (const CImg< t > &xvalues, const int y, const tc *const color, const float opacity=1, const unsigned int pattern=~0U) |
Draw a labeled horizontal axis on the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_axis (const CImg< t > &xvalues, const int y, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U) |
Draw a labeled horizontal axis on the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_axis (const int x, const CImg< t > &yvalues, const tc *const color, const float opacity=1, const unsigned int pattern=~0U) |
Draw a labeled vertical axis on the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_axis (const int x, const CImg< t > &yvalues, const CImg< tc > &color, const float opacity=1, const unsigned int pattern=~0U) |
Draw a labeled vertical axis on the instance image. More... | |
template<typename tx , typename ty , typename tc > | |
CImg< T > & | draw_axis (const CImg< tx > &xvalues, const CImg< ty > &yvalues, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw a labeled horizontal+vertical axis on the instance image. More... | |
template<typename tx , typename ty , typename tc > | |
CImg< T > & | draw_axis (const CImg< tx > &xvalues, const CImg< ty > &yvalues, const CImg< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw a labeled horizontal+vertical axis on the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_axis (const float x0, const float x1, const float y0, const float y1, const tc *const color, const float opacity=1, const int subdivisionx=-60, const int subdivisiony=-60, const float precisionx=0, const float precisiony=0, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw a labeled horizontal+vertical axis on the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_axis (const float x0, const float x1, const float y0, const float y1, const CImg< tc > &color, const float opacity=1, const int subdivisionx=-60, const int subdivisiony=-60, const float precisionx=0, const float precisiony=0, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw a labeled horizontal+vertical axis on the instance image. More... | |
template<typename tx , typename ty , typename tc > | |
CImg< T > & | draw_grid (const CImg< tx > &xvalues, const CImg< ty > &yvalues, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw grid. More... | |
template<typename tx , typename ty , typename tc > | |
CImg< T > & | draw_grid (const CImg< tx > &xvalues, const CImg< ty > &yvalues, const CImg< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw grid. More... | |
template<typename tc > | |
CImg< T > & | draw_grid (const float deltax, const float deltay, const float offsetx, const float offsety, const bool invertx, const bool inverty, const tc *const color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw grid. More... | |
template<typename tc > | |
CImg< T > & | draw_grid (const float deltax, const float deltay, const float offsetx, const float offsety, const bool invertx, const bool inverty, const CImg< tc > &color, const float opacity=1, const unsigned int patternx=~0U, const unsigned int patterny=~0U) |
Draw grid. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_graph (const CImg< t > &data, const tc *const color, const float opacity=1, const unsigned int plot_type=1, const int vertex_type=1, const double ymin=0, const double ymax=0, const bool expand=false, const unsigned int pattern=~0U) |
Draw a 1D graph on the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_graph (const CImg< t > &data, const CImg< tc > &color, const float opacity=1, const unsigned int plot_type=1, const unsigned int vertex_type=1, const double ymin=0, const double ymax=0, const bool expand=false, const unsigned int pattern=~0U) |
Draw a 1D graph on the instance image. More... | |
template<typename tc , typename t > | |
CImg< T > & | draw_fill (const int x, const int y, const int z, const tc *const color, const float opacity, CImg< t > ®ion, const float sigma=0, const bool high_connexity=false) |
Draw a 3D filled region starting from a point (x ,y ,\ z) in the instance image. More... | |
template<typename tc , typename t > | |
CImg< T > & | draw_fill (const int x, const int y, const int z, const CImg< tc > &color, const float opacity, CImg< t > ®ion, const float sigma=0, const bool high_connexity=false) |
Draw a 3D filled region starting from a point (x ,y ,\ z) in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_fill (const int x, const int y, const int z, const tc *const color, const float opacity=1, const float sigma=0, const bool high_connexity=false) |
Draw a 3D filled region starting from a point (x ,y ,\ z) in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_fill (const int x, const int y, const int z, const CImg< tc > &color, const float opacity=1, const float sigma=0, const bool high_connexity=false) |
Draw a 3D filled region starting from a point (x ,y ,\ z) in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_fill (const int x, const int y, const tc *const color, const float opacity=1, const float sigma=0, const bool high_connexity=false) |
Draw a 2D filled region starting from a point (x ,y ) in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_fill (const int x, const int y, const CImg< tc > &color, const float opacity=1, const float sigma=0, const bool high_connexity=false) |
Draw a 2D filled region starting from a point (x ,y ) in the instance image. More... | |
CImg< T > & | draw_plasma (const int x0, const int y0, const int x1, const int y1, const float alpha=1, const float beta=1, const float opacity=1) |
Draw a plasma random texture. More... | |
CImg< T > & | draw_plasma (const float alpha=1, const float beta=1, const float opacity=1) |
Draw a plasma random texture. More... | |
template<typename tc > | |
CImg< T > & | draw_mandelbrot (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &color_palette, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int itermax=255, const bool normalized_iteration=false, const bool julia_set=false, const double paramr=0, const double parami=0) |
Draw a quadratic Mandelbrot or Julia fractal set, computed using the Escape Time Algorithm. More... | |
template<typename tc > | |
CImg< T > & | draw_mandelbrot (const CImg< tc > &color_palette, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int itermax=255, const bool normalized_iteration=false, const bool julia_set=false, const double paramr=0, const double parami=0) |
Draw a quadratic Mandelbrot or Julia fractal set, computed using the Escape Time Algorithm. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float sigma, const tc *const color, const float opacity=1) |
Draw a 1D gaussian function in the instance image. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float sigma, const CImg< tc > &color, const float opacity=1) |
Draw a 1D gaussian function in the instance image. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const CImg< t > &tensor, const tc *const color, const float opacity=1) |
Draw an anisotropic 2D gaussian function. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const CImg< t > &tensor, const CImg< tc > &color, const float opacity=1) |
Draw an anisotropic 2D gaussian function. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const int xc, const int yc, const float r1, const float r2, const float ru, const float rv, const tc *const color, const float opacity=1) |
Draw an anisotropic 2D gaussian function. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const int xc, const int yc, const float r1, const float r2, const float ru, const float rv, const CImg< tc > &color, const float opacity=1) |
Draw an anisotropic 2D gaussian function. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const float sigma, const tc *const color, const float opacity=1) |
Draw an isotropic 2D gaussian function. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const float sigma, const CImg< tc > &color, const float opacity=1) |
Draw an isotropic 2D gaussian function. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const float zc, const CImg< t > &tensor, const tc *const color, const float opacity=1) |
Draw an anisotropic 3D gaussian function. More... | |
template<typename t , typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const float zc, const CImg< t > &tensor, const CImg< tc > &color, const float opacity=1) |
Draw an anisotropic 3D gaussian function. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const float zc, const float sigma, const tc *const color, const float opacity=1) |
Draw an isotropic 3D gaussian function. More... | |
template<typename tc > | |
CImg< T > & | draw_gaussian (const float xc, const float yc, const float zc, const float sigma, const CImg< tc > &color, const float opacity=1) |
Draw an isotropic 3D gaussian function. More... | |
template<typename tp , typename tf , typename tc , typename to > | |
CImg< T > & | draw_object3d (const float x0, const float y0, const float z0, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const CImgList< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, CImg< floatT > &zbuffer=cimg_library::CImg< floatT >::empty()) |
Draw a 3D object. More... | |
template<typename tp , typename tf , typename tc , typename to > | |
CImg< T > & | draw_object3d (const float x0, const float y0, const float z0, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const CImg< to > &opacities, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, CImg< floatT > &zbuffer=cimg_library::CImg< floatT >::empty()) |
template<typename tp , typename tf , typename tc > | |
CImg< T > & | draw_object3d (const float x0, const float y0, const float z0, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const unsigned int render_type=4, const bool double_sided=false, const float focale=500, const float lightx=0, const float lighty=0, const float lightz=-5000, const float specular_light=0.2f, const float specular_shine=0.1f, CImg< floatT > &zbuffer=cimg_library::CImg< floatT >::empty()) |
Draw a 3D object. More... | |
template<typename tc , typename to > | |
void | __draw_object3d (const unsigned int n_primitive, const unsigned int nb_opacities, const CImgList< to > &opacities, const CImg< tc > &color, const int nx0, const int ny0, const CImg< T > &sprite, const float opac) |
template<typename tc , typename to > | |
void | __draw_object3d (const unsigned int, const unsigned int, const CImg< to > &, const CImg< tc > &, const int nx0, const int ny0, const CImg< T > &sprite, const float opac) |
template<typename tp , typename tf , typename tc , typename to > | |
CImg< T > & | _draw_object3d (void *const pboard, CImg< floatT > &zbuffer, const float X, const float Y, const float Z, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const unsigned int nb_opacities, const unsigned int render_type, const bool double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_light, const float specular_shine) |
Public Attributes | |
unsigned int | width |
Variable representing the width of the instance image (i.e. dimensions along the X-axis). More... | |
unsigned int | height |
Variable representing the height of the instance image (i.e. dimensions along the Y-axis). More... | |
unsigned int | depth |
Variable representing the depth of the instance image (i.e. dimensions along the Z-axis). More... | |
unsigned int | dim |
Variable representing the number of channels of the instance image (i.e. dimensions along the V-axis). More... | |
bool | is_shared |
Variable telling if pixel buffer of the instance image is shared with another one. More... | |
T * | data |
Pointer to the first pixel of the pixel buffer. More... | |
Constructors / Destructor / Instance Management | |
~CImg () | |
Destructor. More... | |
CImg () | |
Default constructor. More... | |
CImg (const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1) | |
Constructs a new image with given size (dx ,dy ,dz ,dv ). More... | |
CImg (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const T val) | |
Construct an image with given size (dx ,dy ,dz ,dv ) and with pixel having a default value val . More... | |
CImg (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const int val0, const int val1,...) | |
Construct an image with given size (dx ,dy ,dz ,dv ) and with specified pixel values (int version). More... | |
CImg (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const double val0, const double val1,...) | |
Construct an image with given size (dx ,dy ,dz ,dv ) and with specified pixel values (double version). More... | |
CImg (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const char *const values, const bool repeat_values) | |
Construct an image with given size and with specified values given in a string. More... | |
template<typename t > | |
CImg (const t *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1, const bool shared=false) | |
Construct an image from a raw memory buffer. More... | |
CImg (const T *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1, const bool shared=false) | |
CImg (const char *const filename) | |
Construct an image from an image file. More... | |
template<typename t > | |
CImg (const CImg< t > &img) | |
Default copy constructor. More... | |
CImg (const CImg< T > &img) | |
template<typename t > | |
CImg (const CImg< t > &img, const bool shared) | |
Advanced copy constructor. More... | |
CImg (const CImg< T > &img, const bool shared) | |
template<typename t > | |
CImg (const CImg< t > &img, const char *const dimensions) | |
Construct an image using dimensions of another image. More... | |
template<typename t > | |
CImg (const CImg< t > &img, const char *const dimensions, const T val) | |
Construct an image using dimensions of another image, and fill it with given values. More... | |
template<typename t > | |
CImg (const CImg< t > &img, const char *const dimensions, const char *const values, const bool repeat_values) | |
Construct an image using dimensions of another image, and fill it with given values. More... | |
CImg (const CImgDisplay &disp) | |
Construct an image from the content of a CImgDisplay instance. More... | |
CImg< T > | get_shared () |
Return a shared version of the instance image. More... | |
const CImg< T > | get_shared () const |
CImg< T > & | clear () |
In-place version of the default constructor (STL-compliant name). More... | |
CImg< T > & | assign () |
In-place version of the default constructor/destructor. More... | |
CImg< T > & | assign (const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1) |
In-place version of the previous constructor. More... | |
CImg< T > & | assign (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const T val) |
In-place version of the previous constructor. More... | |
CImg< T > & | assign (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const int val0, const int val1,...) |
In-place version of the previous constructor. More... | |
CImg< T > & | assign (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const double val0, const double val1,...) |
In-place version of the previous constructor. More... | |
CImg< T > & | assign (const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const char *const values, const bool repeat_values) |
In-place version of the corresponding constructor. More... | |
template<typename t > | |
CImg< T > & | assign (const t *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1) |
In-place version of the previous constructor. More... | |
CImg< T > & | assign (const T *const data_buffer, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1) |
template<typename t > | |
CImg< T > & | assign (const t *const data_buffer, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const bool shared) |
In-place version of the previous constructor, allowing to force the shared state of the instance image. More... | |
CImg< T > & | assign (const T *const data_buffer, const unsigned int dx, const unsigned int dy, const unsigned int dz, const unsigned int dv, const bool shared) |
CImg< T > & | assign (const char *const filename) |
In-place version of the previous constructor. More... | |
template<typename t > | |
CImg< T > & | assign (const CImg< t > &img) |
In-place version of the default copy constructor. More... | |
template<typename t > | |
CImg< T > & | assign (const CImg< t > &img, const bool shared) |
In-place version of the advanced constructor. More... | |
template<typename t > | |
CImg< T > & | assign (const CImg< t > &img, const char *const dimensions) |
In-place version of the previous constructor. More... | |
template<typename t > | |
CImg< T > & | assign (const CImg< t > &img, const char *const dimensions, const T val) |
In-place version of the previous constructor. More... | |
template<typename t > | |
CImg< T > & | assign (const CImg< t > &img, const char *const dimensions, const char *const values, const bool repeat_values) |
In-place version of the previous constructor. More... | |
CImg< T > & | assign (const CImgDisplay &disp) |
In-place version of the previous constructor. More... | |
template<typename t > | |
CImg< t > & | transfer_to (CImg< t > &img) |
Transfer the content of the instance image into another one in a way that memory copies are avoided if possible. More... | |
CImg< T > & | transfer_to (CImg< T > &img) |
template<typename t > | |
CImgList< t > & | transfer_to (CImgList< t > &list, const unsigned int pos=~0U) |
CImg< T > & | swap (CImg< T > &img) |
Swap all fields of two images. Use with care ! More... | |
static CImg< T > & | empty () |
Return a reference to an empty image. More... | |
Instance Characteristics | |
int | dimx () const |
Return the number of columns of the instance image (size along the X-axis, i.e image width). More... | |
int | dimy () const |
Return the number of rows of the instance image (size along the Y-axis, i.e image height). More... | |
int | dimz () const |
Return the number of slices of the instance image (size along the Z-axis). More... | |
int | dimv () const |
Return the number of vector channels of the instance image (size along the V-axis). More... | |
unsigned int | size () const |
Return the number of image buffer elements. More... | |
T * | ptr () |
Return a pointer to the pixel buffer. More... | |
const T * | ptr () const |
T * | ptr (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) |
Return a pointer to the pixel value located at (x ,y ,z ,v ). More... | |
const T * | ptr (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int v=0) const |
int | offset (const int x, const int y=0, const int z=0, const int v=0) const |
Return the offset of the pixel coordinates (x ,y ,z ,v ) with respect to the data pointer data . More... | |
iterator | begin () |
Return an iterator to the first image pixel. More... | |
const_iterator | begin () const |
iterator | end () |
Return an iterator pointing after the last image pixel (STL-compliant name). More... | |
const_iterator | end () const |
const T & | front () const |
Return reference to the first image pixel (STL-compliant name). More... | |
T & | front () |
const T & | back () const |
Return a reference to the last image pixel (STL-compliant name). More... | |
T & | back () |
T & | at (const int off, const T out_val) |
Read a pixel value with Dirichlet boundary conditions. More... | |
T | at (const int off, const T out_val) const |
T & | at (const int off) |
Read a pixel value with Neumann boundary conditions. More... | |
T | at (const int off) const |
T & | _at (const int off) |
T | _at (const int off) const |
T & | atXYZV (const int x, const int y, const int z, const int v, const T out_val) |
Read a pixel value with Dirichlet boundary conditions. More... | |
T | atXYZV (const int x, const int y, const int z, const int v, const T out_val) const |
T & | atXYZV (const int x, const int y, const int z, const int v) |
Read a pixel value with Neumann boundary conditions. More... | |
T | atXYZV (const int x, const int y, const int z, const int v) const |
T & | _atXYZV (const int x, const int y, const int z, const int v) |
T | _atXYZV (const int x, const int y, const int z, const int v) const |
T & | atXYZ (const int x, const int y, const int z, const int v, const T out_val) |
Read a pixel value with Dirichlet boundary conditions for the three first coordinates (x ,y ,z ). More... | |
T | atXYZ (const int x, const int y, const int z, const int v, const T out_val) const |
T & | atXYZ (const int x, const int y, const int z, const int v=0) |
Read a pixel value with Neumann boundary conditions for the three first coordinates (x ,y ,z ). More... | |
T | atXYZ (const int x, const int y, const int z, const int v=0) const |
T & | _atXYZ (const int x, const int y, const int z, const int v=0) |
T | _atXYZ (const int x, const int y, const int z, const int v=0) const |
T & | atXY (const int x, const int y, const int z, const int v, const T out_val) |
Read a pixel value with Dirichlet boundary conditions for the two first coordinates (x ,y ). More... | |
T | atXY (const int x, const int y, const int z, const int v, const T out_val) const |
T & | atXY (const int x, const int y, const int z=0, const int v=0) |
Read a pixel value with Neumann boundary conditions for the two first coordinates (x ,y ). More... | |
T | atXY (const int x, const int y, const int z=0, const int v=0) const |
T & | _atXY (const int x, const int y, const int z=0, const int v=0) |
T | _atXY (const int x, const int y, const int z=0, const int v=0) const |
T & | atX (const int x, const int y, const int z, const int v, const T out_val) |
Read a pixel value with Dirichlet boundary conditions for the first coordinates (x ). More... | |
T | atX (const int x, const int y, const int z, const int v, const T out_val) const |
T & | atX (const int x, const int y=0, const int z=0, const int v=0) |
Read a pixel value with Neumann boundary conditions for the first coordinates (x ). More... | |
T | atX (const int x, const int y=0, const int z=0, const int v=0) const |
T & | _atX (const int x, const int y=0, const int z=0, const int v=0) |
T | _atX (const int x, const int y=0, const int z=0, const int v=0) const |
Tfloat | linear_atXYZV (const float fx, const float fy, const float fz, const float fv, const T out_val) const |
Read a pixel value using linear interpolation and Dirichlet boundary conditions. More... | |
Tfloat | linear_atXYZV (const float fx, const float fy=0, const float fz=0, const float fv=0) const |
Read a pixel value using linear interpolation and Neumann boundary conditions. More... | |
Tfloat | _linear_atXYZV (const float fx, const float fy=0, const float fz=0, const float fv=0) const |
Tfloat | linear_atXYZ (const float fx, const float fy, const float fz, const int v, const T out_val) const |
Read a pixel value using linear interpolation and Dirichlet boundary conditions (first three coordinates). More... | |
Tfloat | linear_atXYZ (const float fx, const float fy=0, const float fz=0, const int v=0) const |
Read a pixel value using linear interpolation and Neumann boundary conditions (first three coordinates). More... | |
Tfloat | _linear_atXYZ (const float fx, const float fy=0, const float fz=0, const int v=0) const |
Tfloat | linear_atXY (const float fx, const float fy, const int z, const int v, const T out_val) const |
Read a pixel value using linear interpolation and Dirichlet boundary conditions (first two coordinates). More... | |
Tfloat | linear_atXY (const float fx, const float fy, const int z=0, const int v=0) const |
Read a pixel value using linear interpolation and Neumann boundary conditions (first two coordinates). More... | |
Tfloat | _linear_atXY (const float fx, const float fy, const int z=0, const int v=0) const |
Tfloat | linear_atX (const float fx, const int y, const int z, const int v, const T out_val) const |
Read a pixel value using linear interpolation and Dirichlet boundary conditions (first coordinate). More... | |
Tfloat | linear_atX (const float fx, const int y=0, const int z=0, const int v=0) const |
Read a pixel value using linear interpolation and Neumann boundary conditions (first coordinate). More... | |
Tfloat | _linear_atX (const float fx, const int y=0, const int z=0, const int v=0) const |
Tfloat | cubic_atXY (const float fx, const float fy, const int z, const int v, const T out_val) const |
Read a pixel value using cubic interpolation and Dirichlet boundary conditions. More... | |
Tfloat | cubic_atXY (const float fx, const float fy, const int z=0, const int v=0) const |
Read a pixel value using cubic interpolation and Neumann boundary conditions. More... | |
Tfloat | _cubic_atXY (const float fx, const float fy, const int z=0, const int v=0) const |
Tfloat | cubic_atX (const float fx, const int y, const int z, const int v, const T out_val) const |
Read a pixel value using cubic interpolation and Dirichlet boundary conditions (first coordinates). More... | |
Tfloat | cubic_atX (const float fx, const int y=0, const int z=0, const int v=0) const |
Read a pixel value using cubic interpolation and Neumann boundary conditions (first coordinates). More... | |
Tfloat | _cubic_atX (const float fx, const int y=0, const int z=0, const int v=0) const |
CImg & | set_linear_atXYZ (const T &val, const float fx, const float fy=0, const float fz=0, const int v=0, const bool add=false) |
Set a pixel value, with 3D float coordinates, using linear interpolation. More... | |
CImg & | set_linear_atXY (const T &val, const float fx, const float fy=0, const int z=0, const int v=0, const bool add=false) |
Set a pixel value, with 2D float coordinates, using linear interpolation. More... | |
CImg< charT > | value_string (const char separator=',', const unsigned int max_size=0) const |
Return a C-string containing the values of the instance image. More... | |
static const char * | pixel_type () |
Return the type of the pixel values. More... | |
Vector / Matrix Operations | |
Tfloat | magnitude (const int magnitude_type=2) const |
Return the norm of the current vector/matrix. ntype = norm type (0=L2, 1=L1, -1=Linf). More... | |
Tfloat | trace () const |
Return the trace of the image, viewed as a matrix. More... | |
Tfloat | det () const |
Return the determinant of the image, viewed as a matrix. More... | |
template<typename t > | |
Tfloat | dot (const CImg< t > &img) const |
Return the dot product of the current vector/matrix with the vector/matrix img . More... | |
CImg< T > | get_vector_at (const unsigned int x, const unsigned int y=0, const unsigned int z=0) const |
Return a new image corresponding to the vector located at (x ,y ,z ) of the current vector-valued image. More... | |
CImg< T > | get_matrix_at (const unsigned int x=0, const unsigned int y=0, const unsigned int z=0) const |
Return a new image corresponding to the square matrix located at (x ,y ,z ) of the current vector-valued image. More... | |
CImg< T > | get_tensor_at (const unsigned int x, const unsigned int y=0, const unsigned int z=0) const |
Return a new image corresponding to the diffusion tensor located at (x ,y ,z ) of the current vector-valued image. More... | |
template<typename t > | |
CImg< T > & | set_vector_at (const CImg< t > &vec, const unsigned int x, const unsigned int y=0, const unsigned int z=0) |
Set the image vec as the vector valued pixel located at (x ,y ,z ) of the current vector-valued image. More... | |
template<typename t > | |
CImg< T > & | set_matrix_at (const CImg< t > &mat, const unsigned int x=0, const unsigned int y=0, const unsigned int z=0) |
Set the image vec as the square matrix-valued pixel located at (x ,y ,z ) of the current vector-valued image. More... | |
template<typename t > | |
CImg< T > & | set_tensor_at (const CImg< t > &ten, const unsigned int x=0, const unsigned int y=0, const unsigned int z=0) |
Set the image vec as the tensor valued pixel located at (x ,y ,z ) of the current vector-valued image. More... | |
CImg< T > & | vector () |
Unroll all images values into a one-column vector. More... | |
CImg< T > | get_vector () const |
CImg< T > & | matrix () |
Realign pixel values of the instance image as a square matrix. More... | |
CImg< T > | get_matrix () const |
CImg< T > & | tensor () |
Realign pixel values of the instance image as a symmetric tensor. More... | |
CImg< T > | get_tensor () const |
CImg< T > & | diagonal () |
Get a diagonal matrix, whose diagonal coefficients are the coefficients of the input image. More... | |
CImg< T > | get_diagonal () const |
CImg< T > & | identity_matrix () |
Get an identity matrix having same dimension than instance image. More... | |
CImg< T > | get_identity_matrix () const |
CImg< T > & | sequence (const T a0, const T a1) |
Return a N-numbered sequence vector from a0 to a1 . More... | |
CImg< T > | get_sequence (const T a0, const T a1) const |
CImg< T > & | transpose () |
Transpose the current matrix. More... | |
CImg< T > | get_transpose () const |
template<typename t > | |
CImg< T > & | cross (const CImg< t > &img) |
Compute the cross product between two 3d vectors. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_cross (const CImg< t > &img) const |
CImg< T > & | invert (const bool use_LU=true) |
Invert the current matrix. More... | |
CImg< Tfloat > | get_invert (const bool use_LU=true) const |
CImg< T > & | pseudoinvert () |
Compute the pseudo-inverse (Moore-Penrose) of the matrix. More... | |
CImg< Tfloat > | get_pseudoinvert () const |
template<typename t > | |
CImg< T > & | solve (const CImg< t > &A) |
Solve a linear system AX=B where B=*this. More... | |
template<typename t > | |
CImg< _cimg_Ttfloat > | get_solve (const CImg< t > &A) const |
template<typename t , typename ti > | |
CImg< T > & | _solve (const CImg< t > &A, const CImg< ti > &indx) |
template<typename t > | |
CImg< T > & | solve_tridiagonal (const CImg< t > &a, const CImg< t > &b, const CImg< t > &c) |
Solve a linear system AX=B where B=*this and A is a tridiagonal matrix A = [ b0,c0,0,...; a1,b1,c1,0,... ; ... ; ...,0,aN,bN ]. More... | |
template<typename t > | |
CImg< _cimg_Ttfloat > | get_solve_tridiagonal (const CImg< t > &a, const CImg< t > &b, const CImg< t > &c) const |
template<typename t > | |
const CImg< T > & | eigen (CImg< t > &val, CImg< t > &vec) const |
Compute the eigenvalues and eigenvectors of a matrix. More... | |
CImgList< Tfloat > | get_eigen () const |
template<typename t > | |
const CImg< T > & | symmetric_eigen (CImg< t > &val, CImg< t > &vec) const |
Compute the eigenvalues and eigenvectors of a symmetric matrix. More... | |
CImgList< Tfloat > | get_symmetric_eigen () const |
template<typename t > | |
CImg< T > & | sort (CImg< t > &permutations, const bool increasing=true) |
Sort values of a vector and get permutations. More... | |
template<typename t > | |
CImg< T > | get_sort (CImg< t > &permutations, const bool increasing=true) const |
CImg< T > & | sort (const bool increasing=true) |
Sort image values. More... | |
CImg< T > | get_sort (const bool increasing=true) const |
template<typename t > | |
CImg< T > & | _quicksort (const int min, const int max, CImg< t > &permutations, const bool increasing) |
template<typename t > | |
const CImg< T > & | SVD (CImg< t > &U, CImg< t > &S, CImg< t > &V, const bool sorting=true, const unsigned int max_iter=40, const float lambda=0) const |
Compute the SVD of a general matrix. More... | |
CImgList< Tfloat > | get_SVD (const bool sorting=true, const unsigned int max_iter=40, const float lambda=0) const |
template<typename t > | |
CImg< T > & | _LU (CImg< t > &indx, bool &d) |
template<typename t > | |
CImg< T > & | dijkstra (const unsigned int starting_node, const unsigned int ending_node, CImg< t > &previous) |
Return minimal path in a graph, using the Dijkstra algorithm. More... | |
template<typename t > | |
CImg< T > | get_dijkstra (const unsigned int starting_node, const unsigned int ending_node, CImg< t > &previous) const |
CImg< T > & | dijkstra (const unsigned int starting_node, const unsigned int ending_node=~0U) |
Return minimal path in a graph, using the Dijkstra algorithm. More... | |
CImg< Tfloat > | get_dijkstra (const unsigned int starting_node, const unsigned int ending_node=~0U) const |
template<typename tf , typename t > | |
static CImg< T > | dijkstra (const tf &distance, const unsigned int nb_nodes, const unsigned int starting_node, const unsigned int ending_node, CImg< t > &previous) |
Compute minimal path in a graph, using the Dijkstra algorithm. More... | |
template<typename tf , typename t > | |
static CImg< T > | dijkstra (const tf &distance, const unsigned int nb_nodes, const unsigned int starting_node, const unsigned int ending_node=~0U) |
Return minimal path in a graph, using the Dijkstra algorithm. More... | |
static CImg< T > | vector (const T &a0) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14) |
Return a vector with specified coefficients. More... | |
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15) |
Return a vector with specified coefficients. More... | |
static CImg< T > | matrix (const T &a0) |
Return a 1x1 square matrix with specified coefficients. More... | |
static CImg< T > | matrix (const T &a0, const T &a1, const T &a2, const T &a3) |
Return a 2x2 square matrix with specified coefficients. More... | |
static CImg< T > | matrix (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8) |
Return a 3x3 square matrix with specified coefficients. More... | |
static CImg< T > | matrix (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15) |
Return a 4x4 square matrix with specified coefficients. More... | |
static CImg< T > | matrix (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6, const T &a7, const T &a8, const T &a9, const T &a10, const T &a11, const T &a12, const T &a13, const T &a14, const T &a15, const T &a16, const T &a17, const T &a18, const T &a19, const T &a20, const T &a21, const T &a22, const T &a23, const T &a24) |
Return a 5x5 square matrix with specified coefficients. More... | |
static CImg< T > | tensor (const T &a1) |
Return a 1x1 symmetric matrix with specified coefficients. More... | |
static CImg< T > | tensor (const T &a1, const T &a2, const T &a3) |
Return a 2x2 symmetric matrix tensor with specified coefficients. More... | |
static CImg< T > | tensor (const T &a1, const T &a2, const T &a3, const T &a4, const T &a5, const T &a6) |
Return a 3x3 symmetric matrix with specified coefficients. More... | |
static CImg< T > | diagonal (const T &a0) |
Return a 1x1 diagonal matrix with specified coefficients. More... | |
static CImg< T > | diagonal (const T &a0, const T &a1) |
Return a 2x2 diagonal matrix with specified coefficients. More... | |
static CImg< T > | diagonal (const T &a0, const T &a1, const T &a2) |
Return a 3x3 diagonal matrix with specified coefficients. More... | |
static CImg< T > | diagonal (const T &a0, const T &a1, const T &a2, const T &a3) |
Return a 4x4 diagonal matrix with specified coefficients. More... | |
static CImg< T > | diagonal (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4) |
Return a 5x5 diagonal matrix with specified coefficients. More... | |
static CImg< T > | identity_matrix (const unsigned int N) |
Return a NxN identity matrix. More... | |
static CImg< T > | sequence (const unsigned int N, const T a0, const T a1) |
Return a N-numbered sequence vector from a0 to a1 . More... | |
static CImg< T > | rotation_matrix (const float x, const float y, const float z, const float w, const bool quaternion_data=false) |
Return a 3x3 rotation matrix along the (x,y,z)-axis with an angle w. More... | |
Color Base Management | |
CImg< T > & | RGBtoHSV () |
Convert color pixels from (R,G,B) to (H,S,V). More... | |
CImg< Tfloat > | get_RGBtoHSV () const |
CImg< T > & | HSVtoRGB () |
Convert color pixels from (H,S,V) to (R,G,B). More... | |
CImg< Tuchar > | get_HSVtoRGB () const |
CImg< T > & | RGBtoHSL () |
Convert color pixels from (R,G,B) to (H,S,L). More... | |
CImg< Tfloat > | get_RGBtoHSL () const |
CImg< T > & | HSLtoRGB () |
Convert color pixels from (H,S,L) to (R,G,B). More... | |
CImg< Tuchar > | get_HSLtoRGB () const |
CImg< T > & | RGBtoHSI () |
Convert color pixels from (R,G,B) to (H,S,I). More... | |
CImg< Tfloat > | get_RGBtoHSI () const |
CImg< T > & | HSItoRGB () |
Convert color pixels from (H,S,I) to (R,G,B). More... | |
CImg< Tfloat > | get_HSItoRGB () const |
CImg< T > & | RGBtoYCbCr () |
Convert color pixels from (R,G,B) to (Y,Cb,Cr)_8. More... | |
CImg< Tuchar > | get_RGBtoYCbCr () const |
CImg< T > & | YCbCrtoRGB () |
Convert color pixels from (R,G,B) to (Y,Cb,Cr)_8. More... | |
CImg< Tuchar > | get_YCbCrtoRGB () const |
CImg< T > & | RGBtoYUV () |
Convert color pixels from (R,G,B) to (Y,U,V). More... | |
CImg< Tfloat > | get_RGBtoYUV () const |
CImg< T > & | YUVtoRGB () |
Convert color pixels from (Y,U,V) to (R,G,B). More... | |
CImg< Tuchar > | get_YUVtoRGB () const |
CImg< T > & | RGBtoCMY () |
Convert color pixels from (R,G,B) to (C,M,Y). More... | |
CImg< Tfloat > | get_RGBtoCMY () const |
CImg< T > & | CMYtoRGB () |
Convert (C,M,Y) pixels of a color image into the (R,G,B) color space. More... | |
CImg< Tuchar > | get_CMYtoRGB () const |
CImg< T > & | CMYtoCMYK () |
Convert color pixels from (C,M,Y) to (C,M,Y,K). More... | |
CImg< Tfloat > | get_CMYtoCMYK () const |
CImg< T > & | CMYKtoCMY () |
Convert (C,M,Y,K) pixels of a color image into the (C,M,Y) color space. More... | |
CImg< Tfloat > | get_CMYKtoCMY () const |
CImg< T > & | RGBtoXYZ () |
Convert color pixels from (R,G,B) to (X,Y,Z)_709. More... | |
CImg< Tfloat > | get_RGBtoXYZ () const |
CImg< T > & | XYZtoRGB () |
Convert (X,Y,Z)_709 pixels of a color image into the (R,G,B) color space. More... | |
CImg< Tuchar > | get_XYZtoRGB () const |
CImg< T > & | XYZtoLab () |
Convert (X,Y,Z)_709 pixels of a color image into the (L*,a*,b*) color space. More... | |
CImg< Tfloat > | get_XYZtoLab () const |
CImg< T > & | LabtoXYZ () |
Convert (L,a,b) pixels of a color image into the (X,Y,Z) color space. More... | |
CImg< Tfloat > | get_LabtoXYZ () const |
CImg< T > & | XYZtoxyY () |
Convert (X,Y,Z)_709 pixels of a color image into the (x,y,Y) color space. More... | |
CImg< Tfloat > | get_XYZtoxyY () const |
CImg< T > & | xyYtoXYZ () |
Convert (x,y,Y) pixels of a color image into the (X,Y,Z)_709 color space. More... | |
CImg< Tfloat > | get_xyYtoXYZ () const |
CImg< T > & | RGBtoLab () |
Convert a (R,G,B) image to a (L,a,b) one. More... | |
CImg< Tfloat > | get_RGBtoLab () const |
CImg< T > & | LabtoRGB () |
Convert a (L,a,b) image to a (R,G,B) one. More... | |
CImg< Tuchar > | get_LabtoRGB () const |
CImg< T > & | RGBtoxyY () |
Convert a (R,G,B) image to a (x,y,Y) one. More... | |
CImg< Tfloat > | get_RGBtoxyY () const |
CImg< T > & | xyYtoRGB () |
Convert a (x,y,Y) image to a (R,G,B) one. More... | |
CImg< Tuchar > | get_xyYtoRGB () const |
CImg< T > & | RGBtoCMYK () |
Convert a (R,G,B) image to a (C,M,Y,K) one. More... | |
CImg< Tfloat > | get_RGBtoCMYK () const |
CImg< T > & | CMYKtoRGB () |
Convert a (C,M,Y,K) image to a (R,G,B) one. More... | |
CImg< Tuchar > | get_CMYKtoRGB () const |
CImg< T > & | RGBtoBayer () |
Convert a (R,G,B) image to a Bayer-coded representation. More... | |
CImg< T > | get_RGBtoBayer () const |
CImg< T > & | BayertoRGB (const unsigned int interpolation_type=3) |
Convert a Bayer-coded image to a (R,G,B) color image. More... | |
CImg< Tuchar > | get_BayertoRGB (const unsigned int interpolation_type=3) const |
static CImg< Tuchar > | default_LUT256 () |
Return a default indexed color palette with 256 (R,G,B) entries. More... | |
static CImg< Tuchar > | rainbow_LUT256 () |
Return a rainbow indexed color palette with 256 (R,G,B) entries. More... | |
static CImg< Tuchar > | contrast_LUT256 () |
Return a contrasted indexed color palette with 256 (R,G,B) entries. More... | |
Filtering / Transforms | |
template<typename t > | |
CImg< T > & | correlate (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_correl=false) |
Compute the correlation of the instance image by a mask. More... | |
template<typename t > | |
CImg< _cimg_Ttfloat > | get_correlate (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_correl=false) const |
template<typename t > | |
CImg< T > & | convolve (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_convol=false) |
Compute the convolution of the image by a mask. More... | |
template<typename t > | |
CImg< _cimg_Ttfloat > | get_convolve (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_convol=false) const |
template<typename t > | |
CImg< T > & | erode (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_erosion=false) |
Return the erosion of the image by a structuring element. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_erode (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_erosion=false) const |
CImg< T > & | erode (const unsigned int n, const unsigned int cond=1) |
Erode the image by a square structuring element of size n. More... | |
CImg< T > | get_erode (const unsigned int n, const unsigned int cond=1) const |
template<typename t > | |
CImg< T > & | dilate (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_dilatation=false) |
Dilate the image by a structuring element. More... | |
template<typename t > | |
CImg< _cimg_Tt > | get_dilate (const CImg< t > &mask, const unsigned int cond=1, const bool weighted_dilatation=false) const |
CImg< T > & | dilate (const unsigned int n, const unsigned int cond=1) |
Dilate the image by a square structuring element of size n. More... | |
CImg< T > | get_dilate (const unsigned int n, const unsigned int cond=1) const |
CImg< T > & | deriche (const float sigma, const int order=0, const char axis='x', const bool cond=true) |
Compute the result of the Deriche filter. More... | |
CImg< Tfloat > | get_deriche (const float sigma, const int order=0, const char axis='x', const bool cond=true) const |
CImg< T > & | blur (const float sigmax, const float sigmay, const float sigmaz, const bool cond=true) |
Return a blurred version of the image, using a Canny-Deriche filter. More... | |
CImg< Tfloat > | get_blur (const float sigmax, const float sigmay, const float sigmaz, const bool cond=true) const |
CImg< T > & | blur (const float sigma, const bool cond=true) |
Return a blurred version of the image, using a Canny-Deriche filter. More... | |
CImg< Tfloat > | get_blur (const float sigma, const bool cond=true) const |
template<typename t > | |
CImg< T > & | blur_anisotropic (const CImg< t > &G, const float amplitude=60, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const unsigned int fast_approx=1) |
Blur the image anisotropically following a field of diffusion tensors. More... | |
template<typename t > | |
CImg< T > | get_blur_anisotropic (const CImg< t > &G, const float amplitude=60, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const unsigned int fast_approx=1) const |
CImg< T > & | blur_anisotropic (const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const unsigned int fast_approx=1) |
Blur an image following in an anisotropic way. More... | |
CImg< T > | get_blur_anisotropic (const float amplitude, const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const float dl=0.8f, const float da=30, const float gauss_prec=2, const unsigned int interpolation_type=0, const unsigned int fast_approx=1) const |
CImg< T > & | blur_bilateral (const float sigma_x, const float sigma_y, const float sigma_z, const float sigma_r, const int bgrid_x, const int bgrid_y, const int bgrid_z, const int bgrid_r, const bool interpolation_type=true) |
Blur an image using the bilateral filter. More... | |
CImg< T > | get_blur_bilateral (const float sigma_x, const float sigma_y, const float sigma_z, const float sigma_r, const int bgrid_x, const int bgrid_y, const int bgrid_z, const int bgrid_r, const bool interpolation_type=true) const |
CImg< T > & | blur_bilateral (const float sigma_s, const float sigma_r, const int bgrid_s=-33, const int bgrid_r=32, const bool interpolation_type=true) |
Blur an image using the bilateral filter. More... | |
CImg< T > | get_blur_bilateral (const float sigma_s, const float sigma_r, const int bgrid_s=-33, const int bgrid_r=32, const bool interpolation_type=true) const |
CImg< T > & | blur_patch (const float sigma_s, const float sigma_p, const unsigned int patch_size=3, const unsigned int lookup_size=4, const float smoothness=0, const bool fast_approx=true) |
Blur an image in its patch-based space. More... | |
CImg< T > | get_blur_patch (const float sigma_s, const float sigma_p, const unsigned int patch_size=3, const unsigned int lookup_size=4, const float smoothness=0, const bool fast_approx=true) const |
CImg< T > & | blur_median (const unsigned int n) |
Apply a median filter. More... | |
CImg< T > | get_blur_median (const unsigned int n) const |
CImg< T > & | sharpen (const float amplitude, const bool sharpen_type=false, const float edge=1, const float alpha=0, const float sigma=0) |
Sharpen image using anisotropic shock filters or inverse diffusion. More... | |
CImg< T > | get_sharpen (const float amplitude, const bool sharpen_type=false, const float edge=1, const float alpha=0, const float sigma=0) const |
CImgList< Tfloat > | get_gradient (const char *const axes=0, const int scheme=3) const |
Compute the list of images, corresponding to the XY-gradients of an image. More... | |
CImgList< Tfloat > | get_hessian (const char *const axes=0) const |
Get components of the Hessian matrix of an image. More... | |
CImg< T > & | structure_tensor (const unsigned int scheme=1) |
Compute the structure tensor field of an image. More... | |
CImg< Tfloat > | get_structure_tensor (const unsigned int scheme=1) const |
CImg< T > & | edge_tensors (const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const bool is_sqrt=false) |
Get a diffusion tensor for edge-preserving anisotropic smoothing of an image. More... | |
CImg< T > | get_edge_tensors (const float sharpness=0.7f, const float anisotropy=0.3f, const float alpha=0.6f, const float sigma=1.1f, const bool is_sqrt=false) const |
CImg< T > & | displacement_field (const CImg< T > &target, const float smooth=0.1f, const float precision=0.1f, const unsigned int nb_scales=0, const unsigned int itermax=1000, const bool backward=true) |
Estimate a displacement field between instance image and given target image. More... | |
CImg< Tfloat > | get_displacement_field (const CImg< T > &target, const float smoothness=0.1f, const float precision=0.1f, const unsigned int nb_scales=0, const unsigned int itermax=1000, const bool backward=true) const |
CImg< T > & | distance (const T isovalue, const float sizex=1, const float sizey=1, const float sizez=1, const bool compute_sqrt=true) |
Compute the Euclidean distance map to a shape of specified isovalue. More... | |
CImg< floatT > | get_distance (const T isovalue, const float sizex=1, const float sizey=1, const float sizez=1, const bool compute_sqrt=true) const |
CImg< T > & | distance_hamilton (const unsigned int nb_iter, const float band_size=0, const float precision=0.5f) |
Compute distance function from 0-valued isophotes by the application of an Hamilton-Jacobi PDE. More... | |
CImg< Tfloat > | get_distance_hamilton (const unsigned int nb_iter, const float band_size=0, const float precision=0.5f) const |
CImg< T > & | haar (const char axis, const bool invert=false, const unsigned int nb_scales=1) |
Compute the Haar multiscale wavelet transform (monodimensional version). More... | |
CImg< Tfloat > | get_haar (const char axis, const bool invert=false, const unsigned int nb_scales=1) const |
CImg< T > & | haar (const bool invert=false, const unsigned int nb_scales=1) |
Compute the Haar multiscale wavelet transform. More... | |
CImg< Tfloat > | get_haar (const bool invert=false, const unsigned int nb_scales=1) const |
CImgList< Tfloat > | get_FFT (const char axis, const bool invert=false) const |
Compute a 1D Fast Fourier Transform, along a specified axis. More... | |
CImgList< Tfloat > | get_FFT (const bool invert=false) const |
Compute a N-D Fast-Fourier Transform. More... | |
static float | _distance_f (const int x, const int i, const float gi2, const float fact) |
static int | _distance_sep (const int i, const int u, const int gi2, const int gu2, const float fact) |
static void | FFT (CImg< T > &real, CImg< T > &imag, const char axis, const bool invert=false) |
Compute a 1D Fast Fourier Transform, along a specified axis. More... | |
static void | FFT (CImg< T > &real, CImg< T > &imag, const bool invert=false) |
Compute a N-D Fast Fourier Transform. More... | |
3D Objects Management | |
CImg< T > & | translate_object3d (const float tx, const float ty=0, const float tz=0) |
Translate a 3D object. More... | |
CImg< Tfloat > | get_translate_object3d (const float tx, const float ty=0, const float tz=0) const |
CImg< T > & | translate_object3d () |
Translate a 3D object so that it becomes centered. More... | |
CImg< Tfloat > | get_translate_object3d () const |
CImg< T > & | resize_object3d (const float sx, const float sy=-100, const float sz=-100) |
Resize a 3D object. More... | |
CImg< Tfloat > | get_resize_object3d (const float sx, const float sy=-100, const float sz=-100) const |
CImg< T > | resize_object3d () const |
Resize a 3D object so that its max dimension if one. More... | |
CImg< Tfloat > | get_resize_object3d () const |
template<typename tf , typename tp , typename tff > | |
CImg< T > & | append_object3d (CImgList< tf > &primitives, const CImg< tp > &obj_vertices, const CImgList< tff > &obj_primitives) |
Append a 3D object to another one. More... | |
template<typename tf , typename tc , typename te > | |
CImg< floatT > | get_elevation3d (CImgList< tf > &primitives, CImgList< tc > &colors, const CImg< te > &elevation) const |
Create and return a 3D elevation of the instance image. More... | |
template<typename tf > | |
CImg< floatT > | get_isocurve3d (CImgList< tf > &primitives, const float isovalue, const int size_x=-100, const int size_y=-100) const |
Create and return a isocurve of the instance image as a 3D object. More... | |
template<typename tf > | |
CImg< floatT > | get_isosurface3d (CImgList< tf > &primitives, const float isovalue, const int size_x=-100, const int size_y=-100, const int size_z=-100) const |
Create and return a isosurface of the instance image as a 3D object. More... | |
template<typename tf , typename tfunc > | |
static CImg< floatT > | elevation3d (CImgList< tf > &primitives, const tfunc &func, const float x0, const float y0, const float x1, const float y1, const int size_x=256, const int size_y=256) |
Get elevation3d of a function. More... | |
template<typename tf > | |
static CImg< floatT > | elevation3d (CImgList< tf > &primitives, const char *const expression, const float x0, const float y0, const float x1, const float y1, const int sizex=256, const int sizey=256) |
template<typename tf , typename tfunc > | |
static CImg< floatT > | isocurve3d (CImgList< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float x1, const float y1, const int sizex=256, const int sizey=256) |
Get isocurve as a 3D object. More... | |
template<typename tf > | |
static CImg< floatT > | isocurve3d (CImgList< tf > &primitives, const char *const expression, const float isovalue, const float x0, const float y0, const float x1, const float y1, const int sizex=256, const int sizey=256) |
template<typename t > | |
static int | _marching2d_indice (const unsigned int edge, const CImg< t > &indices1, const CImg< t > &indices2, const unsigned int x, const unsigned int nx) |
template<typename tf , typename tfunc > | |
static CImg< floatT > | isosurface3d (CImgList< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const int size_x=32, const int size_y=32, const int size_z=32) |
Get isosurface as a 3D object. More... | |
template<typename tf > | |
static CImg< floatT > | isosurface3d (CImgList< tf > &primitives, const char *const expression, const float isovalue, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const int dx=32, const int dy=32, const int dz=32) |
template<typename t > | |
static int | _marching3d_indice (const unsigned int edge, const CImg< t > &indices1, const CImg< t > &indices2, const unsigned int x, const unsigned int y, const unsigned int nx, const unsigned int ny) |
template<typename tf > | |
static CImg< floatT > | box3d (CImgList< tf > &primitives, const float size_x=200, const float size_y=100, const float size_z=100) |
Create and return a 3D box object. More... | |
template<typename tf > | |
static CImg< floatT > | cone3d (CImgList< tf > &primitives, const float radius=50, const float size_z=100, const unsigned int subdivisions=24) |
Create and return a 3D cone. More... | |
template<typename tf > | |
static CImg< floatT > | cylinder3d (CImgList< tf > &primitives, const float radius=50, const float size_z=100, const unsigned int subdivisions=24) |
Create and return a 3D cylinder. More... | |
template<typename tf > | |
static CImg< floatT > | torus3d (CImgList< tf > &primitives, const float radius1=100, const float radius2=30, const unsigned int subdivisions1=24, const unsigned int subdivisions2=12) |
Create and return a 3D torus. More... | |
template<typename tf > | |
static CImg< floatT > | plane3d (CImgList< tf > &primitives, const float size_x=100, const float size_y=100, const unsigned int subdivisions_x=10, const unsigned int subdivisions_y=10, const bool double_sided=false) |
Create and return a 3D XY-plane. More... | |
template<typename tf > | |
static CImg< floatT > | sphere3d (CImgList< tf > &primitives, const float radius=50, const unsigned int subdivisions=3) |
Create and return a 3D sphere. More... | |
template<typename tf , typename t > | |
static CImg< floatT > | ellipsoid3d (CImgList< tf > &primitives, const CImg< t > &tensor, const unsigned int subdivisions=3) |
Create and return a 3D ellipsoid. More... | |
Data Input | |
CImg< T > & | select (CImgDisplay &disp, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) |
Simple interface to select a shape from an image. More... | |
CImg< T > & | select (const char *const title, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) |
Simple interface to select a shape from an image. More... | |
CImg< intT > | get_select (CImgDisplay &disp, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) const |
Simple interface to select a shape from an image. More... | |
CImg< intT > | get_select (const char *const title, const int select_type=2, unsigned int *const XYZ=0, const unsigned char *const color=0) const |
Simple interface to select a shape from an image. More... | |
CImg< intT > | _get_select (CImgDisplay &disp, const char *const title, const int coords_type, unsigned int *const XYZ, const unsigned char *const color, const int origX, const int origY, const int origZ) const |
CImg< intT > | get_select_graph (CImgDisplay &disp, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const |
Select sub-graph in a graph. More... | |
CImg< T > & | load (const char *const filename) |
Load an image from a file. More... | |
CImg< T > & | load_ascii (const char *const filename) |
Load an image from an ASCII file. More... | |
CImg< T > & | load_ascii (std::FILE *const file) |
Load an image from an ASCII file. More... | |
CImg< T > & | _load_ascii (std::FILE *const file, const char *const filename) |
CImg< T > & | load_dlm (const char *const filename) |
Load an image from a DLM file. More... | |
CImg< T > & | load_dlm (std::FILE *const file) |
Load an image from a DLM file. More... | |
CImg< T > & | _load_dlm (std::FILE *const file, const char *const filename) |
CImg< T > & | load_bmp (const char *const filename) |
Load an image from a BMP file. More... | |
CImg< T > & | load_bmp (std::FILE *const file) |
Load an image from a BMP file. More... | |
CImg< T > & | _load_bmp (std::FILE *const file, const char *const filename) |
CImg< T > & | load_jpeg (const char *const filename) |
Load an image from a JPEG file. More... | |
CImg< T > & | load_jpeg (std::FILE *const file) |
Load an image from a JPEG file. More... | |
CImg< T > & | _load_jpeg (std::FILE *const file, const char *const filename) |
CImg< T > & | load_magick (const char *const filename) |
Load an image from a file, using Magick++ library. More... | |
CImg< T > & | load_png (const char *const filename) |
Load an image from a PNG file. More... | |
CImg< T > & | load_png (std::FILE *const file) |
Load an image from a PNG file. More... | |
CImg< T > & | _load_png (std::FILE *const file, const char *const filename) |
CImg< T > & | load_pnm (const char *const filename) |
Load an image from a PNM file. More... | |
CImg< T > & | load_pnm (std::FILE *const file) |
Load an image from a PNM file. More... | |
CImg< T > & | _load_pnm (std::FILE *const file, const char *const filename) |
CImg< T > & | load_rgb (const char *const filename, const unsigned int dimw, const unsigned int dimh=1) |
Load an image from a RGB file. More... | |
CImg< T > & | load_rgb (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
Load an image from a RGB file. More... | |
CImg< T > & | _load_rgb (std::FILE *const file, const char *const filename, const unsigned int dimw, const unsigned int dimh) |
CImg< T > & | load_rgba (const char *const filename, const unsigned int dimw, const unsigned int dimh=1) |
Load an image from a RGBA file. More... | |
CImg< T > & | load_rgba (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
Load an image from a RGBA file. More... | |
CImg< T > & | _load_rgba (std::FILE *const file, const char *const filename, const unsigned int dimw, const unsigned int dimh) |
CImg< 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) |
Load an image from a TIFF file. More... | |
CImg< T > & | load_analyze (const char *const filename, float *const voxsize=0) |
Load an image from an ANALYZE7.5/NIFTI file. More... | |
CImg< T > & | load_analyze (std::FILE *const file, float *const voxsize=0) |
Load an image from an ANALYZE7.5/NIFTI file. More... | |
CImg< T > & | _load_analyze (std::FILE *const file, const char *const filename, float *const voxsize=0) |
CImg< T > & | load_cimg (const char *const filename, const char axis='z', const char align='p') |
Load an image (list) from a .cimg file. More... | |
CImg< T > & | load_cimg (std::FILE *const file, const char axis='z', const char align='p') |
Load an image (list) from a .cimg file. More... | |
CImg< 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, const char axis='z', const char align='p') |
Load a sub-image (list) from a .cimg file. More... | |
CImg< T > & | load_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, const char axis='z', const char align='p') |
Load a sub-image (list) from a non-compressed .cimg file. More... | |
CImg< T > & | load_inr (const char *const filename, float *const voxsize=0) |
Load an image from an INRIMAGE-4 file. More... | |
CImg< T > & | load_inr (std::FILE *const file, float *const voxsize=0) |
Load an image from an INRIMAGE-4 file. More... | |
CImg< T > & | _load_inr (std::FILE *const file, const char *const filename, float *const voxsize) |
CImg< T > & | load_pandore (const char *const filename) |
Load an image from a PANDORE file. More... | |
CImg< T > & | load_pandore (std::FILE *const file) |
Load an image from a PANDORE file. More... | |
CImg< T > & | _load_pandore (std::FILE *const file, const char *const filename) |
CImg< T > & | load_parrec (const char *const filename, const char axis='v', const char align='p') |
Load an image from a PAR-REC (Philips) file. More... | |
CImg< T > & | load_raw (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false) |
Load an image from a .RAW file. More... | |
CImg< T > & | load_raw (std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false) |
Load an image from a .RAW file. More... | |
CImg< T > & | _load_raw (std::FILE *const file, const char *const filename, const unsigned int sizex, const unsigned int sizey, const unsigned int sizez, const unsigned int sizev, const bool multiplexed, const bool invert_endianness) |
CImg< 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, const char axis='z', const char align='p') |
Load a video sequence using FFMPEG av's libraries. More... | |
CImg< T > & | 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, const char axis='z', const char align='p') |
Load an image sequence from a YUV file. More... | |
CImg< T > & | load_yuv (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, const char axis='z', const char align='p') |
Load an image sequence from a YUV file. More... | |
template<typename tf , typename tc > | |
CImg< T > & | load_off (const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors) |
Load a 3D object from a .OFF file. More... | |
template<typename tf , typename tc > | |
CImg< T > & | load_off (std::FILE *const file, CImgList< tf > &primitives, CImgList< tc > &colors) |
Load a 3D object from a .OFF file. More... | |
template<typename tf , typename tc > | |
CImg< T > & | _load_off (std::FILE *const file, const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors) |
CImg< T > & | load_ffmpeg_external (const char *const filename, const char axis='z', const char align='p') |
Load a video sequence using FFMPEG's external tool 'ffmpeg'. More... | |
CImg< T > & | load_graphicsmagick_external (const char *const filename) |
Load an image using GraphicsMagick's external tool 'gm'. More... | |
CImg< T > & | load_gzip_external (const char *const filename) |
Load a gzipped image file, using external tool 'gunzip'. More... | |
CImg< T > & | load_imagemagick_external (const char *const filename) |
Load an image using ImageMagick's external tool 'convert'. More... | |
CImg< T > & | load_medcon_external (const char *const filename) |
Load a DICOM image file, using XMedcon's external tool 'medcon'. More... | |
CImg< T > & | load_dcraw_external (const char *const filename) |
Load a RAW Color Camera image file, using external tool 'dcraw'. More... | |
CImg< T > & | load_other (const char *const filename) |
Load an image using ImageMagick's or GraphicsMagick's executables. More... | |
static CImg< T > | get_load (const char *const filename) |
static CImg< T > | get_load_ascii (const char *const filename) |
static CImg< T > | get_load_ascii (std::FILE *const file) |
static CImg< T > | get_load_dlm (const char *const filename) |
static CImg< T > | get_load_dlm (std::FILE *const file) |
static CImg< T > | get_load_bmp (const char *const filename) |
static CImg< T > | get_load_bmp (std::FILE *const file) |
static CImg< T > | get_load_jpeg (const char *const filename) |
static CImg< T > | get_load_jpeg (std::FILE *const file) |
static CImg< T > | get_load_magick (const char *const filename) |
static CImg< T > | get_load_png (const char *const filename) |
static CImg< T > | get_load_png (std::FILE *const file) |
static CImg< T > | get_load_pnm (const char *const filename) |
static CImg< T > | get_load_pnm (std::FILE *const file) |
static CImg< T > | get_load_rgb (const char *const filename, const unsigned int dimw, const unsigned int dimh=1) |
static CImg< T > | get_load_rgb (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
static CImg< T > | get_load_rgba (const char *const filename, const unsigned int dimw, const unsigned int dimh=1) |
static CImg< T > | get_load_rgba (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
static CImg< 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 CImg< T > | get_load_analyze (const char *const filename, float *const voxsize=0) |
static CImg< T > | get_load_analyze (std::FILE *const file, float *const voxsize=0) |
static CImg< T > | get_load_cimg (const char *const filename, const char axis='z', const char align='p') |
static CImg< T > | get_load_cimg (std::FILE *const file, const char axis='z', const char align='p') |
static CImg< 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, const char axis='z', const char align='p') |
static CImg< T > | get_load_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, const char axis='z', const char align='p') |
static CImg< T > | get_load_inr (const char *const filename, float *const voxsize=0) |
static CImg< T > | get_load_inr (std::FILE *const file, float *voxsize=0) |
static void | _load_inr_header (std::FILE *file, int out[8], float *const voxsize) |
static CImg< T > | get_load_pandore (const char *const filename) |
static CImg< T > | get_load_pandore (std::FILE *const file) |
static CImg< T > | get_load_parrec (const char *const filename, const char axis='v', const char align='p') |
static CImg< T > | get_load_raw (const char *const filename, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false) |
static CImg< T > | get_load_raw (std::FILE *const file, const unsigned int sizex, const unsigned int sizey=1, const unsigned int sizez=1, const unsigned int sizev=1, const bool multiplexed=false, const bool invert_endianness=false) |
static CImg< 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, const bool resume=false, const char axis='z', const char align='p') |
static CImg< 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, const char axis='z', const char align='p') |
static CImg< T > | get_load_yuv (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, const char axis='z', const char align='p') |
template<typename tf , typename tc > | |
static CImg< T > | get_load_off (const char *const filename, CImgList< tf > &primitives, CImgList< tc > &colors) |
template<typename tf , typename tc > | |
static CImg< T > | get_load_off (std::FILE *const file, CImgList< tf > &primitives, CImgList< tc > &colors) |
static CImg< T > | get_load_ffmpeg_external (const char *const filename, const char axis='z', const char align='p') |
static CImg< T > | get_load_graphicsmagick_external (const char *const filename) |
static CImg< T > | get_load_gzip_external (const char *const filename) |
static CImg< T > | get_load_imagemagick_external (const char *const filename) |
static CImg< T > | get_load_medcon_external (const char *const filename) |
static CImg< T > | get_load_dcraw_external (const char *const filename) |
static CImg< T > | get_load_other (const char *const filename) |
Data Output | |
const CImg< T > & | print (const char *title=0, const bool display_stats=true) const |
Display informations about the image on the standard error output. More... | |
const CImg< T > & | display (CImgDisplay &disp) const |
Display an image into a CImgDisplay window. More... | |
const CImg< T > & | display (CImgDisplay &disp, const bool display_info) const |
Display an image in a window with a title title , and wait a 'is_closed' or 'keyboard' event.. More... | |
const CImg< T > & | display (const char *const title=0, const bool display_info=true) const |
Display an image in a window with a title title , and wait a 'is_closed' or 'keyboard' event.. More... | |
const CImg< T > & | _display (CImgDisplay &disp, const char *const title, const bool display_info) const |
template<typename tp , typename tf , typename tc , typename to > | |
const CImg< T > & | display_object3d (CImgDisplay &disp, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp , typename tf , typename tc , typename to > | |
const CImg< T > & | display_object3d (const char *const title, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp , typename tf , typename tc > | |
const CImg< T > & | display_object3d (CImgDisplay &disp, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp , typename tf , typename tc > | |
const CImg< T > & | display_object3d (const char *const title, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp , typename tf > | |
const CImg< T > & | display_object3d (CImgDisplay &disp, const CImg< tp > &vertices, const CImgList< tf > &primitives, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp , typename tf > | |
const CImg< T > & | display_object3d (const char *const title, const CImg< tp > &vertices, const CImgList< tf > &primitives, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp > | |
const CImg< T > & | display_object3d (CImgDisplay &disp, const CImg< tp > &vertices, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp > | |
const CImg< T > & | display_object3d (const char *const title, const CImg< tp > &vertices, const bool centering=true, const int render_static=4, const int render_motion=1, const bool double_sided=true, const float focale=500, const float specular_light=0.2f, const float specular_shine=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
High-level interface for displaying a 3d object. More... | |
template<typename tp , typename tf , typename tc , typename to > | |
const CImg< T > & | _display_object3d (CImgDisplay &disp, const char *const title, const CImg< tp > &vertices, const CImgList< tf > &primitives, const CImgList< tc > &colors, const to &opacities, const bool centering, const int render_static, const int render_motion, const bool double_sided, const float focale, const float specular_light, const float specular_shine, const bool display_axes, float *const pose_matrix) const |
const CImg< T > & | display_graph (CImgDisplay &disp, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const |
High-level interface for displaying a graph. More... | |
const CImg< T > & | display_graph (const char *const title=0, const unsigned int plot_type=1, const unsigned int vertex_type=1, const char *const labelx=0, const double xmin=0, const double xmax=0, const char *const labely=0, const double ymin=0, const double ymax=0) const |
High-level interface for displaying a graph. More... | |
const CImg< T > & | save (const char *const filename, const int number=-1) const |
Save the image as a file. More... | |
const CImg< T > & | _save_ascii (std::FILE *const file, const char *const filename) const |
const CImg< T > & | save_ascii (const char *const filename) const |
Save the image as an ASCII file (ASCII Raw + simple header). More... | |
const CImg< T > & | save_ascii (std::FILE *const file) const |
Save the image as an ASCII file (ASCII Raw + simple header). More... | |
const CImg< T > & | _save_cpp (std::FILE *const file, const char *const filename) const |
const CImg< T > & | save_cpp (const char *const filename) const |
Save the image as a CPP source file. More... | |
const CImg< T > & | save_cpp (std::FILE *const file) const |
Save the image as a CPP source file. More... | |
const CImg< T > & | _save_dlm (std::FILE *const file, const char *const filename) const |
const CImg< T > & | save_dlm (const char *const filename) const |
Save the image as a DLM file. More... | |
const CImg< T > & | save_dlm (std::FILE *const file) const |
Save the image as a DLM file. More... | |
const CImg< T > & | _save_bmp (std::FILE *const file, const char *const filename) const |
const CImg< T > & | save_bmp (const char *const filename) const |
Save the image as a BMP file. More... | |
const CImg< T > & | save_bmp (std::FILE *const file) const |
Save the image as a BMP file. More... | |
const CImg< T > & | _save_jpeg (std::FILE *const file, const char *const filename, const unsigned int quality) const |
const CImg< T > & | save_jpeg (const char *const filename, const unsigned int quality=100) const |
Save a file in JPEG format. More... | |
const CImg< T > & | save_jpeg (std::FILE *const file, const unsigned int quality=100) const |
Save a file in JPEG format. More... | |
const CImg< T > & | save_magick (const char *const filename, const unsigned int bytes_per_pixel=0) const |
Save the image using built-in ImageMagick++ library. More... | |
const CImg< T > & | _save_png (std::FILE *const file, const char *const filename, const unsigned int bytes_per_pixel=0) const |
const CImg< T > & | save_png (const char *const filename, const unsigned int bytes_per_pixel=0) const |
Save a file in PNG format. More... | |
const CImg< T > & | save_png (std::FILE *const file, const unsigned int bytes_per_pixel=0) const |
Save a file in PNG format. More... | |
const CImg< T > & | _save_pnm (std::FILE *const file, const char *const filename, const unsigned int bytes_per_pixel=0) const |
const CImg< T > & | save_pnm (const char *const filename, const unsigned int bytes_per_pixel=0) const |
Save the image as a PNM file. More... | |
const CImg< T > & | save_pnm (std::FILE *const file, const unsigned int bytes_per_pixel=0) const |
Save the image as a PNM file. More... | |
const CImg< T > & | _save_rgb (std::FILE *const file, const char *const filename) const |
const CImg< T > & | save_rgb (const char *const filename) const |
Save the image as a RGB file. More... | |
const CImg< T > & | save_rgb (std::FILE *const file) const |
Save the image as a RGB file. More... | |
const CImg< T > & | _save_rgba (std::FILE *const file, const char *const filename) const |
const CImg< T > & | save_rgba (const char *const filename) const |
Save the image as a RGBA file. More... | |
const CImg< T > & | save_rgba (std::FILE *const file) const |
Save the image as a RGBA file. More... | |
const CImg< T > & | save_tiff (const char *const filename) const |
Save a file in TIFF format. More... | |
const CImg< T > & | save_analyze (const char *const filename, const float *const voxsize=0) const |
Save the image as an ANALYZE7.5 or NIFTI file. More... | |
const CImg< T > & | save_cimg (const char *const filename, const bool compress=false) const |
Save the image as a .cimg file. More... | |
const CImg< T > & | save_cimg (std::FILE *const file, const bool compress=false) const |
const CImg< 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 |
Insert the image into an existing .cimg file, at specified coordinates. More... | |
const CImg< T > & | save_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 |
Insert the image into an existing .cimg file, at specified coordinates. More... | |
const CImg< T > & | _save_inr (std::FILE *const file, const char *const filename, const float *const voxsize) const |
const CImg< T > & | save_inr (const char *const filename, const float *const voxsize=0) const |
Save the image as an INRIMAGE-4 file. More... | |
const CImg< T > & | save_inr (std::FILE *const file, const float *const voxsize=0) const |
Save the image as an INRIMAGE-4 file. More... | |
unsigned int | _save_pandore_header_length (unsigned int id, unsigned int *dims, const unsigned int colorspace) const |
const CImg< T > & | _save_pandore (std::FILE *const file, const char *const filename, const unsigned int colorspace) const |
const CImg< T > & | save_pandore (const char *const filename, const unsigned int colorspace=0) const |
Save the image as a PANDORE-5 file. More... | |
const CImg< T > & | save_pandore (std::FILE *const file, const unsigned int colorspace=0) const |
Save the image as a PANDORE-5 file. More... | |
const CImg< T > & | _save_raw (std::FILE *const file, const char *const filename, const bool multiplexed) const |
const CImg< T > & | save_raw (const char *const filename, const bool multiplexed=false) const |
Save the image as a RAW file. More... | |
const CImg< T > & | save_raw (std::FILE *const file, const bool multiplexed=false) const |
Save the image as a RAW file. More... | |
const CImg< 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 |
Save the image as a video sequence file, using FFMPEG library. More... | |
const CImg< T > & | save_yuv (const char *const filename, const bool rgb2yuv=true) const |
Save the image as a YUV video sequence file. More... | |
const CImg< T > & | save_yuv (std::FILE *const file, const bool rgb2yuv=true) const |
Save the image as a YUV video sequence file. More... | |
template<typename tf , typename tc > | |
const CImg< T > & | _save_off (std::FILE *const file, const char *const filename, const CImgList< tf > &primitives, const CImgList< tc > &colors) const |
template<typename tf , typename tc > | |
const CImg< T > & | save_off (const char *const filename, const CImgList< tf > &primitives, const CImgList< tc > &colors) const |
Save OFF files. More... | |
template<typename tf , typename tc > | |
const CImg< T > & | save_off (std::FILE *const file, const CImgList< tf > &primitives, const CImgList< tc > &colors) const |
Save OFF files. More... | |
const CImg< 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 |
Save the image as a video sequence file, using the external tool 'ffmpeg'. More... | |
const CImg< T > & | save_graphicsmagick_external (const char *const filename, const unsigned int quality=100) const |
Save the image using GraphicsMagick's gm. More... | |
const CImg< T > & | save_gzip_external (const char *const filename) const |
Save an image as a gzipped file, using external tool 'gzip'. More... | |
const CImg< T > & | save_imagemagick_external (const char *const filename, const unsigned int quality=100) const |
Save the image using ImageMagick's convert. More... | |
const CImg< T > & | save_medcon_external (const char *const filename) const |
Save an image as a Dicom file (need '(X)Medcon' : http://xmedcon.sourceforge.net ) More... | |
const CImg< T > & | save_other (const char *const filename, const unsigned int quality=100) const |
static void | save_empty_cimg (const char *const filename, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1) |
Save an empty .cimg file with specified dimensions. More... | |
static void | save_empty_cimg (std::FILE *const file, const unsigned int dx, const unsigned int dy=1, const unsigned int dz=1, const unsigned int dv=1) |
Save an empty .cimg file with specified dimensions. More... | |
static CImg< T > | logo40x38 () |
Class representing an image (up to 4 dimensions wide), each pixel being of type T
.
This is the main class of the CImg Library. It declares and constructs an image, allows access to its pixel values, and is able to perform various image operations.
A CImg image is defined as an instance of the container CImg<T>
, which contains a regular grid of pixels, each pixel value being of type T
. The image grid can have up to 4 dimensions : width, height, depth and number of channels. Usually, the three first dimensions are used to describe spatial coordinates (x,y,z)
, while the number of channels is rather used as a vector-valued dimension (it may describe the R,G,B color channels for instance). If you need a fifth dimension, you can use image lists CImgList<T>
rather than simple images CImg<T>
.
Thus, the CImg<T>
class is able to represent volumetric images of vector-valued pixels, as well as images with less dimensions (1D scalar signal, 2D color images, ...). Most member functions of the class CImg<T>
are designed to handle this maximum case of (3+1) dimensions.
Concerning the pixel value type T
: fully supported template types are the basic C++ types : unsigned char, char, short, unsigned int, int, unsigned long, long, float, double, ...
. Typically, fast image display can be done using CImg<unsigned char>
images, while complex image processing algorithms may be rather coded using CImg<float>
or CImg<double>
images that have floating-point pixel values. The default value for the template T is float
. Using your own template types may be possible. However, you will certainly have to define the complete set of arithmetic and logical operators for your class.
The CImg<T>
structure contains six fields :
T
).You can access these fields publicly although it is recommended to use the dedicated functions dimx(), dimy(), dimz(), dimv() and ptr() to do so. Image dimensions are not limited to a specific range (as long as you got enough available memory). A value of 1 usually means that the corresponding dimension is flat. If one of the dimensions is 0, or if the data pointer is null, the image is considered as empty. Empty images should not contain any pixel data and thus, will not be processed by CImg member functions (a CImgInstanceException will be thrown instead). Pixel data are stored in memory, in a non interlaced mode (See cimg_storage).
Declaring an image can be done by using one of the several available constructors. Here is a list of the most used :
CImg<char> img;
declares an empty image.CImg<unsigned char> img(128,128);
declares a 128x128 greyscale image with unsigned
char
pixel values.CImg<double> img(3,3);
declares a 3x3 matrix with double
coefficients.CImg<unsigned char> img(256,256,1,3);
declares a 256x256x1x3 (color) image (colors are stored as an image with three channels).CImg<double> img(128,128,128);
declares a 128x128x128 volumetric and greyscale image (with double
pixel values).CImg<> img(128,128,128,3);
declares a 128x128x128 volumetric color image (with float
pixels, which is the default value of the template parameter T
).CImg<> img(128,128,128,3,0);
declares a 128x128x128 volumetric color image with all pixel values to 0.CImg<unsigned char> img("image.jpg");
reads a JPEG color image from the file "image.jpg".CImg<float> img("analyze.hdr");
reads a volumetric image (ANALYZE7.5 format) from the file "analyze.hdr".Construct images from C-style arrays :
CImg<int> img(data_buffer,256,256);
constructs a 256x256 greyscale image from a int*
buffer data_buffer
(of size 256x256=65536).CImg<unsigned char> img(data_buffer,256,256,1,3,false);
constructs a 256x256 color image from a unsigned
char*
buffer data_buffer
(where R,G,B channels follow each others).CImg<unsigned char> img(data_buffer,256,256,1,3,true);
constructs a 256x256 color image from a unsigned
char*
buffer data_buffer
(where R,G,B channels are multiplexed).The complete list of constructors can be found here.
The CImg<T>
class contains a lot of functions that operates on images. Some of the most useful are :
typedef cimg::last<T,bool>::type boolT |
typedef cimg::last<T,char>::type charT |
typedef const 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 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 |
|
inline |
Destructor.
The destructor destroys the instance image.
Definition at line 9845 of file CImg.h.
|
inline |
Default constructor.
The default constructor creates an empty instance image.
Definition at line 9857 of file CImg.h.
|
inlineexplicit |
Constructs a new image with given size (dx
,dy
,dz
,dv
).
This constructors create an instance image of size (dx
,dy
,dz
,dv
) with pixels of type T
.
dx | Desired size along the X-axis, i.e. the width of the image. |
dy | Desired size along the Y-axis, i.e. the height of the image. |
dz | Desired size along the Z-axis, i.e. the depth of the image. |
dv | Desired size along the V-axis, i.e. the number of image channels dim. |
dx
,dy
,dz
or dv
is set to 0, the created image is empty and all has its dimensions set to 0. No memory for pixel data is then allocated.Definition at line 9874 of file CImg.h.
|
inline |
Construct an image with given size (dx
,dy
,dz
,dv
) and with pixel having a default value val
.
This constructor creates an instance image of size (dx
,dy
,dz
,dv
) with pixels of type T
and sets all pixel values of the created instance image to val
.
dx | Desired size along the X-axis, i.e. the width of the image. |
dy | Desired size along the Y-axis, i.e. the height of the image. |
dz | Desired size along the Z-axis, i.e. the depth of the image. |
dv | Desired size along the V-axis, i.e. the number of image channels dim . |
val | Default value for image pixels. |
Definition at line 9893 of file CImg.h.
|
inline |
Construct an image with given size (dx
,dy
,dz
,dv
) and with specified pixel values (int version).
Definition at line 9901 of file CImg.h.
|
inline |
Construct an image with given size (dx
,dy
,dz
,dv
) and with specified pixel values (double version).
Definition at line 9921 of file CImg.h.
|
inline |
Construct an image with given size and with specified values given in a string.
Definition at line 9928 of file CImg.h.
|
inline |
Construct an image from a raw memory buffer.
This constructor creates an instance image of size (dx
,dy
,dz
,dv
) and fill its pixel buffer by copying data values from the input raw pixel buffer data_buffer
.
Definition at line 9941 of file CImg.h.
|
inline |
Definition at line 9954 of file CImg.h.
|
inlineexplicit |
Construct an image from an image file.
This constructor creates an instance image by reading it from a file.
filename | Filename of the image file. |
Definition at line 9975 of file CImg.h.
Default copy constructor.
The default copy constructor creates a new instance image having same dimensions (width, height, depth, dim) and same pixel values as the input image img
.
img | The input image to copy. |
img
is non-shared or have a different template type t
!= T
, the default copy constructor allocates a new pixel buffer and copy the pixel data of img
into it. In this case, the pointers data to the pixel buffers of the two images are different and the resulting instance image is non-shared.img
is shared and has the same template type t
== T
, the default copy constructor does not allocate a new pixel buffer and the resulting instance image shares its pixel buffer with the input image img
, which means that modifying pixels of img
also modifies the created instance image.t
!= T
performs a crude static cast conversion of each pixel value from type t
to type T
.t
== T
is significantly faster. Definition at line 9998 of file CImg.h.
Definition at line 10006 of file CImg.h.
Advanced copy constructor.
The advanced copy constructor - as the default constructor CImg(const CImg< t >&) - creates a new instance image having same dimensions width, height, depth, dim and same pixel values as the input image img
. But it also decides if the created instance image shares its memory with the input image img
(if the input parameter shared
is set to true
) or not (if the input parameter shared
is set to false
).
img | The input image to copy. |
shared | Boolean flag that decides if the copy is shared on non-shared. |
img
is empty or has a different pixel type t
!= T
.img
is created, a new memory buffer is allocated for pixel data.img
is created, no extra memory is allocated and the pixel buffer of the instance image is the same as the one used by the input image img
. Definition at line 10030 of file CImg.h.
Definition at line 10042 of file CImg.h.
Construct an image using dimensions of another image.
Definition at line 10053 of file CImg.h.
Construct an image using dimensions of another image, and fill it with given values.
Definition at line 10059 of file CImg.h.
|
inline |
Construct an image using dimensions of another image, and fill it with given values.
Definition at line 10066 of file CImg.h.
|
inlineexplicit |
Construct an image from the content of a CImgDisplay instance.
Definition at line 10072 of file CImg.h.
|
inline |
Definition at line 27611 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d().
|
inline |
Definition at line 27619 of file CImg.h.
|
inline |
Definition at line 11211 of file CImg.h.
Referenced by CImg< uintT >::at().
|
inline |
Definition at line 11216 of file CImg.h.
|
inline |
Definition at line 11347 of file CImg.h.
Referenced by CImg< uintT >::atX(), and CImg< uintT >::get_warp().
|
inline |
Definition at line 11351 of file CImg.h.
|
inline |
Definition at line 11315 of file CImg.h.
Referenced by CImg< uintT >::atXY(), and CImg< uintT >::get_warp().
|
inline |
Definition at line 11319 of file CImg.h.
|
inline |
Definition at line 11281 of file CImg.h.
Referenced by CImg< uintT >::atXYZ(), CImg< uintT >::get_correlate(), CImg< uintT >::get_dilate(), CImg< uintT >::get_erode(), and CImg< uintT >::get_warp().
|
inline |
Definition at line 11286 of file CImg.h.
|
inline |
Definition at line 11246 of file CImg.h.
Referenced by CImg< uintT >::atXYZV(), CImg< uintT >::get_crop(), CImg< uintT >::get_resize(), and CImg< uintT >::get_warp().
|
inline |
Definition at line 11251 of file CImg.h.
Definition at line 18355 of file CImg.h.
Referenced by CImg< uintT >::autocrop().
|
inline |
Definition at line 11722 of file CImg.h.
Referenced by CImg< uintT >::cubic_atX().
|
inline |
Definition at line 11644 of file CImg.h.
Referenced by CImg< uintT >::cubic_atXY(), and CImg< uintT >::get_resize().
|
inline |
Definition at line 31479 of file CImg.h.
Referenced by CImg< uintT >::display().
|
inline |
Definition at line 31788 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d(), and CImg< uintT >::display_object3d().
|
inlinestatic |
Definition at line 20537 of file CImg.h.
Referenced by CImg< uintT >::get_distance().
|
inlinestatic |
Definition at line 20541 of file CImg.h.
Referenced by CImg< uintT >::get_distance().
|
inline |
Definition at line 25951 of file CImg.h.
Referenced by CImg< uintT >::draw_ellipse().
|
inline |
Definition at line 22950 of file CImg.h.
Referenced by CImg< uintT >::draw_line().
|
inline |
Definition at line 27625 of file CImg.h.
Referenced by CImg< uintT >::draw_object3d().
|
inline |
Definition at line 22232 of file CImg.h.
Referenced by CImg< uintT >::draw_point().
|
inline |
Definition at line 25699 of file CImg.h.
Referenced by CImg< uintT >::draw_polygon().
|
inline |
Definition at line 25790 of file CImg.h.
|
inline |
Definition at line 22095 of file CImg.h.
Referenced by CImg< uintT >::_draw_ellipse(), CImg< uintT >::_draw_polygon(), CImg< uintT >::_draw_scanline(), CImg< uintT >::_draw_triangle(), and CImg< uintT >::draw_circle().
|
inline |
Definition at line 22171 of file CImg.h.
|
inline |
Definition at line 23285 of file CImg.h.
Referenced by CImg< uintT >::_draw_spline(), and CImg< uintT >::draw_spline().
|
inline |
Definition at line 23329 of file CImg.h.
|
inline |
Definition at line 26435 of file CImg.h.
Referenced by CImg< uintT >::draw_text().
|
inline |
Definition at line 23774 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d(), and CImg< uintT >::draw_triangle().
|
inline |
Definition at line 17431 of file CImg.h.
Referenced by CImg< uintT >::get_permute_axes().
|
inline |
Definition at line 28616 of file CImg.h.
Referenced by CImg< uintT >::get_select().
|
inline |
Definition at line 11575 of file CImg.h.
Referenced by CImg< uintT >::get_warp(), and CImg< uintT >::linear_atX().
|
inline |
Definition at line 11537 of file CImg.h.
Referenced by CImg< uintT >::blur_anisotropic(), CImg< uintT >::get_warp(), and CImg< uintT >::linear_atXY().
|
inline |
Definition at line 11483 of file CImg.h.
Referenced by CImg< uintT >::blur_anisotropic(), CImg< uintT >::get_warp(), and CImg< uintT >::linear_atXYZ().
|
inline |
Definition at line 11402 of file CImg.h.
Referenced by CImg< uintT >::get_warp(), and CImg< uintT >::linear_atXYZV().
|
inline |
Definition at line 30425 of file CImg.h.
Referenced by CImg< uintT >::load_analyze().
|
inline |
Definition at line 29283 of file CImg.h.
Referenced by CImg< uintT >::load_ascii().
|
inline |
Definition at line 29379 of file CImg.h.
Referenced by CImg< uintT >::load_bmp().
|
inline |
Definition at line 29331 of file CImg.h.
Referenced by CImg< uintT >::load_dlm().
|
inline |
Definition at line 30659 of file CImg.h.
Referenced by CImg< uintT >::load_inr().
|
inlinestatic |
Definition at line 30613 of file CImg.h.
Referenced by CImg< uintT >::_load_inr().
|
inline |
Definition at line 29510 of file CImg.h.
Referenced by CImg< uintT >::load_jpeg().
|
inline |
Definition at line 31050 of file CImg.h.
Referenced by CImg< uintT >::load_off().
|
inline |
Definition at line 30718 of file CImg.h.
Referenced by CImg< uintT >::load_pandore().
|
inline |
Definition at line 29669 of file CImg.h.
Referenced by CImg< uintT >::load_png().
|
inline |
Definition at line 29829 of file CImg.h.
Referenced by CImg< uintT >::load_pnm().
|
inline |
Definition at line 30957 of file CImg.h.
Referenced by CImg< uintT >::load_raw().
|
inline |
Definition at line 29966 of file CImg.h.
Referenced by CImg< uintT >::load_rgb().
|
inline |
Definition at line 30012 of file CImg.h.
Referenced by CImg< uintT >::load_rgba().
Definition at line 13994 of file CImg.h.
|
inlinestatic |
Definition at line 21418 of file CImg.h.
Referenced by CImg< uintT >::isocurve3d().
|
inlinestatic |
Definition at line 21754 of file CImg.h.
Referenced by CImg< uintT >::isosurface3d().
|
inline |
Definition at line 13794 of file CImg.h.
Referenced by CImg< uintT >::_quicksort(), and CImg< uintT >::sort().
|
inline |
Definition at line 32357 of file CImg.h.
Referenced by CImg< uintT >::save_ascii().
|
inline |
Definition at line 32458 of file CImg.h.
Referenced by CImg< uintT >::save_bmp().
|
inline |
Definition at line 32386 of file CImg.h.
Referenced by CImg< uintT >::save_cpp().
|
inline |
Definition at line 32422 of file CImg.h.
Referenced by CImg< uintT >::save_dlm().
|
inline |
Definition at line 33328 of file CImg.h.
Referenced by CImg< uintT >::save_inr().
|
inline |
Definition at line 32554 of file CImg.h.
Referenced by CImg< uintT >::save_jpeg().
|
inline |
Definition at line 33607 of file CImg.h.
Referenced by CImg< uintT >::save_off().
|
inline |
Definition at line 33385 of file CImg.h.
Referenced by CImg< uintT >::save_pandore().
|
inline |
Definition at line 33372 of file CImg.h.
|
inline |
Definition at line 32714 of file CImg.h.
Referenced by CImg< uintT >::save_png().
|
inline |
Definition at line 32900 of file CImg.h.
Referenced by CImg< uintT >::save_pnm().
|
inline |
Definition at line 33543 of file CImg.h.
Referenced by CImg< uintT >::save_raw().
|
inline |
Definition at line 33002 of file CImg.h.
Referenced by CImg< uintT >::save_rgb().
|
inline |
Definition at line 33058 of file CImg.h.
Referenced by CImg< uintT >::save_rgba().
Definition at line 13605 of file CImg.h.
Referenced by CImg< uintT >::solve().
|
inline |
Compute the absolute value of each pixel value.
Definition at line 12570 of file CImg.h.
Referenced by CImg< uintT >::get_abs().
|
inline |
Compute the arc-cosine of each pixel value.
Definition at line 12640 of file CImg.h.
Referenced by CImg< uintT >::get_acos().
Append an image.
Definition at line 18642 of file CImg.h.
Referenced by CImg< uintT >::append_object3d().
Definition at line 18648 of file CImg.h.
|
inline |
Append a 3D object to another one.
Definition at line 21143 of file CImg.h.
|
inline |
Compute the arc-sinus of each pixel value.
Definition at line 12650 of file CImg.h.
Referenced by CImg< uintT >::get_asin().
|
inline |
In-place version of the default constructor/destructor.
This function replaces the instance image by an empty image.
Definition at line 10103 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< uintT >::_draw_text(), CImg< uintT >::_load_analyze(), CImg< uintT >::_load_ascii(), CImg< uintT >::_load_bmp(), CImg< uintT >::_load_dlm(), CImg< uintT >::_load_inr(), CImg< uintT >::_load_jpeg(), CImg< uintT >::_load_off(), CImg< uintT >::_load_pandore(), CImg< uintT >::_load_png(), CImg< uintT >::_load_pnm(), CImg< uintT >::_load_raw(), CImg< uintT >::_load_rgb(), CImg< uintT >::_load_rgba(), CImg< uintT >::append(), CImg< uintT >::append_object3d(), CImg< uintT >::assign(), CImg< uintT >::CImg(), CImg< uintT >::clear(), CImg< uintT >::load(), CImg< uintT >::load_cimg(), CImg< uintT >::load_magick(), CImg< uintT >::load_other(), CImg< uintT >::load_parrec(), CImg< uintT >::load_tiff(), CImg< uintT >::operator=(), CImg< uintT >::resize(), CImgDisplay::snapshot(), CImg< uintT >::solve(), and CImg< uintT >::transfer_to().
|
inline |
In-place version of the previous constructor.
This function replaces the instance image by a new image of size (dx
,dy
,dz
,dv
) with pixels of type T
.
dx | Desired size along the X-axis, i.e. the width of the image. |
dy | Desired size along the Y-axis, i.e. the height of the image. |
dz | Desired size along the Z-axis, i.e. the depth of the image. |
dv | Desired size along the V-axis, i.e. the number of image channels dim .
|
Definition at line 10125 of file CImg.h.
|
inline |
In-place version of the previous constructor.
This function replaces the instance image by a new image of size (dx
,dy
,dz
,dv
) with pixels of type T
and sets all pixel values of the instance image to val
.
dx | Desired size along the X-axis, i.e. the width of the image. |
dy | Desired size along the Y-axis, i.e. the height of the image. |
dz | Desired size along the Z-axis, i.e. the depth of the image. |
dv | Desired size along the V-axis, i.e. the number of image channels dim . |
val | Default value for image pixels. |
Definition at line 10151 of file CImg.h.
|
inline |
In-place version of the previous constructor.
Definition at line 10156 of file CImg.h.
|
inline |
In-place version of the previous constructor.
Definition at line 10164 of file CImg.h.
|
inline |
In-place version of the corresponding constructor.
Definition at line 10172 of file CImg.h.
|
inline |
In-place version of the previous constructor.
Definition at line 10179 of file CImg.h.
|
inline |
Definition at line 10188 of file CImg.h.
|
inline |
In-place version of the previous constructor, allowing to force the shared state of the instance image.
Definition at line 10208 of file CImg.h.
|
inline |
Definition at line 10217 of file CImg.h.
|
inline |
In-place version of the previous constructor.
This function replaces the instance image by the one that have been read from the given file.
filename | Filename of the image file.
|
Definition at line 10244 of file CImg.h.
In-place version of the default copy constructor.
This function assigns a copy of the input image img
to the current instance image.
img | The input image to copy. |
img
is copied into a new buffer becoming the new pixel buffer of the instance image, while the old pixel buffer is freed if necessary.img
is copied into the current (shared) pixel buffer of the instance image, modifying then the image referenced by the shared instance image. The instance image still remains shared. Definition at line 10259 of file CImg.h.
In-place version of the advanced constructor.
This function - as the simpler function assign(const CImg< t >&) - assigns a copy of the input image img
to the current instance image. But it also decides if the copy is shared (if the input parameter shared
is set to true
) or non-shared (if the input parameter shared
is set to false
).
img | The input image to copy. |
shared | Boolean flag that decides if the copy is shared or non-shared. |
img
is empty or has a different pixel type t
!= T
.img
is assigned, a new memory buffer is allocated for pixel data.img
is assigned, no extra memory is allocated and the pixel buffer of the instance image is the same as the one used by the input image img
. Definition at line 10277 of file CImg.h.
In-place version of the previous constructor.
Definition at line 10283 of file CImg.h.
In-place version of the previous constructor.
Definition at line 10311 of file CImg.h.
|
inline |
In-place version of the previous constructor.
Definition at line 10317 of file CImg.h.
|
inline |
|
inline |
Read a pixel value with Dirichlet boundary conditions.
Definition at line 11188 of file CImg.h.
|
inline |
Definition at line 11192 of file CImg.h.
|
inline |
Read a pixel value with Neumann boundary conditions.
Definition at line 11197 of file CImg.h.
|
inline |
Definition at line 11204 of file CImg.h.
|
inline |
Compute the arc-tangent of each pixel.
Definition at line 12660 of file CImg.h.
Referenced by CImg< uintT >::get_atan().
Compute the arc-tangent of each pixel.
Definition at line 12671 of file CImg.h.
Referenced by rflu_modrepair3d::angfnd(), rflu_modrepair3d::dihed(), CImg< uintT >::get_atan2(), rflu_modexactflow::rflu_computeexactflowculick(), rflu_modexactflow::rflu_computeexactflowpacoust(), rflu_initbcdatahardcode(), rflu_initflowhardcode(), rflu_modrindstates::rflu_setrindstatefarfieldperf(), and rflu_modrepair3d::snglar().
|
inline |
Read a pixel value with Dirichlet boundary conditions for the first coordinates (x
).
Definition at line 11324 of file CImg.h.
Referenced by CImg< uintT >::cubic_atX(), CImg< uintT >::get_warp(), and CImg< uintT >::linear_atX().
|
inline |
Definition at line 11328 of file CImg.h.
|
inline |
Read a pixel value with Neumann boundary conditions for the first coordinates (x
).
Definition at line 11333 of file CImg.h.
|
inline |
Definition at line 11340 of file CImg.h.
|
inline |
Read a pixel value with Dirichlet boundary conditions for the two first coordinates (x
,y
).
Definition at line 11292 of file CImg.h.
Referenced by CImg< uintT >::cubic_atXY(), CImg< uintT >::get_rotate(), CImg< uintT >::get_warp(), CImg< uintT >::linear_atX(), and CImg< uintT >::linear_atXY().
|
inline |
Definition at line 11296 of file CImg.h.
|
inline |
Read a pixel value with Neumann boundary conditions for the two first coordinates (x
,y
).
Definition at line 11301 of file CImg.h.
|
inline |
Definition at line 11308 of file CImg.h.
|
inline |
Read a pixel value with Dirichlet boundary conditions for the three first coordinates (x
,y
,z
).
Definition at line 11257 of file CImg.h.
Referenced by CImg< uintT >::get_correlate(), CImg< uintT >::get_dilate(), CImg< uintT >::get_erode(), CImg< uintT >::get_warp(), and CImg< uintT >::linear_atXYZ().
|
inline |
Definition at line 11262 of file CImg.h.
|
inline |
Read a pixel value with Neumann boundary conditions for the three first coordinates (x
,y
,z
).
Definition at line 11267 of file CImg.h.
|
inline |
Definition at line 11274 of file CImg.h.
|
inline |
Read a pixel value with Dirichlet boundary conditions.
Definition at line 11222 of file CImg.h.
Referenced by CImg< uintT >::get_warp(), and CImg< uintT >::linear_atXYZV().
|
inline |
Definition at line 11227 of file CImg.h.
|
inline |
Read a pixel value with Neumann boundary conditions.
Definition at line 11232 of file CImg.h.
|
inline |
Definition at line 11239 of file CImg.h.
|
inline |
Autocrop an image, regarding of the specified backround value.
Definition at line 18267 of file CImg.h.
Referenced by CImg< uintT >::get_autocrop().
|
inline |
Autocrop an image, regarding of the specified backround color.
Definition at line 18302 of file CImg.h.
Autocrop an image, regarding of the specified backround color.
Definition at line 18347 of file CImg.h.
|
inline |
Return a reference to the last image pixel (STL-compliant name).
Definition at line 11179 of file CImg.h.
|
inline |
Definition at line 11183 of file CImg.h.
|
inline |
Convert a Bayer-coded image to a (R,G,B) color image.
Definition at line 16494 of file CImg.h.
|
inline |
Return an iterator to the first image pixel.
Definition at line 11152 of file CImg.h.
Referenced by CImg< uintT >::print().
|
inline |
Definition at line 11156 of file CImg.h.
|
inline |
Return a blurred version of the image, using a Canny-Deriche filter.
Blur the image with an anisotropic exponential filter (Deriche filter of order 0).
Definition at line 19211 of file CImg.h.
Referenced by CImg< uintT >::blur(), CImg< uintT >::edge_tensors(), and CImg< uintT >::get_blur().
|
inline |
Return a blurred version of the image, using a Canny-Deriche filter.
Definition at line 19225 of file CImg.h.
|
inline |
Blur the image anisotropically following a field of diffusion tensors.
G | = Field of square roots of diffusion tensors/vectors used to drive the smoothing. |
is_tensor | = Tell if G is a tensor or a vector field. |
amplitude | = amplitude of the smoothing. |
dl | = spatial discretization. |
da | = angular discretization. |
gauss_prec | = precision of the gaussian function. |
interpolation | Used interpolation scheme (0 = nearest-neighbor, 1 = linear, 2 = Runge-Kutta) |
fast_approx | = Tell to use the fast approximation or not. |
Definition at line 19246 of file CImg.h.
Referenced by CImg< uintT >::blur_anisotropic(), and CImg< uintT >::get_blur_anisotropic().
|
inline |
Blur an image following in an anisotropic way.
Definition at line 19508 of file CImg.h.
|
inline |
Blur an image using the bilateral filter.
sigma_x | Amount of blur along the X-axis. |
sigma_y | Amount of blur along the Y-axis. |
sigma_z | Amount of blur along the Z-axis. |
sigma_r | Amount of blur along the range axis. |
bgrid_x | Size of the bilateral grid along the X-axis. |
bgrid_y | Size of the bilateral grid along the Y-axis. |
bgrid_z | Size of the bilateral grid along the Z-axis. |
bgrid_r | Size of the bilateral grid along the range axis. |
interpolation_type | Use interpolation for image slicing. |
Definition at line 19537 of file CImg.h.
Referenced by CImg< uintT >::blur_bilateral(), and CImg< uintT >::get_blur_bilateral().
|
inline |
Blur an image using the bilateral filter.
Definition at line 19621 of file CImg.h.
|
inline |
Apply a median filter.
Definition at line 19811 of file CImg.h.
|
inline |
Blur an image in its patch-based space.
Definition at line 19633 of file CImg.h.
|
inlinestatic |
Create and return a 3D box object.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
size_x | The width of the box (dimension along the X-axis). | |
size_y | The height of the box (dimension along the Y-axis). | |
size_z | The depth of the box (dimension along the Z-axis). |
|
inline |
Get a channel.
Definition at line 18457 of file CImg.h.
|
inline |
Get a set of channels.
Definition at line 18466 of file CImg.h.
Referenced by CImg< uintT >::channel().
|
inline |
In-place version of the default constructor (STL-compliant name).
This function is strictly equivalent to assign() and has been introduced for having a STL-compliant function name.
Definition at line 10090 of file CImg.h.
|
inline |
Convert (C,M,Y,K) pixels of a color image into the (C,M,Y) color space.
Definition at line 16211 of file CImg.h.
Referenced by CImg< uintT >::CMYKtoRGB().
|
inline |
Convert a (C,M,Y,K) image to a (R,G,B) one.
Definition at line 16455 of file CImg.h.
Referenced by CImg< uintT >::get_CMYKtoRGB().
|
inline |
|
inline |
Convert (C,M,Y) pixels of a color image into the (R,G,B) color space.
Definition at line 16154 of file CImg.h.
Referenced by CImg< uintT >::get_CMYtoRGB().
|
inline |
Get one column.
Definition at line 18403 of file CImg.h.
|
inline |
Get a set of columns.
Definition at line 18412 of file CImg.h.
Referenced by CImg< uintT >::column().
|
inlinestatic |
Create and return a 3D cone.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
radius | The radius of the cone basis. | |
size_z | The cone's height. | |
subdivisions | The number of basis angular subdivisions. |
Definition at line 21845 of file CImg.h.
|
inline |
Return true
if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y,z,v).
Definition at line 12055 of file CImg.h.
Referenced by CImg< uintT >::get_stats().
|
inline |
Return true
if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y,z).
Definition at line 12071 of file CImg.h.
|
inline |
Return true
if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x,y).
Definition at line 12085 of file CImg.h.
|
inline |
Return true
if specified referenced value is inside image boundaries. If true, returns pixel coordinates in (x).
Definition at line 12097 of file CImg.h.
|
inline |
Return true
if specified referenced value is inside the image boundaries.
Definition at line 12105 of file CImg.h.
|
inline |
Return true
if pixel (x,y,z,v) is inside image boundaries.
Definition at line 12049 of file CImg.h.
Return a contrasted indexed color palette with 256 (R,G,B) entries.
Definition at line 15756 of file CImg.h.
|
inline |
Compute the convolution of the image by a mask.
The result res
of the convolution of an image img
by a mask mask
is defined to be :
res(x,y,z) = sum_{i,j,k} img(x-i,y-j,z-k)*mask(i,j,k)
mask | = the correlation kernel. |
cond | = the border condition type (0=zero, 1=dirichlet) |
weighted_convol | = enable local normalization. |
Definition at line 18899 of file CImg.h.
|
inline |
Compute the correlation of the instance image by a mask.
The correlation of the instance image *this
by the mask mask
is defined to be :
res(x,y,z) = sum_{i,j,k} (*this)(x+i,y+j,z+k)*mask(i,j,k)
mask | = the correlation kernel. |
cond | = the border condition type (0=zero, 1=dirichlet) |
weighted_correl | = enable local normalization. |
Definition at line 18685 of file CImg.h.
|
inline |
Compute the cosinus of each pixel value.
Definition at line 12580 of file CImg.h.
Referenced by CImg< uintT >::get_cos().
|
inline |
Compute the hyperbolic cosine of each pixel value.
Definition at line 12610 of file CImg.h.
Referenced by CImg< uintT >::get_cosh().
|
inline |
Get a square region of the image.
x0 | = X-coordinate of the upper-left crop rectangle corner. |
y0 | = Y-coordinate of the upper-left crop rectangle corner. |
z0 | = Z-coordinate of the upper-left crop rectangle corner. |
v0 | = V-coordinate of the upper-left crop rectangle corner. |
x1 | = X-coordinate of the lower-right crop rectangle corner. |
y1 | = Y-coordinate of the lower-right crop rectangle corner. |
z1 | = Z-coordinate of the lower-right crop rectangle corner. |
v1 | = V-coordinate of the lower-right crop rectangle corner. |
border_condition | = Dirichlet (false) or Neumann border conditions. |
Definition at line 18184 of file CImg.h.
Referenced by CImg< uintT >::autocrop(), and CImg< uintT >::crop().
|
inline |
Get a rectangular part of the instance image.
x0 | = X-coordinate of the upper-left crop rectangle corner. |
y0 | = Y-coordinate of the upper-left crop rectangle corner. |
z0 | = Z-coordinate of the upper-left crop rectangle corner. |
x1 | = X-coordinate of the lower-right crop rectangle corner. |
y1 | = Y-coordinate of the lower-right crop rectangle corner. |
z1 | = Z-coordinate of the lower-right crop rectangle corner. |
border_condition | = determine the type of border condition if some of the desired region is outside the image. |
Definition at line 18218 of file CImg.h.
|
inline |
Get a rectangular part of the instance image.
x0 | = X-coordinate of the upper-left crop rectangle corner. |
y0 | = Y-coordinate of the upper-left crop rectangle corner. |
x1 | = X-coordinate of the lower-right crop rectangle corner. |
y1 | = Y-coordinate of the lower-right crop rectangle corner. |
border_condition | = determine the type of border condition if some of the desired region is outside the image. |
Definition at line 18239 of file CImg.h.
|
inline |
Get a rectangular part of the instance image.
x0 | = X-coordinate of the upper-left crop rectangle corner. |
x1 | = X-coordinate of the lower-right crop rectangle corner. |
border_condition | = determine the type of border condition if some of the desired region is outside the image. |
Definition at line 18258 of file CImg.h.
Compute the cross product between two 3d vectors.
Definition at line 13457 of file CImg.h.
Referenced by CImg< uintT >::get_cross().
|
inline |
Read a pixel value using cubic interpolation and Dirichlet boundary conditions (first coordinates).
Definition at line 11697 of file CImg.h.
|
inline |
Read a pixel value using cubic interpolation and Neumann boundary conditions (first coordinates).
Definition at line 11715 of file CImg.h.
|
inline |
Read a pixel value using cubic interpolation and Dirichlet boundary conditions.
Definition at line 11590 of file CImg.h.
Referenced by CImg< uintT >::get_resize(), and CImg< uintT >::get_rotate().
|
inline |
Read a pixel value using cubic interpolation and Neumann boundary conditions.
Definition at line 11637 of file CImg.h.
|
inline |
Cut values of the instance image between value_min
and value_max
.
value_min | Minimum desired value of the resulting image. |
value_max | Maximum desired value of the resulting image. |
CImg<T>::get_cut()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15172 of file CImg.h.
Referenced by CImg< uintT >::get_cut(), and CImg< uintT >::sharpen().
|
inlinestatic |
Create and return a 3D cylinder.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
radius | The radius of the cylinder basis. | |
size_z | The cylinder's height. | |
subdivisions | The number of basis angular subdivisions. |
Definition at line 21882 of file CImg.h.
Return a default indexed color palette with 256 (R,G,B) entries.
Definition at line 15715 of file CImg.h.
|
inline |
Compute the result of the Deriche filter.
The Canny-Deriche filter is a recursive algorithm allowing to compute blurred derivatives of order 0,1 or 2 of an image.
Definition at line 19118 of file CImg.h.
Referenced by CImg< uintT >::blur(), and CImg< uintT >::get_deriche().
|
inline |
Return the determinant of the image, viewed as a matrix.
Definition at line 13227 of file CImg.h.
Referenced by CImg< uintT >::invert().
|
inline |
|
inlinestatic |
Return a 1x1 diagonal matrix with specified coefficients.
Definition at line 14357 of file CImg.h.
|
inlinestatic |
Return a 2x2 diagonal matrix with specified coefficients.
Definition at line 14362 of file CImg.h.
|
inlinestatic |
Return a 3x3 diagonal matrix with specified coefficients.
Definition at line 14367 of file CImg.h.
|
inlinestatic |
Return a 4x4 diagonal matrix with specified coefficients.
Definition at line 14372 of file CImg.h.
|
inlinestatic |
Return a 5x5 diagonal matrix with specified coefficients.
Definition at line 14377 of file CImg.h.
|
inlinestatic |
Compute minimal path in a graph, using the Dijkstra algorithm.
distance | An object having operator()(unsigned int i, unsigned int j) which returns distance between two nodes (i,j). |
nb_nodes | Number of graph nodes. |
starting_node | Indice of the starting node. |
ending_node | Indice of the ending node (set to ~0U to ignore ending node). |
previous | Array that gives the previous node indice in the path to the starting node (optional parameter). |
Definition at line 14048 of file CImg.h.
Referenced by CImg< uintT >::dijkstra(), and CImg< uintT >::get_dijkstra().
|
inlinestatic |
Return minimal path in a graph, using the Dijkstra algorithm.
Definition at line 14097 of file CImg.h.
|
inline |
Return minimal path in a graph, using the Dijkstra algorithm.
Instance image corresponds to the adjacency matrix of the graph.
starting_node | Indice of the starting node. |
previous | Array that gives the previous node indice in the path to the starting node (optional parameter). |
Definition at line 14111 of file CImg.h.
|
inline |
Return minimal path in a graph, using the Dijkstra algorithm.
Definition at line 14124 of file CImg.h.
|
inline |
Dilate the image by a structuring element.
Definition at line 19015 of file CImg.h.
|
inline |
Dilate the image by a square structuring element of size n.
Definition at line 19099 of file CImg.h.
|
inline |
Return the number of vector channels of the instance image (size along the V-axis).
Definition at line 11061 of file CImg.h.
Referenced by CImg< uintT >::_atXYZV(), CImg< uintT >::_autocrop(), CImg< uintT >::_get_select(), CImg< uintT >::_load_analyze(), CImg< uintT >::_save_png(), CImg< uintT >::atXYZV(), CImg< uintT >::containsXYZV(), CImg< uintT >::display_graph(), CImg< uintT >::draw_image(), CImg< uintT >::draw_rectangle(), CImg< uintT >::get_columns(), CImg< uintT >::get_crop(), CImg< uintT >::get_lines(), CImg< uintT >::get_resize(), CImg< uintT >::get_slices(), CImg< uintT >::set_linear_atXY(), CImg< uintT >::set_linear_atXYZ(), and CImg< uintT >::translate().
|
inline |
Return the number of columns of the instance image (size along the X-axis, i.e image width).
Definition at line 11046 of file CImg.h.
Referenced by CImg< uintT >::_atX(), CImg< uintT >::_atXY(), CImg< uintT >::_atXYZ(), CImg< uintT >::_atXYZV(), CImg< uintT >::_autocrop(), CImg< uintT >::_cubic_atX(), CImg< uintT >::_cubic_atXY(), CImg< uintT >::_display(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_polygon(), CImg< uintT >::_draw_scanline(), CImg< uintT >::_get_select(), CImg< uintT >::_load_analyze(), CImg< uintT >::_LU(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_png(), CImg< uintT >::atX(), CImg< uintT >::atXY(), CImg< uintT >::atXYZ(), CImg< uintT >::atXYZV(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::display_graph(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_circle(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_grid(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_plasma(), CImg< uintT >::draw_point(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_triangle(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_channels(), CImg< uintT >::get_correlate(), CImg< uintT >::get_crop(), CImg< uintT >::get_dilate(), CImg< uintT >::get_distance(), CImg< uintT >::get_erode(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_lines(), CImg< uintT >::get_resize(), CImg< uintT >::get_rotate(), CImg< uintT >::get_slices(), CImg< uintT >::set_linear_atXY(), CImg< uintT >::set_linear_atXYZ(), CImg< uintT >::SVD(), CImg< uintT >::translate(), and CImg< uintT >::transpose().
|
inline |
Return the number of rows of the instance image (size along the Y-axis, i.e image height).
Definition at line 11051 of file CImg.h.
Referenced by CImg< uintT >::_atXY(), CImg< uintT >::_atXYZ(), CImg< uintT >::_atXYZV(), CImg< uintT >::_autocrop(), CImg< uintT >::_cubic_atXY(), CImg< uintT >::_display(), CImg< uintT >::_draw_ellipse(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_polygon(), CImg< uintT >::_draw_triangle(), CImg< uintT >::_get_select(), CImg< uintT >::_load_analyze(), CImg< uintT >::_load_bmp(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_png(), CImg< uintT >::atXY(), CImg< uintT >::atXYZ(), CImg< uintT >::atXYZV(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::display_graph(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_circle(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_grid(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_plasma(), CImg< uintT >::draw_point(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_triangle(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_channels(), CImg< uintT >::get_columns(), CImg< uintT >::get_correlate(), CImg< uintT >::get_crop(), CImg< uintT >::get_dilate(), CImg< uintT >::get_distance(), CImg< uintT >::get_erode(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_resize(), CImg< uintT >::get_rotate(), CImg< uintT >::get_slices(), CImg< uintT >::set_linear_atXY(), CImg< uintT >::set_linear_atXYZ(), CImg< uintT >::SVD(), and CImg< uintT >::translate().
|
inline |
Return the number of slices of the instance image (size along the Z-axis).
Definition at line 11056 of file CImg.h.
Referenced by CImg< uintT >::_atXYZ(), CImg< uintT >::_atXYZV(), CImg< uintT >::_autocrop(), CImg< uintT >::_display(), CImg< uintT >::_get_select(), CImg< uintT >::_load_analyze(), CImg< uintT >::atXYZ(), CImg< uintT >::atXYZV(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::display_graph(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_point(), CImg< uintT >::draw_rectangle(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_channels(), CImg< uintT >::get_columns(), CImg< uintT >::get_correlate(), CImg< uintT >::get_crop(), CImg< uintT >::get_dilate(), CImg< uintT >::get_distance(), CImg< uintT >::get_erode(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_lines(), CImg< uintT >::get_resize(), CImg< uintT >::set_linear_atXY(), CImg< uintT >::set_linear_atXYZ(), and CImg< uintT >::translate().
|
inline |
Estimate a displacement field between instance image and given target image.
backward | : if false, match I2(X+U(X)) = I1(X), else match I2(X) = I1(X-U(X)). |
Definition at line 20331 of file CImg.h.
|
inline |
Display an image into a CImgDisplay window.
Definition at line 31463 of file CImg.h.
Referenced by cimg_library::cimg::dialog().
|
inline |
Display an image in a window with a title title
, and wait a 'is_closed' or 'keyboard' event.
.
Definition at line 31469 of file CImg.h.
|
inline |
Display an image in a window with a title title
, and wait a 'is_closed' or 'keyboard' event.
.
Definition at line 31474 of file CImg.h.
|
inline |
High-level interface for displaying a graph.
Definition at line 32133 of file CImg.h.
Referenced by CImg< uintT >::display_graph().
|
inline |
High-level interface for displaying a graph.
Definition at line 32239 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31664 of file CImg.h.
Referenced by CImg< uintT >::display_object3d().
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31681 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31699 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31715 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31731 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31746 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31761 of file CImg.h.
|
inline |
High-level interface for displaying a 3d object.
Definition at line 31775 of file CImg.h.
|
inline |
Compute the Euclidean distance map to a shape of specified isovalue.
Definition at line 20441 of file CImg.h.
Referenced by CImg< uintT >::dijkstra(), rflu_modextractflowdata::rflu_extractflowdatalinefarf(), and turb_coranswalldistov().
|
inline |
Compute distance function from 0-valued isophotes by the application of an Hamilton-Jacobi PDE.
Definition at line 20547 of file CImg.h.
Referenced by CImg< uintT >::get_distance_hamilton().
Pointwise division between two images.
Definition at line 12704 of file CImg.h.
Referenced by CImg< uintT >::div(), and CImg< uintT >::get_div().
Return the dot product of the current vector/matrix with the vector/matrix img
.
Definition at line 13256 of file CImg.h.
Referenced by CImg< uintT >::magnitude().
|
inline |
Draw a colored arrow in the instance image.
x0 | X-coordinate of the starting arrow point (tail). |
y0 | Y-coordinate of the starting arrow point (tail). |
x1 | X-coordinate of the ending arrow point (head). |
y1 | Y-coordinate of the ending arrow point (head). |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
angle | Aperture angle of the arrow head (optional). |
length | Length of the arrow head. If negative, describes a percentage of the arrow length (optional). |
opacity | Drawing opacity (optional). |
pattern | An integer whose bits describe the line pattern (optional). |
Definition at line 23057 of file CImg.h.
Referenced by CImg< uintT >::_get_select(), CImg< uintT >::draw_arrow(), CImg< uintT >::draw_axis(), and CImg< uintT >::draw_quiver().
|
inline |
Draw a colored arrow in the instance image.
Definition at line 23081 of file CImg.h.
|
inline |
Draw a labeled horizontal axis on the instance image.
xvalues | Lower bound of the x-range. |
y | Y-coordinate of the horizontal axis in the instance image. |
color | Array of dimv() values of type T , defining the drawing color. |
opacity | Drawing opacity. |
pattern | Drawing pattern. |
opacity_out | Drawing opacity of 'outside' axes. |
precision==0
, precision of the labels is automatically computed. Definition at line 26565 of file CImg.h.
Referenced by CImg< uintT >::draw_axis().
|
inline |
Draw a labeled horizontal axis on the instance image.
Definition at line 26589 of file CImg.h.
|
inline |
Draw a labeled vertical axis on the instance image.
Definition at line 26597 of file CImg.h.
|
inline |
Draw a labeled vertical axis on the instance image.
Definition at line 26625 of file CImg.h.
|
inline |
Draw a labeled horizontal+vertical axis on the instance image.
Definition at line 26633 of file CImg.h.
|
inline |
Draw a labeled horizontal+vertical axis on the instance image.
Definition at line 26663 of file CImg.h.
|
inline |
Draw a labeled horizontal+vertical axis on the instance image.
Definition at line 26671 of file CImg.h.
|
inline |
Draw a labeled horizontal+vertical axis on the instance image.
Definition at line 26690 of file CImg.h.
|
inline |
Draw a filled circle.
x0 | X-coordinate of the circle center. |
y0 | Y-coordinate of the circle center. |
radius | Circle radius. |
color | Array of dimv() values of type T , defining the drawing color. |
opacity | Drawing opacity. |
Definition at line 25869 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d(), CImg< uintT >::draw_circle(), and CImg< uintT >::draw_graph().
|
inline |
Draw a filled circle.
Definition at line 25899 of file CImg.h.
|
inline |
Draw an outlined circle.
x0 | X-coordinate of the circle center. |
y0 | Y-coordinate of the circle center. |
radius | Circle radius. |
color | Array of dimv() values of type T , defining the drawing color. |
opacity | Drawing opacity. |
Definition at line 25913 of file CImg.h.
|
inline |
Draw an outlined circle.
Definition at line 25943 of file CImg.h.
|
inline |
Draw a filled ellipse.
x0 | = X-coordinate of the ellipse center. |
y0 | = Y-coordinate of the ellipse center. |
r1 | = First radius of the ellipse. |
r2 | = Second radius of the ellipse. |
angle | = Angle of the first radius. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 26017 of file CImg.h.
Referenced by CImg< uintT >::_get_select(), and CImg< uintT >::draw_ellipse().
|
inline |
Draw a filled ellipse.
Definition at line 26024 of file CImg.h.
|
inline |
Draw a filled ellipse.
x0 | = X-coordinate of the ellipse center. |
y0 | = Y-coordinate of the ellipse center. |
tensor | = Diffusion tensor describing the ellipse. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 26038 of file CImg.h.
|
inline |
Draw a filled ellipse.
Definition at line 26047 of file CImg.h.
|
inline |
Draw an outlined ellipse.
x0 | = X-coordinate of the ellipse center. |
y0 | = Y-coordinate of the ellipse center. |
r1 | = First radius of the ellipse. |
r2 | = Second radius of the ellipse. |
ru | = X-coordinate of the orientation vector related to the first radius. |
rv | = Y-coordinate of the orientation vector related to the first radius. |
color | = array of dimv() values of type T , defining the drawing color. |
pattern | = If zero, the ellipse is filled, else pattern is an integer whose bits describe the outline pattern. |
opacity | = opacity of the drawing. |
Definition at line 26065 of file CImg.h.
|
inline |
Draw an outlined ellipse.
Definition at line 26073 of file CImg.h.
|
inline |
Draw an outlined ellipse.
x0 | = X-coordinate of the ellipse center. |
y0 | = Y-coordinate of the ellipse center. |
tensor | = Diffusion tensor describing the ellipse. |
color | = array of dimv() values of type T , defining the drawing color. |
pattern | = If zero, the ellipse is filled, else pattern is an integer whose bits describe the outline pattern. |
opacity | = opacity of the drawing. |
Definition at line 26088 of file CImg.h.
|
inline |
Draw an outlined ellipse.
Definition at line 26098 of file CImg.h.
|
inline |
Draw a 3D filled region starting from a point (x
,y
,\ z) in the instance image.
x | X-coordinate of the starting point of the region to fill. |
y | Y-coordinate of the starting point of the region to fill. |
z | Z-coordinate of the starting point of the region to fill. |
color | An array of dimv() values of type T , defining the drawing color. |
region | Image that will contain the mask of the filled region mask, as an output. |
sigma | Tolerance concerning neighborhood values. |
opacity | Opacity of the drawing. |
high_connexity | Tells if 8-connexity must be used (only for 2D images). |
region
is initialized with the binary mask of the filled region. Definition at line 26929 of file CImg.h.
Referenced by CImg< uintT >::draw_fill().
|
inline |
Draw a 3D filled region starting from a point (x
,y
,\ z) in the instance image.
Definition at line 27112 of file CImg.h.
|
inline |
Draw a 3D filled region starting from a point (x
,y
,\ z) in the instance image.
x | = X-coordinate of the starting point of the region to fill. |
y | = Y-coordinate of the starting point of the region to fill. |
z | = Z-coordinate of the starting point of the region to fill. |
color | = an array of dimv() values of type T , defining the drawing color. |
sigma | = tolerance concerning neighborhood values. |
opacity | = opacity of the drawing. |
Definition at line 27128 of file CImg.h.
|
inline |
Draw a 3D filled region starting from a point (x
,y
,\ z) in the instance image.
Definition at line 27137 of file CImg.h.
|
inline |
Draw a 2D filled region starting from a point (x
,y
) in the instance image.
x | = X-coordinate of the starting point of the region to fill. |
y | = Y-coordinate of the starting point of the region to fill. |
color | = an array of dimv() values of type T , defining the drawing color. |
sigma | = tolerance concerning neighborhood values. |
opacity | = opacity of the drawing. |
Definition at line 27152 of file CImg.h.
|
inline |
Draw a 2D filled region starting from a point (x
,y
) in the instance image.
Definition at line 27161 of file CImg.h.
|
inline |
Draw a 1D gaussian function in the instance image.
xc | = X-coordinate of the gaussian center. |
sigma | = Standard variation of the gaussian distribution. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 27328 of file CImg.h.
Referenced by CImg< uintT >::draw_gaussian().
|
inline |
Draw a 1D gaussian function in the instance image.
Definition at line 27349 of file CImg.h.
|
inline |
Draw an anisotropic 2D gaussian function.
xc | = X-coordinate of the gaussian center. |
yc | = Y-coordinate of the gaussian center. |
tensor | = 2x2 covariance matrix. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 27363 of file CImg.h.
|
inline |
Draw an anisotropic 2D gaussian function.
Definition at line 27396 of file CImg.h.
|
inline |
Draw an anisotropic 2D gaussian function.
Definition at line 27403 of file CImg.h.
|
inline |
Draw an anisotropic 2D gaussian function.
Definition at line 27415 of file CImg.h.
|
inline |
Draw an isotropic 2D gaussian function.
xc | = X-coordinate of the gaussian center. |
yc | = Y-coordinate of the gaussian center. |
sigma | = standard variation of the gaussian distribution. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 27429 of file CImg.h.
|
inline |
Draw an isotropic 2D gaussian function.
Definition at line 27436 of file CImg.h.
|
inline |
Draw an anisotropic 3D gaussian function.
xc | = X-coordinate of the gaussian center. |
yc | = Y-coordinate of the gaussian center. |
zc | = Z-coordinate of the gaussian center. |
tensor | = 3x3 covariance matrix. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 27451 of file CImg.h.
|
inline |
Draw an anisotropic 3D gaussian function.
Definition at line 27477 of file CImg.h.
|
inline |
Draw an isotropic 3D gaussian function.
xc | = X-coordinate of the gaussian center. |
yc | = Y-coordinate of the gaussian center. |
zc | = Z-coordinate of the gaussian center. |
sigma | = standard variation of the gaussian distribution. |
color | = array of dimv() values of type T , defining the drawing color. |
opacity | = opacity of the drawing. |
Definition at line 27492 of file CImg.h.
|
inline |
Draw an isotropic 3D gaussian function.
Definition at line 27499 of file CImg.h.
|
inline |
Draw a 1D graph on the instance image.
data | Image containing the graph values I = f(x). |
color | Array of dimv() values of type T , defining the drawing color. |
opacity | Drawing opacity. |
plot_type | Define the type of the plot :
|
vertex_type | Define the type of points :
|
ymin | Lower bound of the y-range. |
ymax | Upper bound of the y-range. |
expand | Expand plot along the X-axis. |
pattern | Drawing pattern. |
ymin==ymax==0
, the y-range is computed automatically from the input samples. Definition at line 26788 of file CImg.h.
Referenced by CImg< uintT >::draw_graph().
|
inline |
Draw a 1D graph on the instance image.
Definition at line 26908 of file CImg.h.
|
inline |
Draw grid.
Definition at line 26700 of file CImg.h.
Referenced by CImg< uintT >::draw_grid().
|
inline |
Draw grid.
Definition at line 26718 of file CImg.h.
|
inline |
Draw grid.
Definition at line 26726 of file CImg.h.
|
inline |
Draw grid.
Definition at line 26752 of file CImg.h.
|
inline |
Draw an image.
sprite | Sprite image. |
x0 | X-coordinate of the sprite position. |
y0 | Y-coordinate of the sprite position. |
z0 | Z-coordinate of the sprite position. |
v0 | V-coordinate of the sprite position. |
opacity | Drawing opacity (optional). |
Definition at line 26116 of file CImg.h.
Referenced by CImg< uintT >::__draw_object3d(), CImg< uintT >::_draw_text(), CImg< uintT >::draw_image(), CImg< uintT >::get_projections2d(), and CImg< uintT >::load_tiff().
|
inline |
Definition at line 26158 of file CImg.h.
|
inline |
Draw an image.
Definition at line 26202 of file CImg.h.
|
inline |
Draw an image.
Definition at line 26209 of file CImg.h.
Draw an image.
Definition at line 26216 of file CImg.h.
Draw an image.
Definition at line 26223 of file CImg.h.
|
inline |
Draw a sprite image in the instance image (masked version).
sprite | Sprite image. |
mask | Mask image. |
x0 | X-coordinate of the sprite position in the instance image. |
y0 | Y-coordinate of the sprite position in the instance image. |
z0 | Z-coordinate of the sprite position in the instance image. |
v0 | V-coordinate of the sprite position in the instance image. |
mask_valmax | Maximum pixel value of the mask image mask (optional). |
opacity | Drawing opacity. |
mask
set the opacity of the corresponding pixels in sprite
.sprite
and mask
must be the same. Definition at line 26243 of file CImg.h.
|
inline |
Draw an image.
Definition at line 26297 of file CImg.h.
|
inline |
Draw an image.
Definition at line 26305 of file CImg.h.
|
inline |
Draw an image.
Definition at line 26313 of file CImg.h.
|
inline |
Draw an image.
Definition at line 26321 of file CImg.h.
|
inline |
Draw a 2D colored line.
x0 | X-coordinate of the starting line point. |
y0 | Y-coordinate of the starting line point. |
x1 | X-coordinate of the ending line point. |
y1 | Y-coordinate of the ending line point. |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
opacity | Drawing opacity (optional). |
pattern | An integer whose bits describe the line pattern (optional). |
init_hatch | Flag telling if a reinitialization of the hash state must be done (optional). |
init_hatch
= false to draw consecutive hatched segments without breaking the line pattern. Definition at line 22330 of file CImg.h.
Referenced by CImg< uintT >::_draw_line(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_polygon(), cimg_library::cimg::dialog(), CImg< uintT >::draw_arrow(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_graph(), CImg< uintT >::draw_grid(), CImg< uintT >::draw_line(), CImg< uintT >::draw_quiver(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_spline(), CImg< uintT >::draw_triangle(), and CImg< uintT >::get_select_graph().
|
inline |
Draw a 2D colored line.
Definition at line 22393 of file CImg.h.
|
inline |
Draw a 2D colored line, with z-buffering.
Definition at line 22402 of file CImg.h.
|
inline |
Draw a 2D colored line, with z-buffering.
Definition at line 22514 of file CImg.h.
|
inline |
Draw a 3D colored line.
Definition at line 22524 of file CImg.h.
|
inline |
Draw a 3D colored line.
Definition at line 22571 of file CImg.h.
|
inline |
Draw a 2D textured line.
x0 | X-coordinate of the starting line point. |
y0 | Y-coordinate of the starting line point. |
x1 | X-coordinate of the ending line point. |
y1 | Y-coordinate of the ending line point. |
texture | Texture image defining the pixel colors. |
tx0 | X-coordinate of the starting texture point. |
ty0 | Y-coordinate of the starting texture point. |
tx1 | X-coordinate of the ending texture point. |
ty1 | Y-coordinate of the ending texture point. |
opacity | Drawing opacity (optional). |
pattern | An integer whose bits describe the line pattern (optional). |
init_hatch | Flag telling if the hash variable must be reinitialized (optional). |
Definition at line 22603 of file CImg.h.
|
inline |
Draw a 2D textured line, with perspective correction.
Definition at line 22706 of file CImg.h.
|
inline |
Draw a 2D textured line, with z-buffering and perspective correction.
Definition at line 22818 of file CImg.h.
|
inline |
Draw a set of consecutive colored lines in the instance image.
points | Coordinates of vertices, stored as a list of vectors. |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
opacity | Drawing opacity (optional). |
pattern | An integer whose bits describe the line pattern (optional). |
init_hatch | If set to true, init hatch motif. |
points
. Definition at line 23006 of file CImg.h.
|
inline |
Draw a set of consecutive colored lines in the instance image.
Definition at line 23015 of file CImg.h.
|
inline |
Draw a set of consecutive colored lines in the instance image.
Definition at line 23028 of file CImg.h.
|
inline |
Draw a set of consecutive colored lines in the instance image.
Definition at line 23036 of file CImg.h.
|
inline |
Draw a quadratic Mandelbrot or Julia fractal set, computed using the Escape Time Algorithm.
Definition at line 27250 of file CImg.h.
Referenced by CImg< uintT >::draw_mandelbrot().
|
inline |
Draw a quadratic Mandelbrot or Julia fractal set, computed using the Escape Time Algorithm.
Definition at line 27311 of file CImg.h.
|
inline |
Draw a 3D object.
X | = X-coordinate of the 3d object position |
Y | = Y-coordinate of the 3d object position |
Z | = Z-coordinate of the 3d object position |
vertices | = Image Nx3 describing 3D point coordinates |
primitives | = List of P primitives |
colors | = List of P color (or textures) |
opacities | = Image of P opacities |
render_type | = Render type (0=Points, 1=Lines, 2=Faces (no light), 3=Faces (flat), 4=Faces(Gouraud) |
double_sided | = Tell if object faces have two sides or are oriented. |
focale | = length of the focale |
lightx | = X-coordinate of the light |
lighty | = Y-coordinate of the light |
lightz | = Z-coordinate of the light |
specular_shine | = Shininess of the object |
Definition at line 27522 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d(), and CImg< uintT >::draw_object3d().
|
inline |
Definition at line 27550 of file CImg.h.
|
inline |
Draw a 3D object.
Definition at line 27580 of file CImg.h.
|
inline |
Draw a plasma random texture.
x0 | = X-coordinate of the upper-left corner of the plasma. |
y0 | = Y-coordinate of the upper-left corner of the plasma. |
x1 | = X-coordinate of the lower-right corner of the plasma. |
y1 | = Y-coordinate of the lower-right corner of the plasma. |
alpha | = Alpha-parameter of the plasma. |
beta | = Beta-parameter of the plasma. |
opacity | = opacity of the drawing. |
Definition at line 27177 of file CImg.h.
Referenced by CImg< uintT >::draw_plasma().
|
inline |
Draw a plasma random texture.
alpha | = Alpha-parameter of the plasma. |
beta | = Beta-parameter of the plasma. |
opacity | = opacity of the drawing. |
Definition at line 27243 of file CImg.h.
|
inline |
Draw a 2D colored point (pixel).
x0 | X-coordinate of the point. |
y0 | Y-coordinate of the point. |
color | Pointer to dimv() consecutive values, defining the color values. |
opacity | Drawing opacity (optional). |
Definition at line 22192 of file CImg.h.
Referenced by CImg< uintT >::_draw_ellipse(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_point(), CImg< uintT >::draw_arrow(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_circle(), CImg< uintT >::draw_graph(), and CImg< uintT >::draw_point().
|
inline |
Draw a 2D colored point (pixel).
Definition at line 22199 of file CImg.h.
|
inline |
Draw a 3D colored point (voxel).
Definition at line 22206 of file CImg.h.
|
inline |
Draw a 3D colored point (voxel).
Definition at line 22225 of file CImg.h.
|
inline |
Draw a cloud of colored points.
points | Coordinates of vertices, stored as a list of vectors. |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
opacity | Drawing opacity (optional). |
points
. Definition at line 22276 of file CImg.h.
|
inline |
Draw a cloud of colored points.
Definition at line 22284 of file CImg.h.
|
inline |
Draw a cloud of colored points.
Definition at line 22296 of file CImg.h.
|
inline |
Draw a cloud of colored points.
Definition at line 22303 of file CImg.h.
|
inline |
Draw a filled polygon in the instance image.
Definition at line 25756 of file CImg.h.
Referenced by CImg< uintT >::draw_polygon().
|
inline |
Draw a filled polygon in the instance image.
Definition at line 25766 of file CImg.h.
|
inline |
Draw a filled polygon in the instance image.
Definition at line 25773 of file CImg.h.
|
inline |
Draw a filled polygon in the instance image.
Definition at line 25783 of file CImg.h.
|
inline |
Draw a polygon outline.
Definition at line 25827 of file CImg.h.
|
inline |
Draw a polygon outline.
Definition at line 25836 of file CImg.h.
|
inline |
Draw a polygon outline.
Definition at line 25844 of file CImg.h.
|
inline |
Draw a polygon outline.
Definition at line 25852 of file CImg.h.
|
inline |
Draw a vector field in the instance image, using a colormap.
flow | Image of 2d vectors used as input data. |
color | Image of dimv()-D vectors corresponding to the color of each arrow. |
sampling | Length (in pixels) between each arrow. |
factor | Length factor of each arrow (if <0, computed as a percentage of the maximum length). |
opacity | Opacity of the drawing. |
pattern | Used pattern to draw lines. |
Definition at line 26498 of file CImg.h.
Referenced by CImg< uintT >::draw_quiver().
|
inline |
Draw a vector field in the instance image, using a colormap.
flow | Image of 2d vectors used as input data. |
color | Image of dimv()-D vectors corresponding to the color of each arrow. |
sampling | Length (in pixels) between each arrow. |
factor | Length factor of each arrow (if <0, computed as a percentage of the maximum length). |
opacity | Opacity of the drawing. |
pattern | Used pattern to draw lines. |
Definition at line 26516 of file CImg.h.
|
inline |
Draw a 4D filled rectangle in the instance image, at coordinates (x0
,y0
,z0
,v0
)-(x1
,y1
,z1
,v1
).
x0 | X-coordinate of the upper-left rectangle corner. |
y0 | Y-coordinate of the upper-left rectangle corner. |
z0 | Z-coordinate of the upper-left rectangle corner. |
v0 | V-coordinate of the upper-left rectangle corner. |
x1 | X-coordinate of the lower-right rectangle corner. |
y1 | Y-coordinate of the lower-right rectangle corner. |
z1 | Z-coordinate of the lower-right rectangle corner. |
v1 | V-coordinate of the lower-right rectangle corner. |
val | Scalar value used to fill the rectangle area. |
opacity | Drawing opacity (optional). |
Definition at line 25546 of file CImg.h.
Referenced by CImg< uintT >::draw_graph(), and CImg< uintT >::draw_rectangle().
|
inline |
Draw a 3D filled colored rectangle in the instance image, at coordinates (x0
,y0
,z0
)-(x1
,y1
,z1
).
x0 | X-coordinate of the upper-left rectangle corner. |
y0 | Y-coordinate of the upper-left rectangle corner. |
z0 | Z-coordinate of the upper-left rectangle corner. |
x1 | X-coordinate of the lower-right rectangle corner. |
y1 | Y-coordinate of the lower-right rectangle corner. |
z1 | Z-coordinate of the lower-right rectangle corner. |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
opacity | Drawing opacity (optional). |
Definition at line 25594 of file CImg.h.
|
inline |
Draw a 3D filled colored rectangle in the instance image, at coordinates (x0
,y0
,z0
)-(x1
,y1
,z1
).
Definition at line 25606 of file CImg.h.
|
inline |
Draw a 3D outlined colored rectangle in the instance image.
Definition at line 25614 of file CImg.h.
|
inline |
Draw a 3D outlined colored rectangle in the instance image.
Definition at line 25634 of file CImg.h.
|
inline |
Draw a 2D filled colored rectangle in the instance image, at coordinates (x0
,y0
)-(x1
,y1
).
x0 | X-coordinate of the upper-left rectangle corner. |
y0 | Y-coordinate of the upper-left rectangle corner. |
x1 | X-coordinate of the lower-right rectangle corner. |
y1 | Y-coordinate of the lower-right rectangle corner. |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
opacity | Drawing opacity (optional). |
Definition at line 25653 of file CImg.h.
|
inline |
Draw a 2D filled colored rectangle in the instance image, at coordinates (x0
,y0
)-(x1
,y1
).
Definition at line 25661 of file CImg.h.
|
inline |
Draw a 2D outlined colored rectangle.
Definition at line 25669 of file CImg.h.
|
inline |
Draw a 2D outlined colored rectangle.
Definition at line 25690 of file CImg.h.
|
inline |
Draw a cubic spline curve in the instance image.
x0 | X-coordinate of the starting curve point |
y0 | Y-coordinate of the starting curve point |
u0 | X-coordinate of the starting velocity |
v0 | Y-coordinate of the starting velocity |
x1 | X-coordinate of the ending curve point |
y1 | Y-coordinate of the ending curve point |
u1 | X-coordinate of the ending velocity |
v1 | Y-coordinate of the ending velocity |
color | Pointer to dimv() consecutive values of type T , defining the drawing color. |
precision | Curve drawing precision (optional). |
opacity | Drawing opacity (optional). |
pattern | An integer whose bits describe the line pattern (optional). |
init_hatch | If true , init hatch motif. |
precision
parameter sets the average number of pixels in each drawn segment.x0
,y0
), (xa
,ya
), (xb
,yb
), (x1
,y1
) } where (x0
,y0
) is the starting point, (x1
,y1
) is the ending point and (xa
,ya
), (xb
,yb
) are two control points. The starting and ending velocities (u0
,v0
) and (u1
,v1
) can be deduced easily from the control points as u0
= (xa
- x0
), v0
= (ya
- y0
), u1
= (x1
- xb
) and v1
= (y1
- yb
). Definition at line 23122 of file CImg.h.
Referenced by CImg< uintT >::_draw_spline(), and CImg< uintT >::draw_spline().
|
inline |
Draw a cubic spline curve in the instance image.
Definition at line 23159 of file CImg.h.
|
inline |
Draw a cubic spline curve in the instance image (for volumetric images).
Definition at line 23173 of file CImg.h.
|
inline |
Draw a cubic spline curve in the instance image (for volumetric images).
Definition at line 23214 of file CImg.h.
|
inline |
Draw a cubic spline curve in the instance image.
x0 | X-coordinate of the starting curve point |
y0 | Y-coordinate of the starting curve point |
u0 | X-coordinate of the starting velocity |
v0 | Y-coordinate of the starting velocity |
x1 | X-coordinate of the ending curve point |
y1 | Y-coordinate of the ending curve point |
u1 | X-coordinate of the ending velocity |
v1 | Y-coordinate of the ending velocity |
texture | Texture image defining line pixel colors. |
tx0 | X-coordinate of the starting texture point. |
ty0 | Y-coordinate of the starting texture point. |
tx1 | X-coordinate of the ending texture point. |
ty1 | Y-coordinate of the ending texture point. |
precision | Curve drawing precision (optional). |
opacity | Drawing opacity (optional). |
pattern | An integer whose bits describe the line pattern (optional). |
init_hatch | if true , reinit hatch motif. |
Definition at line 23243 of file CImg.h.
|
inline |
Draw a set of consecutive colored splines in the instance image.
Definition at line 23406 of file CImg.h.
|
inline |
Draw a set of consecutive colored splines in the instance image.
Definition at line 23416 of file CImg.h.
|
inline |
Draw a set of consecutive colored splines in the instance image.
Definition at line 23425 of file CImg.h.
|
inline |
Draw a set of consecutive colored splines in the instance image.
Definition at line 23434 of file CImg.h.
|
inline |
Draw a set of consecutive colored splines in the instance image.
Definition at line 23443 of file CImg.h.
|
inline |
Draw a set of consecutive colored splines in the instance image.
Definition at line 23454 of file CImg.h.
|
inline |
Draw a set of consecutive colored lines in the instance image.
Definition at line 23463 of file CImg.h.
|
inline |
Draw a set of consecutive colored lines in the instance image.
Definition at line 23472 of file CImg.h.
|
inline |
Draw a text.
x0 | X-coordinate of the text in the instance image. |
y0 | Y-coordinate of the text in the instance image. |
foreground_color | Array of dimv() values of type T , defining the foreground color (0 means 'transparent'). |
background_color | Array of dimv() values of type T , defining the background color (0 means 'transparent'). |
font | Font used for drawing text. |
opacity | Drawing opacity. |
format | 'printf'-style format string, followed by arguments. |
Definition at line 26338 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d(), CImg< uintT >::draw_axis(), and CImg< uintT >::get_select_graph().
|
inline |
Draw a text.
Definition at line 26348 of file CImg.h.
|
inline |
Draw a text.
Definition at line 26358 of file CImg.h.
|
inline |
Draw a text.
Definition at line 26368 of file CImg.h.
|
inline |
Draw a text.
x0 | X-coordinate of the text in the instance image. |
y0 | Y-coordinate of the text in the instance image. |
foreground_color | Array of dimv() values of type T , defining the foreground color (0 means 'transparent'). |
background_color | Array of dimv() values of type T , defining the background color (0 means 'transparent'). |
font_size | Size of the font (nearest match). |
opacity | Drawing opacity. |
format | 'printf'-style format string, followed by arguments. |
Definition at line 26388 of file CImg.h.
|
inline |
Draw a text.
Definition at line 26400 of file CImg.h.
|
inline |
Draw a text.
Definition at line 26412 of file CImg.h.
|
inline |
Draw a text.
Definition at line 26424 of file CImg.h.
|
inline |
Draw a 2D filled colored triangle.
Definition at line 23796 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d(), and CImg< uintT >::draw_triangle().
|
inline |
Draw a 2D filled colored triangle.
Definition at line 23810 of file CImg.h.
|
inline |
Draw a 2D outlined colored triangle.
Definition at line 23819 of file CImg.h.
|
inline |
Draw a 2D outlined colored triangle.
Definition at line 23836 of file CImg.h.
|
inline |
Draw a 2D filled colored triangle, with z-buffering.
Definition at line 23846 of file CImg.h.
|
inline |
Draw a 2D filled colored triangle, with z-buffering.
Definition at line 23947 of file CImg.h.
|
inline |
Draw a 2D Gouraud-shaded colored triangle.
x0 | = X-coordinate of the first corner in the instance image. |
y0 | = Y-coordinate of the first corner in the instance image. |
x1 | = X-coordinate of the second corner in the instance image. |
y1 | = Y-coordinate of the second corner in the instance image. |
x2 | = X-coordinate of the third corner in the instance image. |
y2 | = Y-coordinate of the third corner in the instance image. |
color | = array of dimv() values of type T , defining the global drawing color. |
brightness0 | = brightness of the first corner (in [0,2]). |
brightness1 | = brightness of the second corner (in [0,2]). |
brightness2 | = brightness of the third corner (in [0,2]). |
opacity | = opacity of the drawing. |
Definition at line 23972 of file CImg.h.
|
inline |
Draw a 2D Gouraud-shaded colored triangle.
Definition at line 24033 of file CImg.h.
|
inline |
Draw a 2D Gouraud-shaded colored triangle, with z-buffering.
Definition at line 24046 of file CImg.h.
|
inline |
Draw a Gouraud triangle with z-buffer consideration.
Definition at line 24134 of file CImg.h.
|
inline |
Draw a colored triangle with interpolated colors.
Definition at line 24148 of file CImg.h.
|
inline |
Definition at line 24161 of file CImg.h.
|
inline |
Draw a 2D textured triangle.
x0 | = X-coordinate of the first corner in the instance image. |
y0 | = Y-coordinate of the first corner in the instance image. |
x1 | = X-coordinate of the second corner in the instance image. |
y1 | = Y-coordinate of the second corner in the instance image. |
x2 | = X-coordinate of the third corner in the instance image. |
y2 | = Y-coordinate of the third corner in the instance image. |
texture | = texture image used to fill the triangle. |
tx0 | = X-coordinate of the first corner in the texture image. |
ty0 | = Y-coordinate of the first corner in the texture image. |
tx1 | = X-coordinate of the second corner in the texture image. |
ty1 | = Y-coordinate of the second corner in the texture image. |
tx2 | = X-coordinate of the third corner in the texture image. |
ty2 | = Y-coordinate of the third corner in the texture image. |
opacity | = opacity of the drawing. |
brightness | = brightness of the drawing (in [0,2]). |
Definition at line 24191 of file CImg.h.
|
inline |
Draw a 2D textured triangle, with perspective correction.
Definition at line 24307 of file CImg.h.
|
inline |
Draw a 2D textured triangle, with z-buffering and perspective correction.
Definition at line 24434 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded triangle.
x0 | = X-coordinate of the first corner in the instance image. |
y0 | = Y-coordinate of the first corner in the instance image. |
x1 | = X-coordinate of the second corner in the instance image. |
y1 | = Y-coordinate of the second corner in the instance image. |
x2 | = X-coordinate of the third corner in the instance image. |
y2 | = Y-coordinate of the third corner in the instance image. |
color | = array of dimv() values of type T , defining the global drawing color. |
light | = light image. |
lx0 | = X-coordinate of the first corner in the light image. |
ly0 | = Y-coordinate of the first corner in the light image. |
lx1 | = X-coordinate of the second corner in the light image. |
ly1 | = Y-coordinate of the second corner in the light image. |
lx2 | = X-coordinate of the third corner in the light image. |
ly2 | = Y-coordinate of the third corner in the light image. |
opacity | = opacity of the drawing. |
Definition at line 24608 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded triangle.
Definition at line 24687 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded triangle, with z-buffering.
Definition at line 24701 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded triangle, with z-buffering.
Definition at line 24808 of file CImg.h.
|
inline |
Draw a 2D Gouraud-shaded textured triangle.
x0 | = X-coordinate of the first corner in the instance image. |
y0 | = Y-coordinate of the first corner in the instance image. |
x1 | = X-coordinate of the second corner in the instance image. |
y1 | = Y-coordinate of the second corner in the instance image. |
x2 | = X-coordinate of the third corner in the instance image. |
y2 | = Y-coordinate of the third corner in the instance image. |
texture | = texture image used to fill the triangle. |
tx0 | = X-coordinate of the first corner in the texture image. |
ty0 | = Y-coordinate of the first corner in the texture image. |
tx1 | = X-coordinate of the second corner in the texture image. |
ty1 | = Y-coordinate of the second corner in the texture image. |
tx2 | = X-coordinate of the third corner in the texture image. |
ty2 | = Y-coordinate of the third corner in the texture image. |
brightness0 | = brightness value of the first corner. |
brightness1 | = brightness value of the second corner. |
brightness2 | = brightness value of the third corner. |
opacity | = opacity of the drawing. |
Definition at line 24843 of file CImg.h.
|
inline |
Draw a 2D Gouraud-shaded textured triangle, with perspective correction.
Definition at line 24931 of file CImg.h.
|
inline |
Draw a 2D Gouraud-shaded textured triangle, with z-buffering and perspective correction.
Definition at line 25037 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded textured triangle.
x0 | = X-coordinate of the first corner in the instance image. |
y0 | = Y-coordinate of the first corner in the instance image. |
x1 | = X-coordinate of the second corner in the instance image. |
y1 | = Y-coordinate of the second corner in the instance image. |
x2 | = X-coordinate of the third corner in the instance image. |
y2 | = Y-coordinate of the third corner in the instance image. |
texture | = texture image used to fill the triangle. |
tx0 | = X-coordinate of the first corner in the texture image. |
ty0 | = Y-coordinate of the first corner in the texture image. |
tx1 | = X-coordinate of the second corner in the texture image. |
ty1 | = Y-coordinate of the second corner in the texture image. |
tx2 | = X-coordinate of the third corner in the texture image. |
ty2 | = Y-coordinate of the third corner in the texture image. |
light | = light image. |
lx0 | = X-coordinate of the first corner in the light image. |
ly0 | = Y-coordinate of the first corner in the light image. |
lx1 | = X-coordinate of the second corner in the light image. |
ly1 | = Y-coordinate of the second corner in the light image. |
lx2 | = X-coordinate of the third corner in the light image. |
ly2 | = Y-coordinate of the third corner in the light image. |
opacity | = opacity of the drawing. |
Definition at line 25180 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded textured triangle, with perspective correction.
Definition at line 25280 of file CImg.h.
|
inline |
Draw a 2D Pseudo-Phong-shaded textured triangle, with z-buffering and perspective correction.
Definition at line 25399 of file CImg.h.
|
inline |
Get a diffusion tensor for edge-preserving anisotropic smoothing of an image.
Definition at line 20276 of file CImg.h.
Referenced by CImg< uintT >::get_edge_tensors().
Compute the eigenvalues and eigenvectors of a matrix.
Definition at line 13660 of file CImg.h.
Referenced by CImg< uintT >::get_eigen(), and CImg< uintT >::symmetric_eigen().
|
inlinestatic |
Get elevation3d of a function.
Definition at line 21284 of file CImg.h.
Referenced by CImg< uintT >::elevation3d(), and CImg< uintT >::get_elevation3d().
|
inlinestatic |
Definition at line 21319 of file CImg.h.
|
inlinestatic |
Create and return a 3D ellipsoid.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
tensor | The tensor which gives the shape and size of the ellipsoid. | |
subdivisions | The number of recursive subdivisions from an initial stretched icosahedron. |
Definition at line 22071 of file CImg.h.
|
inlinestatic |
Return a reference to an empty image.
Definition at line 10351 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d(), and CImg< T >::_cimg_math_parser::eval().
|
inline |
Return an iterator pointing after the last image pixel (STL-compliant name).
Definition at line 11161 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::compile(), CImg< uintT >::fill(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::operator~(), and CImg< uintT >::print().
|
inline |
Definition at line 11165 of file CImg.h.
|
inline |
Compute the histogram-equalized version of the instance image.
nb_levels | Number of histogram levels used for the equalization. |
value_min | Minimum pixel value considered for the histogram computation. All pixel values lower than value_min will not be counted. |
value_max | Maximum pixel value considered for the histogram computation. All pixel values higher than value_max will not be counted. |
value_min==value_max==0
(default behavior), the function first estimates the whole range of pixel values then uses it to equalize the histogram.CImg<T>::get_equalize()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15305 of file CImg.h.
Referenced by CImg< uintT >::get_equalize().
|
inline |
Return the erosion of the image by a structuring element.
Definition at line 18915 of file CImg.h.
|
inline |
Erode the image by a square structuring element of size n.
Definition at line 18999 of file CImg.h.
|
inline |
Evaluate math expression.
If you make successive evaluations on the same image and with the same expression, you can set 'expr' to 0 after the first call, to skip the math parsing step.
Definition at line 13140 of file CImg.h.
|
inline |
Compute the exponential of each pixel value.
Definition at line 12540 of file CImg.h.
Referenced by CImg< uintT >::get_exp().
|
inlinestatic |
Compute a 1D Fast Fourier Transform, along a specified axis.
Definition at line 20832 of file CImg.h.
Referenced by CImg< uintT >::FFT(), CImgList< uintT >::FFT(), and CImg< uintT >::get_FFT().
Compute a N-D Fast Fourier Transform.
Definition at line 21024 of file CImg.h.
|
inline |
Fill an image by a value val
.
val | = fill value |
val
. Definition at line 14432 of file CImg.h.
Referenced by CImg< uintT >::_LU(), CImg< uintT >::CImg(), CImg< uintT >::get_fill(), CImg< uintT >::get_stats(), CImg< uintT >::invert(), CImg< uintT >::normalize(), CImg< uintT >::operator=(), CImg< uintT >::pow(), CImg< uintT >::solve(), and CImg< uintT >::translate().
|
inline |
Fill sequentially all pixel values with values val0 and val1 respectively.
Definition at line 14444 of file CImg.h.
|
inline |
Fill sequentially all pixel values with values val0 and val1 and val2.
Definition at line 14457 of file CImg.h.
|
inline |
Fill sequentially all pixel values with values val0 and val1 and val2 and val3.
Definition at line 14474 of file CImg.h.
|
inline |
Fill sequentially all pixel values with values val0 and val1 and val2 and val3 and val4.
Definition at line 14492 of file CImg.h.
|
inline |
Fill sequentially all pixel values with values val0 and val1 and val2 and val3 and val4 and val5.
Definition at line 14511 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14533 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14556 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14583 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14612 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14641 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14672 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14703 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14736 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14773 of file CImg.h.
|
inline |
Fill sequentially pixel values.
Definition at line 14811 of file CImg.h.
|
inline |
Fill image values according to the given expression, which can be a formula or a list of values.
Definition at line 14850 of file CImg.h.
Fill image values according to the values found in the specified image.
Definition at line 14885 of file CImg.h.
|
inline |
Fill image values along the V-axis at the specified pixel position (x,y,z).
Definition at line 14938 of file CImg.h.
|
inline |
Definition at line 14944 of file CImg.h.
|
inline |
Fill image values along the X-axis at the specified pixel position (y,z,v).
Definition at line 14899 of file CImg.h.
|
inline |
Definition at line 14908 of file CImg.h.
|
inline |
Fill image values along the Y-axis at the specified pixel position (x,z,v).
Definition at line 14914 of file CImg.h.
|
inline |
Definition at line 14919 of file CImg.h.
|
inline |
Fill image values along the Z-axis at the specified pixel position (x,y,v).
Definition at line 14925 of file CImg.h.
|
inline |
Definition at line 14931 of file CImg.h.
|
inline |
Return reference to the first image pixel (STL-compliant name).
Definition at line 11170 of file CImg.h.
|
inline |
Definition at line 11174 of file CImg.h.
Definition at line 12575 of file CImg.h.
Referenced by cimg_library::abs(), and CImg< uintT >::get_norm().
Definition at line 12645 of file CImg.h.
Referenced by cimg_library::acos().
|
inline |
Definition at line 18655 of file CImg.h.
Referenced by CImg< uintT >::append(), and CImg< uintT >::get_append().
|
inline |
Definition at line 18661 of file CImg.h.
Definition at line 12655 of file CImg.h.
Referenced by cimg_library::asin().
Definition at line 12665 of file CImg.h.
Referenced by cimg_library::atan().
Definition at line 12679 of file CImg.h.
|
inline |
Definition at line 18297 of file CImg.h.
Referenced by CImg< uintT >::autocrop(), and CImg< uintT >::get_autocrop().
|
inline |
Definition at line 18351 of file CImg.h.
Definition at line 16498 of file CImg.h.
Referenced by CImg< uintT >::BayertoRGB().
|
inline |
Definition at line 19220 of file CImg.h.
Referenced by CImg< uintT >::get_blur_patch(), and CImg< uintT >::sharpen().
Definition at line 19230 of file CImg.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 19815 of file CImg.h.
Referenced by CImg< uintT >::blur_median().
|
inline |
Definition at line 19638 of file CImg.h.
Referenced by CImg< uintT >::blur_patch().
|
inline |
Definition at line 18461 of file CImg.h.
|
inline |
Definition at line 18470 of file CImg.h.
Referenced by CImg< uintT >::_get_select(), CImg< uintT >::channels(), and CImg< uintT >::get_channel().
Definition at line 16215 of file CImg.h.
Referenced by CImg< uintT >::CMYKtoCMY().
Definition at line 16459 of file CImg.h.
Definition at line 16185 of file CImg.h.
Referenced by CImg< uintT >::CMYtoCMYK().
Definition at line 16176 of file CImg.h.
|
inline |
Definition at line 18407 of file CImg.h.
|
inline |
Definition at line 18416 of file CImg.h.
Referenced by CImg< uintT >::columns(), and CImg< uintT >::get_column().
|
inline |
Definition at line 18904 of file CImg.h.
Referenced by CImg< uintT >::convolve().
|
inline |
Definition at line 18690 of file CImg.h.
Referenced by CImg< uintT >::correlate(), and CImg< uintT >::get_convolve().
Definition at line 12585 of file CImg.h.
Referenced by cimg_library::cos().
Definition at line 12615 of file CImg.h.
Referenced by cimg_library::cosh().
|
inline |
Definition at line 18190 of file CImg.h.
Referenced by CImg< uintT >::_display(), CImg< uintT >::crop(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_channels(), CImg< uintT >::get_columns(), CImg< uintT >::get_crop(), CImg< uintT >::get_index(), CImg< uintT >::get_lines(), CImg< uintT >::get_slices(), and CImg< uintT >::get_split().
|
inline |
Definition at line 18224 of file CImg.h.
|
inline |
Definition at line 18245 of file CImg.h.
|
inline |
Definition at line 18262 of file CImg.h.
|
inline |
|
inline |
Definition at line 19203 of file CImg.h.
Referenced by CImg< uintT >::get_gradient().
|
inline |
Definition at line 13408 of file CImg.h.
Referenced by CImg< uintT >::diagonal().
|
inline |
Definition at line 14116 of file CImg.h.
Referenced by CImg< uintT >::dijkstra(), and CImg< uintT >::get_dijkstra().
|
inline |
Definition at line 14128 of file CImg.h.
|
inline |
Definition at line 19020 of file CImg.h.
Referenced by CImg< uintT >::dilate(), and CImg< uintT >::get_dilate().
|
inline |
Definition at line 19104 of file CImg.h.
|
inline |
Definition at line 20337 of file CImg.h.
Referenced by CImg< uintT >::displacement_field().
|
inline |
Definition at line 20447 of file CImg.h.
Referenced by CImg< uintT >::distance().
|
inline |
Definition at line 20590 of file CImg.h.
Definition at line 12717 of file CImg.h.
|
inline |
Definition at line 20322 of file CImg.h.
Referenced by CImg< uintT >::blur_anisotropic().
Definition at line 13695 of file CImg.h.
|
inline |
Create and return a 3D elevation of the instance image.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
[out] | colors | The returned list of the 3D object colors. |
elevation | The input elevation map. |
Definition at line 21187 of file CImg.h.
|
inline |
|
inline |
Definition at line 18920 of file CImg.h.
Referenced by CImg< uintT >::erode(), and CImg< uintT >::get_erode().
|
inline |
Definition at line 19004 of file CImg.h.
Definition at line 12545 of file CImg.h.
Referenced by cimg_library::exp().
Compute a 1D Fast Fourier Transform, along a specified axis.
Definition at line 20818 of file CImg.h.
Compute a N-D Fast-Fourier Transform.
Definition at line 20825 of file CImg.h.
|
inline |
Definition at line 14439 of file CImg.h.
|
inline |
Definition at line 14452 of file CImg.h.
|
inline |
Definition at line 14469 of file CImg.h.
|
inline |
Definition at line 14487 of file CImg.h.
|
inline |
Definition at line 14506 of file CImg.h.
|
inline |
Definition at line 14528 of file CImg.h.
|
inline |
Definition at line 14551 of file CImg.h.
|
inline |
Definition at line 14577 of file CImg.h.
|
inline |
Definition at line 14606 of file CImg.h.
|
inline |
Definition at line 14635 of file CImg.h.
|
inline |
Definition at line 14666 of file CImg.h.
|
inline |
Definition at line 14697 of file CImg.h.
|
inline |
Definition at line 14730 of file CImg.h.
|
inline |
Definition at line 14765 of file CImg.h.
|
inline |
Definition at line 14803 of file CImg.h.
|
inline |
Definition at line 14842 of file CImg.h.
|
inline |
Definition at line 14894 of file CImg.h.
Compute the list of images, corresponding to the XY-gradients of an image.
scheme | = Numerical scheme used for the gradient computation :
|
Definition at line 20014 of file CImg.h.
|
inline |
Definition at line 20604 of file CImg.h.
Referenced by CImg< uintT >::get_haar(), and CImg< uintT >::haar().
Definition at line 20733 of file CImg.h.
Get components of the Hessian matrix of an image.
Definition at line 20120 of file CImg.h.
|
inline |
Definition at line 15273 of file CImg.h.
Referenced by CImg< uintT >::equalize(), and CImg< uintT >::histogram().
Definition at line 16019 of file CImg.h.
Definition at line 15942 of file CImg.h.
Definition at line 15865 of file CImg.h.
|
inline |
Definition at line 13420 of file CImg.h.
|
inline |
Definition at line 15349 of file CImg.h.
Referenced by CImg< uintT >::index().
Definition at line 13538 of file CImg.h.
Referenced by cimg_library::invert(), and cimg_library::operator/().
|
inline |
|
inline |
Create and return a isocurve of the instance image as a 3D object.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
isovalue | The returned list of the 3D object colors. | |
size_x | The number of subdivisions along the X-axis. | |
size_y | The number of subdisivions along the Y-axis. |
Definition at line 21228 of file CImg.h.
|
inline |
Create and return a isosurface of the instance image as a 3D object.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
isovalue | The returned list of the 3D object colors. | |
size_x | The number of subdivisions along the X-axis. | |
size_y | The number of subdisivions along the Y-axis. |
Definition at line 21264 of file CImg.h.
Definition at line 15638 of file CImg.h.
Referenced by CImg< uintT >::label_regions().
Definition at line 16423 of file CImg.h.
Definition at line 16354 of file CImg.h.
|
inline |
Definition at line 18425 of file CImg.h.
|
inline |
Definition at line 18434 of file CImg.h.
Referenced by CImg< uintT >::get_line(), and CImg< uintT >::lines().
|
inlinestatic |
Definition at line 29261 of file CImg.h.
|
inlinestatic |
Definition at line 30412 of file CImg.h.
|
inlinestatic |
Definition at line 30421 of file CImg.h.
|
inlinestatic |
Definition at line 29270 of file CImg.h.
|
inlinestatic |
Definition at line 29279 of file CImg.h.
|
inlinestatic |
Definition at line 29366 of file CImg.h.
|
inlinestatic |
Definition at line 29375 of file CImg.h.
|
inlinestatic |
Definition at line 30538 of file CImg.h.
|
inlinestatic |
Definition at line 30550 of file CImg.h.
|
inlinestatic |
Definition at line 30566 of file CImg.h.
|
inlinestatic |
Definition at line 30586 of file CImg.h.
|
inlinestatic |
Definition at line 31388 of file CImg.h.
|
inlinestatic |
Definition at line 29318 of file CImg.h.
|
inlinestatic |
Definition at line 29327 of file CImg.h.
|
inlinestatic |
Definition at line 30991 of file CImg.h.
Referenced by CImg< uintT >::load_ffmpeg().
|
inlinestatic |
Definition at line 31216 of file CImg.h.
Referenced by CImg< uintT >::load_ffmpeg_external().
|
inlinestatic |
Definition at line 31250 of file CImg.h.
|
inlinestatic |
Definition at line 31286 of file CImg.h.
|
inlinestatic |
Definition at line 31320 of file CImg.h.
|
inlinestatic |
Definition at line 30599 of file CImg.h.
|
inlinestatic |
Definition at line 30608 of file CImg.h.
|
inlinestatic |
Definition at line 29497 of file CImg.h.
|
inlinestatic |
Definition at line 29506 of file CImg.h.
|
inlinestatic |
Definition at line 29646 of file CImg.h.
|
inlinestatic |
Definition at line 31354 of file CImg.h.
|
inlinestatic |
Definition at line 31034 of file CImg.h.
|
inlinestatic |
Definition at line 31045 of file CImg.h.
|
inlinestatic |
Definition at line 31416 of file CImg.h.
|
inlinestatic |
Definition at line 30705 of file CImg.h.
|
inlinestatic |
Definition at line 30714 of file CImg.h.
|
inlinestatic |
Definition at line 30923 of file CImg.h.
|
inlinestatic |
Definition at line 29655 of file CImg.h.
|
inlinestatic |
Definition at line 29664 of file CImg.h.
|
inlinestatic |
Definition at line 29816 of file CImg.h.
|
inlinestatic |
Definition at line 29825 of file CImg.h.
|
inlinestatic |
Definition at line 30935 of file CImg.h.
|
inlinestatic |
Definition at line 30950 of file CImg.h.
|
inlinestatic |
Definition at line 29953 of file CImg.h.
|
inlinestatic |
Definition at line 29962 of file CImg.h.
|
inlinestatic |
Definition at line 29999 of file CImg.h.
|
inlinestatic |
Definition at line 30008 of file CImg.h.
|
inlinestatic |
Definition at line 30086 of file CImg.h.
|
inlinestatic |
Definition at line 31005 of file CImg.h.
Referenced by CImg< uintT >::load_yuv().
|
inlinestatic |
Definition at line 31020 of file CImg.h.
Definition at line 12555 of file CImg.h.
Referenced by cimg_library::log().
Definition at line 12565 of file CImg.h.
Referenced by cimg_library::log10().
Definition at line 15576 of file CImg.h.
Referenced by CImg< uintT >::map().
|
inline |
|
inline |
Return a new image corresponding to the square matrix located at (x
,y
,z
) of the current vector-valued image.
Definition at line 13281 of file CImg.h.
|
inline |
Definition at line 12850 of file CImg.h.
Definition at line 12876 of file CImg.h.
|
inline |
Definition at line 12799 of file CImg.h.
Definition at line 12825 of file CImg.h.
|
inline |
Definition at line 17212 of file CImg.h.
Referenced by CImg< uintT >::get_convolve().
Definition at line 12698 of file CImg.h.
|
inline |
Definition at line 15131 of file CImg.h.
Referenced by CImg< uintT >::norm().
Definition at line 15083 of file CImg.h.
Definition at line 15110 of file CImg.h.
|
inline |
Definition at line 17604 of file CImg.h.
Referenced by CImg< uintT >::get_transpose(), and CImg< uintT >::permute_axes().
Definition at line 12733 of file CImg.h.
Definition at line 12748 of file CImg.h.
Definition at line 12774 of file CImg.h.
|
inline |
Definition at line 18151 of file CImg.h.
Referenced by CImg< uintT >::_get_select(), and CImg< uintT >::projections2d().
Definition at line 13547 of file CImg.h.
Referenced by cimg_library::pseudoinvert(), and CImg< uintT >::pseudoinvert().
|
inline |
|
inline |
|
inline |
Definition at line 16650 of file CImg.h.
Referenced by CImg< uintT >::__draw_object3d(), CImg< uintT >::_display_object3d(), CImg< uintT >::_save_off(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_resize(), and CImg< uintT >::resize().
|
inline |
Definition at line 16981 of file CImg.h.
|
inline |
Definition at line 17005 of file CImg.h.
|
inline |
Definition at line 17039 of file CImg.h.
Referenced by CImg< uintT >::resize_doubleXY().
|
inline |
Definition at line 17015 of file CImg.h.
Referenced by CImg< uintT >::resize_halfXY().
|
inline |
Definition at line 21120 of file CImg.h.
Definition at line 21137 of file CImg.h.
|
inline |
Definition at line 17092 of file CImg.h.
Referenced by CImg< uintT >::resize_tripleXY().
|
inline |
Definition at line 16471 of file CImg.h.
Referenced by CImg< uintT >::RGBtoBayer().
Definition at line 16149 of file CImg.h.
Definition at line 16450 of file CImg.h.
Definition at line 15977 of file CImg.h.
Definition at line 15906 of file CImg.h.
Definition at line 15821 of file CImg.h.
Definition at line 16414 of file CImg.h.
Definition at line 16432 of file CImg.h.
Definition at line 16258 of file CImg.h.
Definition at line 16046 of file CImg.h.
Definition at line 16098 of file CImg.h.
|
inline |
Definition at line 17641 of file CImg.h.
Referenced by CImg< uintT >::rotate().
|
inline |
Definition at line 17750 of file CImg.h.
|
inline |
|
inline |
Simple interface to select a shape from an image.
Definition at line 28602 of file CImg.h.
Referenced by CImg< uintT >::select().
|
inline |
Simple interface to select a shape from an image.
Definition at line 28609 of file CImg.h.
|
inline |
Select sub-graph in a graph.
Definition at line 28923 of file CImg.h.
|
inline |
|
inline |
Return a shared version of the instance image.
Definition at line 10077 of file CImg.h.
|
inline |
Definition at line 10081 of file CImg.h.
|
inline |
Return a shared-memory image referencing one channel v0 of the instance image.
Definition at line 18573 of file CImg.h.
Referenced by CImg< uintT >::_draw_text(), CImg< uintT >::autocrop(), CImg< uintT >::draw_triangle(), and CImg< uintT >::get_select_graph().
|
inline |
Definition at line 18577 of file CImg.h.
|
inline |
Return a shared-memory image referencing a set of channels (v0->v1) of the instance image.
Definition at line 18554 of file CImg.h.
Referenced by CImg< uintT >::get_shared_channel().
|
inline |
Definition at line 18563 of file CImg.h.
|
inline |
Return a shared-memory image referencing one particular line (y0,z0,v0) of the instance image.
Definition at line 18517 of file CImg.h.
Referenced by CImg< uintT >::resize_object3d(), and CImg< uintT >::translate_object3d().
|
inline |
Definition at line 18521 of file CImg.h.
|
inline |
Return a shared-memory image referencing a set of lines of the instance image.
Definition at line 18496 of file CImg.h.
Referenced by CImg< uintT >::get_shared_line().
|
inline |
Definition at line 18506 of file CImg.h.
|
inline |
Return a shared-memory image referencing one plane (z0,v0) of the instance image.
Definition at line 18545 of file CImg.h.
|
inline |
Definition at line 18549 of file CImg.h.
|
inline |
Return a shared memory image referencing a set of planes (z0->z1,v0) of the instance image.
Definition at line 18526 of file CImg.h.
Referenced by CImg< uintT >::get_shared_plane().
|
inline |
Definition at line 18535 of file CImg.h.
|
inline |
Get a shared-memory image referencing a set of points of the instance image.
Definition at line 18475 of file CImg.h.
|
inline |
Definition at line 18485 of file CImg.h.
|
inline |
Definition at line 12595 of file CImg.h.
Referenced by cimg_library::sin().
Definition at line 12625 of file CImg.h.
Referenced by cimg_library::sinh().
|
inline |
Definition at line 18443 of file CImg.h.
Referenced by CImg< uintT >::save_tiff().
|
inline |
Definition at line 18452 of file CImg.h.
Referenced by CImg< uintT >::get_slice(), and CImg< uintT >::slices().
|
inline |
Definition at line 13600 of file CImg.h.
|
inline |
Definition at line 13654 of file CImg.h.
|
inline |
|
inline |
Split image into a list.
Definition at line 18582 of file CImg.h.
Referenced by CImg< uintT >::operator<(), CImg< uintT >::save_ffmpeg(), CImg< uintT >::save_ffmpeg_external(), and CImg< uintT >::save_yuv().
|
inline |
Definition at line 18622 of file CImg.h.
Definition at line 12525 of file CImg.h.
Referenced by cimg_library::sqr().
Definition at line 12535 of file CImg.h.
Referenced by cimg_library::sqrt().
Definition at line 13152 of file CImg.h.
Referenced by CImg< uintT >::print(), and CImg< uintT >::stats().
Definition at line 20186 of file CImg.h.
Referenced by CImg< uintT >::edge_tensors(), CImg< uintT >::sharpen(), and CImg< uintT >::structure_tensor().
|
inline |
Definition at line 13985 of file CImg.h.
Definition at line 13760 of file CImg.h.
Definition at line 12605 of file CImg.h.
Referenced by cimg_library::tan().
Definition at line 12635 of file CImg.h.
Referenced by cimg_library::tanh().
|
inline |
Definition at line 13376 of file CImg.h.
Referenced by CImg< uintT >::tensor().
|
inline |
Return a new image corresponding to the diffusion tensor located at (x
,y
,z
) of the current vector-valued image.
Definition at line 13289 of file CImg.h.
|
inline |
|
inline |
|
inline |
Definition at line 21086 of file CImg.h.
Definition at line 21102 of file CImg.h.
|
inline |
Definition at line 13451 of file CImg.h.
Referenced by cimg_library::transpose(), and CImg< uintT >::transpose().
|
inline |
Definition at line 17624 of file CImg.h.
Referenced by CImg< uintT >::get_vector().
|
inline |
Return a new image corresponding to the vector located at (x
,y
,z
) of the current vector-valued image.
Definition at line 13270 of file CImg.h.
Referenced by CImg< uintT >::draw_fill().
|
inline |
Definition at line 17869 of file CImg.h.
Referenced by CImg< uintT >::warp().
Definition at line 16441 of file CImg.h.
Definition at line 16405 of file CImg.h.
Definition at line 16318 of file CImg.h.
Definition at line 16285 of file CImg.h.
Definition at line 16380 of file CImg.h.
Definition at line 16073 of file CImg.h.
Definition at line 16125 of file CImg.h.
|
inline |
Compute the Haar multiscale wavelet transform (monodimensional version).
axis | Axis considered for the transform. |
invert | Set inverse of direct transform. |
nb_scales | Number of scales used for the transform. |
Definition at line 20600 of file CImg.h.
|
inline |
Compute the Haar multiscale wavelet transform.
invert | Set inverse of direct transform. |
nb_scales | Number of scales used for the transform. |
Definition at line 20729 of file CImg.h.
|
inline |
Compute the histogram of the instance image.
nb_levels | Number of desired histogram levels. |
value_min | Minimum pixel value considered for the histogram computation. All pixel values lower than value_min will not be counted. |
value_max | Maximum pixel value considered for the histogram computation. All pixel values higher than value_max will not be counted. |
CImg<T>(nb_levels)
image. value_min==value_max==0
(default behavior), the function first estimates the whole range of pixel values then uses it to compute the histogram.CImg<T>::get_histogram()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15269 of file CImg.h.
|
inline |
Convert color pixels from (H,S,I) to (R,G,B).
Definition at line 15982 of file CImg.h.
Referenced by CImg< uintT >::get_HSItoRGB().
|
inline |
Convert color pixels from (H,S,L) to (R,G,B).
Definition at line 15911 of file CImg.h.
Referenced by CImg< uintT >::get_HSLtoRGB().
|
inline |
Convert color pixels from (H,S,V) to (R,G,B).
Definition at line 15826 of file CImg.h.
Referenced by CImg< uintT >::get_HSVtoRGB().
|
inline |
Get an identity matrix having same dimension than instance image.
Definition at line 13416 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d(), CImg< uintT >::get_identity_matrix(), and CImg< uintT >::identity_matrix().
|
inlinestatic |
|
inline |
Index multi-valued pixels of the instance image, regarding to a predefined palette.
palette | Multi-valued palette used as the basis for multi-valued pixel indexing. |
dithering | Tells if Floyd-Steinberg dithering is activated or not. |
map_indexes | Tell if the values of the resulting image are the palette indices or the palette vectors. |
img.index(palette,dithering,1)
is equivalent to img.index(palette,dithering,0).map(palette)
.CImg<T>::get_index()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15343 of file CImg.h.
Referenced by CImg< uintT >::default_LUT256().
|
inline |
Invert the current matrix.
Definition at line 13474 of file CImg.h.
Referenced by CImg< uintT >::FFT(), CImg< uintT >::get_FFT(), CImg< uintT >::get_haar(), CImg< uintT >::get_invert(), and CImg< uintT >::haar().
|
inline |
Invert endianness of the image buffer.
Definition at line 14951 of file CImg.h.
Referenced by CImg< uintT >::get_invert_endianness(), CImg< uintT >::get_load_raw(), and CImg< uintT >::load_raw().
|
inline |
Return true
if current image is empty.
Definition at line 11864 of file CImg.h.
Referenced by CImg< uintT >::_display(), CImg< uintT >::_display_object3d(), CImg< uintT >::_draw_ellipse(), CImg< uintT >::_draw_line(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_point(), CImg< uintT >::_draw_polygon(), CImg< uintT >::_draw_spline(), CImg< uintT >::_draw_text(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_get_select(), CImg< uintT >::_save_ascii(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_inr(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_off(), CImg< uintT >::_save_pandore(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_raw(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::append(), CImg< uintT >::append_object3d(), CImg< uintT >::atX(), CImg< uintT >::atXY(), CImg< uintT >::atXYZ(), CImg< uintT >::atXYZV(), CImg< uintT >::autocrop(), CImg< uintT >::blur(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::blur_bilateral(), CImg< uintT >::CMYtoRGB(), CImg< uintT >::contains(), CImg< uintT >::containsXYZV(), CImg< uintT >::cubic_atX(), CImg< uintT >::cubic_atXY(), CImg< uintT >::cut(), CImg< uintT >::deriche(), CImg< uintT >::det(), CImg< uintT >::display_graph(), CImg< uintT >::distance_hamilton(), CImg< uintT >::dot(), CImg< uintT >::draw_arrow(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_circle(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_graph(), CImg< uintT >::draw_grid(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_mandelbrot(), CImg< uintT >::draw_plasma(), CImg< uintT >::draw_point(), CImg< uintT >::draw_quiver(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_spline(), CImg< uintT >::draw_triangle(), CImg< uintT >::eigen(), CImg< uintT >::equalize(), CImg< uintT >::fill(), CImg< uintT >::get_append(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_CMYKtoCMY(), CImg< uintT >::get_CMYtoCMYK(), CImg< uintT >::get_convolve(), CImg< uintT >::get_correlate(), CImg< uintT >::get_crop(), CImg< uintT >::get_diagonal(), CImg< uintT >::get_dilate(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_distance(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_erode(), CImg< uintT >::get_haar(), CImg< uintT >::get_histogram(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_norm(), CImg< uintT >::get_projections2d(), CImg< uintT >::get_resize(), CImg< uintT >::get_resize_doubleXY(), CImg< uintT >::get_resize_halfXY(), CImg< uintT >::get_resize_tripleXY(), CImg< uintT >::get_RGBtoBayer(), CImg< uintT >::get_rotate(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_stats(), CImg< uintT >::get_structure_tensor(), CImg< uintT >::get_warp(), CImg< uintT >::HSItoRGB(), CImg< uintT >::HSLtoRGB(), CImg< uintT >::HSVtoRGB(), CImg< uintT >::invert(), CImg< uintT >::is_object3d(), CImg< uintT >::kth_smallest(), CImg< uintT >::LabtoXYZ(), CImg< uintT >::linear_atX(), CImg< uintT >::linear_atXY(), CImg< uintT >::linear_atXYZ(), CImg< uintT >::linear_atXYZV(), CImg< uintT >::load(), CImg< uintT >::load_other(), CImg< uintT >::magnitude(), CImg< uintT >::max(), CImg< uintT >::maxmin(), CImg< uintT >::mean(), CImg< uintT >::min(), CImg< uintT >::minmax(), CImg< uintT >::mirror(), CImg< uintT >::noise(), CImg< uintT >::normalize(), CImg< uintT >::print(), CImg< uintT >::quantize(), CImg< uintT >::resize_object3d(), CImg< uintT >::RGBtoCMY(), CImg< uintT >::RGBtoHSI(), CImg< uintT >::RGBtoHSL(), CImg< uintT >::RGBtoHSV(), CImg< uintT >::RGBtoXYZ(), CImg< uintT >::RGBtoYCbCr(), CImg< uintT >::RGBtoYUV(), CImg< uintT >::save(), CImg< uintT >::save_analyze(), CImg< uintT >::save_ffmpeg(), CImg< uintT >::save_ffmpeg_external(), CImg< uintT >::save_graphicsmagick_external(), CImg< uintT >::save_imagemagick_external(), CImg< uintT >::save_magick(), CImg< uintT >::save_medcon_external(), CImg< uintT >::save_other(), CImg< uintT >::save_tiff(), CImg< uintT >::sequence(), CImg< uintT >::sharpen(), CImg< uintT >::sort(), CImg< uintT >::sum(), CImg< uintT >::SVD(), CImg< uintT >::symmetric_eigen(), CImg< uintT >::threshold(), CImg< uintT >::trace(), CImg< uintT >::translate(), CImg< uintT >::translate_object3d(), CImg< uintT >::value_string(), CImg< uintT >::variancemean(), CImg< uintT >::xyYtoXYZ(), CImg< uintT >::XYZtoLab(), CImg< uintT >::XYZtoRGB(), CImg< uintT >::XYZtoxyY(), CImg< uintT >::YCbCrtoRGB(), and CImg< uintT >::YUVtoRGB().
|
inline |
Return true if the couple (instance,primitives) stands for a valid 3D object.
Definition at line 12122 of file CImg.h.
|
inline |
Return true
if the memory buffers of the two images overlaps.
May happen when using shared images.
Definition at line 12115 of file CImg.h.
Referenced by CImg< uintT >::div(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_quiver(), CImg< uintT >::draw_spline(), CImg< uintT >::draw_triangle(), CImg< uintT >::max(), CImg< uintT >::min(), CImg< uintT >::mul(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator+=(), CImg< uintT >::operator-=(), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), and CImg< uintT >::pow().
|
inline |
Return true
if image (*this) has the specified number of channels.
Definition at line 11912 of file CImg.h.
Referenced by CImg< uintT >::is_sameV(), CImg< uintT >::is_sameXV(), CImg< uintT >::is_sameXYV(), CImg< uintT >::is_sameXYZV(), CImg< uintT >::is_sameXZV(), CImg< uintT >::is_sameYV(), CImg< uintT >::is_sameYZV(), and CImg< uintT >::is_sameZV().
|
inline |
Return true
if images (*this) and
img
have same dim.
Definition at line 11918 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width.
Definition at line 11869 of file CImg.h.
Referenced by CImg< uintT >::is_sameX(), CImg< uintT >::is_sameXV(), CImg< uintT >::is_sameXY(), and CImg< uintT >::is_sameXZ().
|
inline |
Return true
if images (*this) and
img
have same width.
Definition at line 11875 of file CImg.h.
|
inline |
Return true
if images (*this) and the display
disp
have same width.
Definition at line 11880 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width and number of channels.
Definition at line 11950 of file CImg.h.
|
inline |
Return true
if images have same width and same number of channels.
Definition at line 11956 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width and height.
Definition at line 11923 of file CImg.h.
Referenced by CImg< uintT >::__draw_object3d(), CImg< uintT >::draw_line(), CImg< uintT >::draw_triangle(), CImg< uintT >::get_elevation3d(), CImg< uintT >::is_sameXYV(), and CImg< uintT >::is_sameXYZ().
|
inline |
Return true
if images have same width and same height.
Definition at line 11929 of file CImg.h.
|
inline |
Return true
if image (*this) and the display
disp
have same width and same height.
Definition at line 11934 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width, height and depth.
Definition at line 12005 of file CImg.h.
|
inline |
Return true
if images have same width, same height and same number of channels.
Definition at line 12011 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width, height and depth.
Definition at line 11994 of file CImg.h.
Referenced by CImg< uintT >::blur_anisotropic(), CImg< uintT >::get_warp(), and CImg< uintT >::is_sameXYZV().
|
inline |
Return true
if images have same width, same height and same depth.
Definition at line 12000 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width, height, depth and number of channels.
Definition at line 12038 of file CImg.h.
Referenced by CImg< uintT >::get_displacement_field().
|
inline |
Return true
if images (*this) and
img
have same width, same height, same depth and same number of channels.
Definition at line 12044 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width and depth.
Definition at line 11939 of file CImg.h.
Referenced by CImg< uintT >::is_sameXZV().
|
inline |
Return true
if images have same width and same depth.
Definition at line 11945 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified width, height and number of channels.
Definition at line 12016 of file CImg.h.
|
inline |
Return true
if images have same width, same depth and same number of channels.
Definition at line 12022 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified height.
Definition at line 11885 of file CImg.h.
Referenced by CImg< uintT >::is_sameXY(), CImg< uintT >::is_sameY(), CImg< uintT >::is_sameYV(), and CImg< uintT >::is_sameYZ().
|
inline |
Return true
if images (*this) and
img
have same height.
Definition at line 11891 of file CImg.h.
|
inline |
Return true
if images (*this) and the display
disp
have same height.
Definition at line 11896 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified height and number of channels.
Definition at line 11972 of file CImg.h.
|
inline |
Return true
if images have same height and same number of channels.
Definition at line 11978 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified height and depth.
Definition at line 11961 of file CImg.h.
Referenced by CImg< uintT >::is_sameYZV().
|
inline |
Return true
if images have same height and same depth.
Definition at line 11967 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified height, depth and number of channels.
Definition at line 12027 of file CImg.h.
|
inline |
Return true
if images have same heigth, same depth and same number of channels.
Definition at line 12033 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified depth.
Definition at line 11901 of file CImg.h.
Referenced by CImg< uintT >::is_sameXYZ(), CImg< uintT >::is_sameXZ(), CImg< uintT >::is_sameYZ(), CImg< uintT >::is_sameZ(), and CImg< uintT >::is_sameZV().
|
inline |
Return true
if images (*this) and
img
have same depth.
Definition at line 11907 of file CImg.h.
|
inline |
Return true
if image (*this) has the specified depth and number of channels.
Definition at line 11983 of file CImg.h.
|
inline |
Return true
if images have same depth and same number of channels.
Definition at line 11989 of file CImg.h.
|
inlinestatic |
Get isocurve as a 3D object.
Definition at line 21328 of file CImg.h.
Referenced by CImg< uintT >::get_isocurve3d(), and CImg< uintT >::isocurve3d().
|
inlinestatic |
Definition at line 21410 of file CImg.h.
|
inlinestatic |
Get isosurface as a 3D object.
Definition at line 21460 of file CImg.h.
Referenced by CImg< uintT >::get_isosurface3d(), and CImg< uintT >::isosurface3d().
|
inlinestatic |
Definition at line 21745 of file CImg.h.
|
inline |
Return the kth smallest element of the image.
Definition at line 12981 of file CImg.h.
Referenced by CImg< uintT >::median().
|
inline |
Create a map of indexed labels counting disconnected regions with same intensities.
CImg<T>::get_label_regions()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15634 of file CImg.h.
|
inline |
Convert a (L,a,b) image to a (R,G,B) one.
Definition at line 16419 of file CImg.h.
Referenced by CImg< uintT >::get_LabtoRGB().
|
inline |
Convert (L,a,b) pixels of a color image into the (X,Y,Z) color space.
Definition at line 16323 of file CImg.h.
Referenced by CImg< uintT >::get_LabtoXYZ(), and CImg< uintT >::LabtoRGB().
|
inline |
Get a line.
Definition at line 18421 of file CImg.h.
Referenced by CImg< uintT >::_load_ascii(), CImg< uintT >::_load_off(), bccaseloop(), inrt_readinputfile(), inrt_readmaterialinput(), peri_readinputfile(), peul_readbcinputfile(), peul_readinputfile(), plag_readinputfile(), readbcinputfile(), readinputfile(), prep_modbcdistribution::readpatchsection(), readstatisticsection(), rflo_readbcinputfile(), rflo_readregionmapsection(), rflo_readtbcinputfile(), rflo_readtbcsection(), rflu_modreadbcinputfile::rflu_readbcinputfile(), rflu_readtbcinputfile(), rflu_readtbcsection(), rflu_modsymmetryperiodic::rflu_sype_setsypepatchesflag(), rvav_readcomparisonssection(), rvav_readinputfile(), spec_readinputfile(), spec_rflu_readbcinputfile(), turb_readbcinputfile(), and turb_readinputfile().
|
inline |
Read a pixel value using linear interpolation and Dirichlet boundary conditions (first coordinate).
Definition at line 11557 of file CImg.h.
Referenced by CImg< uintT >::get_warp().
|
inline |
Read a pixel value using linear interpolation and Neumann boundary conditions (first coordinate).
Definition at line 11568 of file CImg.h.
|
inline |
Read a pixel value using linear interpolation and Dirichlet boundary conditions (first two coordinates).
Definition at line 11516 of file CImg.h.
Referenced by CImg< uintT >::get_rotate(), and CImg< uintT >::get_warp().
|
inline |
Read a pixel value using linear interpolation and Neumann boundary conditions (first two coordinates).
Definition at line 11530 of file CImg.h.
|
inline |
Read a pixel value using linear interpolation and Dirichlet boundary conditions (first three coordinates).
Definition at line 11451 of file CImg.h.
Referenced by CImg< uintT >::get_warp().
|
inline |
Read a pixel value using linear interpolation and Neumann boundary conditions (first three coordinates).
Definition at line 11476 of file CImg.h.
|
inline |
Read a pixel value using linear interpolation and Dirichlet boundary conditions.
Definition at line 11356 of file CImg.h.
Referenced by CImg< uintT >::get_warp().
|
inline |
Read a pixel value using linear interpolation and Neumann boundary conditions.
Definition at line 11395 of file CImg.h.
|
inline |
Get a set of lines.
Definition at line 18430 of file CImg.h.
Referenced by CImg< uintT >::line().
|
inline |
Load an image from a file.
filename | is the name of the image file to load. |
filename
defines the file format. If no filename extension is provided, CImg<T>::get_load() will try to load a .cimg file. Definition at line 29130 of file CImg.h.
Referenced by CImg< uintT >::assign(), CImg< uintT >::get_load(), CImg< uintT >::load_gzip_external(), and CImg< uintT >::operator=().
|
inline |
Load an image from an ANALYZE7.5/NIFTI file.
Definition at line 30408 of file CImg.h.
Referenced by CImg< uintT >::get_load_analyze(), CImg< uintT >::load(), and CImg< uintT >::load_medcon_external().
|
inline |
Load an image from an ANALYZE7.5/NIFTI file.
Definition at line 30417 of file CImg.h.
|
inline |
Load an image from an ASCII file.
Definition at line 29266 of file CImg.h.
Referenced by CImg< uintT >::get_load_ascii(), and CImg< uintT >::load().
|
inline |
Load an image from an ASCII file.
Definition at line 29275 of file CImg.h.
|
inline |
Load an image from a BMP file.
Definition at line 29362 of file CImg.h.
Referenced by CImg< uintT >::get_load_bmp(), and CImg< uintT >::load().
|
inline |
Load an image from a BMP file.
Definition at line 29371 of file CImg.h.
|
inline |
Load an image (list) from a .cimg file.
Definition at line 30531 of file CImg.h.
Referenced by CImg< uintT >::get_load_cimg(), and CImg< uintT >::load().
Load an image (list) from a .cimg file.
Definition at line 30543 of file CImg.h.
|
inline |
Load a sub-image (list) from a .cimg file.
Definition at line 30555 of file CImg.h.
|
inline |
Load a sub-image (list) from a non-compressed .cimg file.
Definition at line 30575 of file CImg.h.
|
inline |
Load a RAW Color Camera image file, using external tool 'dcraw'.
Definition at line 31359 of file CImg.h.
Referenced by CImg< uintT >::get_load_dcraw_external(), and CImg< uintT >::load().
|
inline |
Load an image from a DLM file.
Definition at line 29314 of file CImg.h.
Referenced by CImg< uintT >::get_load_dlm(), and CImg< uintT >::load().
|
inline |
Load an image from a DLM file.
Definition at line 29323 of file CImg.h.
|
inline |
Load a video sequence using FFMPEG av's libraries.
Definition at line 30985 of file CImg.h.
Referenced by CImg< uintT >::get_load_ffmpeg(), and CImg< uintT >::load().
|
inline |
Load a video sequence using FFMPEG's external tool 'ffmpeg'.
Definition at line 31212 of file CImg.h.
Referenced by CImg< uintT >::get_load_ffmpeg_external().
|
inline |
Load an image using GraphicsMagick's external tool 'gm'.
Definition at line 31221 of file CImg.h.
Referenced by CImg< uintT >::get_load_graphicsmagick_external(), and CImg< uintT >::load_other().
|
inline |
Load a gzipped image file, using external tool 'gunzip'.
Definition at line 31255 of file CImg.h.
Referenced by CImg< uintT >::get_load_gzip_external(), and CImg< uintT >::load().
|
inline |
Load an image using ImageMagick's external tool 'convert'.
Definition at line 31291 of file CImg.h.
Referenced by CImg< uintT >::get_load_imagemagick_external(), and CImg< uintT >::load_other().
|
inline |
Load an image from an INRIMAGE-4 file.
Definition at line 30595 of file CImg.h.
Referenced by CImg< uintT >::get_load_inr(), and CImg< uintT >::load().
|
inline |
Load an image from an INRIMAGE-4 file.
Definition at line 30604 of file CImg.h.
|
inline |
Load an image from a JPEG file.
Definition at line 29493 of file CImg.h.
Referenced by CImg< uintT >::get_load_jpeg(), and CImg< uintT >::load().
|
inline |
Load an image from a JPEG file.
Definition at line 29502 of file CImg.h.
|
inline |
Load an image from a file, using Magick++ library.
Definition at line 29585 of file CImg.h.
Referenced by CImg< uintT >::get_load_magick(), and CImg< uintT >::load_other().
|
inline |
Load a DICOM image file, using XMedcon's external tool 'medcon'.
Definition at line 31325 of file CImg.h.
Referenced by CImg< uintT >::get_load_medcon_external(), and CImg< uintT >::load().
|
inline |
Load a 3D object from a .OFF file.
Definition at line 31029 of file CImg.h.
Referenced by CImg< uintT >::get_load_off().
|
inline |
Load a 3D object from a .OFF file.
Definition at line 31040 of file CImg.h.
|
inline |
Load an image using ImageMagick's or GraphicsMagick's executables.
Definition at line 31393 of file CImg.h.
Referenced by CImg< uintT >::_load_bmp(), CImg< uintT >::_load_jpeg(), CImg< uintT >::_load_png(), CImg< uintT >::get_load_other(), CImg< uintT >::load(), and CImg< uintT >::load_tiff().
|
inline |
Load an image from a PANDORE file.
Definition at line 30701 of file CImg.h.
Referenced by CImg< uintT >::get_load_pandore(), and CImg< uintT >::load().
|
inline |
Load an image from a PANDORE file.
Definition at line 30710 of file CImg.h.
|
inline |
Load an image from a PAR-REC (Philips) file.
Definition at line 30916 of file CImg.h.
Referenced by CImg< uintT >::get_load_parrec(), and CImg< uintT >::load().
|
inline |
Load an image from a PNG file.
Definition at line 29651 of file CImg.h.
Referenced by CImg< uintT >::get_load_png(), and CImg< uintT >::load().
|
inline |
Load an image from a PNG file.
Definition at line 29660 of file CImg.h.
|
inline |
Load an image from a PNM file.
Definition at line 29812 of file CImg.h.
Referenced by CImg< uintT >::get_load_pnm(), CImg< uintT >::load(), CImg< uintT >::load_dcraw_external(), CImg< uintT >::load_graphicsmagick_external(), and CImg< uintT >::load_imagemagick_external().
|
inline |
Load an image from a PNM file.
Definition at line 29821 of file CImg.h.
|
inline |
Load an image from a .RAW file.
Definition at line 30928 of file CImg.h.
Referenced by CImg< uintT >::get_load_raw().
|
inline |
Load an image from a .RAW file.
Definition at line 30943 of file CImg.h.
|
inline |
Load an image from a RGB file.
Definition at line 29949 of file CImg.h.
Referenced by CImg< uintT >::get_load_rgb().
|
inline |
Load an image from a RGB file.
Definition at line 29958 of file CImg.h.
|
inline |
Load an image from a RGBA file.
Definition at line 29995 of file CImg.h.
Referenced by CImg< uintT >::get_load_rgba().
|
inline |
Load an image from a RGBA file.
Definition at line 30004 of file CImg.h.
|
inline |
Load an image from a TIFF file.
Definition at line 30043 of file CImg.h.
Referenced by CImg< uintT >::get_load_tiff(), and CImg< uintT >::load().
|
inline |
Load an image sequence from a YUV file.
Definition at line 30998 of file CImg.h.
Referenced by CImg< uintT >::get_load_yuv().
|
inline |
Load an image sequence from a YUV file.
Definition at line 31013 of file CImg.h.
|
inline |
Compute the log of each each pixel value.
Definition at line 12550 of file CImg.h.
Referenced by CImg< uintT >::get_log().
|
inline |
Compute the log10 of each each pixel value.
Definition at line 12560 of file CImg.h.
Referenced by CImg< uintT >::get_log10().
|
inlinestatic |
|
inline |
Return the norm of the current vector/matrix. ntype
= norm type (0=L2, 1=L1, -1=Linf).
Definition at line 13191 of file CImg.h.
Referenced by c3d6nm().
Map predefined palette on the scalar (indexed) instance image.
palette | Multi-valued palette used for mapping the indexes. |
CImg<T>::get_map()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15571 of file CImg.h.
Referenced by v3d4_r_bar().
|
inline |
Realign pixel values of the instance image as a square matrix.
Definition at line 13343 of file CImg.h.
Referenced by CImg< uintT >::diagonal(), CImg< uintT >::get_matrix(), huang_const_model(), CImg< uintT >::rotation_matrix(), CImg< uintT >::tensor(), testconst(), and v3d10_nl_huang().
|
inlinestatic |
Return a 1x1 square matrix with specified coefficients.
Definition at line 14289 of file CImg.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Pointwise max operator between an image and a value.
Definition at line 12830 of file CImg.h.
Referenced by CImg< uintT >::get_label_regions(), and CImg< uintT >::get_max().
Pointwise max operator between two images.
Definition at line 12841 of file CImg.h.
|
inline |
Pointwise max operator between an image and a string.
Definition at line 12855 of file CImg.h.
|
inline |
Return a reference to the maximum pixel value of the instance image.
Definition at line 12900 of file CImg.h.
Referenced by CImg< uintT >::_quicksort(), CImg< uintT >::get_max(), CImg< uintT >::max(), and CImg< uintT >::noise().
|
inline |
Definition at line 12909 of file CImg.h.
|
inline |
Return a reference to the maximum pixel value and return also the minimum pixel value.
Definition at line 12951 of file CImg.h.
Referenced by CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::blur_bilateral(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_index(), CImg< uintT >::normalize(), CImg< uintT >::quantize(), CImg< uintT >::save_magick(), and CImg< uintT >::sharpen().
|
inline |
Definition at line 12966 of file CImg.h.
|
inline |
Return the mean pixel value of the instance image.
Definition at line 13032 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d().
|
inline |
Return the median value of the image.
Definition at line 13015 of file CImg.h.
|
inline |
Pointwise min operator between an image and a value.
Definition at line 12779 of file CImg.h.
Referenced by CImg< uintT >::get_min().
Pointwise min operator between two images.
Definition at line 12790 of file CImg.h.
|
inline |
Pointwise min operator between an image and a string.
Definition at line 12804 of file CImg.h.
|
inline |
Return a reference to the minimum pixel value of the instance image.
Definition at line 12881 of file CImg.h.
Referenced by CImg< uintT >::_quicksort(), CImg< uintT >::get_min(), CImg< uintT >::min(), and CImg< uintT >::noise().
|
inline |
Definition at line 12890 of file CImg.h.
|
inline |
Return a reference to the minimum pixel value and return also the maximum pixel value.
Definition at line 12920 of file CImg.h.
Referenced by CImg< uintT >::equalize(), CImg< uintT >::get_histogram(), CImg< uintT >::get_select_graph(), and CImg< uintT >::noise().
|
inline |
Definition at line 12935 of file CImg.h.
|
inline |
Mirror an image along the specified axis.
Definition at line 17147 of file CImg.h.
Referenced by CImg< uintT >::_load_bmp(), and CImg< uintT >::get_mirror().
Compute the MSE (Mean-Squared Error) between two images.
Definition at line 13113 of file CImg.h.
Referenced by CImg< uintT >::PSNR().
Pointwise multiplication between two images.
Definition at line 12685 of file CImg.h.
Referenced by CImg< uintT >::get_mul(), and CImg< uintT >::mul().
|
inline |
Add random noise to the values of the instance image.
sigma | Amplitude of the random additive noise. If sigma<0 , it stands for a percentage of the global value range. |
noise_type | Type of additive noise (can be 0=gaussian , 1=uniform , 2=Salt and Pepper, 3=Poisson or 4=Rician ). |
noise_type=3
), parameter sigma
is ignored, as Poisson noise only depends on the image value itself.CImg<T>::get_noise()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15000 of file CImg.h.
Referenced by CImg< uintT >::get_noise(), and CImg< uintT >::get_select_graph().
|
inline |
Compute L2-norm of each multi-valued pixel of the instance image.
norm_type | Type of computed vector norm (can be 0=Linf , 1=L1 or 2=L2 ). |
CImg<T>::get_norm()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15127 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d(), CImg< uintT >::_get_select(), and CImg< uintT >::rotation_matrix().
|
inline |
Linearly normalize values of the instance image between value_min
and value_max
.
value_min | Minimum desired value of the resulting image. |
value_max | Maximum desired value of the resulting image. |
CImg<T>::get_normalize()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15073 of file CImg.h.
|
inline |
Normalize multi-valued pixels of the instance image, with respect to their L2-norm.
CImg<T>::get_normalize()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15099 of file CImg.h.
Referenced by CImg< uintT >::get_normalize().
|
inline |
Return the offset of the pixel coordinates (x
,y
,z
,v
) with respect to the data pointer data
.
x | X-coordinate of the pixel. |
y | Y-coordinate of the pixel. |
z | Z-coordinate of the pixel. |
v | V-coordinate of the pixel. |
Definition at line 11147 of file CImg.h.
Referenced by CImg< uintT >::_load_bmp(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), and CImg< uintT >::get_shared_points().
|
inline |
Return true
if image is not empty.
Definition at line 10461 of file CImg.h.
|
inline |
|
inline |
Operator%=().
Definition at line 10775 of file CImg.h.
|
inline |
Operator%=().
Definition at line 10781 of file CImg.h.
Operator%=().
Definition at line 10800 of file CImg.h.
|
inline |
|
inline |
Operator&=().
Definition at line 10837 of file CImg.h.
Operator&=().
Definition at line 10856 of file CImg.h.
|
inline |
Fast access to pixel value for reading or writing.
x | X-coordinate of the pixel. |
y | Y-coordinate of the pixel. |
z | Z-coordinate of the pixel. |
v | V-coordinate of the pixel. |
'cimg_debug'>=3
, boundary checking is performed and warning messages may appear (but function performances decrease).Definition at line 10451 of file CImg.h.
|
inline |
Definition at line 10455 of file CImg.h.
Operator*().
Definition at line 10712 of file CImg.h.
|
inline |
Operator*=().
Definition at line 10676 of file CImg.h.
|
inline |
|
inline |
Operator++() (postfix).
Definition at line 10562 of file CImg.h.
|
inline |
Operator+=().
Definition at line 10524 of file CImg.h.
Operator+=().
Definition at line 10543 of file CImg.h.
|
inline |
Operator-() (unary).
Definition at line 10647 of file CImg.h.
|
inline |
Operator–() (postfix).
Definition at line 10640 of file CImg.h.
|
inline |
Operator-=().
Definition at line 10602 of file CImg.h.
Operator-=().
Definition at line 10621 of file CImg.h.
|
inline |
Operator/=().
Definition at line 10733 of file CImg.h.
Operator/=().
Definition at line 10752 of file CImg.h.
|
inline |
Operator<().
Definition at line 11024 of file CImg.h.
|
inline |
Operator<<().
|
inline |
Operator=().
Assignment operator. Fill all pixels of the instance image with the same value. The image size is not modified.
Definition at line 10470 of file CImg.h.
|
inline |
Operator=().
Assignment operator. If expression
is a formula or a list of values, the image pixels are filled according to the expression and the image size is not modified. If expression
is a filename, the image is replaced by the input file data (so image size is modified).
Definition at line 10482 of file CImg.h.
Operator=().
Assignement operator. If instance image is non-shared, replace the instance image by a copy of the argument image. If instance image is shared, replace the image content by the content of the argument image.
Definition at line 10502 of file CImg.h.
Definition at line 10506 of file CImg.h.
|
inline |
|
inline |
Operator==().
Definition at line 10996 of file CImg.h.
|
inline |
Operator>>().
|
inline |
Fast access to pixel value for reading or writing, using an offset to the image pixel.
off | Offset of the pixel according to the begining of the pixel buffer, given by ptr(). |
'cimg_debug'>=3
, boundary checking is performed and warning messages may appear (but function performances decrease).Definition at line 10405 of file CImg.h.
|
inline |
Definition at line 10409 of file CImg.h.
|
inline |
|
inline |
Operator^=().
Definition at line 10927 of file CImg.h.
Operator^=().
Definition at line 10946 of file CImg.h.
|
inline |
|
inline |
Operator|=().
Definition at line 10882 of file CImg.h.
Operator|=().
Definition at line 10901 of file CImg.h.
|
inline |
Operator~().
Definition at line 10965 of file CImg.h.
|
inline |
Permute axes order.
This function permutes image axes.
permut | = String describing the permutation (4 characters). |
Definition at line 17600 of file CImg.h.
|
inlinestatic |
Return the type of the pixel values.
T
)."unsigned char"
)."unknown"
is returned. Definition at line 11041 of file CImg.h.
Referenced by CImg< uintT >::_autocrop(), CImg< T >::_cimg_math_parser::_cimg_math_parser(), CImg< uintT >::_display(), CImg< uintT >::_display_object3d(), CImg< uintT >::_draw_ellipse(), CImg< uintT >::_draw_line(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_point(), CImg< uintT >::_draw_polygon(), CImg< uintT >::_draw_spline(), CImg< uintT >::_draw_text(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_get_select(), CImg< uintT >::_load_analyze(), CImg< uintT >::_load_ascii(), CImg< uintT >::_load_bmp(), CImg< uintT >::_load_dlm(), CImg< uintT >::_load_inr(), CImg< uintT >::_load_inr_header(), CImg< uintT >::_load_jpeg(), CImg< uintT >::_load_off(), CImg< uintT >::_load_pandore(), CImg< uintT >::_load_png(), CImg< uintT >::_load_pnm(), CImg< uintT >::_load_raw(), CImg< uintT >::_load_rgb(), CImg< uintT >::_load_rgba(), CImg< uintT >::_save_ascii(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_inr(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_off(), CImg< uintT >::_save_pandore(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_raw(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::append_object3d(), CImg< uintT >::assign(), CImg< uintT >::at(), CImg< uintT >::atX(), CImg< uintT >::atXY(), CImg< uintT >::atXYZ(), CImg< uintT >::atXYZV(), CImg< uintT >::autocrop(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::CImg(), CImg< uintT >::CMYtoRGB(), CImg< T >::_cimg_math_parser::compile(), CImg< uintT >::cross(), CImg< uintT >::cubic_atX(), CImg< uintT >::cubic_atXY(), CImg< uintT >::deriche(), CImg< uintT >::det(), CImg< uintT >::display_graph(), CImg< uintT >::dot(), CImg< uintT >::draw_circle(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_graph(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_mandelbrot(), CImg< uintT >::draw_point(), CImg< uintT >::draw_polygon(), CImg< uintT >::draw_quiver(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_spline(), CImg< uintT >::draw_triangle(), CImg< uintT >::eigen(), CImg< uintT >::elevation3d(), CImg< T >::_cimg_math_parser::eval(), CImg< uintT >::eval(), CImg< uintT >::FFT(), CImg< uintT >::fill(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_CMYKtoCMY(), CImg< uintT >::get_CMYtoCMYK(), CImg< uintT >::get_convolve(), CImg< uintT >::get_correlate(), CImg< uintT >::get_dijkstra(), CImg< uintT >::get_dilate(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_erode(), CImg< uintT >::get_gradient(), CImg< uintT >::get_haar(), CImg< uintT >::get_hessian(), CImg< uintT >::get_histogram(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_map(), CImg< uintT >::get_resize(), CImg< uintT >::get_RGBtoBayer(), CImg< uintT >::get_rotate(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::get_split(), CImg< uintT >::get_tensor(), CImg< uintT >::get_warp(), CImg< uintT >::HSItoRGB(), CImg< uintT >::HSLtoRGB(), CImg< uintT >::HSVtoRGB(), CImg< uintT >::invert(), CImg< uintT >::is_object3d(), CImg< uintT >::kth_smallest(), CImg< uintT >::LabtoXYZ(), CImg< uintT >::linear_atX(), CImg< uintT >::linear_atXY(), CImg< uintT >::linear_atXYZ(), CImg< uintT >::linear_atXYZV(), CImg< uintT >::load(), CImg< uintT >::load_dcraw_external(), CImg< uintT >::load_graphicsmagick_external(), CImg< uintT >::load_gzip_external(), CImg< uintT >::load_imagemagick_external(), CImg< uintT >::load_magick(), CImg< uintT >::load_medcon_external(), CImg< uintT >::load_other(), CImg< uintT >::load_tiff(), CImg< uintT >::magnitude(), CImg< uintT >::matrix(), CImg< uintT >::max(), CImg< uintT >::maxmin(), CImg< uintT >::mean(), CImg< uintT >::min(), CImg< uintT >::minmax(), CImg< uintT >::mirror(), CImg< uintT >::MSE(), CImg< uintT >::noise(), CImg< uintT >::print(), CImg< uintT >::quantize(), CImg< uintT >::resize_object3d(), CImg< uintT >::RGBtoCMY(), CImg< uintT >::RGBtoHSI(), CImg< uintT >::RGBtoHSL(), CImg< uintT >::RGBtoHSV(), CImg< uintT >::RGBtoXYZ(), CImg< uintT >::RGBtoYCbCr(), CImg< uintT >::RGBtoYUV(), CImg< uintT >::save(), CImg< uintT >::save_analyze(), CImg< uintT >::save_ffmpeg(), CImg< uintT >::save_ffmpeg_external(), CImg< uintT >::save_graphicsmagick_external(), CImg< uintT >::save_gzip_external(), CImg< uintT >::save_imagemagick_external(), CImg< uintT >::save_magick(), CImg< uintT >::save_medcon_external(), CImg< uintT >::save_other(), CImg< uintT >::save_tiff(), CImg< uintT >::solve(), CImg< uintT >::solve_tridiagonal(), CImg< uintT >::sum(), CImg< uintT >::symmetric_eigen(), CImg< uintT >::trace(), CImg< uintT >::translate_object3d(), CImg< uintT >::unroll(), CImg< uintT >::variancemean(), CImg< uintT >::xyYtoXYZ(), CImg< uintT >::XYZtoLab(), CImg< uintT >::XYZtoRGB(), CImg< uintT >::XYZtoxyY(), CImg< uintT >::YCbCrtoRGB(), and CImg< uintT >::YUVtoRGB().
|
inlinestatic |
Create and return a 3D XY-plane.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
size_x | The width of the plane (dimension along the X-axis). | |
size_y | The height of the plane (dimensions along the Y-axis). | |
subdivisions_x | The number of planar subdivisions along the X-axis. | |
subdivisions_y | The number of planar subdivisions along the Y-axis. | |
double_sided | Determine if the plane primitives must be double-sided or not. |
Definition at line 21972 of file CImg.h.
|
inline |
Compute the power by p of each pixel value.
Definition at line 12722 of file CImg.h.
Referenced by CImg< uintT >::get_pow(), and CImg< uintT >::pow().
Compute the power of each pixel value.
Definition at line 12739 of file CImg.h.
|
inline |
Compute the power of each pixel value.
Definition at line 12753 of file CImg.h.
|
inline |
Display informations about the image on the standard error output.
title | Name for the considered image (optional). |
display_stats | Compute and display image statistics (optional). |
Definition at line 31432 of file CImg.h.
Referenced by CImg< uintT >::_display().
|
inline |
Return a 2D representation of a 3D image, with three slices.
Definition at line 18146 of file CImg.h.
|
inline |
Compute the pseudo-inverse (Moore-Penrose) of the matrix.
Definition at line 13543 of file CImg.h.
Compute the PSNR between two images.
Definition at line 13130 of file CImg.h.
|
inline |
Return a pointer to the pixel buffer.
Definition at line 11080 of file CImg.h.
Referenced by CImg< uintT >::_draw_scanline(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_load_ascii(), CImg< uintT >::_load_jpeg(), CImg< uintT >::_load_png(), CImg< uintT >::_load_pnm(), CImg< uintT >::_load_rgb(), CImg< uintT >::_load_rgba(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::abs(), CImg< uintT >::acos(), CImg< uintT >::asin(), CImg< uintT >::atan(), CImg< uintT >::CMYtoRGB(), CImg< uintT >::cos(), CImg< uintT >::cosh(), CImg< uintT >::cut(), CImg< uintT >::deriche(), CImg< uintT >::display_graph(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_point(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_triangle(), CImg< uintT >::equalize(), CImg< uintT >::exp(), CImg< uintT >::fill(), CImg< uintT >::get_CMYKtoCMY(), CImg< uintT >::get_CMYtoCMYK(), CImg< uintT >::get_distance(), CImg< uintT >::get_histogram(), CImg< uintT >::get_index(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_RGBtoBayer(), CImg< uintT >::get_stats(), CImg< uintT >::get_vector_at(), CImg< uintT >::HSItoRGB(), CImg< uintT >::HSLtoRGB(), CImg< uintT >::HSVtoRGB(), CImg< uintT >::LabtoXYZ(), CImg< uintT >::load_magick(), CImg< uintT >::log(), CImg< uintT >::log10(), CImg< uintT >::matrix(), CImg< uintT >::max(), CImg< uintT >::maxmin(), CImg< uintT >::mean(), CImg< uintT >::min(), CImg< uintT >::minmax(), CImg< uintT >::mirror(), CImg< uintT >::noise(), CImg< uintT >::normalize(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator*=(), CImg< uintT >::operator++(), CImg< uintT >::operator+=(), CImg< uintT >::operator--(), CImg< uintT >::operator-=(), CImg< uintT >::operator/=(), CImg< uintT >::operator<<=(), CImg< uintT >::operator>>=(), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), CImg< uintT >::pow(), CImg< uintT >::quantize(), CImg< uintT >::rand(), CImg< uintT >::RGBtoCMY(), CImg< uintT >::RGBtoHSI(), CImg< uintT >::RGBtoHSL(), CImg< uintT >::RGBtoHSV(), CImg< uintT >::RGBtoXYZ(), CImg< uintT >::RGBtoYCbCr(), CImg< uintT >::RGBtoYUV(), CImg< uintT >::round(), CImg< uintT >::save_magick(), CImg< uintT >::sequence(), CImg< uintT >::set_vector_at(), CImg< uintT >::sin(), CImg< uintT >::sinh(), CImg< uintT >::sqr(), CImg< uintT >::sqrt(), CImg< uintT >::sum(), CImg< uintT >::tan(), CImg< uintT >::tanh(), CImg< uintT >::threshold(), CImg< uintT >::translate(), CImg< uintT >::value_string(), CImg< uintT >::variancemean(), CImg< uintT >::vector(), CImg< uintT >::xyYtoXYZ(), CImg< uintT >::XYZtoLab(), CImg< uintT >::XYZtoRGB(), CImg< uintT >::XYZtoxyY(), CImg< uintT >::YCbCrtoRGB(), and CImg< uintT >::YUVtoRGB().
|
inline |
Definition at line 11084 of file CImg.h.
|
inline |
Return a pointer to the pixel value located at (x
,y
,z
,v
).
x | X-coordinate of the pixel. |
y | Y-coordinate of the pixel. |
z | Z-coordinate of the pixel. |
v | V-coordinate of the pixel. |
'cimg_debug'>=3
, boundary checking is performed and warning messages may appear if given coordinates are outside the image range (but function performances decrease).Definition at line 11122 of file CImg.h.
|
inline |
Definition at line 11126 of file CImg.h.
|
inline |
Uniformly quantize values of the instance image into nb_levels
levels.
nb_levels | Number of quantization levels. |
keep_range | Tells if resulting values keep the same range as the original ones. |
CImg<T>::get_quantize()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15197 of file CImg.h.
Referenced by CImg< uintT >::get_quantize().
Return a rainbow indexed color palette with 256 (R,G,B) entries.
|
inline |
Fill the instance image with random values between specified range.
Definition at line 14961 of file CImg.h.
Referenced by CImg< uintT >::get_rand().
|
inline |
Resize an image.
pdx | Number of columns (new size along the X-axis). |
pdy | Number of rows (new size along the Y-axis). |
pdz | Number of slices (new size along the Z-axis). |
pdv | Number of vector-channels (new size along the V-axis). |
interpolation_type | Method of interpolation :
|
border_condition | Border condition type. |
center | Set centering type (only if interpolation_type=0 ). |
Definition at line 16630 of file CImg.h.
Referenced by CImg< uintT >::_load_dlm(), CImg< T >::_cimg_math_parser::compile(), CImg< uintT >::load_tiff(), CImg< T >::_cimg_math_parser::opcode(), and CImg< uintT >::resize().
|
inline |
Resize an image.
src | Image giving the geometry of the resize. |
interpolation_type | Interpolation method :
|
border_condition | Border condition type. |
Definition at line 16975 of file CImg.h.
|
inline |
Resize an image.
disp | = Display giving the geometry of the resize. |
interpolation_type | = Resizing type :
|
border_condition | Border condition type. |
Definition at line 17000 of file CImg.h.
|
inline |
Upscale an image by a factor 2x.
Use anisotropic upscaling algorithm described at http://scale2x.sourceforge.net/algorithm.html
Definition at line 17035 of file CImg.h.
|
inline |
|
inline |
Resize a 3D object.
Definition at line 21107 of file CImg.h.
|
inline |
Resize a 3D object so that its max dimension if one.
Definition at line 21125 of file CImg.h.
Referenced by CImg< uintT >::get_resize_object3d().
|
inline |
Upscale an image by a factor 3x.
Use anisotropic upscaling algorithm described at http://scale2x.sourceforge.net/algorithm.html
Definition at line 17088 of file CImg.h.
|
inline |
|
inline |
Convert color pixels from (R,G,B) to (C,M,Y).
Definition at line 16130 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoCMY(), and CImg< uintT >::RGBtoCMYK().
|
inline |
Convert a (R,G,B) image to a (C,M,Y,K) one.
Definition at line 16446 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoCMYK().
|
inline |
Convert color pixels from (R,G,B) to (H,S,I).
Reference: "Digital Image Processing, 2nd. edition", R. Gonzalez and R. Woods. Prentice Hall, 2002.
Definition at line 15948 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoHSI().
|
inline |
Convert color pixels from (R,G,B) to (H,S,L).
Definition at line 15870 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoHSL().
|
inline |
Convert color pixels from (R,G,B) to (H,S,V).
Definition at line 15787 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoHSV().
|
inline |
Convert a (R,G,B) image to a (L,a,b) one.
Definition at line 16410 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoLab().
|
inline |
Convert a (R,G,B) image to a (x,y,Y) one.
Definition at line 16428 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoxyY().
|
inline |
Convert color pixels from (R,G,B) to (X,Y,Z)_709.
Definition at line 16239 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoXYZ(), CImg< uintT >::RGBtoLab(), and CImg< uintT >::RGBtoxyY().
|
inline |
Convert color pixels from (R,G,B) to (Y,Cb,Cr)_8.
Definition at line 16024 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoYCbCr().
|
inline |
Convert color pixels from (R,G,B) to (Y,U,V).
Definition at line 16078 of file CImg.h.
Referenced by CImg< uintT >::get_RGBtoYUV().
|
inline |
Rotate an image.
angle | = rotation angle (in degrees). |
cond | = rotation type. can be :
|
Definition at line 17637 of file CImg.h.
Referenced by rflo_findsourcecell(), rflo_modinterfacessolver::RFLO_FindSourceCell::rflo_findsourcecell(), rflo_findsourcecellinvert(), rflo_modinterfacessolver::RFLO_FindSourceCellInvert::rflo_findsourcecellinvert(), and rflo_findsourceregions().
|
inline |
Rotate an image around a center point (cx
,cy
).
angle | = rotation angle (in degrees). |
cx | = X-coordinate of the rotation center. |
cy | = Y-coordinate of the rotation center. |
zoom | = zoom. |
cond | = rotation type. can be :
|
Definition at line 17745 of file CImg.h.
|
inlinestatic |
Return a 3x3 rotation matrix along the (x,y,z)-axis with an angle w.
Definition at line 14395 of file CImg.h.
Referenced by CImg< uintT >::_display_object3d().
|
inline |
Compute image with rounded pixel values.
x | Rounding precision. |
rounding_type | Roundin type, can be 0 (nearest), 1 (forward), -1(backward). |
Definition at line 14976 of file CImg.h.
Referenced by CImg< uintT >::draw_axis(), and CImg< uintT >::get_round().
|
inline |
Save the image as a file.
The used file format is defined by the file extension in the filename filename
. Parameter number
can be used to add a 6-digit number to the filename before saving.
Definition at line 32256 of file CImg.h.
Referenced by CImg< uintT >::_get_select(), and CImg< uintT >::save_gzip_external().
|
inline |
Save the image as an ANALYZE7.5 or NIFTI file.
Definition at line 33219 of file CImg.h.
Referenced by CImg< uintT >::save(), and CImg< uintT >::save_medcon_external().
|
inline |
Save the image as an ASCII file (ASCII Raw + simple header).
Definition at line 32376 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as an ASCII file (ASCII Raw + simple header).
Definition at line 32381 of file CImg.h.
|
inline |
Save the image as a BMP file.
Definition at line 32544 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a BMP file.
Definition at line 32549 of file CImg.h.
|
inline |
Save the image as a .cimg file.
Definition at line 33284 of file CImg.h.
Referenced by CImg< uintT >::save(), and CImg< uintT >::save_cimg().
|
inline |
Definition at line 33290 of file CImg.h.
|
inline |
Insert the image into an existing .cimg file, at specified coordinates.
Definition at line 33296 of file CImg.h.
|
inline |
Insert the image into an existing .cimg file, at specified coordinates.
Definition at line 33305 of file CImg.h.
|
inline |
Save the image as a CPP source file.
Definition at line 32412 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a CPP source file.
Definition at line 32417 of file CImg.h.
|
inline |
Save the image as a DLM file.
Definition at line 32448 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a DLM file.
Definition at line 32453 of file CImg.h.
|
inlinestatic |
Save an empty .cimg file with specified dimensions.
Definition at line 33314 of file CImg.h.
|
inlinestatic |
Save an empty .cimg file with specified dimensions.
Definition at line 33321 of file CImg.h.
|
inline |
Save the image as a video sequence file, using FFMPEG library.
Definition at line 33574 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a video sequence file, using the external tool 'ffmpeg'.
Definition at line 33670 of file CImg.h.
Referenced by CImg< uintT >::save_ffmpeg().
|
inline |
Save the image using GraphicsMagick's gm.
Function that saves the image for other file formats that are not natively handled by CImg, using the tool 'gm' from the GraphicsMagick package.
This is the case for all compressed image formats (GIF,PNG,JPG,TIF, ...). You need to install the GraphicsMagick package in order to get this function working properly (see http://www.graphicsmagick.org ).
Definition at line 33689 of file CImg.h.
Referenced by CImg< uintT >::save_other().
|
inline |
Save an image as a gzipped file, using external tool 'gzip'.
Definition at line 33718 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image using ImageMagick's convert.
Function that saves the image for other file formats that are not natively handled by CImg, using the tool 'convert' from the ImageMagick package.
This is the case for all compressed image formats (GIF,PNG,JPG,TIF, ...). You need to install the ImageMagick package in order to get this function working properly (see http://www.imagemagick.org ).
Definition at line 33756 of file CImg.h.
Referenced by CImg< uintT >::save_other().
|
inline |
Save the image as an INRIMAGE-4 file.
Definition at line 33362 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as an INRIMAGE-4 file.
Definition at line 33367 of file CImg.h.
|
inline |
Save a file in JPEG format.
Definition at line 32644 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save a file in JPEG format.
Definition at line 32649 of file CImg.h.
|
inline |
Save the image using built-in ImageMagick++ library.
Definition at line 32654 of file CImg.h.
Referenced by CImg< uintT >::save_other().
|
inline |
Save an image as a Dicom file (need '(X)Medcon' : http://xmedcon.sourceforge.net )
Definition at line 33784 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save OFF files.
Definition at line 33657 of file CImg.h.
|
inline |
Save OFF files.
Definition at line 33664 of file CImg.h.
|
inline |
Definition at line 33819 of file CImg.h.
Referenced by CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_png(), CImg< uintT >::save(), and CImg< uintT >::save_tiff().
|
inline |
Save the image as a PANDORE-5 file.
Definition at line 33533 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a PANDORE-5 file.
Definition at line 33538 of file CImg.h.
|
inline |
Save a file in PNG format.
Definition at line 32890 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save a file in PNG format.
Definition at line 32895 of file CImg.h.
|
inline |
Save the image as a PNM file.
Definition at line 32992 of file CImg.h.
Referenced by CImg< uintT >::save(), CImg< uintT >::save_graphicsmagick_external(), and CImg< uintT >::save_imagemagick_external().
|
inline |
Save the image as a PNM file.
Definition at line 32997 of file CImg.h.
|
inline |
Save the image as a RAW file.
Definition at line 33564 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a RAW file.
Definition at line 33569 of file CImg.h.
|
inline |
Save the image as a RGB file.
Definition at line 33048 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a RGB file.
Definition at line 33053 of file CImg.h.
|
inline |
Save the image as a RGBA file.
Definition at line 33115 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a RGBA file.
Definition at line 33120 of file CImg.h.
|
inline |
Save a file in TIFF format.
Definition at line 33198 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a YUV video sequence file.
Definition at line 33594 of file CImg.h.
Referenced by CImg< uintT >::save().
|
inline |
Save the image as a YUV video sequence file.
Definition at line 33600 of file CImg.h.
|
inline |
Simple interface to select a shape from an image.
selection | Array of 6 values containing the selection result |
coords_type | Determine shape type to select (0=point, 1=vector, 2=rectangle, 3=circle) |
disp | Display window used to make the selection |
XYZ | Initial XYZ position (for volumetric images only) |
color | Color of the shape selector. |
Definition at line 28588 of file CImg.h.
Referenced by plag_rflo_modstats::plag_rflo_commstatbuffwrapper(), and plag_rflo_modstats::plag_rflo_sendstatbuffwrapper().
|
inline |
Simple interface to select a shape from an image.
Definition at line 28595 of file CImg.h.
|
inline |
Return a N-numbered sequence vector from a0
to a1
.
Definition at line 13425 of file CImg.h.
Referenced by CImg< uintT >::draw_grid(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_sequence(), and CImg< uintT >::sequence().
|
inlinestatic |
Return a N-numbered sequence vector from a0
to a1
.
Definition at line 14389 of file CImg.h.
|
inline |
Set a pixel value, with 2D float coordinates, using linear interpolation.
Definition at line 11804 of file CImg.h.
|
inline |
Set a pixel value, with 3D float coordinates, using linear interpolation.
Definition at line 11744 of file CImg.h.
|
inline |
Set the image vec
as the square matrix-valued pixel located at (x
,y
,z
) of the current vector-valued image.
Definition at line 13310 of file CImg.h.
|
inline |
|
inline |
Set the image vec
as the vector valued pixel located at (x
,y
,z
) of the current vector-valued image.
Definition at line 13298 of file CImg.h.
Referenced by CImg< uintT >::_load_raw(), and CImg< uintT >::set_matrix_at().
|
inline |
Sharpen image using anisotropic shock filters or inverse diffusion.
Definition at line 19922 of file CImg.h.
Referenced by CImg< uintT >::get_sharpen().
|
inline |
Compute the sinus of each pixel value.
Definition at line 12590 of file CImg.h.
Referenced by CImg< uintT >::get_sin().
|
inline |
Compute the hyperbolic sine of each pixel value.
Definition at line 12620 of file CImg.h.
Referenced by CImg< uintT >::get_sinh().
|
inline |
Return the number of image buffer elements.
Definition at line 11075 of file CImg.h.
Referenced by CImg< uintT >::_at(), CImg< uintT >::_load_ascii(), CImg< uintT >::_load_pandore(), CImg< uintT >::_load_pnm(), CImg< uintT >::_load_raw(), CImg< uintT >::_load_rgb(), CImg< uintT >::_load_rgba(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_raw(), CImg< uintT >::_solve(), CImg< uintT >::assign(), CImg< uintT >::at(), CImg< uintT >::atan2(), CImg< uintT >::back(), CImg< T >::_cimg_math_parser::compile(), CImg< uintT >::contains(), CImg< uintT >::div(), CImg< uintT >::dot(), CImg< uintT >::draw_line(), CImg< uintT >::draw_point(), CImg< uintT >::draw_polygon(), CImg< uintT >::draw_spline(), CImg< uintT >::end(), CImg< uintT >::equalize(), CImg< uintT >::fill(), CImg< uintT >::get_diagonal(), CImg< uintT >::get_histogram(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_resize(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::get_split(), CImg< uintT >::get_stats(), CImg< uintT >::get_tensor(), CImg< uintT >::invert_endianness(), CImg< uintT >::is_overlapped(), CImg< uintT >::kth_smallest(), CImg< uintT >::matrix(), CImg< uintT >::max(), CImg< uintT >::mean(), CImg< uintT >::median(), CImg< uintT >::min(), CImg< uintT >::MSE(), CImg< uintT >::mul(), CImg< T >::_cimg_math_parser::opcode(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator+=(), CImg< uintT >::operator-=(), CImg< uintT >::operator==(), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), CImg< uintT >::pow(), CImg< uintT >::print(), CImg< uintT >::resize(), CImg< uintT >::save_analyze(), CImg< uintT >::sequence(), CImg< uintT >::solve_tridiagonal(), CImg< uintT >::sort(), CImg< uintT >::unroll(), CImg< uintT >::value_string(), and CImg< uintT >::variancemean().
|
inline |
Get a slice.
Definition at line 18439 of file CImg.h.
|
inline |
Get a set of slices.
Definition at line 18448 of file CImg.h.
Referenced by CImg< uintT >::slice().
Solve a linear system AX=B where B=*this.
Definition at line 13559 of file CImg.h.
Referenced by CImg< uintT >::get_solve().
Solve a linear system AX=B where B=*this and A is a tridiagonal matrix A = [ b0,c0,0,...; a1,b1,c1,0,... ; ... ; ...,0,aN,bN ].
Definition at line 13629 of file CImg.h.
Referenced by CImg< uintT >::get_solve_tridiagonal().
Sort values of a vector and get permutations.
Definition at line 13768 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_polygon(), CImg< uintT >::get_sort(), and CImg< uintT >::sort().
|
inline |
Sort image values.
Definition at line 13784 of file CImg.h.
|
inlinestatic |
Create and return a 3D sphere.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
radius | The radius of the sphere (dimension along the X-axis). | |
subdivisions | The number of recursive subdivisions from an initial icosahedron. |
Definition at line 22007 of file CImg.h.
|
inline |
Compute the square value of each pixel.
Definition at line 12520 of file CImg.h.
Referenced by CImg< uintT >::get_sqr().
|
inline |
Compute the square root of each pixel value.
Definition at line 12530 of file CImg.h.
Referenced by CImg< uintT >::get_sqrt().
|
inline |
Compute a statistics vector (min,max,mean,variance,xmin,ymin,zmin,vmin,xmax,ymax,zmax,vmax).
Definition at line 13148 of file CImg.h.
|
inline |
Compute the structure tensor field of an image.
Definition at line 20182 of file CImg.h.
|
inline |
Return the sum of all the pixel values in an image.
Definition at line 13022 of file CImg.h.
Referenced by CImg< uintT >::_LU(), CImg< uintT >::_solve(), rflu_modrepair3d::angfnd(), arruda_boyce_cauchy(), prep_modbcdistribution::bcdistributionfiles(), cauchystressprinc(), spec_rflu_modchemistry::drate_stiff(), ensemble1loop(), ensemble2loops(), ensemble3lijk(), ensemble3likj(), ensemble3ljik(), ensemble3ljki(), ensemble3lkij(), ensemble3lkji(), findprobe(), inrt_calcdrag(), inrt_calcheattransfernonburn(), inrt_setparticletemp(), jacobi(), spec_rflu_modchemistry::lusolve(), plag_binsortnozzleinlet(), plag_binsortspatialdist(), plag_calcbreakup(), plag_calcderivedvariables(), plag_modeulerian::plag_calceulerianfield(), plag_cecellsgetbuffersize(), plag_modcheckvars::plag_checkpositivity(), plag_modcheckvars::plag_checkvalidity(), plag_corncellsloaddata(), plag_edgecellsloaddata(), plag_modsurfstats::plag_gathersurfstats(), plag_getcellindices(), plag_incelltestrobust(), plag_modeulerian::plag_initeulerianfield(), plag_injcejectparticle(), plag_injctestcell(), plag_injctilecalcrhs(), plag_injctileinitialize(), plag_modinjection::plag_invokeconsrandejec(), plag_modinjection::plag_invokeejecmodel1(), plag_patchloaddatabuffers(), plag_processeulerfield(), plag_rflu_initsolutionrandom(), plag_rflu_initsolutionscratch(), plag_rflu_injctilecalcrhs(), plag_writestattecascii(), plag_writetecplotascii(), radi_extinctioncoef(), spec_rflu_modchemistry::rate_stiff(), read_patran(), rflo_checkmetrics(), rflo_modmovegridframe::rflo_mgframemovecorners(), rflu_modpetscpoisson::rflu_petsc_createpoisson(), rflu_modpetscpoisson::rflu_petsc_solvepressurepoisson(), CImg< uintT >::RGBtoHSI(), rocfracprep(), sphere_imp_contains_point_3d(), trapezoid1loop(), trapezoid2loops(), trapezoid3lijk(), trapezoid3likj(), trapezoid3ljik(), trapezoid3ljki(), trapezoid3lkij(), trapezoid3lkji(), v3d8_me(), and CImg< uintT >::XYZtoxyY().
|
inline |
Compute the SVD of a general matrix.
Definition at line 13843 of file CImg.h.
Referenced by CImg< uintT >::get_pseudoinvert(), CImg< uintT >::get_SVD(), CImg< uintT >::invert(), and CImg< uintT >::symmetric_eigen().
Swap all fields of two images. Use with care !
Definition at line 10357 of file CImg.h.
Referenced by CImg< uintT >::transfer_to().
Compute the eigenvalues and eigenvectors of a symmetric matrix.
Definition at line 13703 of file CImg.h.
Referenced by CImg< uintT >::get_symmetric_eigen().
|
inline |
Compute the tangent of each pixel.
Definition at line 12600 of file CImg.h.
Referenced by CImg< uintT >::get_tan().
|
inline |
Compute the hyperbolic tangent of each pixel value.
Definition at line 12630 of file CImg.h.
Referenced by CImg< uintT >::get_tanh().
|
inline |
Realign pixel values of the instance image as a symmetric tensor.
Definition at line 13372 of file CImg.h.
Referenced by CImg< uintT >::draw_gaussian(), and CImg< uintT >::get_tensor_at().
|
inlinestatic |
Return a 1x1 symmetric matrix with specified coefficients.
Definition at line 14342 of file CImg.h.
|
inlinestatic |
Return a 2x2 symmetric matrix tensor with specified coefficients.
Definition at line 14347 of file CImg.h.
|
inlinestatic |
Return a 3x3 symmetric matrix with specified coefficients.
Definition at line 14352 of file CImg.h.
|
inline |
Threshold values of the instance image.
value | Threshold value |
soft_threshold | Tells if soft thresholding must be applied (instead of hard one). |
strict_threshold | Tells if threshold value is strict. |
CImg<T>::get_threshold()
is also defined. It returns a non-shared modified copy of the instance image. Definition at line 15234 of file CImg.h.
Referenced by CImg< uintT >::get_threshold().
|
inlinestatic |
Create and return a 3D torus.
[out] | primitives | The returned list of the 3D object primitives (template type tf should be at least unsigned int). |
radius1 | The large radius. | |
radius2 | The small radius. | |
subdivisions1 | The number of angular subdivisions for the large radius. | |
subdivisions2 | The number of angular subdivisions for the small radius. |
Definition at line 21922 of file CImg.h.
|
inline |
Return the trace of the image, viewed as a matrix.
Definition at line 13217 of file CImg.h.
Referenced by computefluxtot(), neoinccauchystress(), turb_lesesgmodel4(), turb_vfluxhybrid(), turb_vfluxhybridpatch(), turb_visfluxeddy(), and turb_visfluxeddypatch().
Transfer the content of the instance image into another one in a way that memory copies are avoided if possible.
The instance image is always empty after a call to this function.
Definition at line 10332 of file CImg.h.
Referenced by CImg< T >::_cimg_math_parser::compile(), cimg_library::cimg::dialog(), CImg< uintT >::get_gradient(), CImg< uintT >::get_split(), CImg< uintT >::label_regions(), CImg< uintT >::operator*=(), CImg< uintT >::operator/=(), CImg< uintT >::plane3d(), CImg< uintT >::transfer_to(), and CImg< uintT >::value_string().
Definition at line 10338 of file CImg.h.
Definition at line 10344 of file CImg.h.
|
inline |
Translate the image.
deltax | Amount of displacement along the X-axis. |
deltay | Amount of displacement along the Y-axis. |
deltaz | Amount of displacement along the Z-axis. |
deltav | Amount of displacement along the V-axis. |
border_condition | Border condition. |
border_condition
can be :Definition at line 17229 of file CImg.h.
Referenced by CImg< uintT >::draw_fill(), and CImg< uintT >::get_translate().
|
inline |
Translate a 3D object.
Definition at line 21077 of file CImg.h.
|
inline |
Translate a 3D object so that it becomes centered.
Definition at line 21091 of file CImg.h.
Referenced by CImg< uintT >::get_translate_object3d().
|
inline |
Transpose the current matrix.
Definition at line 13441 of file CImg.h.
|
inline |
Unroll all images values into specified axis.
Definition at line 17610 of file CImg.h.
Referenced by CImg< uintT >::get_split(), CImg< uintT >::get_unroll(), and CImg< uintT >::vector().
|
inline |
Return a C-string containing the values of the instance image.
Definition at line 11838 of file CImg.h.
|
inline |
Return the variance of the image.
variance_method | Determines how to calculate the variance
|
Definition at line 13057 of file CImg.h.
Referenced by CImg< uintT >::get_stats(), and CImg< uintT >::variancemean().
|
inline |
Return the variance and the mean of the image.
Definition at line 13064 of file CImg.h.
Referenced by CImg< uintT >::variance().
|
inline |
Unroll all images values into a one-column vector.
Definition at line 13334 of file CImg.h.
Referenced by CImg< uintT >::_autocrop(), CImg< uintT >::_load_off(), CImg< T >::_cimg_math_parser::compile(), CImg< uintT >::cone3d(), CImg< uintT >::cylinder3d(), CImg< uintT >::get_elevation3d(), CImg< uintT >::isocurve3d(), CImg< uintT >::isosurface3d(), CImgList< uintT >::load_ffmpeg(), CImgList< uintT >::load_parrec(), CImg< uintT >::matrix(), CImg< T >::_cimg_math_parser::opcode(), CImg< uintT >::plane3d(), CImg< uintT >::sphere3d(), and CImg< uintT >::torus3d().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Warp an image.
Definition at line 17863 of file CImg.h.
Referenced by CImg< uintT >::get_warp().
|
inline |
Convert a (x,y,Y) image to a (R,G,B) one.
Definition at line 16437 of file CImg.h.
Referenced by CImg< uintT >::get_xyYtoRGB().
|
inline |
Convert (x,y,Y) pixels of a color image into the (X,Y,Z)_709 color space.
Definition at line 16385 of file CImg.h.
Referenced by CImg< uintT >::get_xyYtoXYZ(), and CImg< uintT >::xyYtoRGB().
|
inline |
Convert (X,Y,Z)_709 pixels of a color image into the (L*,a*,b*) color space.
Definition at line 16290 of file CImg.h.
Referenced by CImg< uintT >::get_XYZtoLab().
|
inline |
Convert (X,Y,Z)_709 pixels of a color image into the (R,G,B) color space.
Definition at line 16263 of file CImg.h.
Referenced by CImg< uintT >::get_XYZtoRGB().
|
inline |
Convert (X,Y,Z)_709 pixels of a color image into the (x,y,Y) color space.
Definition at line 16359 of file CImg.h.
Referenced by CImg< uintT >::get_XYZtoxyY().
|
inline |
Convert color pixels from (R,G,B) to (Y,Cb,Cr)_8.
Definition at line 16051 of file CImg.h.
Referenced by CImg< uintT >::get_YCbCrtoRGB().
|
inline |
Convert color pixels from (Y,U,V) to (R,G,B).
Definition at line 16103 of file CImg.h.
Referenced by CImg< uintT >::get_YUVtoRGB().
T* data |
Pointer to the first pixel of the pixel buffer.
Definition at line 9750 of file CImg.h.
Referenced by CImg< uintT >::_display(), CImg< uintT >::_display_object3d(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_get_select(), CImg< uintT >::_load_analyze(), CImg< uintT >::_load_ascii(), CImg< uintT >::_load_jpeg(), CImg< uintT >::_load_pandore(), CImg< uintT >::_load_pnm(), CImg< uintT >::_load_raw(), CImg< uintT >::_save_ascii(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_inr(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_off(), CImg< uintT >::_save_pandore(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_raw(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::append_object3d(), CImg< uintT >::assign(), CImg< uintT >::atan2(), CImg< uintT >::back(), CImg< uintT >::begin(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::CImg(), CImg< uintT >::contains(), CImg< uintT >::cross(), CImg< uintT >::det(), CImg< uintT >::display_graph(), CImg< uintT >::div(), CImg< uintT >::dot(), CImg< uintT >::draw_line(), CImg< uintT >::draw_mandelbrot(), CImg< uintT >::draw_triangle(), CImg< uintT >::eigen(), CImg< uintT >::end(), CImg< uintT >::fill(), CImg< uintT >::front(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_dijkstra(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_map(), CImg< uintT >::get_resize(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_shared(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::get_split(), CImg< uintT >::get_stats(), CImg< uintT >::get_warp(), CImg< uintT >::invert(), CImg< uintT >::invert_endianness(), CImg< uintT >::is_empty(), CImg< uintT >::is_object3d(), CImg< uintT >::is_overlapped(), CImg< uintT >::kth_smallest(), CImg< uintT >::load_magick(), CImgList< uintT >::load_parrec(), CImg< uintT >::magnitude(), CImg< uintT >::max(), CImg< uintT >::maxmin(), CImg< uintT >::min(), CImg< uintT >::minmax(), CImg< uintT >::mirror(), CImg< uintT >::mul(), CImg< uintT >::operator bool(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator()(), CImg< uintT >::operator*=(), CImg< uintT >::operator+=(), CImg< uintT >::operator-=(), CImg< uintT >::operator/=(), CImg< uintT >::operator==(), CImg< uintT >::operator[](), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), CImg< uintT >::pow(), CImg< uintT >::print(), CImg< uintT >::ptr(), CImg< uintT >::resize_object3d(), CImg< uintT >::save(), CImg< uintT >::save_analyze(), CImg< uintT >::save_ffmpeg(), CImg< uintT >::save_ffmpeg_external(), CImg< uintT >::save_graphicsmagick_external(), CImg< uintT >::save_imagemagick_external(), CImg< uintT >::save_magick(), CImg< uintT >::save_medcon_external(), CImg< uintT >::save_other(), CImg< uintT >::save_tiff(), CImg< uintT >::sequence(), CImg< uintT >::solve_tridiagonal(), CImg< uintT >::sum(), CImg< uintT >::swap(), CImg< uintT >::symmetric_eigen(), CImg< uintT >::trace(), CImg< uintT >::translate(), CImg< uintT >::translate_object3d(), and CImg< uintT >::~CImg().
unsigned int depth |
Variable representing the depth of the instance image (i.e. dimensions along the Z-axis).
depth
would probably result in a library crash.depth
defined to 1
.depth
defined to 0
. Definition at line 9733 of file CImg.h.
Referenced by CImg< uintT >::_display(), CImg< uintT >::_display_object3d(), CImg< uintT >::_draw_scanline(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_get_select(), CImg< uintT >::_linear_atXYZ(), CImg< uintT >::_linear_atXYZV(), CImg< uintT >::_save_ascii(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_inr(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_off(), CImg< uintT >::_save_pandore(), CImg< uintT >::_save_pandore_header_length(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_raw(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::append_object3d(), CImg< uintT >::assign(), CImg< uintT >::autocrop(), CImg< uintT >::blur(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::blur_bilateral(), CImg< uintT >::CImg(), CImg< uintT >::CMYtoRGB(), CImg< uintT >::contains(), CImg< uintT >::crop(), CImg< uintT >::cross(), CImg< uintT >::deriche(), CImg< uintT >::det(), CImg< uintT >::dimz(), CImg< uintT >::display_graph(), CImg< uintT >::distance_hamilton(), CImg< uintT >::dot(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_mandelbrot(), CImg< uintT >::draw_point(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_triangle(), CImg< uintT >::edge_tensors(), CImg< uintT >::eigen(), CImg< uintT >::fillV(), CImg< uintT >::fillX(), CImg< uintT >::fillY(), CImg< uintT >::fillZ(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_blur_patch(), CImg< uintT >::get_CMYKtoCMY(), CImg< uintT >::get_CMYtoCMYK(), CImg< uintT >::get_correlate(), CImg< uintT >::get_crop(), CImg< uintT >::get_dijkstra(), CImg< uintT >::get_dilate(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_distance(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_erode(), CImg< uintT >::get_fill(), CImg< uintT >::get_gradient(), CImg< uintT >::get_haar(), CImg< uintT >::get_hessian(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_map(), CImg< uintT >::get_norm(), CImg< uintT >::get_projections2d(), CImg< uintT >::get_resize(), CImg< uintT >::get_resize_doubleXY(), CImg< uintT >::get_resize_halfXY(), CImg< uintT >::get_resize_tripleXY(), CImg< uintT >::get_RGBtoBayer(), CImg< uintT >::get_rotate(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_shared(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::get_split(), CImg< uintT >::get_structure_tensor(), CImg< uintT >::get_vector_at(), CImg< uintT >::get_warp(), CImg< uintT >::HSItoRGB(), CImg< uintT >::HSLtoRGB(), CImg< uintT >::HSVtoRGB(), CImg< uintT >::invert(), CImg< uintT >::is_empty(), CImg< uintT >::is_object3d(), CImg< uintT >::is_sameZ(), CImg< uintT >::kth_smallest(), CImg< uintT >::LabtoXYZ(), CImg< uintT >::magnitude(), CImg< uintT >::max(), CImg< uintT >::min(), CImg< uintT >::mirror(), CImg< uintT >::MSE(), CImg< uintT >::offset(), CImg< uintT >::operator bool(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator()(), CImg< uintT >::operator*(), CImg< uintT >::operator*=(), CImg< uintT >::operator+=(), cimg_library::operator-(), CImg< uintT >::operator-(), CImg< uintT >::operator-=(), CImg< uintT >::operator/=(), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), CImg< uintT >::operator~(), CImg< uintT >::pow(), CImg< uintT >::print(), CImg< uintT >::ptr(), CImg< uintT >::resize(), CImg< uintT >::resize_object3d(), CImg< uintT >::RGBtoCMY(), CImg< uintT >::RGBtoHSI(), CImg< uintT >::RGBtoHSL(), CImg< uintT >::RGBtoHSV(), CImg< uintT >::RGBtoXYZ(), CImg< uintT >::RGBtoYCbCr(), CImg< uintT >::RGBtoYUV(), CImg< uintT >::save(), CImg< uintT >::save_analyze(), CImg< uintT >::save_ffmpeg(), CImg< uintT >::save_ffmpeg_external(), CImg< uintT >::save_graphicsmagick_external(), CImg< uintT >::save_imagemagick_external(), CImg< uintT >::save_magick(), CImg< uintT >::save_medcon_external(), CImg< uintT >::save_other(), CImg< uintT >::save_tiff(), CImg< uintT >::set_vector_at(), CImg< uintT >::sharpen(), CImg< uintT >::size(), CImg< uintT >::solve(), CImg< uintT >::sum(), CImg< uintT >::swap(), CImg< uintT >::symmetric_eigen(), CImg< uintT >::trace(), CImg< uintT >::translate(), CImg< uintT >::translate_object3d(), CImg< uintT >::unroll(), CImg< uintT >::xyYtoXYZ(), CImg< uintT >::XYZtoLab(), CImg< uintT >::XYZtoRGB(), CImg< uintT >::XYZtoxyY(), CImg< uintT >::YCbCrtoRGB(), and CImg< uintT >::YUVtoRGB().
unsigned int dim |
Variable representing the number of channels of the instance image (i.e. dimensions along the V-axis).
dim
would probably result in a library crash.dim
defined to 1
.depth
defined to 0
. Definition at line 9744 of file CImg.h.
Referenced by CImg< uintT >::_draw_object3d(), CImg< uintT >::_save_pandore_header_length(), CImg< uintT >::assign(), CImg< uintT >::contains(), CImg< uintT >::deriche(), CImg< uintT >::dimv(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_graph(), CImg< uintT >::draw_quiver(), CImg< uintT >::get_fill(), CImg< uintT >::get_gradient(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_map(), CImg< uintT >::get_matrix_at(), CImg< uintT >::get_projections2d(), CImg< uintT >::get_resize(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_shared(), CImg< uintT >::get_split(), CImg< uintT >::is_empty(), CImg< uintT >::mirror(), CImg< uintT >::MSE(), CImg< uintT >::operator bool(), cimg_library::operator-(), CImg< uintT >::operator-(), CImg< uintT >::set_vector_at(), and CImg< uintT >::size().
unsigned int height |
Variable representing the height of the instance image (i.e. dimensions along the Y-axis).
height
would probably result in a library crash.height
defined to 1
.height
defined to 0
. Definition at line 9722 of file CImg.h.
Referenced by CImg< uintT >::_cubic_atXY(), CImg< uintT >::_display(), CImg< uintT >::_display_object3d(), CImg< uintT >::_draw_ellipse(), CImg< uintT >::_draw_object3d(), CImg< uintT >::_draw_polygon(), CImg< uintT >::_draw_scanline(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_get_select(), CImg< uintT >::_linear_atXY(), CImg< uintT >::_linear_atXYZ(), CImg< uintT >::_linear_atXYZV(), CImg< uintT >::_load_dlm(), CImg< uintT >::_save_ascii(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_pandore_header_length(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::append_object3d(), CImg< uintT >::assign(), CImg< uintT >::autocrop(), CImg< uintT >::blur(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::blur_bilateral(), CImg< uintT >::CImg(), CImg< uintT >::CMYtoRGB(), CImg< uintT >::contains(), CImg< uintT >::crop(), CImg< uintT >::cross(), CImg< uintT >::deriche(), CImg< uintT >::det(), CImg< uintT >::dimy(), CImg< uintT >::display_graph(), CImg< uintT >::dot(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_graph(), CImg< uintT >::draw_grid(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_mandelbrot(), CImg< uintT >::draw_plasma(), CImg< uintT >::draw_point(), CImg< uintT >::draw_quiver(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_triangle(), CImg< uintT >::eigen(), CImg< T >::_cimg_math_parser::eval(), CImg< uintT >::fillV(), CImg< uintT >::fillX(), CImg< uintT >::fillY(), CImg< uintT >::fillZ(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_blur_patch(), CImg< uintT >::get_CMYKtoCMY(), CImg< uintT >::get_CMYtoCMYK(), CImg< uintT >::get_correlate(), CImg< uintT >::get_crop(), CImg< uintT >::get_dijkstra(), CImg< uintT >::get_dilate(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_erode(), CImg< uintT >::get_fill(), CImg< uintT >::get_gradient(), CImg< uintT >::get_haar(), CImg< uintT >::get_hessian(), CImg< uintT >::get_identity_matrix(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_map(), CImg< uintT >::get_norm(), CImg< uintT >::get_projections2d(), CImg< uintT >::get_resize(), CImg< uintT >::get_resize_doubleXY(), CImg< uintT >::get_resize_halfXY(), CImg< uintT >::get_resize_tripleXY(), CImg< uintT >::get_RGBtoBayer(), CImg< uintT >::get_rotate(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_shared(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::get_split(), CImg< uintT >::get_structure_tensor(), CImg< uintT >::get_vector_at(), CImg< uintT >::get_warp(), CImg< uintT >::HSItoRGB(), CImg< uintT >::HSLtoRGB(), CImg< uintT >::HSVtoRGB(), CImg< uintT >::identity_matrix(), CImg< uintT >::invert(), CImg< uintT >::is_empty(), CImg< uintT >::is_object3d(), CImg< uintT >::is_sameY(), CImg< uintT >::kth_smallest(), CImg< uintT >::LabtoXYZ(), CImg< uintT >::load_tiff(), CImg< uintT >::magnitude(), CImg< uintT >::matrix(), CImg< uintT >::max(), CImg< uintT >::min(), CImg< uintT >::mirror(), CImg< uintT >::MSE(), CImg< uintT >::offset(), CImg< uintT >::operator bool(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator()(), CImg< uintT >::operator*(), CImg< uintT >::operator*=(), CImg< uintT >::operator+=(), cimg_library::operator-(), CImg< uintT >::operator-(), CImg< uintT >::operator-=(), CImg< uintT >::operator/=(), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), CImg< uintT >::operator~(), CImg< uintT >::pow(), CImg< uintT >::print(), CImg< uintT >::ptr(), CImgDisplay::resize(), CImg< uintT >::resize(), CImg< uintT >::resize_object3d(), CImg< uintT >::RGBtoCMY(), CImg< uintT >::RGBtoHSI(), CImg< uintT >::RGBtoHSL(), CImg< uintT >::RGBtoHSV(), CImg< uintT >::RGBtoXYZ(), CImg< uintT >::RGBtoYCbCr(), CImg< uintT >::RGBtoYUV(), CImg< uintT >::save(), CImg< uintT >::save_magick(), CImg< uintT >::set_vector_at(), CImg< uintT >::sharpen(), CImg< uintT >::size(), CImg< uintT >::solve(), CImg< uintT >::sum(), CImg< uintT >::SVD(), CImg< uintT >::swap(), CImg< uintT >::symmetric_eigen(), CImg< uintT >::trace(), CImg< uintT >::translate(), CImg< uintT >::translate_object3d(), CImg< uintT >::transpose(), CImg< uintT >::unroll(), CImg< uintT >::xyYtoXYZ(), CImg< uintT >::XYZtoLab(), CImg< uintT >::XYZtoRGB(), CImg< uintT >::XYZtoxyY(), CImg< uintT >::YCbCrtoRGB(), and CImg< uintT >::YUVtoRGB().
bool is_shared |
Variable telling if pixel buffer of the instance image is shared with another one.
Definition at line 9747 of file CImg.h.
Referenced by CImg< uintT >::assign(), CImg< uintT >::CImg(), CImg< uintT >::print(), CImg< uintT >::swap(), CImg< uintT >::transfer_to(), and CImg< uintT >::~CImg().
unsigned int width |
Variable representing the width of the instance image (i.e. dimensions along the X-axis).
width
would probably result in a library crash.width
defined to 0
. Definition at line 9711 of file CImg.h.
Referenced by CImg< uintT >::_cubic_atX(), CImg< uintT >::_cubic_atXY(), CImg< uintT >::_display(), CImg< uintT >::_display_object3d(), CImg< uintT >::_draw_scanline(), CImg< uintT >::_get_permute_axes(), CImg< uintT >::_get_select(), CImg< uintT >::_linear_atX(), CImg< uintT >::_linear_atXY(), CImg< uintT >::_linear_atXYZ(), CImg< uintT >::_linear_atXYZV(), CImg< uintT >::_load_dlm(), CImg< uintT >::_load_png(), CImg< uintT >::_save_ascii(), CImg< uintT >::_save_bmp(), CImg< uintT >::_save_cpp(), CImg< uintT >::_save_dlm(), CImg< uintT >::_save_jpeg(), CImg< uintT >::_save_pandore_header_length(), CImg< uintT >::_save_png(), CImg< uintT >::_save_pnm(), CImg< uintT >::_save_rgb(), CImg< uintT >::_save_rgba(), CImg< uintT >::append_object3d(), CImgDisplay::assign(), CImg< uintT >::assign(), CImg< uintT >::autocrop(), CImg< uintT >::blur(), CImg< uintT >::blur_anisotropic(), CImg< uintT >::blur_bilateral(), CImg< uintT >::CImg(), CImg< uintT >::CMYtoRGB(), CImg< uintT >::contains(), CImg< uintT >::cross(), CImg< uintT >::deriche(), CImg< uintT >::det(), CImg< uintT >::dimx(), CImgDisplay::display(), CImg< uintT >::display_graph(), CImg< uintT >::dot(), CImg< uintT >::draw_axis(), CImg< uintT >::draw_fill(), CImg< uintT >::draw_gaussian(), CImg< uintT >::draw_graph(), CImg< uintT >::draw_grid(), CImg< uintT >::draw_image(), CImg< uintT >::draw_line(), CImg< uintT >::draw_mandelbrot(), CImg< uintT >::draw_plasma(), CImg< uintT >::draw_point(), CImg< uintT >::draw_quiver(), CImg< uintT >::draw_rectangle(), CImg< uintT >::draw_triangle(), CImg< uintT >::eigen(), CImg< uintT >::fillV(), CImg< uintT >::fillX(), CImg< uintT >::fillY(), CImg< uintT >::fillZ(), CImg< uintT >::get_BayertoRGB(), CImg< uintT >::get_blur_median(), CImg< uintT >::get_blur_patch(), CImg< uintT >::get_CMYKtoCMY(), CImg< uintT >::get_CMYtoCMYK(), CImg< uintT >::get_correlate(), CImg< uintT >::get_dijkstra(), CImg< uintT >::get_dilate(), CImg< uintT >::get_displacement_field(), CImg< uintT >::get_distance(), CImg< uintT >::get_elevation3d(), CImg< uintT >::get_erode(), CImg< uintT >::get_fill(), CImg< uintT >::get_gradient(), CImg< uintT >::get_haar(), CImg< uintT >::get_hessian(), CImg< uintT >::get_identity_matrix(), CImg< uintT >::get_index(), CImg< uintT >::get_isocurve3d(), CImg< uintT >::get_isosurface3d(), CImg< uintT >::get_label_regions(), CImg< uintT >::get_map(), CImg< uintT >::get_norm(), CImg< uintT >::get_projections2d(), CImg< uintT >::get_resize(), CImg< uintT >::get_resize_doubleXY(), CImg< uintT >::get_resize_halfXY(), CImg< uintT >::get_resize_tripleXY(), CImg< uintT >::get_RGBtoBayer(), CImg< uintT >::get_rotate(), CImg< uintT >::get_select_graph(), CImg< uintT >::get_shared(), CImg< uintT >::get_shared_channels(), CImg< uintT >::get_shared_lines(), CImg< uintT >::get_shared_planes(), CImg< uintT >::get_shared_points(), CImg< uintT >::get_split(), CImg< uintT >::get_structure_tensor(), CImg< uintT >::get_vector_at(), CImg< uintT >::get_warp(), CImg< uintT >::HSItoRGB(), CImg< uintT >::HSLtoRGB(), CImg< uintT >::HSVtoRGB(), CImg< uintT >::identity_matrix(), CImg< uintT >::invert(), CImg< uintT >::is_empty(), CImg< uintT >::is_object3d(), CImg< uintT >::is_sameX(), CImg< uintT >::kth_smallest(), CImg< uintT >::LabtoXYZ(), CImg< uintT >::load_tiff(), CImg< uintT >::magnitude(), CImg< uintT >::matrix(), CImg< uintT >::max(), CImg< uintT >::min(), CImg< uintT >::mirror(), CImg< uintT >::MSE(), CImg< uintT >::offset(), CImg< uintT >::operator bool(), CImg< uintT >::operator%=(), CImg< uintT >::operator&=(), CImg< uintT >::operator()(), CImg< uintT >::operator*(), CImg< uintT >::operator*=(), CImg< uintT >::operator+=(), cimg_library::operator-(), CImg< uintT >::operator-(), CImg< uintT >::operator-=(), CImg< uintT >::operator/=(), CImg< uintT >::operator^=(), CImg< uintT >::operator|=(), CImg< uintT >::operator~(), CImg< uintT >::pow(), CImg< uintT >::print(), CImg< uintT >::ptr(), CImgDisplay::render(), CImgDisplay::resize(), CImg< uintT >::resize(), CImg< uintT >::resize_object3d(), CImg< uintT >::RGBtoCMY(), CImg< uintT >::RGBtoHSI(), CImg< uintT >::RGBtoHSL(), CImg< uintT >::RGBtoHSV(), CImg< uintT >::RGBtoXYZ(), CImg< uintT >::RGBtoYCbCr(), CImg< uintT >::RGBtoYUV(), CImg< uintT >::save(), CImg< uintT >::save_magick(), CImg< uintT >::set_vector_at(), CImg< uintT >::sharpen(), CImg< uintT >::size(), CImg< uintT >::solve(), CImg< uintT >::sum(), CImg< uintT >::SVD(), CImg< uintT >::swap(), CImg< uintT >::symmetric_eigen(), CImg< uintT >::trace(), CImg< uintT >::translate(), CImg< uintT >::translate_object3d(), CImg< uintT >::transpose(), CImg< uintT >::unroll(), CImg< uintT >::xyYtoXYZ(), CImg< uintT >::XYZtoLab(), CImg< uintT >::XYZtoRGB(), CImg< uintT >::XYZtoxyY(), CImg< uintT >::YCbCrtoRGB(), and CImg< uintT >::YUVtoRGB().