Changeset 124 in flair-src for trunk/lib/FlairCore/src
- Timestamp:
- Jan 12, 2017, 10:39:23 AM (8 years ago)
- Location:
- trunk/lib/FlairCore/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/cvimage.cpp
r15 r124 36 36 img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3); 37 37 break; 38 case Type::Format::G RAY:38 case Type::Format::Gray: 39 39 img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 1); 40 40 break; … … 55 55 img = cvCreateImageHeader(cvSize(width, height), IPL_DEPTH_8U, 3); 56 56 break; 57 case Type::Format::G RAY:57 case Type::Format::Gray: 58 58 img = cvCreateImageHeader(cvSize(width, height), IPL_DEPTH_8U, 1); 59 59 break; -
trunk/lib/FlairCore/src/cvimage.h
r15 r124 39 39 UYVY, /*!< UYVY 16 bits */ 40 40 BGR, /*!< BGR 24 bits */ 41 G RAY, /*!< gray 8 bits */41 Gray, /*!< gray 8 bits */ 42 42 }; 43 43 Type(uint16_t _width, uint16_t _height, Format _format) … … 47 47 size_t pixelSize; 48 48 switch (format) { 49 case Format::G RAY:49 case Format::Gray: 50 50 pixelSize = 1; 51 51 break;
Note:
See TracChangeset
for help on using the changeset viewer.