|
Imagine++
|
Imagine++ namespace. More...
Classes | |
| class | Array |
| Array of variable size. More... | |
| class | Coords |
| Coordinates. More... | |
| class | CoordsIterator |
| Iterator on Coordinates. More... | |
| struct | Event |
| Event info. More... | |
| class | FArray |
| Array of fixed size. More... | |
| class | FMatrix |
| Matrix of fixed dimension. More... | |
| class | FVector |
| Vector of fixed size. More... | |
| class | Image |
| Image. More... | |
| singleton | Matrix |
| Matrix of variable size. More... | |
| class | Mesh |
| A mesh representing a 3D object. More... | |
| class | MultiArray |
| nD array of variable size. More... | |
| class | NativeBitmap |
| Native bitmap: image stored in graphics card format, fast to display. More... | |
| class | RGB |
| RED GREEN BLUE color. More... | |
| class | RGBA |
| RED GREEN BLUE Alpha color. More... | |
| singleton | SymMatrix |
| Symmetric Matrix of variable size. More... | |
| class | Timer |
| Timers. More... | |
| class | Vector |
| Vector of variable size. More... | |
Typedefs | |
| typedef RGBA< octet > | AlphaColor |
| RGBA<byte> alias. More... | |
| typedef unsigned char | byte |
| typedef RGB< octet > | Color |
| RGB<octet> alias. More... | |
| typedef FVector< double, 3 > | DoublePoint3 |
| Double space point. | |
| typedef DoublePoint3 | DoubleVector3 |
| Double space vector. | |
| typedef FVector< float, 3 > | FloatPoint3 |
| Float space point. | |
| typedef FloatPoint3 | FloatVector3 |
| Float space vector. | |
| typedef Coords< 2 > | IntPoint2 |
| Plane point with integral coordinates. | |
| typedef unsigned char | octet |
| 0 to 255 integer type. More... | |
| typedef FArray< int, 4 > | Quad |
| Quadrilateral to insert in a mesh, built from four space point indices. | |
| typedef FArray< int, 3 > | Triangle |
| Triangle to insert in a mesh, built from three space point indices. | |
| typedef WindowInternal * | Window |
| Handle to a display window. | |
Enumerations | |
| enum | EventState { EVS_NONE =0, EVS_SHIFT =(1<<0), EVS_CONTROL =(1<<1), EVS_ALT =(1<<2) } |
| Event State. More... | |
| enum | EventType { EVT_NONE = 0, EVT_BUT_ON = 2, EVT_BUT_OFF = 3, EVT_MOTION = 5, EVT_KEY_ON, EVT_KEY_OFF } |
| Event type (keyboard or mouse event). More... | |
| enum | KeyCode { KEY_BACK =16777219, KEY_TAB =16777217, KEY_RETURN =16777220, KEY_NUMPAD_ENTER =16777221, KEY_ESCAPE =16777216, KEY_INSERT =16777222, KEY_DELETE =16777223, KEY_HOME =16777232, KEY_END =16777233, KEY_PAGEUP =16777238, KEY_PAGEDOWN, KEY_LEFT =16777234, KEY_UP, KEY_RIGHT, KEY_DOWN, KEY_SHIFT =16777248, KEY_CONTROL =16777249, KEY_CMD =16777299, KEY_ALT =16777251, KEY_PRINT =16777225, KEY_SCROLL =16777254, KEY_PAUSE =16777224, KEY_MENU =16777301, KEY_F1 =16777264, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_F10, KEY_F11, KEY_F12, KEY_NUMLOCK =16777253 } |
| Keyboard codes for characterless keys. More... | |
| enum | MeshColorMode { CONSTANT_COLOR, FACE_COLOR, VERTEX_COLOR, FACE_VALUE, VERTEX_VALUE } |
| Mesh lighting mode. | |
| enum | MeshData { VERTEX, TRIANGLE, QUAD } |
| Type of mesh data that holds values. | |
| enum | MeshFaceMode { POINT, LINE, FILL } |
| Mesh display mode. | |
| enum | MeshShadingMode { FLAT_SHADING, SMOOTH_SHADING } |
| Mesh shading mode. | |
| enum | WindowType { WINDOW_2D, WINDOW_3D } |
| Type of Window. More... | |
Functions | |
| int | anyClick () |
| Wait for mouse click in any window. More... | |
| int | anyClick (Window &win, int &subWin) |
| Wait for mouse click in any window (returning window). More... | |
| int | anyGetKey (Window &win, int &subWin, bool ignoreModifier=true) |
| Wait for key press in any window. More... | |
| int | anyGetMouse (int &x, int &y, Window &win, int &subWin) |
| Wait for mouse click in any window (returning window and position). More... | |
| int | anyGetMouse (IntPoint2 &p, Window &win, int &subWin) |
| Wait for mouse click in any window (returning window and position). More... | |
| const Color | BLACK (0, 0, 0) |
| Predefined color. More... | |
| const Color | BLUE (0, 0, 255) |
| Predefined color. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | blur (const Image< T, dim > &I, typename PixelTraits< T >::scalar_type sigma, bool neumann=true) |
| Blur. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | blur (const Image< T, dim > &I, const FVector< typename PixelTraits< T >::scalar_type, dim > &sigmas, bool neumann=true) |
| Blur (anisotropic). More... | |
| Color | capturePoint (int x, int y) |
| Capture (point). More... | |
| Color | capturePoint (const IntPoint2 &p) |
| Capture (point). More... | |
| void | captureRectangle (int x, int y, Color *c, int w, int h) |
| Capture (sub window). More... | |
| void | captureRectangle (const IntPoint2 &p, Color *c, int w, int h) |
| Capture (sub window). More... | |
| void | captureRectangle (int x, int y, octet *RGB, int w, int h) |
| Capture (sub window). More... | |
| void | captureRectangle (const IntPoint2 &p, octet *RGB, int w, int h) |
| Capture (sub window). More... | |
| void | captureRectangle (int x, int y, octet *R, octet *G, octet *B, int w, int h) |
| Capture (sub window). More... | |
| void | captureRectangle (const IntPoint2 &p, octet *R, octet *G, octet *B, int w, int h) |
| Capture (sub window). More... | |
| void | captureWindow (Color *&cols, int &w, int &h) |
| Window capture. More... | |
| void | captureWindow (octet *&RGB, int &w, int &h) |
| Window capture. More... | |
| void | captureWindow (octet *&R, octet *&G, octet *&B, int &w, int &h) |
| Window capture. More... | |
| template<typename T , int N> | |
| FMatrix< T, N, N > | cholesky (const FMatrix< T, N, N > &A, bool low=true) |
| Cholesky decomposition. More... | |
| void | clearWindow () |
| clearWindow. More... | |
| int | click () |
| Wait for mouse click in active window. More... | |
| void | closeWindow (Window w) |
| Close window. More... | |
| template<typename T , int dim> | |
| Image< Color, dim > | color (const Image< RGB< T >, dim > &I, const RGB< T > &m, const RGB< T > &M) |
| Color representation. More... | |
| template<typename T , int dim> | |
| Image< Color, dim > | color (const Image< RGB< T >, dim > &I) |
| Color representation. More... | |
| AlphaColor * | convertColorToAlphaColor (const Imagine::Color *cols, int w, int h) |
| Convert a Color Image to a AlphaColor Image. More... | |
| void | createMaskFromColor (Image< AlphaColor > &I, AlphaColor col) |
| Create a transparency mask from a specified color-key. More... | |
| template<typename T , int dim> | |
| Image< T > | cut2D (const Image< T, dim > &I, const Coords< dim > &cut, int d1, int d2) |
| 2D cut. More... | |
| const Color | CYAN (0, 255, 255) |
| Predefined color. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | deriche (const Image< T, dim > &I, typename PixelTraits< T >::scalar_type sigma, int order, int d, bool neumann=true) |
| Deriche filter. More... | |
| template<typename T , int dim> | |
| T | derivative (const Image< T, dim > &u, const Coords< dim > &p, int d) |
| Derivative. More... | |
| template<typename T , int M> | |
| T | det (const FMatrix< T, M, M > &A) |
| Determinant. More... | |
| template<typename T , int N> | |
| T | detFMatrix (const FMatrix< T, N, N > &A) |
| Determinant. More... | |
| template<typename T , int M> | |
| FMatrix< T, M, M > | Diagonal (const FVector< T, M > &d) |
| Diagonal. More... | |
| template<typename T > | |
| Matrix< T > | Diagonal (const Vector< T > &d) |
| Diagonal. More... | |
| void | display (const Image< octet > &I, int x=0, int y=0, bool xorMode=false, double fact=1.) |
| Display grey image. More... | |
| void | display (const Image< octet > &I, IntPoint2 p, bool xorMode=false, double fact=1.) |
| Display grey image (IntPoint2 alias). | |
| void | display (const Image< Color > &I, int x=0, int y=0, bool xorMode=false, double fact=1.) |
| Display color image. More... | |
| void | display (const Image< AlphaColor > &I, int x=0, int y=0, bool xorMode=false, double fact=1.) |
| Display color image with alpha channel. More... | |
| void | display (const Image< Color > &I, IntPoint2 p, bool xorMode=false, double fact=1.) |
| Display color image (IntPoint2 alias). | |
| void | display (const Image< octet > &IR, const Image< octet > &IG, const Image< octet > &IB, int x=0, int y=0, bool xorMode=false, double fact=1.) |
| Display color image (3 chanels). More... | |
| void | display (const Image< octet > &IR, const Image< octet > &IG, const Image< octet > &IB, IntPoint2 p, bool xorMode=false, double fact=1.) |
| Display color image (3 chanels, IntPoint2 alias). | |
| double | doubleRandom () |
| Uniform double. More... | |
| void | drawArrow (int x1, int y1, int x2, int y2, const AlphaColor &col, int arrowWidth=8, int arrowHeight=5, int style=0, int width=1, bool xorMode=false) |
| Arrow. More... | |
| void | drawArrow (const IntPoint2 &p1, const IntPoint2 &p2, const AlphaColor &col, int arrowWidth=8, int arrowHeight=5, int style=0, int width=1, bool xorMode=false) |
| Arrow (IntPoint2). More... | |
| void | drawArrow (int x1, int y1, int x2, int y2, const AlphaColor &col, double ta, double tl, int style=0, int width=1, bool xorMode=false) |
| Arrow. More... | |
| void | drawArrow (const IntPoint2 &p1, const IntPoint2 &p2, const AlphaColor &col, double ta, double tl, int style=0, int width=1, bool xorMode=false) |
| Arrow. More... | |
| void | drawCircle (int xc, int yc, int r, const Color &col, int penWidth=1, bool xorMode=false) |
| Circle. More... | |
| void | drawCircle (const IntPoint2 &c, int r, const Color &col, int penWidth=1, bool xorMode=false) |
| Circle (IntPoint2). More... | |
| void | drawEllipse (int x, int y, int w, int h, const Color &col, int penWidth=1, bool xorMode=false) |
| Ellipse. More... | |
| void | drawEllipse (const IntPoint2 &p, int w, int h, const Color &col, int penWidth=1, bool xorMode=false) |
| Ellipse (IntPoint2). More... | |
| void | drawLine (int x1, int y1, int x2, int y2, const Color &col, int penWidth=1, bool xorMode=false) |
| Line. More... | |
| void | drawLine (const IntPoint2 &p1, const IntPoint2 &p2, const Color &col, int penWidth=1, bool xorMode=false) |
| Line (IntPoint2). More... | |
| void | drawPoint (int x, int y, const Color &col, bool xorMode=false) |
| Point. More... | |
| void | drawPoint (const IntPoint2 &p, const Color &col, bool xorMode=false) |
| Point (IntPoint2). More... | |
| void | drawPoly (const int x[], const int y[], int n, const Color &col, int width=1, bool xorMode=false) |
| Draw a polygon. More... | |
| void | drawPoly (const IntPoint2 *p, int n, const Color &col, int width=1, bool xorMode=false) |
| Polygon (IntPoint2). More... | |
| void | drawPoly (const int xy[], int n, const Color &col, int width=1, bool xorMode=false) |
| Polygon (one array). More... | |
| void | drawRect (int x, int y, int w, int h, const Color &col, int penWidth=1, bool xorMode=false) |
| Rectangle. More... | |
| void | drawRect (const IntPoint2 &p, int w, int h, const Color &col, int penWidth=1, bool xorMode=false) |
| Rectangle (IntPoint2). More... | |
| void | drawString (int x, int y, const std::string &s, const AlphaColor &col, int fontSize=12, double alpha=0, bool italic=false, bool bold=false, bool underlined=false, bool xorMode=false) |
| String. More... | |
| void | drawString (const IntPoint2 &p, const std::string &s, const AlphaColor &col, int fontSize=12, double alpha=0, bool italic=false, bool bold=false, bool underlined=false, bool xorMode=false) |
| String (IntPoint2). More... | |
| template<typename T > | |
| void | eigenvalues (const Matrix< T > &A, Vector< T > &wr, Vector< T > &wi) |
| Eigenvalues calculation Given square matrix, only eigenvalues are obtained. More... | |
| void | enableMouseTracking (bool en) |
| Mouse tracking, controlling whether pointer motion triggers an event. More... | |
| void | endGraphics () |
| Terminate graphics application. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | enlarge (const Image< T, dim > &I, Coords< dim > nd, bool keepRatio=false) |
| Enlarge image (given dimensions). More... | |
| template<typename T > | |
| Image< T, 2 > | enlarge (const Image< T, 2 > &I, int w, int h, bool keepRatio=false) |
| Enlarge image (given dimensions), 2D alias. | |
| template<typename T > | |
| Image< T, 3 > | enlarge (const Image< T, 3 > &I, int w, int h, int d, bool keepRatio=false) |
| Enlarge image (given dimensions), 3D alias. | |
| template<typename T , int dim> | |
| Image< T, dim > | enlarge (const Image< T, dim > &I, double fact) |
| Enlarge image (given factor). More... | |
| void | fillCircle (int xc, int yc, int r, const AlphaColor &col, bool xorMode=false) |
| Filled Circle. More... | |
| void | fillCircle (const IntPoint2 &c, int r, const AlphaColor &col, bool xorMode=false) |
| Filled Circle (IntPoint2). More... | |
| void | fillEllipse (int x, int y, int w, int h, const AlphaColor &col, bool xorMode=false) |
| Filled Ellipse. More... | |
| void | fillEllipse (const IntPoint2 &p, int w, int h, const AlphaColor &col, bool xorMode=false) |
| Filled Ellipse (IntPoint2). More... | |
| void | fillPoly (const int x[], const int y[], int n, const AlphaColor &col, bool xorMode=false) |
| Filled Polygon. More... | |
| void | fillPoly (const IntPoint2 *p, int n, const AlphaColor &col, bool xorMode=false) |
| Filled Polygon (IntPoint2). More... | |
| void | fillPoly (const int xy[], int n, const AlphaColor &col, bool xorMode=false) |
| Filled Polygon. More... | |
| void | fillRect (int x, int y, int w, int h, const AlphaColor &col, bool xorMode=false) |
| Filled rectangle. More... | |
| void | fillRect (const IntPoint2 &p, int w, int h, const AlphaColor &col, bool xorMode=false) |
| Filled rectangle (IntPoint2). More... | |
| void | flushEvents () |
| Flush event queue, discarding unhandled events. More... | |
| template<typename T > | |
| T | gaussianCurvature (const Image< T, 3 > &u, const Coords< 3 > &p) |
| Gaussian curvature of iso level (3D). More... | |
| double | gaussianRandom () |
| Normal law. More... | |
| void | getEvent (int ms, Event &ev) |
| Get keyboard and mouse events. More... | |
| int | getKey (bool ignoreModifier=true) |
| Wait for key press in active window. More... | |
| int | getMouse (int &x, int &y) |
| Wait for mouse click in active window (returning position). More... | |
| int | getMouse (IntPoint2 &p) |
| Wait for mouse click in active window (returning position). More... | |
| template<typename T , int dim> | |
| FVector< T, dim > | gradient (const Image< T, dim > &u, const Coords< dim > &p) |
| Gradient. More... | |
| const Color | GREEN (0, 255, 0) |
| Predefined color. More... | |
| template<typename T , int dim> | |
| Image< octet, dim > | grey (const Image< T, dim > &I, T m, T M) |
| Grey level representation. More... | |
| template<typename T , int dim> | |
| Image< octet, dim > | grey (const Image< T, dim > &I) |
| Grey level representation. More... | |
| void | hideMesh (const Mesh &M, bool reinitCam=true) |
| Hide mesh. More... | |
| void | initRandom (unsigned int s) |
| Init with seed. More... | |
| void | initRandom () |
| Init. More... | |
| template<typename T , int dim> | |
| void | inPlaceBlur (Image< T, dim > &I, const FVector< typename PixelTraits< T >::scalar_type, dim > &sigmas, bool neumann=true) |
| In Place Blur (anisotropic). More... | |
| template<typename T , int dim> | |
| void | inPlaceBlur (Image< T, dim > &I, typename PixelTraits< T >::scalar_type sigma, bool neumann=true) |
| In Place Blur. More... | |
| template<typename T , int dim> | |
| void | inPlaceDeriche (Image< T, dim > &I, typename PixelTraits< T >::scalar_type sigma, int order, int d, bool neumann=true) |
| In place Deriche filter. More... | |
| int | intRandom (int a, int b) |
| Uniform int. More... | |
| template<typename T , int M> | |
| FMatrix< T, M, M > | inverse (const FMatrix< T, M, M > &A) |
| Inverse. More... | |
| template<typename T , int N> | |
| FMatrix< T, N, N > | inverseFMatrix (const FMatrix< T, N, N > &A) |
| Inverse. More... | |
| template<typename T , int dim> | |
| T | laplacian (const Image< T, dim > &u, const Coords< dim > &p) |
| Laplacian. More... | |
| template<typename T , int M, int N> | |
| FVector< T, N > | linSolve (const FMatrix< T, M, N > &A, const FVector< T, M > &b) |
| Linear system. More... | |
| bool | load (Image< octet > &I, std::string name) |
| Load grey image. More... | |
| bool | load (Image< Color > &I, std::string name) |
| Load color image. More... | |
| bool | load (Image< AlphaColor > &I, std::string name) |
| Load color image with alpha channel. More... | |
| bool | load (Image< octet > &IR, Image< octet > &IG, Image< octet > &IB, std::string name) |
| Load color image. More... | |
| bool | loadAlphaColorImage (const std::string &name, AlphaColor *&acols, int &w, int &h) |
| Load color image with alpha channel. More... | |
| bool | loadAlphaColorImage (const std::string &name, octet *&rgba, int &w, int &h) |
| Load color image with alpha channel. More... | |
| template<typename T , int dim> | |
| bool | loadAnalyze (Image< T, dim > &I, const std::string name) |
| Load Analyze file. More... | |
| template<typename T > | |
| bool | loadBinary (T &obj, std::string filename) |
| Object loading. More... | |
| bool | loadColorImage (const std::string &name, Color *&cols, int &w, int &h) |
| Load color image. More... | |
| bool | loadColorImage (const std::string &name, octet *&rgb, int &w, int &h) |
| Load color image. More... | |
| bool | loadColorImage (const std::string &name, octet *&r, octet *&g, octet *&b, int &w, int &h) |
| Load color image. More... | |
| bool | loadColorImage (const std::string &name, octet *&r, octet *&g, octet *&b, octet *&a, int &w, int &h) |
| Load color image with alpha channel. More... | |
| bool | loadGreyImage (const std::string &name, octet *&g, int &w, int &h) |
| Load grey image. More... | |
| template<typename T > | |
| bool | loadText (T &obj, std::string filename) |
| Object loading. More... | |
| const Color | MAGENTA (255, 0, 255) |
| Predefined color. More... | |
| template<typename T > | |
| T | meanCurvature (const Image< T, 3 > &u, const Coords< 3 > &p) |
| Mean curvature (3D). More... | |
| template<typename T > | |
| T | meanCurvature (const Image< T, 2 > &u, const Coords< 2 > &p) |
| Mean curvature (2D). | |
| template<typename T > | |
| T | meanCurvatureMotion (const Image< T, 3 > &u, const Coords< 3 > &p) |
| Level set Mean curvature motion (3D). More... | |
| template<typename T > | |
| T | meanCurvatureMotion (const Image< T, 2 > &u, const Coords< 2 > &p) |
| Level set Mean curvature motion (2D). | |
| void | milliSleep (int msec) |
| ... More... | |
| template<typename T , int M, int N, int O> | |
| FMatrix< T, M, O > | multt (const FMatrix< T, M, N > &A, const FMatrix< T, O, N > &B) |
| Product. More... | |
| template<typename T , int dim> | |
| void | neighbourCoords (const Image< T, dim > &u, const Coords< dim > &p, Coords< dim > &pp, Coords< dim > &pm) |
| Coordinates of neighbours. More... | |
| template<typename T , int dim> | |
| void | neighbourOffsets (const Image< T, dim > &u, const Coords< dim > &p, FVector< size_t, dim > &dp, FVector< size_t, dim > &dm) |
| Offsets to neighbours. More... | |
| void | noRefreshBegin () |
| Norefresh begin. More... | |
| void | noRefreshEnd () |
| Norefresh end. More... | |
| void | noRefreshPop () |
| Norefresh pop. More... | |
| void | noRefreshPush () |
| Norefresh push. More... | |
| template<typename T , int dim> | |
| FVector< T, dim > | normal (const Image< T, dim > &u, const Coords< dim > &p) |
| Unit normal of iso level. More... | |
| Window | openComplexWindow (int w, int h, const std::string &name="Imagine++", int tabsNb=1, const std::string *tabsNames=0, const WindowType *tabsTypes=0, int x=-1, int y=-1) |
| New complex window. More... | |
| Window | openWindow (int w, int h, const std::string &windowTitle="Imagine++", int x=-1, int y=-1) |
| New window for 2D graphics. More... | |
| Window | openWindow3D (int w, int h, const std::string &windowTitle="Imagine++", int x=-1, int y=-1) |
| New window for 3D graphics. More... | |
| template<typename T , int M, int N> | |
| FMatrix< T, M, N > | operator* (T s, const FMatrix< T, M, N > &A) |
| Scalar multiplication. More... | |
| template<typename T , int M, int N> | |
| FMatrix< T, M, N > | operator+ (T s, const FMatrix< T, M, N > &A) |
| Scalar addition. More... | |
| template<typename T , int M, int N> | |
| FMatrix< T, M, N > | operator- (T s, const FMatrix< T, M, N > &A) |
| Scalar substraction. More... | |
| std::ostream & | operator<< (std::ostream &out, const Color &c) |
| Display color as three integral values. | |
| const Color | ORANGE (255, 128, 0) |
| Predefined color. More... | |
| template<typename T > | |
| Matrix< T > | outerProduct (const Vector< T > &v1, const Vector< T > &v2) |
| Outer product matrix. More... | |
| template<typename T , int M, int N> | |
| FMatrix< T, N, M > | pseudoInverse (const FMatrix< T, M, N > &A, T tolrel=0) |
| Pseudo inverse. More... | |
| const Color | PURPLE (128, 0, 255) |
| Predefined color. More... | |
| void | putAlphaColorImage (int x, int y, Imagine::AlphaColor *cols, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap with alpha channel. More... | |
| void | putAlphaColorImage (int x, int y, octet *rgba, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap with alpha channel. More... | |
| void | putAlphaColorImage (const IntPoint2 &p, octet *rgba, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap with alpha channel. More... | |
| void | putColorImage (int x, int y, const Color *cols, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap. More... | |
| void | putColorImage (const IntPoint2 &p, const Color *cols, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap. More... | |
| void | putColorImage (int x, int y, const octet *rgb, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap. More... | |
| void | putColorImage (const IntPoint2 &p, const octet *rgb, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap. More... | |
| void | putColorImage (int x, int y, const octet *r, const octet *g, const octet *b, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap. More... | |
| void | putColorImage (const IntPoint2 &p, const octet *r, const octet *g, const octet *b, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap. More... | |
| void | putColorImage (int x, int y, const octet *r, const octet *g, const octet *b, const octet *a, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap with alpha channel. More... | |
| void | putColorImage (const IntPoint2 &p, const octet *r, const octet *g, const octet *b, const octet *a, int w, int h, bool xorMode=false, double fact=1.) |
| Display color bitmap with alpha channel. More... | |
| void | putGreyImage (int x, int y, const octet *g, int w, int h, bool xorMode=false, double fact=1.) |
| Display grey bitmap. More... | |
| void | putGreyImage (const IntPoint2 &p, const octet *g, int w, int h, bool xorMode=false, double fact=1.) |
| Display grey bitmap. More... | |
| void | putNativeBitmap (int x, int y, const NativeBitmap &bm, bool xorMode=false, double fact=1.) |
| Display native bitmap. More... | |
| template<typename T , int M, int N> | |
| bool | QR (const FMatrix< T, M, N > &A, FMatrix< T, M, N > &Q, FMatrix< T, N, N > &R) |
| QR decomposition. More... | |
| template<typename T , int M, int N> | |
| bool | QRAll (const FMatrix< T, M, N > &A, FMatrix< T, M, M > &Q, FMatrix< T, M, N > &R) |
| QR decomposition. More... | |
| template<typename T , int dim> | |
| Image< Color, dim > | rainbow (const Image< T, dim > &I, T m, T M) |
| Rainbow representation. More... | |
| template<typename T , int dim> | |
| Image< Color, dim > | rainbow (const Image< T, dim > &I) |
| Rainbow representation. More... | |
| const Color | RED (255, 0, 0) |
| Predefined color. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | reduce (const Image< T, dim > &I, int fact) |
| Reduce image (integer factor). More... | |
| template<typename T , int dim> | |
| Image< T, dim > | reduce (const Image< T, dim > &I, Coords< dim > nd, bool keepRatio=false) |
| Reduce image (given dimensions). More... | |
| template<typename T > | |
| Image< T, 2 > | reduce (const Image< T, 2 > &I, int w, int h, bool keepRatio=false) |
| Reduce image (given dimensions), 2D alias. | |
| template<typename T > | |
| Image< T, 3 > | reduce (const Image< T, 3 > &I, int w, int h, int d, bool keepRatio=false) |
| Reduce image (given dimensions), 3D alias. | |
| template<typename T , int dim> | |
| Image< T, dim > | reduce (const Image< T, dim > &I, double fact) |
| Reduce image (double factor). More... | |
| template<typename T > | |
| FVector< double, 3 > | RGB2YUV (const RGB< T > &rgb) |
| RGB to YUV. More... | |
| bool | save (const Image< octet > &I, std::string name) |
| Save grey image. More... | |
| bool | save (const Image< Color > &I, std::string name, int quality=85) |
| Save color image. More... | |
| bool | save (Image< AlphaColor > &I, std::string name, int quality=85) |
| Save color imagewith alpha channel. More... | |
| bool | save (const Image< octet > &IR, const Image< octet > &IG, const Image< octet > &IB, std::string name, int quality=85) |
| Save color image. More... | |
| bool | saveAlphaColorImage (const std::string &name, Imagine::AlphaColor *cols, int w, int h, int quality=85) |
| Save color image with alpha channel. More... | |
| bool | saveAlphaColorImage (const std::string &name, octet *rgba, int w, int h, int quality=85) |
| Save color image with alpha channel. More... | |
| bool | saveAlphaColorImage (const std::string &name, const octet *r, const octet *g, const octet *b, const octet *a, int w, int h, int quality=85) |
| Save color image with alpha channel. More... | |
| template<typename TO , typename TI , int dim> | |
| bool | saveAnalyze (const Image< TI, dim > &I, const std::string name) |
| Save Analyze file. More... | |
| template<typename T > | |
| bool | saveBinary (const T &obj, std::string filename) |
| Object saving. More... | |
| bool | saveColorImage (const std::string &name, const Color *cols, int w, int h, int quality=85) |
| Save color image. More... | |
| bool | saveColorImage (const std::string &name, const octet *rgb, int w, int h, int quality=85) |
| Save color image. More... | |
| bool | saveColorImage (const std::string &name, const octet *r, const octet *g, const octet *b, int w, int h, int quality=85) |
| Save color image. More... | |
| bool | saveGreyImage (const std::string &name, const octet *g, int w, int h, int quality=85) |
| Save grey image. More... | |
| template<typename T > | |
| bool | saveText (const T &obj, std::string filename, int precision=-1) |
| Object saving. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | scaleDown (const Image< T, dim > &I, int fact) |
| Down scaling: fast naive version. More... | |
| template<typename T , int dim> | |
| Image< T, dim > | scaleUp (const Image< T, dim > &I, int fact) |
| Up scaling: fast naive version. More... | |
| void | setActiveWindow (Window w, int subWin=0) |
| Set active window. More... | |
| void | setBackGround (const Color &col) |
| Set ackground color of window. More... | |
| void | setCamera (const DoublePoint3 &pos, const DoublePoint3 &dir, const DoubleVector3 &up) |
| Sets the camera pose. More... | |
| void | setLight (bool b) |
| Set/unset lighting in 3D rendering. More... | |
| void | setLight (const FloatVector3 &dir, float ambient=0.2f) |
| Set direction for diffuse lighting and ambient lighting in 3D rendering. More... | |
| void | setLight (float dirx, float diry, float dirz, float ambient=0.2f) |
| void | setMaskFromColor (octet *&r, octet *&g, octet *&b, octet *&a, int w, int h, const Color &col) |
| Create a transparency mask from a specified color-key. More... | |
| void | setMaskFromColor (octet *&rgba, int w, int h, const Color &col) |
| Create a transparency mask from a specified color-key. More... | |
| void | setMaskFromColor (AlphaColor *&acols, int w, int h, AlphaColor col) |
| Create a transparency mask from a specified color-key. More... | |
| void | showMesh (const Mesh &M, bool reinitCam=true) |
| Show mesh. More... | |
| void | showWindow (Window w, int subWin=0) |
| Show window. More... | |
| size_t | size_tRandom (size_t a) |
| Uniform size_t. More... | |
| template<typename T , int M, int N> | |
| void | svd (const FMatrix< T, M, N > &A, FMatrix< T, M, M > &U, FVector< T, M > &S, FMatrix< T, N, N > &Vt, bool all=false) |
| SVD. More... | |
| template<typename T , int M, int N, int O> | |
| FMatrix< T, N, O > | tmult (const FMatrix< T, M, N > &A, const FMatrix< T, M, O > &B) |
| Product. More... | |
| template<typename T , int M, int N> | |
| FVector< T, N > | tmult (const FMatrix< T, M, N > &A, const FVector< T, M > &v) |
| Product with vector. More... | |
| template<typename T , int M, int N, int O> | |
| FMatrix< T, N, O > | tmultt (const FMatrix< T, M, N > &A, const FMatrix< T, O, M > &B) |
| Product. More... | |
| template<typename T , int M, int N> | |
| FMatrix< T, N, M > | transpose (const FMatrix< T, M, N > &A) |
| Transpose. More... | |
| unsigned int | uintRandom (unsigned int a) |
| Uniform unsigned int. More... | |
| void | unGetEvent (const Event &ev) |
| Unget event. More... | |
| void | waitKey (const char *message="Press <enter> to continue...") |
| Pause in program execution until key press. More... | |
| const Color | WHITE (255, 255, 255) |
| Predefined color. More... | |
| const Color | YELLOW (255, 255, 0) |
| Predefined color. More... | |
| template<typename T > | |
| RGB< T > | YUV2RGB (const FVector< double, 3 > &yuv) |
| YUV to RGB. More... | |
Variables | |
| const AlphaColor | ABLACK =AlphaColor(0,0,0) |
| Predefined color. More... | |
| const AlphaColor | ABLUE =AlphaColor(0,0,255) |
| Predefined color. More... | |
| const AlphaColor | ACYAN =AlphaColor(0,255,255) |
| Predefined color. More... | |
| const AlphaColor | AGREEN =AlphaColor(0,255,0) |
| Predefined color. More... | |
| const AlphaColor | AMAGENTA =AlphaColor(255,0,255) |
| Predefined color. More... | |
| const AlphaColor | ARED =AlphaColor(255,0,0) |
| Predefined color. More... | |
| const AlphaColor | AWHITE =AlphaColor(255,255,255) |
| Predefined color. More... | |
| const AlphaColor | AYELLOW =AlphaColor(255,255,0) |
| Predefined color. More... | |
| const std::string | VERSION ="6.0.0" |
| version of libraries. More... | |
Namespace for Imagine++ libraries
1.8.8