Changeset 131 in pacpussensors for trunk/Vislab/DiskWriter.cpp


Ignore:
Timestamp:
12/09/16 09:29:50 (8 years ago)
Author:
ldecherf
Message:

Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Vislab/DiskWriter.cpp

    r127 r131  
    77const int MAX_LENGTH_NAME = 512;
    88
     9    /*! A more elaborate description of the constructor*/
    910    DiskWriter::DiskWriter(const QString name, lib3dv::image::type::types imageType) : VislabImageProcessor(name, imageType)
    1011    {
    1112        QDir directory;
     13        /*! For the classic picture */
    1214        if (imageType == lib3dv::image::type::RIGHT_RECTIFIED)
    1315        {
     
    2123
    2224        }
     25        /*! For the disparity picture */
    2326        if (imageType == lib3dv::image::type::DSI)
    2427        {
     
    3336    }
    3437
    35 
     38    /*! process function from the DiskWriter class with a cv:Mat parameter */
    3639    void DiskWriter::process(cv::Mat const& frame)
    3740    {
     
    4548          throw std::runtime_error("cannot save the following frame: " + filename.toStdString());
    4649
     50        /*! Write of the file on the disk */
    4751        mDBTFile.writeRecord(road_time(), 0, filename.toStdString().c_str(), MAX_LENGTH_NAME);
    4852      }
Note: See TracChangeset for help on using the changeset viewer.