SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
CVImage.h File Reference
#include <CVTypedefs.h>
Include dependency graph for CVImage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CVImage
 OpenCV image class with the same interface as the former SLImage class. More...
 

Typedefs

typedef vector< CVImage * > CVVImage
 

Enumerations

enum  CVPixelFormatGL {
  PF_unknown = 0 , PF_yuv_420_888 = 1 , PF_alpha = 0x1906 , PF_luminance = 0x1909 , PF_luminance_alpha = 0x190A , PF_intensity = 0x8049 ,
  PF_green = 0x1904 , PF_blue = 0x1905 , PF_depth_component = 0x1902 , PF_red = 0x1903 , PF_rg = 0x8227 , PF_rgb = 0x1907 ,
  PF_rgba = 0x1908 , PF_bgr = 0x80E0 , PF_bgra = 0x80E1 , PF_rg_integer = 0x8228 , PF_red_integer = 0x8D94 , PF_rgb_integer = 0x8D98 ,
  PF_rgba_integer = 0x8D99 , PF_bgr_integer = 0x8D9A , PF_bgra_integer = 0x8D9B , PF_r16f = 0x822D , PF_r32f = 0x822E , PF_rg16f = 0x822F ,
  PF_rg32f = 0x8230 , PF_rgba32f = 0x8814 , PF_rgb32f = 0x8815 , PF_rgba16f = 0x881A , PF_rgb16f = 0x881B
}
 Pixel format according to OpenGL pixel format defines. More...
 

Typedef Documentation

◆ CVVImage

typedef vector<CVImage*> CVVImage

Definition at line 152 of file CVImage.h.

Enumeration Type Documentation

◆ CVPixelFormatGL

Pixel format according to OpenGL pixel format defines.

This is a pretty delicate topic in OpenGL because bugs in GLSL due to pixel format errors are very hard to detect and debug.

Enumerator
PF_unknown 
PF_yuv_420_888 
PF_alpha 
PF_luminance 
PF_luminance_alpha 
PF_intensity 
PF_green 
PF_blue 
PF_depth_component 
PF_red 
PF_rg 
PF_rgb 
PF_rgba 
PF_bgr 
PF_bgra 
PF_rg_integer 
PF_red_integer 
PF_rgb_integer 
PF_rgba_integer 
PF_bgr_integer 
PF_bgra_integer 
PF_r16f 
PF_r32f 
PF_rg16f 
PF_rg32f 
PF_rgba32f 
PF_rgb32f 
PF_rgba16f 
PF_rgb16f 

Definition at line 23 of file CVImage.h.

24 {
25  PF_unknown = 0,
26  PF_yuv_420_888 = 1, // YUV format from Android not supported in GL
27  PF_alpha = 0x1906, // ES2 ES3 GL2
28  PF_luminance = 0x1909, // ES2 ES3 GL2
29  PF_luminance_alpha = 0x190A, // ES2 ES3 GL2
30  PF_intensity = 0x8049, // GL2
31  PF_green = 0x1904, // GL2
32  PF_blue = 0x1905, // GL2
33  PF_depth_component = 0x1902, // ES3 GL2 GL4
34  PF_red = 0x1903, // ES3 GL2 GL3 GL4
35  PF_rg = 0x8227, // ES3 GL3 GL4
36  PF_rgb = 0x1907, // ES2 ES3 GL2 GL3 GL4
37  PF_rgba = 0x1908, // ES2 ES3 GL2 GL3 GL4
38  PF_bgr = 0x80E0, // GL2 GL3 GL4
39  PF_bgra = 0x80E1, // GL2 GL3 GL4
40  PF_rg_integer = 0x8228, // ES3 GL4
41  PF_red_integer = 0x8D94, // ES3 GL4
42  PF_rgb_integer = 0x8D98, // ES3 GL4
43  PF_rgba_integer = 0x8D99, // ES3 GL4
44  PF_bgr_integer = 0x8D9A, // GL4
45  PF_bgra_integer = 0x8D9B, // GL4
46  PF_r16f = 0x822D,
47  PF_r32f = 0x822E, // ES3 GL3 GL4
48  PF_rg16f = 0x822F,
49  PF_rg32f = 0x8230,
50  PF_rgba32f = 0x8814,
51  PF_rgb32f = 0x8815,
52  PF_rgba16f = 0x881A,
53  PF_rgb16f = 0x881B
54 };
@ PF_rgb_integer
Definition: CVImage.h:42
@ PF_rgba16f
Definition: CVImage.h:52
@ PF_luminance
Definition: CVImage.h:28
@ PF_bgr_integer
Definition: CVImage.h:44
@ PF_alpha
Definition: CVImage.h:27
@ PF_rgba_integer
Definition: CVImage.h:43
@ PF_green
Definition: CVImage.h:31
@ PF_rg_integer
Definition: CVImage.h:40
@ PF_red
Definition: CVImage.h:34
@ PF_luminance_alpha
Definition: CVImage.h:29
@ PF_rgb
Definition: CVImage.h:36
@ PF_bgra_integer
Definition: CVImage.h:45
@ PF_rg
Definition: CVImage.h:35
@ PF_depth_component
Definition: CVImage.h:33
@ PF_bgra
Definition: CVImage.h:39
@ PF_unknown
Definition: CVImage.h:25
@ PF_rgba
Definition: CVImage.h:37
@ PF_yuv_420_888
Definition: CVImage.h:26
@ PF_r32f
Definition: CVImage.h:47
@ PF_bgr
Definition: CVImage.h:38
@ PF_r16f
Definition: CVImage.h:46
@ PF_rg16f
Definition: CVImage.h:48
@ PF_red_integer
Definition: CVImage.h:41
@ PF_rgb32f
Definition: CVImage.h:51
@ PF_rgba32f
Definition: CVImage.h:50
@ PF_blue
Definition: CVImage.h:32
@ PF_rg32f
Definition: CVImage.h:49
@ PF_intensity
Definition: CVImage.h:30
@ PF_rgb16f
Definition: CVImage.h:53