|
|
T & | operator() (const unsigned int x) |
| Access to a pixel value. More...
|
|
const T & | operator() (const unsigned int x) const |
|
T & | operator() (const unsigned int x, const unsigned int y) |
|
const T & | operator() (const unsigned int x, const unsigned int y) const |
|
T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z) |
|
const T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z) const |
|
T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z, const unsigned int c) |
|
const T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z, const unsigned int c) const |
|
T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z, const unsigned int, const unsigned long wh) |
|
const T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z, const unsigned int, const unsigned long wh) const |
|
T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z, const unsigned int c, const unsigned long wh, const unsigned long whd) |
|
const T & | operator() (const unsigned int x, const unsigned int y, const unsigned int z, const unsigned int c, const unsigned long wh, const unsigned long whd) const |
|
| operator T * () |
| Implicitely cast an image into a T* . More...
|
|
| operator const T * () const |
| Implicitely cast an image into a T* .
|
|
CImg< T > & | operator= (const T value) |
| Assign a value to all image pixels. More...
|
|
CImg< T > & | operator= (const char *const expression) |
| Assign pixels values from a specified expression. More...
|
|
template<typename t > |
CImg< T > & | operator= (const CImg< t > &img) |
| Copy an image into the current image instance. More...
|
|
CImg< T > & | operator= (const CImg< T > &img) |
| Copy an image into the current image instance .
|
|
CImg< T > & | operator= (const CImgDisplay &disp) |
| Copy the content of a display window to the current image instance. More...
|
|
template<typename t > |
CImg< T > & | operator+= (const t value) |
| In-place addition operator. More...
|
|
CImg< T > & | operator+= (const char *const expression) |
| In-place addition operator. More...
|
|
template<typename t > |
CImg< T > & | operator+= (const CImg< t > &img) |
| In-place addition operator. More...
|
|
CImg< T > & | operator++ () |
| In-place increment operator (prefix). More...
|
|
CImg< T > | operator++ (int) |
| In-place increment operator (postfix). More...
|
|
CImg< T > | operator+ () const |
| Return a non-shared copy of the image instance. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator+ (const t value) const |
| Addition operator. More...
|
|
CImg< Tfloat > | operator+ (const char *const expression) const |
| Addition operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator+ (const CImg< t > &img) const |
| Addition operator. More...
|
|
template<typename t > |
CImg< T > & | operator-= (const t value) |
| In-place substraction operator. More...
|
|
CImg< T > & | operator-= (const char *const expression) |
| In-place substraction operator. More...
|
|
template<typename t > |
CImg< T > & | operator-= (const CImg< t > &img) |
| In-place substraction operator. More...
|
|
CImg< T > & | operator-- () |
| In-place decrement operator (prefix). More...
|
|
CImg< T > | operator-- (int) |
| In-place decrement operator (postfix). More...
|
|
CImg< T > | operator- () const |
| Replace each pixel by its opposite value. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator- (const t value) const |
| Substraction operator. More...
|
|
CImg< Tfloat > | operator- (const char *const expression) const |
| Substraction operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator- (const CImg< t > &img) const |
| Substraction operator. More...
|
|
template<typename t > |
CImg< T > & | operator*= (const t value) |
| In-place multiplication operator. More...
|
|
CImg< T > & | operator*= (const char *const expression) |
| In-place multiplication operator. More...
|
|
template<typename t > |
CImg< T > & | operator*= (const CImg< t > &img) |
| In-place multiplication operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator* (const t value) const |
| Multiplication operator. More...
|
|
CImg< Tfloat > | operator* (const char *const expression) const |
| Multiplication operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator* (const CImg< t > &img) const |
| Multiplication operator. More...
|
|
template<typename t > |
CImg< T > & | operator/= (const t value) |
| In-place division operator. More...
|
|
CImg< T > & | operator/= (const char *const expression) |
| In-place division operator. More...
|
|
template<typename t > |
CImg< T > & | operator/= (const CImg< t > &img) |
| In-place division operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator/ (const t value) const |
| Division operator. More...
|
|
CImg< Tfloat > | operator/ (const char *const expression) const |
| Division operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator/ (const CImg< t > &img) const |
| Division operator. More...
|
|
template<typename t > |
CImg< T > & | operator%= (const t value) |
| In-place modulo operator. More...
|
|
CImg< T > & | operator%= (const char *const expression) |
| In-place modulo operator. More...
|
|
template<typename t > |
CImg< T > & | operator%= (const CImg< t > &img) |
| In-place modulo operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator% (const t value) const |
| Modulo operator. More...
|
|
CImg< Tfloat > | operator% (const char *const expression) const |
| Modulo operator. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | operator% (const CImg< t > &img) const |
| Modulo operator. More...
|
|
template<typename t > |
CImg< T > & | operator&= (const t value) |
| In-place bitwise AND operator. More...
|
|
CImg< T > & | operator&= (const char *const expression) |
| In-place bitwise AND operator. More...
|
|
template<typename t > |
CImg< T > & | operator&= (const CImg< t > &img) |
| In-place bitwise AND operator. More...
|
|
template<typename t > |
CImg< T > | operator& (const t value) const |
| Bitwise AND operator. More...
|
|
CImg< T > | operator& (const char *const expression) const |
| Bitwise AND operator. More...
|
|
template<typename t > |
CImg< T > | operator& (const CImg< t > &img) const |
| Bitwise AND operator. More...
|
|
template<typename t > |
CImg< T > & | operator|= (const t value) |
| In-place bitwise OR operator. More...
|
|
CImg< T > & | operator|= (const char *const expression) |
| In-place bitwise OR operator. More...
|
|
template<typename t > |
CImg< T > & | operator|= (const CImg< t > &img) |
| In-place bitwise OR operator. More...
|
|
template<typename t > |
CImg< T > | operator| (const t value) const |
| Bitwise OR operator. More...
|
|
CImg< T > | operator| (const char *const expression) const |
| Bitwise OR operator. More...
|
|
template<typename t > |
CImg< T > | operator| (const CImg< t > &img) const |
| Bitwise OR operator. More...
|
|
template<typename t > |
CImg< T > & | operator^= (const t value) |
| In-place bitwise XOR operator. More...
|
|
CImg< T > & | operator^= (const char *const expression) |
| In-place bitwise XOR operator. More...
|
|
template<typename t > |
CImg< T > & | operator^= (const CImg< t > &img) |
| In-place bitwise XOR operator. More...
|
|
template<typename t > |
CImg< T > | operator^ (const t value) const |
| Bitwise XOR operator. More...
|
|
CImg< T > | operator^ (const char *const expression) const |
| Bitwise XOR operator. More...
|
|
template<typename t > |
CImg< T > | operator^ (const CImg< t > &img) const |
| Bitwise XOR operator. More...
|
|
template<typename t > |
CImg< T > & | operator<<= (const t value) |
| In-place bitwise left shift operator. More...
|
|
CImg< T > & | operator<<= (const char *const expression) |
| In-place bitwise left shift operator. More...
|
|
template<typename t > |
CImg< T > & | operator<<= (const CImg< t > &img) |
| In-place bitwise left shift operator. More...
|
|
template<typename t > |
CImg< T > | operator<< (const t value) const |
| Bitwise left shift operator. More...
|
|
CImg< T > | operator<< (const char *const expression) const |
| Bitwise left shift operator. More...
|
|
template<typename t > |
CImg< T > | operator<< (const CImg< t > &img) const |
| Bitwise left shift operator. More...
|
|
template<typename t > |
CImg< T > & | operator>>= (const t value) |
| In-place bitwise right shift operator. More...
|
|
CImg< T > & | operator>>= (const char *const expression) |
| In-place bitwise right shift operator. More...
|
|
template<typename t > |
CImg< T > & | operator>>= (const CImg< t > &img) |
| In-place bitwise right shift operator. More...
|
|
template<typename t > |
CImg< T > | operator>> (const t value) const |
| Bitwise right shift operator. More...
|
|
CImg< T > | operator>> (const char *const expression) const |
| Bitwise right shift operator. More...
|
|
template<typename t > |
CImg< T > | operator>> (const CImg< t > &img) const |
| Bitwise right shift operator. More...
|
|
CImg< T > | operator~ () const |
| Bitwise inversion operator. More...
|
|
template<typename t > |
bool | operator== (const t value) const |
| Test if all pixels of an image have the same value. More...
|
|
bool | operator== (const char *const expression) const |
| Test if all pixel values of an image follow a specified expression. More...
|
|
template<typename t > |
bool | operator== (const CImg< t > &img) const |
| Test if two images have the same size and values. More...
|
|
template<typename t > |
bool | operator!= (const t value) const |
| Test if pixels of an image are all different from a value. More...
|
|
bool | operator!= (const char *const expression) const |
| Test if all pixel values of an image are different from a specified expression. More...
|
|
template<typename t > |
bool | operator!= (const CImg< t > &img) const |
| Test if two images have different sizes or values. More...
|
|
template<typename t > |
CImgList< _cimg_Tt > | operator, (const CImg< t > &img) const |
| Construct an image list from two images. More...
|
|
template<typename t > |
CImgList< _cimg_Tt > | operator, (const CImgList< t > &list) const |
| Construct an image list from image instance and an input image list. More...
|
|
CImgList< T > | operator< (const char axis) const |
| Split image along specified axis. More...
|
|
|
CImg< T > & | sqr () |
| Compute the square value of each pixel value. More...
|
|
CImg< Tfloat > | get_sqr () const |
| Compute the square value of each pixel value .
|
|
CImg< T > & | sqrt () |
| Compute the square root of each pixel value. More...
|
|
CImg< Tfloat > | get_sqrt () const |
| Compute the square root of each pixel value .
|
|
CImg< T > & | exp () |
| Compute the exponential of each pixel value. More...
|
|
CImg< Tfloat > | get_exp () const |
| Compute the exponential of each pixel value .
|
|
CImg< T > & | log () |
| Compute the logarithm of each pixel value. More...
|
|
CImg< Tfloat > | get_log () const |
| Compute the logarithm of each pixel value .
|
|
CImg< T > & | log2 () |
| Compute the base-2 logarithm of each pixel value. More...
|
|
CImg< Tfloat > | get_log2 () const |
| Compute the base-10 logarithm of each pixel value .
|
|
CImg< T > & | log10 () |
| Compute the base-10 logarithm of each pixel value. More...
|
|
CImg< Tfloat > | get_log10 () const |
| Compute the base-10 logarithm of each pixel value .
|
|
CImg< T > & | abs () |
| Compute the absolute value of each pixel value. More...
|
|
CImg< Tfloat > | get_abs () const |
| Compute the absolute value of each pixel value .
|
|
CImg< T > & | sign () |
| Compute the sign of each pixel value. More...
|
|
CImg< Tfloat > | get_sign () const |
| Compute the sign of each pixel value .
|
|
CImg< T > & | cos () |
| Compute the cosine of each pixel value. More...
|
|
CImg< Tfloat > | get_cos () const |
| Compute the cosine of each pixel value .
|
|
CImg< T > & | sin () |
| Compute the sine of each pixel value. More...
|
|
CImg< Tfloat > | get_sin () const |
| Compute the sine of each pixel value .
|
|
CImg< T > & | sinc () |
| Compute the sinc of each pixel value. More...
|
|
CImg< Tfloat > | get_sinc () const |
| Compute the sinc of each pixel value .
|
|
CImg< T > & | tan () |
| Compute the tangent of each pixel value. More...
|
|
CImg< Tfloat > | get_tan () const |
| Compute the tangent of each pixel value .
|
|
CImg< T > & | cosh () |
| Compute the hyperbolic cosine of each pixel value. More...
|
|
CImg< Tfloat > | get_cosh () const |
| Compute the hyperbolic cosine of each pixel value .
|
|
CImg< T > & | sinh () |
| Compute the hyperbolic sine of each pixel value. More...
|
|
CImg< Tfloat > | get_sinh () const |
| Compute the hyperbolic sine of each pixel value .
|
|
CImg< T > & | tanh () |
| Compute the hyperbolic tangent of each pixel value. More...
|
|
CImg< Tfloat > | get_tanh () const |
| Compute the hyperbolic tangent of each pixel value .
|
|
CImg< T > & | acos () |
| Compute the arccosine of each pixel value. More...
|
|
CImg< Tfloat > | get_acos () const |
| Compute the arccosine of each pixel value .
|
|
CImg< T > & | asin () |
| Compute the arcsine of each pixel value. More...
|
|
CImg< Tfloat > | get_asin () const |
| Compute the arcsine of each pixel value .
|
|
CImg< T > & | atan () |
| Compute the arctangent of each pixel value. More...
|
|
CImg< Tfloat > | get_atan () const |
| Compute the arctangent of each pixel value .
|
|
template<typename t > |
CImg< T > & | atan2 (const CImg< t > &img) |
| Compute the arctangent2 of each pixel value. More...
|
|
template<typename t > |
CImg< Tfloat > | get_atan2 (const CImg< t > &img) const |
| Compute the arctangent2 of each pixel value .
|
|
template<typename t > |
CImg< T > & | mul (const CImg< t > &img) |
| In-place pointwise multiplication. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | get_mul (const CImg< t > &img) const |
| In-place pointwise multiplication .
|
|
template<typename t > |
CImg< T > & | div (const CImg< t > &img) |
| In-place pointwise division. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | get_div (const CImg< t > &img) const |
| In-place pointwise division .
|
|
CImg< T > & | pow (const double p) |
| Raise each pixel value to a specified power. More...
|
|
CImg< Tfloat > | get_pow (const double p) const |
| Raise each pixel value to a specified power .
|
|
CImg< T > & | pow (const char *const expression) |
| Raise each pixel value to a power, specified from an expression. More...
|
|
CImg< Tfloat > | get_pow (const char *const expression) const |
| Raise each pixel value to a power, specified from an expression .
|
|
template<typename t > |
CImg< T > & | pow (const CImg< t > &img) |
| Raise each pixel value to a power, pointwisely specified from another image. More...
|
|
template<typename t > |
CImg< Tfloat > | get_pow (const CImg< t > &img) const |
| Raise each pixel value to a power, pointwisely specified from another image .
|
|
CImg< T > & | rol (const unsigned int n=1) |
| Compute the bitwise left rotation of each pixel value. More...
|
|
CImg< T > | get_rol (const unsigned int n=1) const |
| Compute the bitwise left rotation of each pixel value .
|
|
CImg< T > & | rol (const char *const expression) |
| Compute the bitwise left rotation of each pixel value. More...
|
|
CImg< T > | get_rol (const char *const expression) const |
| Compute the bitwise left rotation of each pixel value .
|
|
template<typename t > |
CImg< T > & | rol (const CImg< t > &img) |
| Compute the bitwise left rotation of each pixel value. More...
|
|
template<typename t > |
CImg< T > | get_rol (const CImg< t > &img) const |
| Compute the bitwise left rotation of each pixel value .
|
|
CImg< T > & | ror (const unsigned int n=1) |
| Compute the bitwise right rotation of each pixel value. More...
|
|
CImg< T > | get_ror (const unsigned int n=1) const |
| Compute the bitwise right rotation of each pixel value .
|
|
CImg< T > & | ror (const char *const expression) |
| Compute the bitwise right rotation of each pixel value. More...
|
|
CImg< T > | get_ror (const char *const expression) const |
| Compute the bitwise right rotation of each pixel value .
|
|
template<typename t > |
CImg< T > & | ror (const CImg< t > &img) |
| Compute the bitwise right rotation of each pixel value. More...
|
|
template<typename t > |
CImg< T > | get_ror (const CImg< t > &img) const |
| Compute the bitwise right rotation of each pixel value .
|
|
CImg< T > & | min (const T val) |
| Pointwise min operator between instance image and a value. More...
|
|
CImg< T > | get_min (const T val) const |
| Pointwise min operator between instance image and a value .
|
|
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 |
| Pointwise min operator between two images .
|
|
CImg< T > & | min (const char *const expression) |
| Pointwise min operator between an image and an expression. More...
|
|
CImg< Tfloat > | get_min (const char *const expression) const |
| Pointwise min operator between an image and an expression .
|
|
CImg< T > & | max (const T val) |
| Pointwise max operator between instance image and a value. More...
|
|
CImg< T > | get_max (const T val) const |
| Pointwise max operator between instance image and a value .
|
|
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 |
| Pointwise max operator between two images .
|
|
CImg< T > & | max (const char *const expression) |
| Pointwise max operator between an image and an expression. More...
|
|
CImg< Tfloat > | get_max (const char *const expression) const |
| Pointwise max operator between an image and an expression .
|
|
T & | min () |
| Return a reference to the minimum pixel value.
|
|
const T & | min () const |
| Return a reference to the minimum pixel value .
|
|
T & | max () |
| Return a reference to the maximum pixel value.
|
|
const T & | max () const |
| Return a reference to the maximum pixel value .
|
|
template<typename t > |
T & | min_max (t &max_val) |
| Return a reference to the minimum pixel value as well as the maximum pixel value. More...
|
|
template<typename t > |
const T & | min_max (t &max_val) const |
| Return a reference to the minimum pixel value as well as the maximum pixel value .
|
|
template<typename t > |
T & | max_min (t &min_val) |
| Return a reference to the maximum pixel value as well as the minimum pixel value. More...
|
|
template<typename t > |
const T & | max_min (t &min_val) const |
| Return a reference to the maximum pixel value as well as the minimum pixel value .
|
|
T | kth_smallest (const unsigned int k) const |
| Return the kth smallest pixel value. More...
|
|
T | median () const |
| Return the median pixel value.
|
|
Tdouble | sum () const |
| Return the sum of all the pixel values.
|
|
Tdouble | mean () const |
| Return the average pixel value.
|
|
Tdouble | variance (const unsigned int variance_method=1) const |
| Return the variance of the pixel values. More...
|
|
template<typename t > |
Tdouble | variance_mean (const unsigned int variance_method, t &mean) const |
| Return the variance as well as the average of the pixel values. More...
|
|
Tdouble | variance_noise (const unsigned int variance_method=2) const |
| Return estimated variance of the noise. More...
|
|
template<typename t > |
Tdouble | MSE (const CImg< t > &img) const |
| Compute the MSE (Mean-Squared Error) between two images. More...
|
|
template<typename t > |
Tdouble | PSNR (const CImg< t > &img, const Tdouble max_value=255) const |
| Compute the PSNR (Peak Signal-to-Noise Ratio) between two images. More...
|
|
double | eval (const char *const expression, const double x=0, const double y=0, const double z=0, const double c=0) const |
| Evaluate math formula. More...
|
|
template<typename t > |
CImg< doubleT > | eval (const char *const expression, const CImg< t > &xyzc) const |
| Evaluate math formula on a set of variables. More...
|
|
CImg< Tdouble > | get_stats (const unsigned int variance_method=1) const |
| Compute statistics vector from the pixel values.
|
|
CImg< T > & | stats (const unsigned int variance_method=1) |
| Compute statistics vector from the pixel values .
|
|
|
CImg< T > & | fill (const T val) |
| Fill all pixel values with specified value. More...
|
|
CImg< T > | get_fill (const T val) const |
| Fill all pixel values with specified value .
|
|
CImg< T > & | fill (const T val0, const T val1) |
| Fill sequentially all pixel values with specified values. More...
|
|
CImg< T > | get_fill (const T val0, const T val1) const |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > & | fill (const T val0, const T val1, const T val2) |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > | get_fill (const T val0, const T val1, const T val2) const |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3) |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3) const |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > & | fill (const T val0, const T val1, const T val2, const T val3, const T val4) |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4) const |
| Fill sequentially all pixel values with specified values .
|
|
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 specified values .
|
|
CImg< T > | get_fill (const T val0, const T val1, const T val2, const T val3, const T val4, const T val5) const |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
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 all pixel values with specified values .
|
|
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 |
| Fill sequentially all pixel values with specified values .
|
|
CImg< T > & | fill (const char *const expression, const bool repeat_flag) |
| Fill sequentially pixel values according to a given expression. More...
|
|
CImg< T > | get_fill (const char *const values, const bool repeat_values) const |
| Fill sequentially pixel values according to a given expression .
|
|
template<typename t > |
CImg< T > & | fill (const CImg< t > &values, const bool repeat_values=true) |
| Fill sequentially pixel values according to the values found in another image. More...
|
|
template<typename t > |
CImg< T > | get_fill (const CImg< t > &values, const bool repeat_values=true) const |
| Fill sequentially pixel values according to the values found in another image .
|
|
CImg< T > & | fillX (const unsigned int y, const unsigned int z, const unsigned int c, const int a0,...) |
| Fill pixel values along the X-axis at a specified pixel position. More...
|
|
CImg< T > & | fillX (const unsigned int y, const unsigned int z, const unsigned int c, const double a0,...) |
| Fill pixel values along the X-axis at a specified pixel position .
|
|
CImg< T > & | fillY (const unsigned int x, const unsigned int z, const unsigned int c, const int a0,...) |
| Fill pixel values along the Y-axis at a specified pixel position. More...
|
|
CImg< T > & | fillY (const unsigned int x, const unsigned int z, const unsigned int c, const double a0,...) |
| Fill pixel values along the Y-axis at a specified pixel position .
|
|
CImg< T > & | fillZ (const unsigned int x, const unsigned int y, const unsigned int c, const int a0,...) |
| Fill pixel values along the Z-axis at a specified pixel position. More...
|
|
CImg< T > & | fillZ (const unsigned int x, const unsigned int y, const unsigned int c, const double a0,...) |
| Fill pixel values along the Z-axis at a specified pixel position .
|
|
CImg< T > & | fillC (const unsigned int x, const unsigned int y, const unsigned int z, const int a0,...) |
| Fill pixel values along the C-axis at a specified pixel position. More...
|
|
CImg< T > & | fillC (const unsigned int x, const unsigned int y, const unsigned int z, const double a0,...) |
| Fill pixel values along the C-axis at a specified pixel position .
|
|
CImg< T > & | discard (const T value) |
| Discard specified value in the image buffer. More...
|
|
CImg< T > | get_discard (const T value) const |
| Discard specified value in the image buffer .
|
|
template<typename t > |
CImg< T > & | discard (const CImg< t > &values) |
| Discard specified sequence of values in the image buffer. More...
|
|
template<typename t > |
CImg< T > | get_discard (const CImg< t > &values) const |
| Discard specified sequence of values in the image buffer .
|
|
CImg< T > & | invert_endianness () |
| Invert endianness of all pixel values.
|
|
CImg< T > | get_invert_endianness () const |
| Invert endianness of all pixel values .
|
|
CImg< T > & | rand (const T val_min, const T val_max) |
| Fill image with random values in specified range. More...
|
|
CImg< T > | get_rand (const T val_min, const T val_max) const |
| Fill image with random values in specified range .
|
|
CImg< T > & | round (const double y=1, const int rounding_type=0) |
| Round pixel values. More...
|
|
CImg< T > | get_round (const double y=1, const unsigned int rounding_type=0) const |
| Round pixel values .
|
|
CImg< T > & | noise (const double sigma, const unsigned int noise_type=0) |
| Add random noise to pixel values. More...
|
|
CImg< T > | get_noise (const double sigma, const unsigned int noise_type=0) const |
| Add random noise to pixel values .
|
|
CImg< T > & | normalize (const T min_value, const T max_value) |
| Linearly normalize pixel values. More...
|
|
CImg< Tfloat > | get_normalize (const T min_value, const T max_value) const |
| Linearly normalize pixel values .
|
|
CImg< T > & | normalize () |
| Normalize multi-valued pixels of the image instance, with respect to their L2-norm. More...
|
|
CImg< Tfloat > | get_normalize () const |
| Normalize multi-valued pixels of the image instance, with respect to their L2-norm .
|
|
CImg< T > & | norm (const int norm_type=2) |
| Compute L2-norm of each multi-valued pixel of the image instance. More...
|
|
CImg< Tfloat > | get_norm (const int norm_type=2) const |
| Compute L2-norm of each multi-valued pixel of the image instance .
|
|
CImg< T > & | cut (const T min_value, const T max_value) |
| Cut pixel values in specified range. More...
|
|
CImg< T > | get_cut (const T min_value, const T max_value) const |
| Cut pixel values in specified range .
|
|
CImg< T > & | quantize (const unsigned int nb_levels, const bool keep_range=true) |
| Uniformly quantize pixel values. More...
|
|
CImg< T > | get_quantize (const unsigned int n, const bool keep_range=true) const |
| Uniformly quantize pixel values .
|
|
CImg< T > & | threshold (const T value, const bool soft_threshold=false, const bool strict_threshold=false) |
| Threshold pixel values. More...
|
|
CImg< T > | get_threshold (const T value, const bool soft_threshold=false, const bool strict_threshold=false) const |
| Threshold pixel values .
|
|
CImg< T > & | histogram (const unsigned int nb_levels, const T min_value, const T max_value) |
| Compute the histogram of pixel values. More...
|
|
CImg< T > & | histogram (const unsigned int nb_levels) |
| Compute the histogram of pixel values .
|
|
CImg< ulongT > | get_histogram (const unsigned int nb_levels, const T min_value, const T max_value) const |
| Compute the histogram of pixel values .
|
|
CImg< ulongT > | get_histogram (const unsigned int nb_levels) const |
| Compute the histogram of pixel values .
|
|
CImg< T > & | equalize (const unsigned int nb_levels, const T min_value, const T max_value) |
| Equalize histogram of pixel values. More...
|
|
CImg< T > & | equalize (const unsigned int nb_levels) |
| Equalize histogram of pixel values .
|
|
CImg< T > | get_equalize (const unsigned int nblevels, const T val_min, const T val_max) const |
| Equalize histogram of pixel values .
|
|
CImg< T > | get_equalize (const unsigned int nblevels) const |
| Equalize histogram of pixel values .
|
|
template<typename t > |
CImg< T > & | index (const CImg< t > &colormap, const float dithering=1, const bool map_indexes=false) |
| Index multi-valued pixels regarding to a specified colormap. More...
|
|
template<typename t > |
CImg< typename CImg< t >::Tuint > | get_index (const CImg< t > &colormap, const float dithering=1, const bool map_indexes=true) const |
| Index multi-valued pixels regarding to a specified colormap .
|
|
template<typename t > |
CImg< T > & | map (const CImg< t > &colormap, const unsigned int boundary_conditions=0) |
| Map predefined colormap on the scalar (indexed) image instance. More...
|
|
template<typename t > |
CImg< t > | get_map (const CImg< t > &colormap, const unsigned int boundary_conditions=0) const |
| Map predefined colormap on the scalar (indexed) image instance .
|
|
CImg< T > & | label (const bool is_high_connectivity=false, const Tfloat tolerance=0) |
| Label connected components. More...
|
|
CImg< unsigned long > | get_label (const bool is_high_connectivity=false, const Tfloat tolerance=0) const |
| Label connected components .
|
|
template<typename t > |
CImg< T > & | label (const CImg< t > &connectivity_mask, const Tfloat tolerance=0) |
| Label connected components . More...
|
|
template<typename t > |
CImg< unsigned long > | get_label (const CImg< t > &connectivity_mask, const Tfloat tolerance=0) const |
| Label connected components .
|
|
CImg< unsigned long > | _get_label (const unsigned int nb, const int *const dx, const int *const dy, const int *const dz, const Tfloat tolerance) const |
|
CImg< T > & | _system_strescape () |
|
|
int | width () const |
| Return the number of image columns. More...
|
|
int | height () const |
| Return the number of image rows. More...
|
|
int | depth () const |
| Return the number of image slices. More...
|
|
int | spectrum () const |
| Return the number of image channels. More...
|
|
unsigned long | size () const |
| Return the total number of pixel values. More...
|
|
T * | data () |
| Return a pointer to the first pixel value. More...
|
|
const T * | data () const |
| Return a pointer to the first pixel value .
|
|
T * | data (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int c=0) |
| Return a pointer to a located pixel value. More...
|
|
const T * | data (const unsigned int x, const unsigned int y=0, const unsigned int z=0, const unsigned int c=0) const |
|
long | offset (const int x, const int y=0, const int z=0, const int c=0) const |
| Return the offset to a located pixel value, with respect to the beginning of the pixel buffer. More...
|
|
iterator | begin () |
| Return a CImg<T>::iterator pointing to the first pixel value. More...
|
|
const_iterator | begin () const |
| Return a CImg<T>::iterator pointing to the first value of the pixel buffer .
|
|
iterator | end () |
| Return a CImg<T>::iterator pointing next to the last pixel value. More...
|
|
const_iterator | end () const |
| Return a CImg<T>::iterator pointing next to the last pixel value .
|
|
T & | front () |
| Return a reference to the first pixel value. More...
|
|
const T & | front () const |
| Return a reference to the first pixel value .
|
|
T & | back () |
| Return a reference to the last pixel value. More...
|
|
const T & | back () const |
| Return a reference to the last pixel value .
|
|
T & | at (const int offset, const T out_value) |
| Access to a pixel value at a specified offset, using Dirichlet boundary conditions. More...
|
|
T | at (const int offset, const T out_value) const |
| Access to a pixel value at a specified offset, using Dirichlet boundary conditions .
|
|
T & | at (const int offset) |
| Access to a pixel value at a specified offset, using Neumann boundary conditions. More...
|
|
T & | _at (const int offset) |
|
T | at (const int offset) const |
| Access to a pixel value at a specified offset, using Neumann boundary conditions .
|
|
T | _at (const int offset) const |
|
T & | atX (const int x, const int y, const int z, const int c, const T out_value) |
| Access to a pixel value, using Dirichlet boundary conditions for the X-coordinate. More...
|
|
T | atX (const int x, const int y, const int z, const int c, const T out_value) const |
| Access to a pixel value, using Dirichlet boundary conditions for the X-coordinate .
|
|
T & | atX (const int x, const int y=0, const int z=0, const int c=0) |
| Access to a pixel value, using Neumann boundary conditions for the X-coordinate. More...
|
|
T & | _atX (const int x, const int y=0, const int z=0, const int c=0) |
|
T | atX (const int x, const int y=0, const int z=0, const int c=0) const |
| Access to a pixel value, using Neumann boundary conditions for the X-coordinate .
|
|
T | _atX (const int x, const int y=0, const int z=0, const int c=0) const |
|
T & | atXY (const int x, const int y, const int z, const int c, const T out_value) |
| Access to a pixel value, using Dirichlet boundary conditions for the X and Y-coordinates. More...
|
|
T | atXY (const int x, const int y, const int z, const int c, const T out_value) const |
| Access to a pixel value, using Dirichlet boundary conditions for the X and Y coordinates .
|
|
T & | atXY (const int x, const int y, const int z=0, const int c=0) |
| Access to a pixel value, using Neumann boundary conditions for the X and Y-coordinates. More...
|
|
T & | _atXY (const int x, const int y, const int z=0, const int c=0) |
|
T | atXY (const int x, const int y, const int z=0, const int c=0) const |
| Access to a pixel value, using Neumann boundary conditions for the X and Y-coordinates .
|
|
T | _atXY (const int x, const int y, const int z=0, const int c=0) const |
|
T & | atXYZ (const int x, const int y, const int z, const int c, const T out_value) |
| Access to a pixel value, using Dirichlet boundary conditions for the X,Y and Z-coordinates. More...
|
|
T | atXYZ (const int x, const int y, const int z, const int c, const T out_value) const |
| Access to a pixel value, using Dirichlet boundary conditions for the X,Y and Z-coordinates .
|
|
T & | atXYZ (const int x, const int y, const int z, const int c=0) |
| Access to a pixel value, using Neumann boundary conditions for the X,Y and Z-coordinates. More...
|
|
T & | _atXYZ (const int x, const int y, const int z, const int c=0) |
|
T | atXYZ (const int x, const int y, const int z, const int c=0) const |
| Access to a pixel value, using Neumann boundary conditions for the X,Y and Z-coordinates .
|
|
T | _atXYZ (const int x, const int y, const int z, const int c=0) const |
|
T & | atXYZC (const int x, const int y, const int z, const int c, const T out_value) |
| Access to a pixel value, using Dirichlet boundary conditions. More...
|
|
T | atXYZC (const int x, const int y, const int z, const int c, const T out_value) const |
| Access to a pixel value, using Dirichlet boundary conditions .
|
|
T & | atXYZC (const int x, const int y, const int z, const int c) |
| Access to a pixel value, using Neumann boundary conditions. More...
|
|
T & | _atXYZC (const int x, const int y, const int z, const int c) |
|
T | atXYZC (const int x, const int y, const int z, const int c) const |
| Access to a pixel value, using Neumann boundary conditions .
|
|
T | _atXYZC (const int x, const int y, const int z, const int c) const |
|
Tfloat | linear_atX (const float fx, const int y, const int z, const int c, const T out_value) const |
| Return pixel value, using linear interpolation and Dirichlet boundary conditions for the X-coordinate. More...
|
|
Tfloat | linear_atX (const float fx, const int y=0, const int z=0, const int c=0) const |
| Return pixel value, using linear interpolation and Neumann boundary conditions for the X-coordinate. More...
|
|
Tfloat | _linear_atX (const float fx, const int y=0, const int z=0, const int c=0) const |
|
Tfloat | linear_atXY (const float fx, const float fy, const int z, const int c, const T out_value) const |
| Return pixel value, using linear interpolation and Dirichlet boundary conditions for the X and Y-coordinates. More...
|
|
Tfloat | linear_atXY (const float fx, const float fy, const int z=0, const int c=0) const |
| Return pixel value, using linear interpolation and Neumann boundary conditions for the X and Y-coordinates. More...
|
|
Tfloat | _linear_atXY (const float fx, const float fy, const int z=0, const int c=0) const |
|
Tfloat | linear_atXYZ (const float fx, const float fy, const float fz, const int c, const T out_value) const |
| Return pixel value, using linear interpolation and Dirichlet boundary conditions for the X,Y and Z-coordinates. More...
|
|
Tfloat | linear_atXYZ (const float fx, const float fy=0, const float fz=0, const int c=0) const |
| Return pixel value, using linear interpolation and Neumann boundary conditions for the X,Y and Z-coordinates. More...
|
|
Tfloat | _linear_atXYZ (const float fx, const float fy=0, const float fz=0, const int c=0) const |
|
Tfloat | linear_atXYZC (const float fx, const float fy, const float fz, const float fc, const T out_value) const |
| Return pixel value, using linear interpolation and Dirichlet boundary conditions for all X,Y,Z,C-coordinates. More...
|
|
Tfloat | linear_atXYZC (const float fx, const float fy=0, const float fz=0, const float fc=0) const |
| Return pixel value, using linear interpolation and Neumann boundary conditions for all X,Y,Z and C-coordinates. More...
|
|
Tfloat | _linear_atXYZC (const float fx, const float fy=0, const float fz=0, const float fc=0) const |
|
Tfloat | cubic_atX (const float fx, const int y, const int z, const int c, const T out_value) const |
| Return pixel value, using cubic interpolation and Dirichlet boundary conditions for the X-coordinate. More...
|
|
Tfloat | cubic_atX (const float fx, const int y, const int z, const int c, const T out_value, const Tfloat min_value, const Tfloat max_value) const |
| Return damped pixel value, using cubic interpolation and Dirichlet boundary conditions for the X-coordinate. More...
|
|
Tfloat | cubic_atX (const float fx, const int y=0, const int z=0, const int c=0) const |
| Return pixel value, using cubic interpolation and Neumann boundary conditions for the X-coordinate. More...
|
|
Tfloat | _cubic_atX (const float fx, const int y=0, const int z=0, const int c=0) const |
|
Tfloat | cubic_atX (const float fx, const int y, const int z, const int c, const Tfloat min_value, const Tfloat max_value) const |
| Return damped pixel value, using cubic interpolation and Neumann boundary conditions for the X-coordinate. More...
|
|
Tfloat | _cubic_atX (const float fx, const int y, const int z, const int c, const Tfloat min_value, const Tfloat max_value) const |
|
Tfloat | cubic_atXY (const float fx, const float fy, const int z, const int c, const T out_value) const |
| Return pixel value, using cubic interpolation and Dirichlet boundary conditions for the X and Y-coordinates. More...
|
|
Tfloat | cubic_atXY (const float fx, const float fy, const int z, const int c, const T out_value, const Tfloat min_value, const Tfloat max_value) const |
| Return damped pixel value, using cubic interpolation and Dirichlet boundary conditions for the X,Y-coordinates. More...
|
|
Tfloat | cubic_atXY (const float fx, const float fy, const int z=0, const int c=0) const |
| Return pixel value, using cubic interpolation and Neumann boundary conditions for the X and Y-coordinates. More...
|
|
Tfloat | _cubic_atXY (const float fx, const float fy, const int z=0, const int c=0) const |
|
Tfloat | cubic_atXY (const float fx, const float fy, const int z, const int c, const Tfloat min_value, const Tfloat max_value) const |
| Return damped pixel value, using cubic interpolation and Neumann boundary conditions for the X,Y-coordinates. More...
|
|
Tfloat | _cubic_atXY (const float fx, const float fy, const int z, const int c, const Tfloat min_value, const Tfloat max_value) const |
|
Tfloat | cubic_atXYZ (const float fx, const float fy, const float fz, const int c, const T out_value) const |
| Return pixel value, using cubic interpolation and Dirichlet boundary conditions for the X,Y and Z-coordinates. More...
|
|
Tfloat | cubic_atXYZ (const float fx, const float fy, const float fz, const int c, const T out_value, const Tfloat min_value, const Tfloat max_value) const |
| Return damped pixel value, using cubic interpolation and Dirichlet boundary conditions for the XYZ-coordinates. More...
|
|
Tfloat | cubic_atXYZ (const float fx, const float fy, const float fz, const int c=0) const |
| Return pixel value, using cubic interpolation and Neumann boundary conditions for the X,Y and Z-coordinates. More...
|
|
Tfloat | _cubic_atXYZ (const float fx, const float fy, const float fz, const int c=0) const |
|
Tfloat | cubic_atXYZ (const float fx, const float fy, const float fz, const int c, const Tfloat min_value, const Tfloat max_value) const |
| Return damped pixel value, using cubic interpolation and Neumann boundary conditions for the XYZ-coordinates. More...
|
|
Tfloat | _cubic_atXYZ (const float fx, const float fy, const float fz, const int c, const Tfloat min_value, const Tfloat max_value) const |
|
CImg< T > & | set_linear_atXY (const T &value, const float fx, const float fy=0, const int z=0, const int c=0, const bool is_added=false) |
| Set pixel value, using linear interpolation for the X and Y-coordinates. More...
|
|
CImg< T > & | set_linear_atXYZ (const T &value, const float fx, const float fy=0, const float fz=0, const int c=0, const bool is_added=false) |
| Set pixel value, using linear interpolation for the X,Y and Z-coordinates. More...
|
|
CImg< charT > | value_string (const char separator=',', const unsigned int max_size=0) const |
| Return a C-string containing a list of all values of the image instance. More...
|
|
static const char * | pixel_type () |
| Return the type of image pixel values as a C string. More...
|
|
|
Tdouble | magnitude (const int magnitude_type=2) const |
| Compute norm of the image, viewed as a matrix. More...
|
|
Tdouble | trace () const |
| Compute the trace of the image, viewed as a matrix.
|
|
Tdouble | det () const |
| Compute the determinant of the image, viewed as a matrix.
|
|
template<typename t > |
Tdouble | dot (const CImg< t > &img) const |
| Compute the dot product between instance and argument, viewed as matrices. More...
|
|
CImg< T > | get_vector_at (const unsigned int x, const unsigned int y=0, const unsigned int z=0) const |
| Get vector-valued pixel located at specified position. More...
|
|
CImg< T > | get_matrix_at (const unsigned int x=0, const unsigned int y=0, const unsigned int z=0) const |
| Get (square) matrix-valued pixel located at specified position. More...
|
|
CImg< T > | get_tensor_at (const unsigned int x, const unsigned int y=0, const unsigned int z=0) const |
| Get tensor-valued pixel located at specified position. 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 vector-valued pixel at specified position. 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 (square) matrix-valued pixel at specified position. 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 tensor-valued pixel at specified position. More...
|
|
CImg< T > & | vector () |
| Unroll pixel values along axis y . More...
|
|
CImg< T > | get_vector () const |
| Unroll pixel values along axis y .
|
|
CImg< T > & | matrix () |
| Resize image to become a scalar square matrix.
|
|
CImg< T > | get_matrix () const |
| Resize image to become a scalar square matrix .
|
|
CImg< T > & | tensor () |
| Resize image to become a symmetric tensor.
|
|
CImg< T > | get_tensor () const |
| Resize image to become a symmetric tensor .
|
|
CImg< T > & | diagonal () |
| Resize image to become a diagonal matrix. More...
|
|
CImg< T > | get_diagonal () const |
| Resize image to become a diagonal matrix .
|
|
CImg< T > & | identity_matrix () |
| Replace the image by an identity matrix. More...
|
|
CImg< T > | get_identity_matrix () const |
| Replace the image by an identity matrix .
|
|
CImg< T > & | sequence (const T a0, const T a1) |
| Fill image with a linear sequence of values. More...
|
|
CImg< T > | get_sequence (const T a0, const T a1) const |
| Fill image with a linear sequence of values .
|
|
CImg< T > & | transpose () |
| Transpose the image, viewed as a matrix. More...
|
|
CImg< T > | get_transpose () const |
| Transpose the image, viewed as a matrix .
|
|
template<typename t > |
CImg< T > & | cross (const CImg< t > &img) |
| Compute the cross product between two 1x3 images, viewed as 3d vectors. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | get_cross (const CImg< t > &img) const |
| Compute the cross product between two 1x3 images, viewed as 3d vectors .
|
|
CImg< T > & | invert (const bool use_LU=true) |
| Invert the instance image, viewed as a matrix. More...
|
|
CImg< Tfloat > | get_invert (const bool use_LU=true) const |
| Invert the instance image, viewed as a matrix .
|
|
CImg< T > & | pseudoinvert () |
| Compute the Moore-Penrose pseudo-inverse of the instance image, viewed as a matrix.
|
|
CImg< Tfloat > | get_pseudoinvert () const |
| Compute the Moore-Penrose pseudo-inverse of the instance image, viewed as a matrix .
|
|
template<typename t > |
CImg< T > & | solve (const CImg< t > &A) |
| Solve a system of linear equations. More...
|
|
template<typename t > |
CImg< _cimg_Ttfloat > | get_solve (const CImg< t > &A) const |
| Solve a system of linear equations .
|
|
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) |
| Solve a tridiagonal system of linear equations. More...
|
|
template<typename t > |
CImg< _cimg_Ttfloat > | get_solve_tridiagonal (const CImg< t > &A) const |
| Solve a tridiagonal system of linear equations .
|
|
template<typename t > |
const CImg< T > & | eigen (CImg< t > &val, CImg< t > &vec) const |
| Compute eigenvalues and eigenvectors of the instance image, viewed as a matrix. More...
|
|
CImgList< Tfloat > | get_eigen () const |
| Compute eigenvalues and eigenvectors of the instance image, viewed as a matrix. More...
|
|
template<typename t > |
const CImg< T > & | symmetric_eigen (CImg< t > &val, CImg< t > &vec) const |
| Compute eigenvalues and eigenvectors of the instance image, viewed as a symmetric matrix. More...
|
|
CImgList< Tfloat > | get_symmetric_eigen () const |
| Compute eigenvalues and eigenvectors of the instance image, viewed as a symmetric matrix. More...
|
|
template<typename t > |
CImg< T > & | sort (CImg< t > &permutations, const bool is_increasing=true) |
| Sort pixel values and get sorting permutations. More...
|
|
template<typename t > |
CImg< T > | get_sort (CImg< t > &permutations, const bool is_increasing=true) const |
| Sort pixel values and get sorting permutations .
|
|
CImg< T > & | sort (const bool is_increasing=true, const char axis=0) |
| Sort pixel values. More...
|
|
CImg< T > | get_sort (const bool is_increasing=true, const char axis=0) const |
| Sort pixel values .
|
|
template<typename t > |
CImg< T > & | _quicksort (const int indm, const int indM, CImg< t > &permutations, const bool is_increasing, const bool is_permutations) |
|
template<typename t > |
const CImg< T > & | SVD (CImg< t > &U, CImg< t > &S, CImg< t > &V, const bool sorting=true, const unsigned int max_iteration=40, const float lambda=0) const |
| Compute the SVD of the instance image, viewed as a general matrix. More...
|
|
CImgList< Tfloat > | get_SVD (const bool sorting=true, const unsigned int max_iteration=40, const float lambda=0) const |
| Compute the SVD of the instance image, viewed as a general matrix. More...
|
|
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_node) |
| 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_node) const |
| Return minimal path in a graph, using the Dijkstra algorithm .
|
|
CImg< T > & | dijkstra (const unsigned int starting_node, const unsigned int ending_node=~0U) |
| Return minimal path in a graph, using the Dijkstra algorithm.
|
|
CImg< Tfloat > | get_dijkstra (const unsigned int starting_node, const unsigned int ending_node=~0U) const |
| Return minimal path in a graph, using the Dijkstra algorithm .
|
|
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_node) |
| 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.
|
|
static CImg< T > | string (const char *const str, const bool is_last_zero=true, const bool is_shared=false) |
| Return an image containing the ascii codes of the specified string. More...
|
|
static CImg< T > | vector (const T &a0) |
| Return a 1x1 image containing specified value. More...
|
|
static CImg< T > | vector (const T &a0, const T &a1) |
| Return a 1x2 image containing specified values. More...
|
|
static CImg< T > | vector (const T &a0, const T &a1, const T &a2) |
| Return a 1x3 image containing specified values. More...
|
|
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3) |
| Return a 1x4 image containing specified values. More...
|
|
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4) |
| Return a 1x5 image containing specified values.
|
|
static CImg< T > | vector (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5) |
| Return a 1x6 image containing specified values.
|
|
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 1x7 image containing specified values.
|
|
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 1x8 image containing specified values.
|
|
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 1x9 image containing specified values.
|
|
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 1x10 image containing specified values.
|
|
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 1x11 image containing specified values.
|
|
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 1x12 image containing specified values.
|
|
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 1x13 image containing specified values.
|
|
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 1x14 image containing specified values.
|
|
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 1x15 image containing specified values.
|
|
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 1x16 image containing specified values.
|
|
static CImg< T > | matrix (const T &a0) |
| Return a 1x1 matrix containing specified coefficients. More...
|
|
static CImg< T > | matrix (const T &a0, const T &a1, const T &a2, const T &a3) |
| Return a 2x2 matrix containing 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 matrix containing 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 matrix containing specified coefficients.
|
|
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 matrix containing specified coefficients.
|
|
static CImg< T > | tensor (const T &a0) |
| Return a 1x1 symmetric matrix containing specified coefficients. More...
|
|
static CImg< T > | tensor (const T &a0, const T &a1, const T &a2) |
| Return a 2x2 symmetric matrix tensor containing specified coefficients.
|
|
static CImg< T > | tensor (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4, const T &a5) |
| Return a 3x3 symmetric matrix containing specified coefficients.
|
|
static CImg< T > | diagonal (const T &a0) |
| Return a 1x1 diagonal matrix containing specified coefficients.
|
|
static CImg< T > | diagonal (const T &a0, const T &a1) |
| Return a 2x2 diagonal matrix containing specified coefficients.
|
|
static CImg< T > | diagonal (const T &a0, const T &a1, const T &a2) |
| Return a 3x3 diagonal matrix containing specified coefficients.
|
|
static CImg< T > | diagonal (const T &a0, const T &a1, const T &a2, const T &a3) |
| Return a 4x4 diagonal matrix containing specified coefficients.
|
|
static CImg< T > | diagonal (const T &a0, const T &a1, const T &a2, const T &a3, const T &a4) |
| Return a 5x5 diagonal matrix containing specified coefficients.
|
|
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 is_quaternion=false) |
| Return a 3x3 rotation matrix along the (x,y,z)-axis with an angle w. More...
|
|
|
CImg< T > & | resize (const int size_x, const int size_y=-100, const int size_z=-100, const int size_c=-100, const int interpolation_type=1, const unsigned int boundary_conditions=0, const float centering_x=0, const float centering_y=0, const float centering_z=0, const float centering_c=0) |
| Resize image to new dimensions. More...
|
|
CImg< T > | get_resize (const int size_x, const int size_y=-100, const int size_z=-100, const int size_c=-100, const int interpolation_type=1, const unsigned int boundary_conditions=0, const float centering_x=0, const float centering_y=0, const float centering_z=0, const float centering_c=0) const |
| Resize image to new dimensions .
|
|
template<typename t > |
CImg< T > & | resize (const CImg< t > &src, const int interpolation_type=1, const unsigned int boundary_conditions=0, const float centering_x=0, const float centering_y=0, const float centering_z=0, const float centering_c=0) |
| Resize image to dimensions of another image. More...
|
|
template<typename t > |
CImg< T > | get_resize (const CImg< t > &src, const int interpolation_type=1, const unsigned int boundary_conditions=0, const float centering_x=0, const float centering_y=0, const float centering_z=0, const float centering_c=0) const |
| Resize image to dimensions of another image .
|
|
CImg< T > & | resize (const CImgDisplay &disp, const int interpolation_type=1, const unsigned int boundary_conditions=0, const float centering_x=0, const float centering_y=0, const float centering_z=0, const float centering_c=0) |
| Resize image to dimensions of a display window. More...
|
|
CImg< T > | get_resize (const CImgDisplay &disp, const int interpolation_type=1, const unsigned int boundary_conditions=0, const float centering_x=0, const float centering_y=0, const float centering_z=0, const float centering_c=0) const |
| Resize image to dimensions of a display window .
|
|
CImg< T > & | resize_halfXY () |
| Resize image to half-size along XY axes, using an optimized filter.
|
|
CImg< T > | get_resize_halfXY () const |
| Resize image to half-size along XY axes, using an optimized filter .
|
|
CImg< T > & | resize_doubleXY () |
| Resize image to double-size, using the Scale2X algorithm. More...
|
|
CImg< T > | get_resize_doubleXY () const |
| Resize image to double-size, using the Scale2X algorithm .
|
|
CImg< T > & | resize_tripleXY () |
| Resize image to triple-size, using the Scale3X algorithm. More...
|
|
CImg< T > | get_resize_tripleXY () const |
| Resize image to triple-size, using the Scale3X algorithm .
|
|
CImg< T > & | mirror (const char axis) |
| Mirror image content along specified axis. More...
|
|
CImg< T > | get_mirror (const char axis) const |
| Mirror image content along specified axis .
|
|
CImg< T > & | mirror (const char *const axes) |
| Mirror image content along specified axes. More...
|
|
CImg< T > | get_mirror (const char *const axes) const |
| Mirror image content along specified axes .
|
|
CImg< T > & | shift (const int delta_x, const int delta_y=0, const int delta_z=0, const int delta_c=0, const int boundary_conditions=0) |
| Shift image content. More...
|
|
CImg< T > | get_shift (const int delta_x, const int delta_y=0, const int delta_z=0, const int delta_c=0, const int boundary_conditions=0) const |
| Shift image content .
|
|
CImg< T > & | permute_axes (const char *const order) |
| Permute axes order. More...
|
|
CImg< T > | get_permute_axes (const char *const order) const |
| Permute axes order .
|
|
template<typename t > |
CImg< t > | _get_permute_axes (const char *const permut, const t &) const |
|
CImg< T > & | unroll (const char axis) |
| Unroll pixel values along specified axis. More...
|
|
CImg< T > | get_unroll (const char axis) const |
| Unroll pixel values along specified axis .
|
|
CImg< T > & | rotate (const float angle, const unsigned int interpolation=1, const unsigned int boundary=0) |
| Rotate image with arbitrary angle. More...
|
|
CImg< T > | get_rotate (const float angle, const unsigned int interpolation=1, const unsigned int boundary=0) const |
| Rotate image with arbitrary angle .
|
|
CImg< T > & | rotate (const float angle, const float cx, const float cy, const float zoom, const unsigned int interpolation=1, const unsigned int boundary=3) |
| Rotate image with arbitrary angle, around a center point. More...
|
|
CImg< T > | get_rotate (const float angle, const float cx, const float cy, const float zoom, const unsigned int interpolation=1, const unsigned int boundary=3) const |
| Rotate image with arbitrary angle, around a center point .
|
|
template<typename t > |
CImg< T > & | warp (const CImg< t > &warp, const bool is_relative=false, const unsigned int interpolation=1, const unsigned int boundary_conditions=0) |
| Warp image content by a warping field. More...
|
|
template<typename t > |
CImg< T > | get_warp (const CImg< t > &warp, const bool is_relative=false, const unsigned int interpolation=1, const unsigned int boundary_conditions=0) const |
| Warp image content by a warping field .
|
|
CImg< T > | get_projections2d (const unsigned int x0, const unsigned int y0, const unsigned int z0) const |
| Generate a 2d representation of a 3d image, with XY,XZ and YZ views. More...
|
|
CImg< T > & | projections2d (const unsigned int x0, const unsigned int y0, const unsigned int z0) |
| Construct a 2d representation of a 3d image, with XY,XZ and YZ views .
|
|
CImg< T > & | crop (const int x0, const int y0, const int z0, const int c0, const int x1, const int y1, const int z1, const int c1, const bool boundary_conditions=false) |
| Crop image region. More...
|
|
CImg< T > | get_crop (const int x0, const int y0, const int z0, const int c0, const int x1, const int y1, const int z1, const int c1, const bool boundary_conditions=false) const |
| Crop image region .
|
|
CImg< T > & | crop (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool boundary_conditions=false) |
| Crop image region .
|
|
CImg< T > | get_crop (const int x0, const int y0, const int z0, const int x1, const int y1, const int z1, const bool boundary_conditions=false) const |
| Crop image region .
|
|
CImg< T > & | crop (const int x0, const int y0, const int x1, const int y1, const bool boundary_conditions=false) |
| Crop image region .
|
|
CImg< T > | get_crop (const int x0, const int y0, const int x1, const int y1, const bool boundary_conditions=false) const |
| Crop image region .
|
|
CImg< T > & | crop (const int x0, const int x1, const bool boundary_conditions=false) |
| Crop image region .
|
|
CImg< T > | get_crop (const int x0, const int x1, const bool boundary_conditions=false) const |
| Crop image region .
|
|
CImg< T > & | autocrop (const T value, const char *const axes="czyx") |
| Autocrop image region, regarding the specified background value.
|
|
CImg< T > | get_autocrop (const T value, const char *const axes="czyx") const |
| Autocrop image region, regarding the specified background value .
|
|
CImg< T > & | autocrop (const T *const color=0, const char *const axes="zyx") |
| Autocrop image region, regarding the specified background color. More...
|
|
CImg< T > | get_autocrop (const T *const color=0, const char *const axes="zyx") const |
| Autocrop image region, regarding the specified background color .
|
|
template<typename t > |
CImg< T > & | autocrop (const CImg< t > &color, const char *const axes="zyx") |
| Autocrop image region, regarding the specified background color .
|
|
template<typename t > |
CImg< T > | get_autocrop (const CImg< t > &color, const char *const axes="zyx") const |
| Autocrop image region, regarding the specified background color .
|
|
CImg< intT > | _autocrop (const T value, const char axis) const |
|
CImg< T > | get_column (const int x0) const |
| Return specified image column. More...
|
|
CImg< T > & | column (const int x0) |
| Return specified image column .
|
|
CImg< T > & | columns (const int x0, const int x1) |
| Return specified range of image columns. More...
|
|
CImg< T > | get_columns (const int x0, const int x1) const |
| Return specified range of image columns .
|
|
CImg< T > | get_row (const int y0) const |
| Return specified image row.
|
|
CImg< T > & | row (const int y0) |
| Return specified image row . More...
|
|
CImg< T > | get_rows (const int y0, const int y1) const |
| Return specified range of image rows. More...
|
|
CImg< T > & | rows (const int y0, const int y1) |
| Return specified range of image rows .
|
|
CImg< T > | get_slice (const int z0) const |
| Return specified image slice. More...
|
|
CImg< T > & | slice (const int z0) |
| Return specified image slice .
|
|
CImg< T > | get_slices (const int z0, const int z1) const |
| Return specified range of image slices. More...
|
|
CImg< T > & | slices (const int z0, const int z1) |
| Return specified range of image slices .
|
|
CImg< T > | get_channel (const int c0) const |
| Return specified image channel. More...
|
|
CImg< T > & | channel (const int c0) |
| Return specified image channel .
|
|
CImg< T > | get_channels (const int c0, const int c1) const |
| Return specified range of image channels. More...
|
|
CImg< T > & | channels (const int c0, const int c1) |
| Return specified range of image channels .
|
|
CImg< floatT > | get_streamline (const float x, const float y, const float z, const float L=256, const float dl=0.1f, const unsigned int interpolation_type=2, const bool is_backward_tracking=false, const bool is_oriented_only=false) const |
| Return stream line of a 2d or 3d vector field.
|
|
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 c0=0) |
| Return a shared-memory image referencing a range of pixels of the image instance. 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 c0=0) const |
| Return a shared-memory image referencing a range of pixels of the image instance .
|
|
CImg< T > | get_shared_rows (const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int c0=0) |
| Return a shared-memory image referencing a range of rows of the image instance. More...
|
|
const CImg< T > | get_shared_rows (const unsigned int y0, const unsigned int y1, const unsigned int z0=0, const unsigned int c0=0) const |
| Return a shared-memory image referencing a range of rows of the image instance .
|
|
CImg< T > | get_shared_row (const unsigned int y0, const unsigned int z0=0, const unsigned int c0=0) |
| Return a shared-memory image referencing one row of the image instance. More...
|
|
const CImg< T > | get_shared_row (const unsigned int y0, const unsigned int z0=0, const unsigned int c0=0) const |
| Return a shared-memory image referencing one row of the image instance .
|
|
CImg< T > | get_shared_slices (const unsigned int z0, const unsigned int z1, const unsigned int c0=0) |
| Return a shared memory image referencing a range of slices of the image instance. More...
|
|
const CImg< T > | get_shared_slices (const unsigned int z0, const unsigned int z1, const unsigned int c0=0) const |
| Return a shared memory image referencing a range of slices of the image instance .
|
|
CImg< T > | get_shared_slice (const unsigned int z0, const unsigned int c0=0) |
| Return a shared-memory image referencing one slice of the image instance. More...
|
|
const CImg< T > | get_shared_slice (const unsigned int z0, const unsigned int c0=0) const |
| Return a shared-memory image referencing one slice of the image instance .
|
|
CImg< T > | get_shared_channels (const unsigned int c0, const unsigned int c1) |
| Return a shared-memory image referencing a range of channels of the image instance. More...
|
|
const CImg< T > | get_shared_channels (const unsigned int c0, const unsigned int c1) const |
| Return a shared-memory image referencing a range of channels of the image instance .
|
|
CImg< T > | get_shared_channel (const unsigned int c0) |
| Return a shared-memory image referencing one channel of the image instance. More...
|
|
const CImg< T > | get_shared_channel (const unsigned int c0) const |
| Return a shared-memory image referencing one channel of the image instance .
|
|
CImg< T > | get_shared () |
| Return a shared-memory version of the image instance.
|
|
const CImg< T > | get_shared () const |
| Return a shared-memory version of the image instance .
|
|
CImgList< T > | get_split (const char axis, const int nb=0) const |
| Split image into a list along specified axis. More...
|
|
CImgList< T > | get_split (const T value, const bool keep_values, const bool is_shared) const |
| Split image into a list of one-column vectors, according to a specified splitting value. More...
|
|
template<typename t > |
CImgList< T > | get_split (const CImg< t > &values, const bool keep_values, const bool is_shared) const |
| Split image into a list of one-column vectors, according to a specified splitting value sequence. More...
|
|
CImgList< T > | get_split (const bool is_shared) const |
| Split the image into a list of one-column vectors each having same values.
|
|
template<typename t > |
CImg< T > & | append (const CImg< t > &img, const char axis='x', const float align=0) |
| Append two images along specified axis. More...
|
|
CImg< T > & | append (const CImg< T > &img, const char axis='x', const float align=0) |
| Append two images along specified axis .
|
|
template<typename t > |
CImg< _cimg_Tt > | get_append (const CImg< T > &img, const char axis='x', const float align=0) const |
| Append two images along specified axis .
|
|
CImg< T > | get_append (const CImg< T > &img, const char axis='x', const float align=0) const |
| Append two images along specified axis .
|
|
static float | _cimg_lanczos (const float x) |
|
template<typename tfunc > |
static CImg< floatT > | streamline (const tfunc &func, const float x, const float y, const float z, const float L=256, const float dl=0.1f, const unsigned int interpolation_type=2, const bool is_backward_tracking=false, const bool is_oriented_only=false, const float x0=0, const float y0=0, const float z0=0, const float x1=0, const float y1=0, const float z1=0) |
| Return stream line of a 3d vector field. More...
|
|
static CImg< floatT > | streamline (const char *const expression, const float x, const float y, const float z, const float L=256, const float dl=0.1f, const unsigned int interpolation_type=2, const bool is_backward_tracking=true, const bool is_oriented_only=false, const float x0=0, const float y0=0, const float z0=0, const float x1=0, const float y1=0, const float z1=0) |
| Return stream line of a 3d vector field .
|
|
|
template<typename t > |
CImg< T > & | correlate (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) |
| Correlate image by a mask. More...
|
|
template<typename t > |
CImg< _cimg_Ttfloat > | get_correlate (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) const |
| Correlate image by a mask .
|
|
template<typename t > |
CImg< T > & | convolve (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) |
| Convolve image by a mask. More...
|
|
template<typename t > |
CImg< _cimg_Ttfloat > | get_convolve (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) const |
| Convolve image by a mask .
|
|
template<typename t > |
CImg< T > & | erode (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) |
| Erode image by a structuring element. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | get_erode (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) const |
| Erode image by a structuring element .
|
|
CImg< T > & | erode (const unsigned int sx, const unsigned int sy, const unsigned int sz=1) |
| Erode image by a rectangular structuring element of specified size. More...
|
|
CImg< T > | get_erode (const unsigned int sx, const unsigned int sy, const unsigned int sz=1) const |
| Erode image by a rectangular structuring element of specified size .
|
|
CImg< T > & | erode (const unsigned int s) |
| Erode the image by a square structuring element of specified size. More...
|
|
CImg< T > | get_erode (const unsigned int s) const |
| Erode the image by a square structuring element of specified size .
|
|
template<typename t > |
CImg< T > & | dilate (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) |
| Dilate image by a structuring element. More...
|
|
template<typename t > |
CImg< _cimg_Tt > | get_dilate (const CImg< t > &mask, const unsigned int boundary_conditions=1, const bool is_normalized=false) const |
| Dilate image by a structuring element .
|
|
CImg< T > & | dilate (const unsigned int sx, const unsigned int sy, const unsigned int sz=1) |
| Dilate image by a rectangular structuring element of specified size. More...
|
|
CImg< T > | get_dilate (const unsigned int sx, const unsigned int sy, const unsigned int sz=1) const |
| Dilate image by a rectangular structuring element of specified size .
|
|
CImg< T > & | dilate (const unsigned int s) |
| Dilate image by a square structuring element of specified size. More...
|
|
CImg< T > | get_dilate (const unsigned int s) const |
| Dilate image by a square structuring element of specified size .
|
|
template<typename t > |
CImg< T > & | watershed (const CImg< t > &priority, const bool fill_lines=true) |
| Compute watershed transform. More...
|
|
template<typename t > |
CImg< T > | get_watershed (const CImg< t > &priority, const bool fill_lines=true) const |
| Compute watershed transform .
|
|
template<typename t > |
bool | _priority_queue_insert (CImg< boolT > &is_queued, unsigned int &siz, const t value, const unsigned int x, const unsigned int y, const unsigned int z) |
|
CImg< T > & | _priority_queue_remove (unsigned int &siz) |
|
CImg< T > & | deriche (const float sigma, const int order=0, const char axis='x', const bool boundary_conditions=true) |
| Apply recursive Deriche filter. More...
|
|
CImg< Tfloat > | get_deriche (const float sigma, const int order=0, const char axis='x', const bool boundary_conditions=true) const |
| Apply recursive Deriche filter .
|
|
CImg< T > & | vanvliet (const float sigma, const int order, const char axis='x', const bool boundary_conditions=true) |
| Van Vliet recursive Gaussian filter. More...
|
|
CImg< Tfloat > | get_vanvliet (const float sigma, const int order, const char axis='x', const bool boundary_conditions=true) const |
| Blur image using Van Vliet recursive Gaussian filter. .
|
|
CImg< T > & | blur (const float sigma_x, const float sigma_y, const float sigma_z, const bool boundary_conditions=true, const bool is_gaussian=false) |
| Blur image. More...
|
|
CImg< Tfloat > | get_blur (const float sigma_x, const float sigma_y, const float sigma_z, const bool boundary_conditions=true, const bool is_gaussian=false) const |
| Blur image .
|
|
CImg< T > & | blur (const float sigma, const bool boundary_conditions=true, const bool is_gaussian=false) |
| Blur image isotropically. More...
|
|
CImg< Tfloat > | get_blur (const float sigma, const bool boundary_conditions=true, const bool is_gaussian=false) const |
| Blur image isotropically .
|
|
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 bool is_fast_approx=1) |
| Blur image anisotropically, directed by 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 bool is_fast_approx=true) const |
| Blur image anisotropically, directed by a field of diffusion tensors .
|
|
CImg< T > & | blur_anisotropic (const float amplitude, const float sharpness=0.7f, const float anisotropy=0.6f, 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 bool is_fast_approx=true) |
| Blur image anisotropically, in an edge-preserving way. More...
|
|
CImg< T > | get_blur_anisotropic (const float amplitude, const float sharpness=0.7f, const float anisotropy=0.6f, 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 bool is_fast_approx=true) const |
| Blur image anisotropically, in an edge-preserving way .
|
|
template<typename t > |
CImg< T > & | blur_bilateral (const CImg< t > &guide, 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 image, with the joint bilateral filter. More...
|
|
template<typename t > |
CImg< T > | get_blur_bilateral (const CImg< t > &guide, 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 |
| Blur image, with the joint bilateral filter .
|
|
template<typename t > |
CImg< T > & | blur_bilateral (const CImg< t > &guide, const float sigma_s, const float sigma_r, const int bgrid_s=-33, const int bgrid_r=32, const bool interpolation_type=true) |
| Blur image using the joint bilateral filter. More...
|
|
template<typename t > |
CImg< T > | get_blur_bilateral (const CImg< t > &guide, const float sigma_s, const float sigma_r, const int bgrid_s=-33, const int bgrid_r=32, const bool interpolation_type=true) const |
| Blur image using the bilateral filter .
|
|
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 is_fast_approx=true) |
| Blur image using 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 is_fast_approx=true) const |
| Blur image using patch-based space .
|
|
CImg< T > & | blur_median (const unsigned int n, const float threshold=0) |
| Blur image with the median filter. More...
|
|
CImg< T > | get_blur_median (const unsigned int n, const float threshold=0) const |
| Blur image with the median filter .
|
|
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. 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 |
| Sharpen image .
|
|
CImgList< Tfloat > | get_gradient (const char *const axes=0, const int scheme=3) const |
| Return image gradient. More...
|
|
CImgList< Tfloat > | get_hessian (const char *const axes=0) const |
| Return image hessian. More...
|
|
CImg< T > & | laplacian () |
| Compute image laplacian.
|
|
CImg< Tfloat > | get_laplacian () const |
| Compute image laplacian .
|
|
CImg< T > & | structure_tensors (const unsigned int scheme=2) |
| Compute the structure tensor field of an image. More...
|
|
CImg< Tfloat > | get_structure_tensors (const unsigned int scheme=2) const |
| Compute the structure tensor field of an image .
|
|
CImg< T > & | diffusion_tensors (const float sharpness=0.7f, const float anisotropy=0.6f, const float alpha=0.6f, const float sigma=1.1f, const bool is_sqrt=false) |
| Compute field of diffusion tensors for edge-preserving smoothing. More...
|
|
CImg< Tfloat > | get_diffusion_tensors (const float sharpness=0.7f, const float anisotropy=0.6f, const float alpha=0.6f, const float sigma=1.1f, const bool is_sqrt=false) const |
| Compute field of diffusion tensors for edge-preserving smoothing .
|
|
CImg< T > & | displacement (const CImg< T > &source, const float smoothness=0.1f, const float precision=5.0f, const unsigned int nb_scales=0, const unsigned int iteration_max=10000, const bool is_backward=false) |
| Estimate displacement field between two images. More...
|
|
CImg< Tfloat > | get_displacement (const CImg< T > &source, const float smoothness=0.1f, const float precision=5.0f, const unsigned int nb_scales=0, const unsigned int iteration_max=10000, const bool is_backward=false) const |
| Estimate displacement field between two images .
|
|
CImg< T > & | distance (const T value, const unsigned int metric=2) |
| Compute Euclidean distance function to a specified value. More...
|
|
CImg< Tfloat > | get_distance (const T value, const unsigned int metric=2) const |
| Compute distance to a specified value .
|
|
CImg< T > & | _distance_core (long(*const sep)(const long, const long, const long *const), long(*const f)(const long, const long, const long *const)) |
|
template<typename t > |
CImg< T > & | distance (const T value, const CImg< t > &metric_mask) |
| Compute chamfer distance to a specified value, with a custom metric. More...
|
|
template<typename t > |
CImg< Tfloat > | get_distance (const T value, const CImg< t > &metric_mask) const |
| Compute chamfer distance to a specified value, with a custom metric .
|
|
template<typename t , typename to > |
CImg< T > & | distance_dijkstra (const T value, const CImg< t > &metric, const bool is_high_connectivity, CImg< to > &return_path) |
| Compute distance to a specified value, according to a custom metric (use dijkstra algorithm). More...
|
|
template<typename t , typename to > |
CImg< typename cimg::superset
< t, long >::type > | get_distance_dijkstra (const T value, const CImg< t > &metric, const bool is_high_connectivity, CImg< to > &return_path) const |
| Compute distance map to a specified value, according to a custom metric (use dijkstra algorithm). .
|
|
template<typename t > |
CImg< T > & | distance_dijkstra (const T value, const CImg< t > &metric, const bool is_high_connectivity=false) |
| Compute distance map to a specified value, according to a custom metric (use dijkstra algorithm). .
|
|
template<typename t > |
CImg< Tfloat > | get_distance_dijkstra (const T value, const CImg< t > &metric, const bool is_high_connectivity=false) const |
| Compute distance map to a specified value, according to a custom metric (use dijkstra algorithm). .
|
|
template<typename t > |
CImg< T > & | distance_eikonal (const T value, const CImg< t > &metric) |
| Compute distance map to one source point, according to a custom metric (use fast marching algorithm). More...
|
|
template<typename t > |
CImg< Tfloat > | get_distance_eikonal (const T value, const CImg< t > &metric) const |
| Compute distance map to one source point, according to a custom metric (use fast marching algorithm).
|
|
Tfloat | __distance_eikonal (const CImg< Tfloat > &res, const Tfloat P, const int x=0, const int y=0, const int z=0) const |
|
template<typename t > |
void | _eik_priority_queue_insert (CImg< charT > &state, unsigned int &siz, const t value, const unsigned int x, const unsigned int y, const unsigned int z) |
|
CImg< T > & | distance_eikonal (const unsigned int nb_iterations, const float band_size=0, const float time_step=0.5f) |
| Compute distance function to 0-valued isophotes, using the Eikonal PDE. More...
|
|
CImg< Tfloat > | get_distance_eikonal (const unsigned int nb_iterations, const float band_size=0, const float time_step=0.5f) const |
| Compute distance function to 0-valued isophotes, using the Eikonal PDE .
|
|
CImg< T > & | haar (const char axis, const bool invert=false, const unsigned int nb_scales=1) |
| Compute Haar multiscale wavelet transform. More...
|
|
CImg< Tfloat > | get_haar (const char axis, const bool invert=false, const unsigned int nb_scales=1) const |
| Compute Haar multiscale wavelet transform .
|
|
CImg< T > & | haar (const bool invert=false, const unsigned int nb_scales=1) |
| Compute Haar multiscale wavelet transform . More...
|
|
CImg< Tfloat > | get_haar (const bool invert=false, const unsigned int nb_scales=1) const |
| Compute Haar multiscale wavelet transform .
|
|
CImgList< Tfloat > | get_FFT (const char axis, const bool is_invert=false) const |
| Compute 1d Fast Fourier Transform, along a specified axis. More...
|
|
CImgList< Tfloat > | get_FFT (const bool is_invert=false) const |
| Compute n-d Fast Fourier Transform.
|
|
template<int K> |
static void | _cimg_recursive_apply (T *data, const Tfloat filter[], const int N, const unsigned long off, const int order, const bool boundary_conditions) |
|
static long | _distance_sep_edt (const long i, const long u, const long *const g) |
|
static long | _distance_dist_edt (const long x, const long i, const long *const g) |
|
static long | _distance_sep_mdt (const long i, const long u, const long *const g) |
|
static long | _distance_dist_mdt (const long x, const long i, const long *const g) |
|
static long | _distance_sep_cdt (const long i, const long u, const long *const g) |
|
static long | _distance_dist_cdt (const long x, const long i, const long *const g) |
|
static void | _distance_scan (const unsigned int len, const long *const g, long(*const sep)(const long, const long, const long *const), long(*const f)(const long, const long, const long *const), long *const s, long *const t, long *const dt) |
|
static bool | ___distance_eikonal (const Tfloat a, const Tfloat b, const Tfloat c, Tfloat &root) |
|
static void | FFT (CImg< T > &real, CImg< T > &imag, const char axis, const bool is_invert=false) |
| Compute 1d Fast Fourier Transform, along a specified axis. More...
|
|
static void | FFT (CImg< T > &real, CImg< T > &imag, const bool is_invert=false, const unsigned int nb_threads=0) |
| Compute n-d Fast Fourier Transform. More...
|
|
|
CImg< T > & | shift_object3d (const float tx, const float ty=0, const float tz=0) |
| Shift 3d object's vertices. More...
|
|
CImg< Tfloat > | get_shift_object3d (const float tx, const float ty=0, const float tz=0) const |
| Shift 3d object's vertices .
|
|
CImg< T > & | shift_object3d () |
| Shift 3d object's vertices, so that it becomes centered. More...
|
|
CImg< Tfloat > | get_shift_object3d () const |
| Shift 3d object's vertices, so that it becomes centered .
|
|
CImg< T > & | resize_object3d (const float sx, const float sy=-100, const float sz=-100) |
| Resize 3d object. More...
|
|
CImg< Tfloat > | get_resize_object3d (const float sx, const float sy=-100, const float sz=-100) const |
| Resize 3d object .
|
|
CImg< T > | resize_object3d () |
| Resize 3d object to unit size.
|
|
CImg< Tfloat > | get_resize_object3d () const |
| Resize 3d object to unit size .
|
|
template<typename tf , typename tp , typename tff > |
CImg< T > & | append_object3d (CImgList< tf > &primitives, const CImg< tp > &obj_vertices, const CImgList< tff > &obj_primitives) |
| Merge two 3d objects together. More...
|
|
template<typename tp , typename tc , typename tt , typename tx > |
const CImg< T > & | texturize_object3d (CImgList< tp > &primitives, CImgList< tc > &colors, const CImg< tt > &texture, const CImg< tx > &coords=CImg< tx >::empty()) const |
| Texturize primitives of a 3d object. More...
|
|
template<typename tf , typename tc , typename te > |
CImg< floatT > | get_elevation3d (CImgList< tf > &primitives, CImgList< tc > &colors, const CImg< te > &elevation) const |
| Generate a 3d elevation of the image instance. More...
|
|
template<typename tf , typename tc > |
CImg< floatT > | get_projections3d (CImgList< tf > &primitives, CImgList< tc > &colors, const unsigned int x0, const unsigned int y0, const unsigned int z0, const bool normalize_colors=false) const |
| Generate the 3d projection planes of the image instance. More...
|
|
template<typename tf > |
CImg< floatT > | get_isoline3d (CImgList< tf > &primitives, const float isovalue, const int size_x=-100, const int size_y=-100) const |
| Generate a isoline of the image instance 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 |
| Generate an isosurface of the image instance as a 3d object. More...
|
|
template<typename tp , typename tc , typename to > |
CImg< T > & | object3dtoCImg3d (const CImgList< tp > &primitives, const CImgList< tc > &colors, const to &opacities, const bool full_check=true) |
| Convert 3d object into a CImg3d representation. More...
|
|
template<typename tp , typename tc > |
CImg< T > & | object3dtoCImg3d (const CImgList< tp > &primitives, const CImgList< tc > &colors, const bool full_check=true) |
| Convert 3d object into a CImg3d representation .
|
|
template<typename tp > |
CImg< T > & | object3dtoCImg3d (const CImgList< tp > &primitives, const bool full_check=true) |
| Convert 3d object into a CImg3d representation .
|
|
CImg< T > & | object3dtoCImg3d (const bool full_check=true) |
| Convert 3d object into a CImg3d representation .
|
|
template<typename tp , typename tc , typename to > |
CImg< floatT > | get_object3dtoCImg3d (const CImgList< tp > &primitives, const CImgList< tc > &colors, const to &opacities, const bool full_check=true) const |
| Convert 3d object into a CImg3d representation .
|
|
template<typename to > |
float * | _object3dtoCImg3d (const CImgList< to > &opacities, float *ptrd) const |
|
template<typename to > |
float * | _object3dtoCImg3d (const CImg< to > &opacities, float *ptrd) const |
|
template<typename tp , typename tc , typename to > |
unsigned int | _size_object3dtoCImg3d (const CImgList< tp > &primitives, const CImgList< tc > &colors, const CImgList< to > &opacities) const |
|
template<typename tp , typename tc , typename to > |
unsigned int | _size_object3dtoCImg3d (const CImgList< tp > &primitives, const CImgList< tc > &colors, const CImg< to > &opacities) const |
|
template<typename tp , typename tc > |
CImg< floatT > | get_object3dtoCImg3d (const CImgList< tp > &primitives, const CImgList< tc > &colors, const bool full_check=true) const |
| Convert 3d object into a CImg3d representation .
|
|
template<typename tp > |
CImg< floatT > | get_object3dtoCImg3d (const CImgList< tp > &primitives, const bool full_check=true) const |
| Convert 3d object into a CImg3d representation .
|
|
CImg< floatT > | get_object3dtoCImg3d (const bool full_check=true) const |
| Convert 3d object into a CImg3d representation .
|
|
template<typename tp , typename tc , typename to > |
CImg< T > & | CImg3dtoobject3d (CImgList< tp > &primitives, CImgList< tc > &colors, CImgList< to > &opacities, const bool full_check=true) |
| Convert CImg3d representation into a 3d object. More...
|
|
template<typename tp , typename tc , typename to > |
CImg< T > | get_CImg3dtoobject3d (CImgList< tp > &primitives, CImgList< tc > &colors, CImgList< to > &opacities, const bool full_check=true) const |
| Convert CImg3d representation into a 3d object .
|
|
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) |
| Compute 3d elevation of a function as a 3d object. 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 size_x=256, const int size_y=256) |
| Compute 3d elevation of a function, as a 3d object .
|
|
template<typename tf , typename tfunc > |
static CImg< floatT > | isoline3d (CImgList< tf > &primitives, const tfunc &func, const float isovalue, const float x0, const float y0, const float x1, const float y1, const int size_x=256, const int size_y=256) |
| Compute 0-isolines of a function, as a 3d object. More...
|
|
template<typename tf > |
static CImg< floatT > | isoline3d (CImgList< tf > &primitives, const char *const expression, const float isovalue, const float x0, const float y0, const float x1, const float y1, const int size_x=256, const int size_y=256) |
| Compute isolines of a function, as a 3d object .
|
|
template<typename t > |
static int | _isoline3d_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) |
| Compute isosurface of a function, 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) |
| Compute isosurface of a function, as a 3d object .
|
|
template<typename t > |
static int | _isosurface3d_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) |
| Generate 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) |
| Generate 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) |
| Generate 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) |
| Generate 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) |
| Generate a 3d XY-plane. More...
|
|
template<typename tf > |
static CImg< floatT > | sphere3d (CImgList< tf > &primitives, const float radius=50, const unsigned int subdivisions=3) |
| Generate 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) |
| Generate a 3d ellipsoid. More...
|
|
|
template<typename tc > |
CImg< T > & | _draw_scanline (const int x0, const int x1, const int y, const tc *const color, const float opacity, const float brightness, const float nopacity, const float copacity, const unsigned long whd) |
|
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 point. More...
|
|
template<typename tc > |
CImg< T > & | draw_point (const int x0, const int y0, const tc *const color, const float opacity=1) |
| Draw a 2d point .
|
|
template<typename t , typename tc > |
CImg< T > & | draw_point (const CImg< t > &points, const tc *const color, const float opacity=1) |
|
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 line. More...
|
|
template<typename tz , typename tc > |
CImg< T > & | draw_line (CImg< tz > &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 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 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 textured 2d 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 textured 2d line, with perspective correction. More...
|
|
template<typename tz , typename tc > |
CImg< T > & | draw_line (CImg< tz > &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 textured 2d line, with perspective correction and z-buffering. 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 lines. 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 2d arrow. 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=0.25, const unsigned int pattern=~0U, const bool init_hatch=true) |
| Draw a 2d spline. 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 3d spline . 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 textured 2d spline. 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 is_closed_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
| Draw a set of consecutive splines. More...
|
|
template<typename tp , typename tc > |
CImg< T > & | draw_spline (const CImg< tp > &points, const tc *const color, const float opacity=1, const bool is_closed_set=false, const float precision=4, const unsigned int pattern=~0U, const bool init_hatch=true) |
| Draw a set of consecutive splines . 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 filled 2d 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 outlined 2d triangle. More...
|
|
template<typename tz , typename tc > |
CImg< T > & | draw_triangle (CImg< tz > &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 filled 2d 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 Gouraud-shaded 2d triangle. More...
|
|
template<typename tz , typename tc > |
CImg< T > & | draw_triangle (CImg< tz > &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 Gouraud-shaded 2d triangle, with z-buffering .
|
|
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 color-interpolated 2d 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 > &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 textured 2d 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.
|
|
template<typename tz , typename tc > |
CImg< T > & | draw_triangle (CImg< tz > &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 textured 2d triangle, with perspective correction and z-buffering.
|
|
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 Phong-shaded 2d triangle. More...
|
|
template<typename tz , typename tc , typename tl > |
CImg< T > & | draw_triangle (CImg< tz > &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 Phong-shaded 2d triangle, with z-buffering.
|
|
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 textured Gouraud-shaded 2d 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 textured Gouraud-shaded 2d triangle, with perspective correction .
|
|
template<typename tz , typename tc > |
CImg< T > & | draw_triangle (CImg< tz > &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 textured Gouraud-shaded 2d triangle, with perspective correction and z-buffering .
|
|
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 textured Phong-shaded 2d 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 textured Phong-shaded 2d triangle, with perspective correction.
|
|
template<typename tz , typename tc , typename tl > |
CImg< T > & | draw_triangle (CImg< tz > &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 textured Phong-shaded 2d triangle, with perspective correction and z-buffering.
|
|
CImg< T > & | draw_rectangle (const int x0, const int y0, const int z0, const int c0, const int x1, const int y1, const int z1, const int c1, const T val, const float opacity=1) |
| Draw a filled 4d rectangle. 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 filled 3d rectangle. 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 an outlined 3d rectangle .
|
|
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 filled 2d rectangle. 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 outlined 2d rectangle .
|
|
template<typename t , typename tc > |
CImg< T > & | draw_polygon (const CImg< t > &points, const tc *const color, const float opacity=1) |
| Draw a filled 2d polygon. 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 outlined 2d polygon .
|
|
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 2d 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 2d 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 2d 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 2d 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) |
|
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 2d 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 pattern) |
| Draw an outlined 2d circle. More...
|
|
template<typename t > |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const int c0, 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 c0, const CImg< T > &sprite, const float opacity=1) |
| Draw an image .
|
|
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 .
|
|
template<typename t > |
CImg< T > & | draw_image (const int x0, const int y0, const CImg< t > &sprite, const float opacity=1) |
| Draw an image .
|
|
template<typename t > |
CImg< T > & | draw_image (const int x0, const CImg< t > &sprite, const float opacity=1) |
| Draw an image .
|
|
template<typename t > |
CImg< T > & | draw_image (const CImg< t > &sprite, const float opacity=1) |
| Draw an image .
|
|
template<typename ti , typename tm > |
CImg< T > & | draw_image (const int x0, const int y0, const int z0, const int c0, const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_max_value=1) |
| Draw a masked image. 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_max_value=1) |
| Draw a masked image .
|
|
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_max_value=1) |
| Draw a image .
|
|
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_max_value=1) |
| Draw a image .
|
|
template<typename ti , typename tm > |
CImg< T > & | draw_image (const CImg< ti > &sprite, const CImg< tm > &mask, const float opacity=1, const float mask_max_value=1) |
| Draw an image.
|
|
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 string. 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 string . 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 string . 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_height=13,...) |
| Draw a text string . 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_height=13,...) |
| Draw a text string .
|
|
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_height=13,...) |
| Draw a text string .
|
|
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, const bool is_native_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 is_arrow=true, const unsigned int pattern=~0U) |
| Draw a 2d vector field. 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 is_arrow=true, const unsigned int pattern=~0U) |
| Draw a 2d vector field, using a field of colors. More...
|
|
template<typename t , typename tc > |
CImg< T > & | draw_axis (const CImg< t > &values_x, const int y, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const unsigned int font_height=13, const bool allow_zero=true) |
| Draw a labeled horizontal axis. More...
|
|
template<typename t , typename tc > |
CImg< T > & | draw_axis (const int x, const CImg< t > &values_y, const tc *const color, const float opacity=1, const unsigned int pattern=~0U, const unsigned int font_height=13, const bool allow_zero=true) |
| Draw a labeled vertical axis. More...
|
|
template<typename tx , typename ty , typename tc > |
CImg< T > & | draw_axes (const CImg< tx > &values_x, const CImg< ty > &values_y, const tc *const color, const float opacity=1, const unsigned int pattern_x=~0U, const unsigned int pattern_y=~0U, const unsigned int font_height=13, const bool allow_zero=true) |
| Draw labeled horizontal and vertical axes. More...
|
|
template<typename tc > |
CImg< T > & | draw_axes (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 pattern_x=~0U, const unsigned int pattern_y=~0U, const unsigned int font_height=13) |
| Draw labeled horizontal and vertical axes .
|
|
template<typename tx , typename ty , typename tc > |
CImg< T > & | draw_grid (const CImg< tx > &values_x, const CImg< ty > &values_y, const tc *const color, const float opacity=1, const unsigned int pattern_x=~0U, const unsigned int pattern_y=~0U) |
| Draw 2d grid. More...
|
|
template<typename tc > |
CImg< T > & | draw_grid (const float delta_x, const float delta_y, const float offsetx, const float offsety, const bool invertx, const bool inverty, const tc *const color, const float opacity=1, const unsigned int pattern_x=~0U, const unsigned int pattern_y=~0U) |
| Draw 2d grid .
|
|
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 unsigned int pattern=~0U) |
| Draw 1d graph. 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 is_high_connexity=false) |
| Draw filled 3d region with the flood fill algorithm. 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 is_high_connexity=false) |
| Draw filled 3d region with the flood fill algorithm .
|
|
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 is_high_connexity=false) |
| Draw filled 2d region with the flood fill algorithm .
|
|
CImg< T > & | draw_plasma (const float alpha=1, const float beta=0, const unsigned int scale=8) |
| Draw a random plasma texture. More...
|
|
template<typename tc > |
CImg< T > & | draw_mandelbrot (const int x0, const int y0, const int x1, const int y1, const CImg< tc > &colormap, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int iteration_max=255, const bool is_normalized_iteration=false, const bool is_julia_set=false, const double param_r=0, const double param_i=0) |
| Draw a quadratic Mandelbrot or Julia 2d fractal. More...
|
|
template<typename tc > |
CImg< T > & | draw_mandelbrot (const CImg< tc > &colormap, const float opacity=1, const double z0r=-2, const double z0i=-2, const double z1r=2, const double z1i=2, const unsigned int iteration_max=255, const bool is_normalized_iteration=false, const bool is_julia_set=false, const double param_r=0, const double param_i=0) |
| Draw a quadratic Mandelbrot or Julia 2d fractal .
|
|
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. 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 a 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 a 2d gaussian function .
|
|
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 a 2d gaussian function .
|
|
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 a 3d gaussian function .
|
|
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 a 3d gaussian function .
|
|
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 is_double_sided=false, const float focale=700, const float lightx=0, const float lighty=0, const float lightz=-5e8, const float specular_lightness=0.2f, const float specular_shininess=0.1f) |
| Draw a 3d object. More...
|
|
template<typename tp , typename tf , typename tc , typename to , typename tz > |
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, const bool is_double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_lightness, const float specular_shininess, CImg< tz > &zbuffer) |
| Draw a 3d object .
|
|
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 is_double_sided=false, const float focale=700, const float lightx=0, const float lighty=0, const float lightz=-5e8, const float specular_lightness=0.2f, const float specular_shininess=0.1f) |
| Draw a 3d object .
|
|
template<typename tp , typename tf , typename tc , typename to , typename tz > |
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, const bool is_double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_lightness, const float specular_shininess, CImg< tz > &zbuffer) |
| Draw a 3d object .
|
|
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 is_double_sided=false, const float focale=700, const float lightx=0, const float lighty=0, const float lightz=-5e8, const float specular_lightness=0.2f, const float specular_shininess=0.1f) |
| Draw a 3d object .
|
|
template<typename tp , typename tf , typename tc , typename tz > |
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, const bool is_double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_lightness, const float specular_shininess, CImg< tz > &zbuffer) |
| Draw a 3d object .
|
|
template<typename tz , typename tp , typename tf , typename tc , typename to > |
CImg< T > & | _draw_object3d (void *const pboard, CImg< tz > &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 render_type, const bool is_double_sided, const float focale, const float lightx, const float lighty, const float lightz, const float specular_lightness, const float specular_shininess, const float sprite_scale) |
|
template<typename t , typename to > |
static float | __draw_object3d (const CImgList< t > &opacities, const unsigned int n_primitive, CImg< to > &opacity) |
|
template<typename t , typename to > |
static float | __draw_object3d (const CImg< t > &opacities, const unsigned int n_primitive, CImg< to > &opacity) |
|
|
CImg< T > & | select (CImgDisplay &disp, const unsigned int feature_type=2, unsigned int *const XYZ=0) |
| Launch simple interface to select a shape from an image. More...
|
|
CImg< T > & | select (const char *const title, const unsigned int feature_type=2, unsigned int *const XYZ=0) |
| Simple interface to select a shape from an image .
|
|
CImg< intT > | get_select (CImgDisplay &disp, const unsigned int feature_type=2, unsigned int *const XYZ=0) const |
| Simple interface to select a shape from an image .
|
|
CImg< intT > | get_select (const char *const title, const unsigned int feature_type=2, unsigned int *const XYZ=0) const |
| Simple interface to select a shape from an image .
|
|
CImg< intT > | _get_select (CImgDisplay &disp, const char *const title, const unsigned int feature_type, unsigned int *const XYZ, const int origX, const int origY, const int origZ, const bool reset_view3d, const bool force_display_z_coord) const |
|
CImg< ucharT > | __get_select (const CImgDisplay &disp, const int normalization, const int x, const int y, const int z) 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.
|
|
CImg< T > & | load (const char *const filename) |
| Load image from a file. More...
|
|
CImg< T > & | load_ascii (const char *const filename) |
| Load image from an ascii file. More...
|
|
CImg< T > & | load_ascii (std::FILE *const file) |
| Load image from an ascii file .
|
|
CImg< T > & | _load_ascii (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_dlm (const char *const filename) |
| Load image from a DLM file. More...
|
|
CImg< T > & | load_dlm (std::FILE *const file) |
| Load image from a DLM file .
|
|
CImg< T > & | _load_dlm (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_bmp (const char *const filename) |
| Load image from a BMP file. More...
|
|
CImg< T > & | load_bmp (std::FILE *const file) |
| Load image from a BMP file .
|
|
CImg< T > & | _load_bmp (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_jpeg (const char *const filename) |
| Load image from a JPEG file. More...
|
|
CImg< T > & | load_jpeg (std::FILE *const file) |
| Load image from a JPEG file .
|
|
CImg< T > & | _load_jpeg (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_magick (const char *const filename) |
| Load image from a file, using Magick++ library. More...
|
|
CImg< T > & | load_png (const char *const filename) |
| Load image from a PNG file. More...
|
|
CImg< T > & | load_png (std::FILE *const file) |
| Load image from a PNG file .
|
|
CImg< T > & | _load_png (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_pnm (const char *const filename) |
| Load image from a PNM file. More...
|
|
CImg< T > & | load_pnm (std::FILE *const file) |
| Load image from a PNM file .
|
|
CImg< T > & | _load_pnm (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_pfm (const char *const filename) |
| Load image from a PFM file. More...
|
|
CImg< T > & | load_pfm (std::FILE *const file) |
| Load image from a PFM file .
|
|
CImg< T > & | _load_pfm (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 image from a RGB file. More...
|
|
CImg< T > & | load_rgb (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
| Load image from a RGB file .
|
|
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 image from a RGBA file. More...
|
|
CImg< T > & | load_rgba (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
| Load image from a RGBA file .
|
|
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 image from a TIFF file. More...
|
|
CImg< T > & | load_minc2 (const char *const filename) |
| Load image from a MINC2 file. More...
|
|
CImg< T > & | load_analyze (const char *const filename, float *const voxel_size=0) |
| Load image from an ANALYZE7.5/NIFTI file. More...
|
|
CImg< T > & | load_analyze (std::FILE *const file, float *const voxel_size=0) |
| Load image from an ANALYZE7.5/NIFTI file .
|
|
CImg< T > & | _load_analyze (std::FILE *const file, const char *const filename, float *const voxel_size=0) |
|
CImg< T > & | load_cimg (const char *const filename, const char axis='z', const float align=0) |
| Load image from a .cimg[z] file. More...
|
|
CImg< T > & | load_cimg (std::FILE *const file, const char axis='z', const float align=0) |
| Load image from a .cimg[z] file .
|
|
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 c0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int c1, const char axis='z', const float align=0) |
| Load sub-images of 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 c0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int c1, const char axis='z', const float align=0) |
| Load sub-images of a .cimg file .
|
|
CImg< T > & | load_inr (const char *const filename, float *const voxel_size=0) |
| Load image from an INRIMAGE-4 file. More...
|
|
CImg< T > & | load_inr (std::FILE *const file, float *const voxel_size=0) |
| Load image from an INRIMAGE-4 file .
|
|
CImg< T > & | _load_inr (std::FILE *const file, const char *const filename, float *const voxel_size) |
|
CImg< T > & | load_exr (const char *const filename) |
| Load image from a EXR file. More...
|
|
CImg< T > & | load_pandore (const char *const filename) |
| Load image from a PANDORE-5 file. More...
|
|
CImg< T > & | load_pandore (std::FILE *const file) |
| Load image from a PANDORE-5 file .
|
|
CImg< T > & | _load_pandore (std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_parrec (const char *const filename, const char axis='c', const float align=0) |
| Load image from a PAR-REC (Philips) file. More...
|
|
CImg< T > & | load_raw (const char *const filename, const unsigned int size_x=0, const unsigned int size_y=1, const unsigned int size_z=1, const unsigned int size_c=1, const bool is_multiplexed=false, const bool invert_endianness=false, const unsigned long offset=0) |
| Load image from a raw binary file. More...
|
|
CImg< T > & | load_raw (std::FILE *const file, const unsigned int size_x=0, const unsigned int size_y=1, const unsigned int size_z=1, const unsigned int size_c=1, const bool is_multiplexed=false, const bool invert_endianness=false, const unsigned long offset=0) |
| Load image from a raw binary file .
|
|
CImg< T > & | _load_raw (std::FILE *const file, const char *const filename, const unsigned int size_x, const unsigned int size_y, const unsigned int size_z, const unsigned int size_c, const bool is_multiplexed, const bool invert_endianness, const unsigned long offset) |
|
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 float align=0) |
| Load image sequence using FFMPEG av's libraries. More...
|
|
CImg< T > & | load_yuv (const char *const filename, const unsigned int size_x, const unsigned int size_y=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') |
| Load image sequence from a YUV file. More...
|
|
CImg< T > & | load_yuv (std::FILE *const file, const unsigned int size_x, const unsigned int size_y=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') |
| Load image sequence from a YUV file .
|
|
template<typename tf , typename tc > |
CImg< T > & | load_off (CImgList< tf > &primitives, CImgList< tc > &colors, const char *const filename) |
| Load 3d object from a .OFF file. More...
|
|
template<typename tf , typename tc > |
CImg< T > & | load_off (CImgList< tf > &primitives, CImgList< tc > &colors, std::FILE *const file) |
| Load 3d object from a .OFF file .
|
|
template<typename tf , typename tc > |
CImg< T > & | _load_off (CImgList< tf > &primitives, CImgList< tc > &colors, std::FILE *const file, const char *const filename) |
|
CImg< T > & | load_ffmpeg_external (const char *const filename, const char axis='z', const float align=0) |
| Load image sequence using FFMPEG's external tool 'ffmpeg'. More...
|
|
CImg< T > & | load_gif_external (const char *const filename, const char axis='z', const float align=0) |
| Load gif file, using Imagemagick or GraphicsMagicks's external tools. More...
|
|
CImg< T > & | load_graphicsmagick_external (const char *const filename) |
| Load image using GraphicsMagick's external tool 'gm'. More...
|
|
CImg< T > & | load_gzip_external (const char *const filename) |
| Load gzipped image file, using external tool 'gunzip'. More...
|
|
CImg< T > & | load_imagemagick_external (const char *const filename) |
| Load image using ImageMagick's external tool 'convert'. More...
|
|
CImg< T > & | load_medcon_external (const char *const filename) |
| Load image from a DICOM file, using XMedcon's external tool 'medcon'. More...
|
|
CImg< T > & | load_dcraw_external (const char *const filename) |
| Load image from a RAW Color Camera file, using external tool 'dcraw'. More...
|
|
CImg< T > & | load_camera (const unsigned int camera_index=0, const unsigned int skip_frames=0, const bool release_camera=true, const unsigned int capture_width=0, const unsigned int capture_height=0) |
| Load image from a camera stream, using OpenCV. More...
|
|
CImg< T > & | load_other (const char *const filename) |
| Load image using various non-native ways. More...
|
|
static CImg< T > | get_load (const char *const filename) |
| Load image from a file .
|
|
static CImg< T > | get_load_ascii (const char *const filename) |
| Load image from an ascii file .
|
|
static CImg< T > | get_load_ascii (std::FILE *const file) |
| Loadimage from an ascii file .
|
|
static CImg< T > | get_load_dlm (const char *const filename) |
| Load image from a DLM file .
|
|
static CImg< T > | get_load_dlm (std::FILE *const file) |
| Load image from a DLM file .
|
|
static CImg< T > | get_load_bmp (const char *const filename) |
| Load image from a BMP file .
|
|
static CImg< T > | get_load_bmp (std::FILE *const file) |
| Load image from a BMP file .
|
|
static CImg< T > | get_load_jpeg (const char *const filename) |
| Load image from a JPEG file .
|
|
static CImg< T > | get_load_jpeg (std::FILE *const file) |
| Load image from a JPEG file .
|
|
static CImg< T > | get_load_magick (const char *const filename) |
| Load image from a file, using Magick++ library .
|
|
static CImg< T > | get_load_png (const char *const filename) |
| Load image from a PNG file .
|
|
static CImg< T > | get_load_png (std::FILE *const file) |
| Load image from a PNG file .
|
|
static CImg< T > | get_load_pnm (const char *const filename) |
| Load image from a PNM file .
|
|
static CImg< T > | get_load_pnm (std::FILE *const file) |
| Load image from a PNM file .
|
|
static CImg< T > | get_load_pfm (const char *const filename) |
| Load image from a PFM file .
|
|
static CImg< T > | get_load_pfm (std::FILE *const file) |
| Load image from a PFM file .
|
|
static CImg< T > | get_load_rgb (const char *const filename, const unsigned int dimw, const unsigned int dimh=1) |
| Load image from a RGB file .
|
|
static CImg< T > | get_load_rgb (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
| Load image from a RGB file .
|
|
static CImg< T > | get_load_rgba (const char *const filename, const unsigned int dimw, const unsigned int dimh=1) |
| Load image from a RGBA file .
|
|
static CImg< T > | get_load_rgba (std::FILE *const file, const unsigned int dimw, const unsigned int dimh=1) |
| Load image from a RGBA file .
|
|
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) |
| Load image from a TIFF file .
|
|
static CImg< T > | get_load_minc2 (const char *const filename) |
| Load image from a MINC2 file .
|
|
static CImg< T > | get_load_analyze (const char *const filename, float *const voxel_size=0) |
| Load image from an ANALYZE7.5/NIFTI file .
|
|
static CImg< T > | get_load_analyze (std::FILE *const file, float *const voxel_size=0) |
| Load image from an ANALYZE7.5/NIFTI file .
|
|
static CImg< T > | get_load_cimg (const char *const filename, const char axis='z', const float align=0) |
| Load image from a .cimg[z] file .
|
|
static CImg< T > | get_load_cimg (std::FILE *const file, const char axis='z', const float align=0) |
| Load image from a .cimg[z] file .
|
|
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 c0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int c1, const char axis='z', const float align=0) |
| Load sub-images of a .cimg file .
|
|
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 c0, const unsigned int x1, const unsigned int y1, const unsigned int z1, const unsigned int c1, const char axis='z', const float align=0) |
| Load sub-images of a .cimg file .
|
|
static CImg< T > | get_load_inr (const char *const filename, float *const voxel_size=0) |
| Load image from an INRIMAGE-4 file .
|
|
static CImg< T > | get_load_inr (std::FILE *const file, float *voxel_size=0) |
| Load image from an INRIMAGE-4 file .
|
|
static void | _load_inr_header (std::FILE *file, int out[8], float *const voxel_size) |
|
static CImg< T > | get_load_exr (const char *const filename) |
| Load image from a EXR file .
|
|
static CImg< T > | get_load_pandore (const char *const filename) |
| Load image from a PANDORE-5 file .
|
|
static CImg< T > | get_load_pandore (std::FILE *const file) |
| Load image from a PANDORE-5 file .
|
|
static CImg< T > | get_load_parrec (const char *const filename, const char axis='c', const float align=0) |
| Load image from a PAR-REC (Philips) file .
|
|
static CImg< T > | get_load_raw (const char *const filename, const unsigned int size_x=0, const unsigned int size_y=1, const unsigned int size_z=1, const unsigned int size_c=1, const bool is_multiplexed=false, const bool invert_endianness=false, const unsigned long offset=0) |
| Load image from a raw binary file .
|
|
static CImg< T > | get_load_raw (std::FILE *const file, const unsigned int size_x=0, const unsigned int size_y=1, const unsigned int size_z=1, const unsigned int size_c=1, const bool is_multiplexed=false, const bool invert_endianness=false, const unsigned long offset=0) |
| Load image from a raw binary file .
|
|
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 float align=0) |
| Load image sequence using FFMPEG av's libraries .
|
|
static CImg< T > | get_load_yuv (const char *const filename, const unsigned int size_x, const unsigned int size_y=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') |
| Load image sequence from a YUV file .
|
|
static CImg< T > | get_load_yuv (std::FILE *const file, const unsigned int size_x, const unsigned int size_y=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') |
| Load image sequence from a YUV file .
|
|
template<typename tf , typename tc > |
static CImg< T > | get_load_off (CImgList< tf > &primitives, CImgList< tc > &colors, const char *const filename) |
| Load 3d object from a .OFF file .
|
|
template<typename tf , typename tc > |
static CImg< T > | get_load_off (CImgList< tf > &primitives, CImgList< tc > &colors, std::FILE *const file) |
| Load 3d object from a .OFF file .
|
|
static CImg< T > | get_load_ffmpeg_external (const char *const filename, const char axis='z', const float align=0) |
| Load image sequence using FFMPEG's external tool 'ffmpeg' .
|
|
static CImg< T > | get_load_gif_external (const char *const filename, const char axis='z', const float align=0) |
| Load gif file, using ImageMagick or GraphicsMagick's external tool 'convert' .
|
|
static CImg< T > | get_load_graphicsmagick_external (const char *const filename) |
| Load image using GraphicsMagick's external tool 'gm' .
|
|
static CImg< T > | get_load_gzip_external (const char *const filename) |
| Load gzipped image file, using external tool 'gunzip' .
|
|
static CImg< T > | get_load_imagemagick_external (const char *const filename) |
| Load image using ImageMagick's external tool 'convert' .
|
|
static CImg< T > | get_load_medcon_external (const char *const filename) |
| Load image from a DICOM file, using XMedcon's external tool 'medcon' .
|
|
static CImg< T > | get_load_dcraw_external (const char *const filename) |
| Load image from a RAW Color Camera file, using external tool 'dcraw' .
|
|
static CImg< T > | get_load_camera (const unsigned int camera_index=0, const unsigned int skip_frames=0, const bool release_camera=true, const unsigned int capture_width=0, const unsigned int capture_height=0) |
| Load image from a camera stream, using OpenCV .
|
|
static CImg< T > | get_load_other (const char *const filename) |
| Load image using various non-native ways .
|
|
|
const CImg< T > & | print (const char *const title=0, const bool display_stats=true) const |
| Display informations about the image data. More...
|
|
const CImg< T > & | display (CImgDisplay &disp) const |
| Display image into a CImgDisplay window. More...
|
|
const CImg< T > & | display (CImgDisplay &disp, const bool display_info, unsigned int *const XYZ=0) const |
| Display image into a CImgDisplay window, in an interactive way. More...
|
|
const CImg< T > & | display (const char *const title=0, const bool display_info=true, unsigned int *const XYZ=0) const |
| Display image into an interactive window. More...
|
|
const CImg< T > & | _display (CImgDisplay &disp, const char *const title, const bool display_info, unsigned int *const XYZ, const bool exit_on_simpleclick) 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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window. 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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided=true, const float focale=700, const float light_x=0, const float light_y=0, const float light_z=-5e8f, const float specular_lightness=0.2f, const float specular_shininess=0.1f, const bool display_axes=true, float *const pose_matrix=0) const |
| Display object 3d in an interactive window .
|
|
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 is_double_sided, const float focale, const float light_x, const float light_y, const float light_z, const float specular_lightness, const float specular_shininess, 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 |
| Display 1d graph in an interactive window. 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 |
| Display 1d graph in an interactive window .
|
|
const CImg< T > & | _display_graph (CImgDisplay &disp, 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 |
|
const CImg< T > & | save (const char *const filename, const int number=-1, const unsigned int digits=6) const |
| Save image as a file. More...
|
|
const CImg< T > & | save_ascii (const char *const filename) const |
| Save image as an ascii file. More...
|
|
const CImg< T > & | save_ascii (std::FILE *const file) const |
| Save image as an ascii file .
|
|
const CImg< T > & | _save_ascii (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_cpp (const char *const filename) const |
| Save image as a .cpp source file. More...
|
|
const CImg< T > & | save_cpp (std::FILE *const file) const |
| Save image as a .cpp source file .
|
|
const CImg< T > & | _save_cpp (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_dlm (const char *const filename) const |
| Save image as a DLM file. More...
|
|
const CImg< T > & | save_dlm (std::FILE *const file) const |
| Save image as a DLM file .
|
|
const CImg< T > & | _save_dlm (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_bmp (const char *const filename) const |
| Save image as a BMP file. More...
|
|
const CImg< T > & | save_bmp (std::FILE *const file) const |
| Save image as a BMP file .
|
|
const CImg< T > & | _save_bmp (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_jpeg (const char *const filename, const unsigned int quality=100) const |
| Save image as a JPEG file. More...
|
|
const CImg< T > & | save_jpeg (std::FILE *const file, const unsigned int quality=100) const |
| Save image as a JPEG file .
|
|
const CImg< T > & | _save_jpeg (std::FILE *const file, const char *const filename, const unsigned int quality) const |
|
const CImg< T > & | save_magick (const char *const filename, const unsigned int bytes_per_pixel=0) const |
| Save image, using built-in ImageMagick++ library. More...
|
|
const CImg< T > & | save_png (const char *const filename, const unsigned int bytes_per_pixel=0) const |
| Save image as a PNG file. More...
|
|
const CImg< T > & | save_png (std::FILE *const file, const unsigned int bytes_per_pixel=0) const |
| Save image as a PNG file .
|
|
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_pnm (const char *const filename, const unsigned int bytes_per_pixel=0) const |
| Save image as a PNM file. More...
|
|
const CImg< T > & | save_pnm (std::FILE *const file, const unsigned int bytes_per_pixel=0) const |
| Save image as a PNM file .
|
|
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_pnk (const char *const filename) const |
| Save image as a PNK file. More...
|
|
const CImg< T > & | save_pnk (std::FILE *const file) const |
| Save image as a PNK file .
|
|
const CImg< T > & | _save_pnk (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_pfm (const char *const filename) const |
| Save image as a PFM file. More...
|
|
const CImg< T > & | save_pfm (std::FILE *const file) const |
| Save image as a PFM file .
|
|
const CImg< T > & | _save_pfm (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_rgb (const char *const filename) const |
| Save image as a RGB file. More...
|
|
const CImg< T > & | save_rgb (std::FILE *const file) const |
| Save image as a RGB file .
|
|
const CImg< T > & | _save_rgb (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_rgba (const char *const filename) const |
| Save image as a RGBA file. More...
|
|
const CImg< T > & | save_rgba (std::FILE *const file) const |
| Save image as a RGBA file .
|
|
const CImg< T > & | _save_rgba (std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_tiff (const char *const filename, const unsigned int compression_type=0) const |
| Save image as a TIFF file. More...
|
|
const CImg< T > & | save_minc2 (const char *const filename, const char *const imitate_file=0) const |
| Save image as a MINC2 file. More...
|
|
const CImg< T > & | save_analyze (const char *const filename, const float *const voxel_size=0) const |
| Save image as an ANALYZE7.5 or NIFTI file. More...
|
|
const CImg< T > & | save_cimg (const char *const filename, const bool is_compressed=false) const |
| Save image as a .cimg file. More...
|
|
const CImg< T > & | save_cimg (std::FILE *const file, const bool is_compressed=false) const |
| Save image as a .cimg file .
|
|
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 c0) const |
| Save image as a sub-image into an existing .cimg file. 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 c0) const |
| Save image as a sub-image into an existing .cimg file .
|
|
const CImg< T > & | save_inr (const char *const filename, const float *const voxel_size=0) const |
| Save image as an INRIMAGE-4 file. More...
|
|
const CImg< T > & | save_inr (std::FILE *const file, const float *const voxel_size=0) const |
| Save image as an INRIMAGE-4 file .
|
|
const CImg< T > & | _save_inr (std::FILE *const file, const char *const filename, const float *const voxel_size) const |
|
const CImg< T > & | save_exr (const char *const filename) const |
| Save image as an OpenEXR file. More...
|
|
const CImg< T > & | save_pandore (const char *const filename, const unsigned int colorspace=0) const |
| Save image as a Pandore-5 file. More...
|
|
const CImg< T > & | save_pandore (std::FILE *const file, const unsigned int colorspace=0) const |
| Save image as a Pandore-5 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_raw (const char *const filename, const bool is_multiplexed=false) const |
| Save image as a raw data file. More...
|
|
const CImg< T > & | save_raw (std::FILE *const file, const bool is_multiplexed=false) const |
| Save image as a raw data file . More...
|
|
const CImg< T > & | _save_raw (std::FILE *const file, const char *const filename, const bool is_multiplexed) const |
|
const CImg< T > & | save_ffmpeg (const char *const filename, const unsigned int fps=25, const unsigned int bitrate=2048) const |
| Save image as a video file, using the FFmpeg library. More...
|
|
const CImg< T > & | save_yuv (const char *const filename, const bool is_rgb=true) const |
| Save image as a .yuv video file. More...
|
|
const CImg< T > & | save_yuv (std::FILE *const file, const bool is_rgb=true) const |
| Save image as a .yuv video file . More...
|
|
template<typename tf , typename tc > |
const CImg< T > & | save_off (const CImgList< tf > &primitives, const CImgList< tc > &colors, const char *const filename) const |
| Save 3d object as an Object File Format (.off) file. More...
|
|
template<typename tf , typename tc > |
const CImg< T > & | save_off (const CImgList< tf > &primitives, const CImgList< tc > &colors, std::FILE *const file) const |
| Save 3d object as an Object File Format (.off) file . More...
|
|
template<typename tf , typename tc > |
const CImg< T > & | _save_off (const CImgList< tf > &primitives, const CImgList< tc > &colors, std::FILE *const file, const char *const filename) const |
|
const CImg< T > & | save_ffmpeg_external (const char *const filename, const char *const codec=0, const unsigned int fps=25, const unsigned int bitrate=2048) const |
| Save volumetric image as a video, using ffmpeg external binary. More...
|
|
const CImg< T > & | save_gzip_external (const char *const filename) const |
| Save image using gzip external binary. More...
|
|
const CImg< T > & | save_graphicsmagick_external (const char *const filename, const unsigned int quality=100) const |
| Save image using GraphicsMagick's external binary. More...
|
|
const CImg< T > & | save_imagemagick_external (const char *const filename, const unsigned int quality=100) const |
| Save image using ImageMagick's external binary. More...
|
|
const CImg< T > & | save_medcon_external (const char *const filename) const |
| Save image as a Dicom file. 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 dc=1) |
| Save blank image as a .cimg file. 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 dc=1) |
| Save blank image as a .cimg file . More...
|
|
static CImg< T > | _logo40x38 () |
|