|
BitmapToolkit Scol plugin
|
Functions | |
| int | _CRBTmat (mmachine m) |
| _CRBTmat : Creates a ObjBTMat object from an AlphaBitmap Prototype: fun [Chn AlphaBitmap] ObjBTMat | |
| int | _DSBTmat (mmachine m) |
| _DSBTmat : Deletes a cv mat object Prototype: fun [ObjBTMat] I | |
| int | _BTGETmatBuffer (mmachine m) |
| _BTGETmatBuffer : Get a cv mat buffer Prototype: fun [ObjBTMat] ObjBuff | |
| int | _BTBLURbitmap (mmachine m) |
| _BTBLURbitmap : This function apply a blur on a bitmap Prototype: fun [ObjBitmap I I] ObjBitmap | |
| int | _BTBLURbitmapBuffer (mmachine m) |
| _BTBLURbitmapBuffer : This function apply a blur on a bitmap buffer Prototype: fun [ObjBuff I I I I I] ObjBuff | |
| int | _BTFILTERbitmap (mmachine m) |
| _BTFILTERbitmap : This function apply a kernel filter on a bitmap Prototype: fun [ObjBitmap tab tab F] ObjBitmap | |
| int | _BTFILTERbitmapBuffer (mmachine m) |
| _BTFILTERbitmapBuffer : This function apply a kernel filter on a bitmap buffer Prototype: fun [ObjBuff I I I tab tab F] ObjBuff | |
| int | _BTBRIGHTNESSbitmap (mmachine m) |
| _BTBRIGHTNESSbitmap : This function change the brightness of a bitmap Prototype: fun [ObjBitmap I] ObjBitmap | |
| int | _BTBRIGHTNESSbitmapBuffer (mmachine m) |
| _BTBRIGHTNESSbitmapBuffer : This function change the brightness of a bitmap buffer Prototype: fun [ObjBuff I I I I] ObjBuff | |
| int | _BTLAPLACEbitmap (mmachine m) |
| _BTLAPLACEbitmap : This function apply a LAPLACE filter on a bitmap Prototype: fun [ObjBitmap I I] ObjBitmap | |
| int | _BTLAPLACEbitmapBuffer (mmachine m) |
| _BTLAPLACEbitmapBuffer : This function apply LAPLACE filter on a bitmap buffer Prototype: fun [ObjBuff I I I I I] ObjBuff | |
| int | _BTFLIPbitmap (mmachine m) |
| _BTFLIPbitmap : This function apply vertical flip on a bitmap Prototype: fun [ObjBitmap] ObjBitmap | |
| int | _BTFLIPbuffer (mmachine m) |
| _BTFLIPbuffer : This function apply vertical flip on a pixel buffer Prototype: fun [ObjBuff I I I] ObjBuff | |
| int | _BTNORMALbitmap (mmachine m) |
| _BTNORMALbitmap : This function convert an height map to a normal map bitmap Prototype: fun [ObjBitmap F F] ObjBitmap | |
| int | _BTNORMALbitmapBuffer (mmachine m) |
| _BTNORMALbitmapBuffer :This function convert an height map to a normal map bitmap Prototype: fun [ObjBuff I I I F F] ObjBuff | |
| int | _BTDRAWcircle (mmachine m) |
| _BTDRAWcircle : This function draw a circle into a bitmap Prototype: fun [ObjBitmap [I I] I I I I I] ObjBitmap | |
| int | _BTDRAWcircleBuffer (mmachine m) |
| _BTDRAWcircleBuffer : This function draw a circle into a bitmap buffer Prototype: fun [ObjBuff I I I [I I] I I I I I] ObjBuff | |
| int | _BTDRAWrect (mmachine m) |
| _BTDRAWrect : This function draw a rectangle into a bitmap Prototype: fun [ObjBitmap [I I I I] I I I I] ObjBitmap | |
| int | _BTDRAWrectBuffer (mmachine m) |
| _BTDRAWrectBuffer : This function draw a rectangle into a bitmap buffer Prototype: fun [ObjBuff I I I [I I I I] I I I I] ObjBuff | |
| int | _BTDRAWline (mmachine m) |
| _BTDRAWline : This function draw a line into a bitmap Prototype: fun [ObjBitmap [I I] [I I] I I] ObjBitmap | |
| int | _BTDRAWlineBuffer (mmachine m) |
| _BTDRAWlineBuffer : This function draw a line into a bitmap buffer Prototype: fun [ObjBuff I I I [I I] [I I] I I] ObjBuff | |
| int | _BTDRAWpath (mmachine m) |
| _BTDRAWpath : This function draw a path into a bitmap Prototype: fun [ObjBitmap [[I I] r1] I I] ObjBitmap | |
| int | _BTDRAWpathBuffer (mmachine m) |
| _BTDRAWpathBuffer : This function draw a line into a bitmap buffer Prototype: fun [ObjBuff I I I [[I I] r1] I I] ObjBuff | |
| int | _BTMOTIONdetect (mmachine m) |
| _BTMOTIONdetect : This function detect the motion between two bitmaps Prototype: fun [ObjBitmap ObjBitmap I I] I | |
| int | _BTCompBitmap (mmachine m) |
| _BTCompBitmap : This function compress a bitmap and return the buffer as string Prototype: fun [ObjBitmap I] S | |
| int | _BTUnCompBitmap (mmachine m) |
| _BTUnCompBitmap : This function uncompress a bitmap data to an existed bitmap Prototype: fun [S ObjBitmap] S | |
| int | _BTSCALEbitmap (mmachine m) |
| _BTSCALEbitmap : This function scale a bitmap to an another bitmap Prototype: fun [ObjBitmap ObjBitmap I] ObjBitmap | |
| int | _BTSCALEalphaBitmap (mmachine m) |
| _BTSCALEalphaBitmap : This function scale an alpha bitmap to an another alpha bitmap Prototype: fun [AlphaBitmap AlphaBitmap I] AlphaBitmap | |
| int | _BTSCALEbitmapBuffer (mmachine m) |
| _BTSCALEbitmapBuffer : This function scale a bitmap to an another bitmap Prototype: fun [ObjBuff I I I ObjBuff I I I I] ObjBitmap | |
| int | _BTSAVEbitmap (mmachine m) |
| _BTSAVEbitmap : This function saves a scol RGB bitmap to a defined path. The format is defined by the extension you write in path Prototype: fun [ObjBitmap W] P | |
| int | _BTSAVEalphaBitmap (mmachine m) |
| _BTSAVEbitmapWithAlpha : This function saves a scol RGB bitmap with alpha bitmap to a defined path. The format is defined by the extension you write in path Prototype: fun [AlphaBitmap W] P | |
| int | _BTLOADbitmap (mmachine m) |
| _BTLOADbitmap : This function loads an RGB bitmap from a defined path. Prototype: fun [Chn P] ObjBitmap | |
| int | _BTBLENDbitmaps (mmachine m) |
| _BTBLENDbitmaps : blends 2 bitmaps from percentage value. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBitmap [I I I I] ObjBitmap [I I I I] F] ObjBitmap | |
| int | _BTBLENDalphaBitmaps (mmachine m) |
| _BTBLENDalphaBitmaps : blends 2 alpha bitmaps. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [AlphaBitmap [I I I I] AlphaBitmap [I I I I] F] AlphaBitmap | |
| int | _BTBLENDbitmapsBuffer (mmachine m) |
| _BTBLENDbitmapsBuffer : blends 2 bitmaps buffer from percentage value. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBuff I I I [I I I I] ObjBuff I I I [I I I I] F] ObjBuff | |
| int | _BTCPbitmapRect (mmachine m) |
| _BTCPbitmapRect : copy a bitmap buffer rect to another. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBitmap [I I I I] ObjBitmap [I I I I]] ObjBitmap | |
| int | _BTCPalphaBitmapRect (mmachine m) |
| _BTCPalphaBitmapRect : copy a bitmap buffer rect to another. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [AlphaBitmap [I I I I] AlphaBitmap [I I I I]] AlphaBitmap | |
| int | _BTCPbitmapBufferRect (mmachine m) |
| _BTCPbitmapBufferRect : copy a bitmap buffer rect to another. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBuff I I I [I I I I] ObjBuff I I I [I I I I]] ObjBuff | |
| int | _BTGETbitmapBuffer (mmachine m) |
| _BTGETbitmapBuffer : This function return the bitmap buffer Prototype: fun [ObjBitmap] ObjBuff | |
| int | _BTGETbitmapBufferExt (mmachine m) |
| _BTGETbitmapBufferExt : This function return the bitmap buffer Prototype: fun [ObjBitmap] [ObjBuff I I I] | |
Scol functions for bitmap manipulation
| int _BTBLENDalphaBitmaps | ( | mmachine | m | ) |
_BTBLENDalphaBitmaps : blends 2 alpha bitmaps. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [AlphaBitmap [I I I I] AlphaBitmap [I I I I] F] AlphaBitmap
| AlphaBitmap | : dest bitmap |
| [I | I I I] : dest rect |
| AlphaBitmap | : src bitmap |
| [I | I I I] : src rect |
| F | : mix percentage (0: full dest, 1: full src; clamped to [0, 1]) |
Definition at line 2967 of file BitmapToolkit.cpp.
| int _BTBLENDbitmaps | ( | mmachine | m | ) |
_BTBLENDbitmaps : blends 2 bitmaps from percentage value. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBitmap [I I I I] ObjBitmap [I I I I] F] ObjBitmap
| ObjBitmap | : dest bitmap |
| [I | I I I] : dest rect |
| ObjBitmap | : src bitmap |
| [I | I I I] : src rect |
| F | : mix percentage (0: full dest, 1: full src; clamped to [0, 1]) |
Definition at line 2862 of file BitmapToolkit.cpp.
| int _BTBLENDbitmapsBuffer | ( | mmachine | m | ) |
_BTBLENDbitmapsBuffer : blends 2 bitmaps buffer from percentage value. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBuff I I I [I I I I] ObjBuff I I I [I I I I] F] ObjBuff
| ObjBuff | : dest buffer |
| I | : dest buffer pixel width |
| I | : dest buffer pixel height |
| I | : dest number of bits per pixel |
| [I | I I I] : dest rect |
| ObjBuff | : src buffer |
| I | : src buffer pixel width |
| I | : src buffer pixel height |
| I | : src number of bits per pixel |
| [I | I I I] : src rect |
| F | : mix percentage (0: full dest, 1: full src; clamped to [0, 1]) |
Definition at line 3102 of file BitmapToolkit.cpp.
| int _BTBLURbitmap | ( | mmachine | m | ) |
_BTBLURbitmap : This function apply a blur on a bitmap Prototype: fun [ObjBitmap I I] ObjBitmap
| ObjBitmap | : bitmap to update |
| I | : Blur value on X |
| I | : Blur value on Y |
Definition at line 167 of file BitmapToolkit.cpp.
| int _BTBLURbitmapBuffer | ( | mmachine | m | ) |
_BTBLURbitmapBuffer : This function apply a blur on a bitmap buffer Prototype: fun [ObjBuff I I I I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| I | : Blur value on X |
| I | : Blur value on Y |
Definition at line 226 of file BitmapToolkit.cpp.
| int _BTBRIGHTNESSbitmap | ( | mmachine | m | ) |
_BTBRIGHTNESSbitmap : This function change the brightness of a bitmap Prototype: fun [ObjBitmap I] ObjBitmap
| ObjBitmap | : bitmap to update |
| I | : 0 to 200 coef, > 100 for saturate |
Definition at line 492 of file BitmapToolkit.cpp.
| int _BTBRIGHTNESSbitmapBuffer | ( | mmachine | m | ) |
_BTBRIGHTNESSbitmapBuffer : This function change the brightness of a bitmap buffer Prototype: fun [ObjBuff I I I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| I | : 0 to 100 coef, > 100 for saturate |
Definition at line 579 of file BitmapToolkit.cpp.
| int _BTCompBitmap | ( | mmachine | m | ) |
_BTCompBitmap : This function compress a bitmap and return the buffer as string Prototype: fun [ObjBitmap I] S
| ObjBitmap | : bitmap to compress |
| I | : Compression factor 1 to 100 |
Definition at line 2155 of file BitmapToolkit.cpp.
| int _BTCPalphaBitmapRect | ( | mmachine | m | ) |
_BTCPalphaBitmapRect : copy a bitmap buffer rect to another. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [AlphaBitmap [I I I I] AlphaBitmap [I I I I]] AlphaBitmap
| AlphaBitmap | : dest bitmap |
| [I | I I I] : dest rect |
| AlphaBitmap | : src bitmap |
| [I | I I I] : src rect |
Definition at line 3335 of file BitmapToolkit.cpp.
| int _BTCPbitmapBufferRect | ( | mmachine | m | ) |
_BTCPbitmapBufferRect : copy a bitmap buffer rect to another. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBuff I I I [I I I I] ObjBuff I I I [I I I I]] ObjBuff
| ObjBuff | : dest buffer |
| I | : dest buffer pixel width |
| I | : dest buffer pixel height |
| I | : dest number of bits per pixel |
| [I | I I I] : dest rect |
| ObjBuff | : src buffer |
| I | : src buffer pixel width |
| I | : src buffer pixel height |
| I | : src number of bits per pixel |
| [I | I I I] : src rect |
Definition at line 3472 of file BitmapToolkit.cpp.
| int _BTCPbitmapRect | ( | mmachine | m | ) |
_BTCPbitmapRect : copy a bitmap buffer rect to another. Takes a piece of the src to blit it in a piece of the dest. Resizing involved. Prototype: fun [ObjBitmap [I I I I] ObjBitmap [I I I I]] ObjBitmap
| ObjBitmap | : dest bitmap |
| [I | I I I] : dest rect |
| ObjBitmap | : src bitmap |
| [I | I I I] : src rect |
Definition at line 3235 of file BitmapToolkit.cpp.
| int _BTDRAWcircle | ( | mmachine | m | ) |
_BTDRAWcircle : This function draw a circle into a bitmap Prototype: fun [ObjBitmap [I I] I I I I I] ObjBitmap
| ObjBitmap | : bitmap to update |
| [I | I] : Position X Y |
| I | : Radius |
| I | : Stroke color |
| I | : Stroke thickness |
| I | : Filled (0:no, 1:yes, default 0) |
| I | : Fill color |
Definition at line 1199 of file BitmapToolkit.cpp.
| int _BTDRAWcircleBuffer | ( | mmachine | m | ) |
_BTDRAWcircleBuffer : This function draw a circle into a bitmap buffer Prototype: fun [ObjBuff I I I [I I] I I I I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| [I | I] : Position X Y |
| I | : Radius |
| I | : Stroke color |
| I | : Stroke thickness |
| I | : Filled (0:no, 1:yes, default 0) |
| I | : Fill color |
Definition at line 1316 of file BitmapToolkit.cpp.
| int _BTDRAWline | ( | mmachine | m | ) |
_BTDRAWline : This function draw a line into a bitmap Prototype: fun [ObjBitmap [I I] [I I] I I] ObjBitmap
| ObjBitmap | : bitmap to update |
| [I | I] : start point X Y |
| [I | I] : end point X Y |
| I | : Line color |
| I | : Line thickness |
Definition at line 1704 of file BitmapToolkit.cpp.
| int _BTDRAWlineBuffer | ( | mmachine | m | ) |
_BTDRAWlineBuffer : This function draw a line into a bitmap buffer Prototype: fun [ObjBuff I I I [I I] [I I] I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| [I | I] : start point X Y |
| [I | I] : end point X Y |
| I | : Stroke color |
| I | : Stroke thickness |
Definition at line 1787 of file BitmapToolkit.cpp.
| int _BTDRAWpath | ( | mmachine | m | ) |
_BTDRAWpath : This function draw a path into a bitmap Prototype: fun [ObjBitmap [[I I] r1] I I] ObjBitmap
| ObjBitmap | : bitmap to update |
| [[I | I] r1] : list of points X Y |
| I | : Line color |
| I | : Line thickness |
Definition at line 1883 of file BitmapToolkit.cpp.
| int _BTDRAWpathBuffer | ( | mmachine | m | ) |
_BTDRAWpathBuffer : This function draw a line into a bitmap buffer Prototype: fun [ObjBuff I I I [[I I] r1] I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| [I | I] : list of points X Y |
| I | : Stroke color |
| I | : Stroke thickness |
Definition at line 1971 of file BitmapToolkit.cpp.
| int _BTDRAWrect | ( | mmachine | m | ) |
_BTDRAWrect : This function draw a rectangle into a bitmap Prototype: fun [ObjBitmap [I I I I] I I I I] ObjBitmap
| ObjBitmap | : bitmap to update |
| [I | I I I] : x y w h |
| I | : Stroke color |
| I | : Stroke thickness |
| I | : Filled (0:no, 1:yes, default 0) |
| I | : Fill color |
Definition at line 1437 of file BitmapToolkit.cpp.
| int _BTDRAWrectBuffer | ( | mmachine | m | ) |
_BTDRAWrectBuffer : This function draw a rectangle into a bitmap buffer Prototype: fun [ObjBuff I I I [I I I I] I I I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| [I | I I I] : x y w h |
| I | : Stroke color |
| I | : Stroke thickness |
| I | : Filled (0:no, 1:yes, default 0) |
| I | : Fill color |
Definition at line 1564 of file BitmapToolkit.cpp.
| int _BTFILTERbitmap | ( | mmachine | m | ) |
_BTFILTERbitmap : This function apply a kernel filter on a bitmap Prototype: fun [ObjBitmap tab tab F] ObjBitmap
| ObjBitmap | : bitmap to update |
| tab | tab F : float array with same number of row and cols \exemple emboss filter: [1 1 0] [1 0 -1] [0 -1 -1] |
let mktab 3 nil -> kernel in ( set kernel.0 = mktab 3 1.0; set kernel.0.0 = 1.0; set kernel.0.1 = 1.0; set kernel.0.2 = 0.0;
set kernel.1 = mktab 3 1.0; set kernel.1.0 = 1.0; set kernel.1.1 = 0.0; set kernel.1.2 = -.1.0;
set kernel.2 = mktab 3 1.0; set kernel.2.0 = 0.0; set kernel.2.1 = -.1.0; set kernel.2.2 = -.1.0; _BTFILTERbitmap bmp kernel; )
Definition at line 315 of file BitmapToolkit.cpp.
| int _BTFILTERbitmapBuffer | ( | mmachine | m | ) |
_BTFILTERbitmapBuffer : This function apply a kernel filter on a bitmap buffer Prototype: fun [ObjBuff I I I tab tab F] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| tab | tab F : float array with same number of row and cols \exemple emboss filter: [1 1 0] [1 0 -1] [0 -1 -1] |
let mktab 3 nil -> kernel in ( set kernel.0 = mktab 3 1.0; set kernel.0.0 = 1.0; set kernel.0.1 = 1.0; set kernel.0.2 = 0.0;
set kernel.1 = mktab 3 1.0; set kernel.1.0 = 1.0; set kernel.1.1 = 0.0; set kernel.1.2 = -.1.0;
set kernel.2 = mktab 3 1.0; set kernel.2.0 = 0.0; set kernel.2.1 = -.1.0; set kernel.2.2 = -.1.0; _BTFILTERbitmap bmp kernel; )
Definition at line 411 of file BitmapToolkit.cpp.
| int _BTFLIPbitmap | ( | mmachine | m | ) |
_BTFLIPbitmap : This function apply vertical flip on a bitmap Prototype: fun [ObjBitmap] ObjBitmap
| ObjBitmap | : bitmap to flip |
Definition at line 797 of file BitmapToolkit.cpp.
| int _BTFLIPbuffer | ( | mmachine | m | ) |
_BTFLIPbuffer : This function apply vertical flip on a pixel buffer Prototype: fun [ObjBuff I I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
Definition at line 848 of file BitmapToolkit.cpp.
| int _BTGETbitmapBuffer | ( | mmachine | m | ) |
_BTGETbitmapBuffer : This function return the bitmap buffer Prototype: fun [ObjBitmap] ObjBuff
| ObjBitmap | : bitmap |
_BTGETbitmapBuffer8 : This function return the bitmap buffer Prototype: fun [ObjBitmap8] ObjBuff
| ObjBitmap | : bitmap |
Definition at line 3615 of file BitmapToolkit.cpp.
| int _BTGETbitmapBufferExt | ( | mmachine | m | ) |
_BTGETbitmapBufferExt : This function return the bitmap buffer Prototype: fun [ObjBitmap] [ObjBuff I I I]
| ObjBitmap | : bitmap |
_BTGETbitmapBuffer8Ext : This function return the bitmap buffer Prototype: fun [ObjBitmap8] [ObjBuff I I I]
| ObjBitmap | : bitmap |
Definition at line 3667 of file BitmapToolkit.cpp.
| int _BTGETmatBuffer | ( | mmachine | m | ) |
_BTGETmatBuffer : Get a cv mat buffer Prototype: fun [ObjBTMat] ObjBuff
| ObjBTMat | : mat |
Definition at line 139 of file BitmapToolkit.cpp.
| int _BTLAPLACEbitmap | ( | mmachine | m | ) |
_BTLAPLACEbitmap : This function apply a LAPLACE filter on a bitmap Prototype: fun [ObjBitmap I I] ObjBitmap
| ObjBitmap | : bitmap to update |
| I | : Desired depth |
| I | : Aperture size |
Definition at line 675 of file BitmapToolkit.cpp.
| int _BTLAPLACEbitmapBuffer | ( | mmachine | m | ) |
_BTLAPLACEbitmapBuffer : This function apply LAPLACE filter on a bitmap buffer Prototype: fun [ObjBuff I I I I I] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| I | : Desired depth |
| I | : Aperture size |
Definition at line 733 of file BitmapToolkit.cpp.
| int _BTLOADbitmap | ( | mmachine | m | ) |
_BTLOADbitmap : This function loads an RGB bitmap from a defined path. Prototype: fun [Chn P] ObjBitmap
| Chn | : scol channel |
| P | : bitmap path |
Definition at line 2782 of file BitmapToolkit.cpp.
| int _BTMOTIONdetect | ( | mmachine | m | ) |
_BTMOTIONdetect : This function detect the motion between two bitmaps Prototype: fun [ObjBitmap ObjBitmap I I] I
| ObjBitmap | : previous bitmap |
| ObjBitmap | : current bitmap |
| I | : thresol of the detection filter |
| I | : sensivity (0 to 100) |
Definition at line 2072 of file BitmapToolkit.cpp.
| int _BTNORMALbitmap | ( | mmachine | m | ) |
_BTNORMALbitmap : This function convert an height map to a normal map bitmap Prototype: fun [ObjBitmap F F] ObjBitmap
| ObjBitmap | : bitmap |
| F | : strength |
| F | : blur coef, positive to blur, negative to sharp the result image |
Definition at line 908 of file BitmapToolkit.cpp.
| int _BTNORMALbitmapBuffer | ( | mmachine | m | ) |
_BTNORMALbitmapBuffer :This function convert an height map to a normal map bitmap Prototype: fun [ObjBuff I I I F F] ObjBuff
| ObjBuff | : buffer |
| I | : buffer pixel width |
| I | : buffer pixel height |
| I | : number of bytes per pixel |
| F | : strength |
| F | : blur coef, positive to blur, negative to sharp the result image |
Definition at line 1049 of file BitmapToolkit.cpp.
| int _BTSAVEalphaBitmap | ( | mmachine | m | ) |
_BTSAVEbitmapWithAlpha : This function saves a scol RGB bitmap with alpha bitmap to a defined path. The format is defined by the extension you write in path Prototype: fun [AlphaBitmap W] P
| ObjAlphaBitmap | : 32-bit bitmap |
| W | : dest bitmap |
Definition at line 2711 of file BitmapToolkit.cpp.
| int _BTSAVEbitmap | ( | mmachine | m | ) |
_BTSAVEbitmap : This function saves a scol RGB bitmap to a defined path. The format is defined by the extension you write in path Prototype: fun [ObjBitmap W] P
| ObjBitmap | : 24-bit bitmap |
| W | : dest bitmap |
Definition at line 2646 of file BitmapToolkit.cpp.
| int _BTSCALEalphaBitmap | ( | mmachine | m | ) |
_BTSCALEalphaBitmap : This function scale an alpha bitmap to an another alpha bitmap Prototype: fun [AlphaBitmap AlphaBitmap I] AlphaBitmap
| AlphaBitmap | : dest bitmap |
| AlphaBitmap | : source bitmap |
| I | : Scale method from 0 to 6 (NEAREST, LINEAR, CUBIC, AREA, LANCZOS4, MAX, WARP_INVERSE_MAP) |
Definition at line 2390 of file BitmapToolkit.cpp.
| int _BTSCALEbitmap | ( | mmachine | m | ) |
_BTSCALEbitmap : This function scale a bitmap to an another bitmap Prototype: fun [ObjBitmap ObjBitmap I] ObjBitmap
| ObjBitmap | : dest bitmap |
| ObjBitmap | : source bitmap |
| I | : Scale method from 0 to 6 (NEAREST, LINEAR, CUBIC, AREA, LANCZOS4, MAX, WARP_INVERSE_MAP) |
Definition at line 2299 of file BitmapToolkit.cpp.
| int _BTSCALEbitmapBuffer | ( | mmachine | m | ) |
_BTSCALEbitmapBuffer : This function scale a bitmap to an another bitmap Prototype: fun [ObjBuff I I I ObjBuff I I I I] ObjBitmap
| ObjBuff | : dest buffer |
| I | : dest buffer pixel width |
| I | : dest buffer pixel height |
| I | : dest number of bits per |
| ObjBuff | : src buffer |
| I | : src buffer pixel width |
| I | : src buffer pixel height |
| I | : src number of bits per pixel |
| I | : Scale method from 0 to 6 (NEAREST, LINEAR, CUBIC, AREA, LANCZOS4, MAX, WARP_INVERSE_MAP) |
Definition at line 2527 of file BitmapToolkit.cpp.
| int _BTUnCompBitmap | ( | mmachine | m | ) |
_BTUnCompBitmap : This function uncompress a bitmap data to an existed bitmap Prototype: fun [S ObjBitmap] S
| S | : compressed bitmap data |
| ObjBitmap | : bitmap to fill |
Definition at line 2241 of file BitmapToolkit.cpp.
| int _CRBTmat | ( | mmachine | m | ) |
_CRBTmat : Creates a ObjBTMat object from an AlphaBitmap Prototype: fun [Chn AlphaBitmap] ObjBTMat
| Chn | : channel |
| AlphaBitmap | : AlphaBitmap to copy in mat buffer |
Definition at line 64 of file BitmapToolkit.cpp.
| int _DSBTmat | ( | mmachine | m | ) |
_DSBTmat : Deletes a cv mat object Prototype: fun [ObjBTMat] I
| ObjBTMat | : mat to destroy |
Definition at line 118 of file BitmapToolkit.cpp.