Changeset 125 in flair-src for trunk/lib/FlairSensorActuator/src
- Timestamp:
- Jan 13, 2017, 12:23:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/Camera.cpp
r124 r125 128 128 break; 129 129 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); 131 131 break; 132 132 default: … … 151 151 if(output->GetDataType().GetFormat()==cvimage::Type::Format::Gray) saveToJpeg(output->img,filename,PictureFormat_t::Gray,PictureFormat_t::Gray); 152 152 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); 154 154 } else { 155 155 cvSaveImage(filename.c_str(),output->img);
Note:
See TracChangeset
for help on using the changeset viewer.