Changeset 124 in flair-src for trunk/lib/FlairCore/src


Ignore:
Timestamp:
Jan 12, 2017, 10:39:23 AM (8 years ago)
Author:
Sanahuja Guillaume
Message:

modifs jpeg

Location:
trunk/lib/FlairCore/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/cvimage.cpp

    r15 r124  
    3636      img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 3);
    3737      break;
    38     case Type::Format::GRAY:
     38    case Type::Format::Gray:
    3939      img = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 1);
    4040      break;
     
    5555      img = cvCreateImageHeader(cvSize(width, height), IPL_DEPTH_8U, 3);
    5656      break;
    57     case Type::Format::GRAY:
     57    case Type::Format::Gray:
    5858      img = cvCreateImageHeader(cvSize(width, height), IPL_DEPTH_8U, 1);
    5959      break;
  • trunk/lib/FlairCore/src/cvimage.h

    r15 r124  
    3939      UYVY, /*!< UYVY 16 bits */
    4040      BGR,  /*!< BGR 24 bits */
    41       GRAY, /*!< gray 8 bits */
     41      Gray, /*!< gray 8 bits */
    4242    };
    4343    Type(uint16_t _width, uint16_t _height, Format _format)
     
    4747      size_t pixelSize;
    4848      switch (format) {
    49       case Format::GRAY:
     49      case Format::Gray:
    5050        pixelSize = 1;
    5151        break;
Note: See TracChangeset for help on using the changeset viewer.