Changeset 125 in flair-src for trunk/lib/FlairSensorActuator/src


Ignore:
Timestamp:
01/13/17 12:23:17 (7 years ago)
Author:
Sanahuja Guillaume
Message:

maj jpg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/Camera.cpp

    r124 r125  
    128128                                        break;
    129129                                case cvimage::Type::Format::UYVY:
    130                                         saveToJpeg(img,filename,PictureFormat_t::UYVY,PictureFormat_t::UYVY);
     130                                        saveToJpeg(img,filename,PictureFormat_t::YUV_422ile,PictureFormat_t::YUV_422p);
    131131                                        break;
    132132                                default:
     
    151151                        if(output->GetDataType().GetFormat()==cvimage::Type::Format::Gray) saveToJpeg(output->img,filename,PictureFormat_t::Gray,PictureFormat_t::Gray);
    152152                        if(output->GetDataType().GetFormat()==cvimage::Type::Format::BGR) saveToJpeg(output->img,filename,PictureFormat_t::RGB,PictureFormat_t::RGB);
    153                         if(output->GetDataType().GetFormat()==cvimage::Type::Format::UYVY) saveToJpeg(output->img,filename,PictureFormat_t::UYVY,PictureFormat_t::UYVY);
     153                        if(output->GetDataType().GetFormat()==cvimage::Type::Format::UYVY) saveToJpeg(output->img,filename,PictureFormat_t::YUV_422ile,PictureFormat_t::YUV_422p);
    154154                } else {
    155155                        cvSaveImage(filename.c_str(),output->img);
Note: See TracChangeset for help on using the changeset viewer.