Changeset 131 in pacpussensors for trunk/Vislab/DiskWriter.cpp
- Timestamp:
- Dec 9, 2016, 9:29:50 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Vislab/DiskWriter.cpp
r127 r131 7 7 const int MAX_LENGTH_NAME = 512; 8 8 9 /*! A more elaborate description of the constructor*/ 9 10 DiskWriter::DiskWriter(const QString name, lib3dv::image::type::types imageType) : VislabImageProcessor(name, imageType) 10 11 { 11 12 QDir directory; 13 /*! For the classic picture */ 12 14 if (imageType == lib3dv::image::type::RIGHT_RECTIFIED) 13 15 { … … 21 23 22 24 } 25 /*! For the disparity picture */ 23 26 if (imageType == lib3dv::image::type::DSI) 24 27 { … … 33 36 } 34 37 35 38 /*! process function from the DiskWriter class with a cv:Mat parameter */ 36 39 void DiskWriter::process(cv::Mat const& frame) 37 40 { … … 45 48 throw std::runtime_error("cannot save the following frame: " + filename.toStdString()); 46 49 50 /*! Write of the file on the disk */ 47 51 mDBTFile.writeRecord(road_time(), 0, filename.toStdString().c_str(), MAX_LENGTH_NAME); 48 52 }
Note:
See TracChangeset
for help on using the changeset viewer.