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


Ignore:
Timestamp:
01/10/17 15:56:53 (5 years ago)
Author:
Sanahuja Guillaume
Message:

vision filter

File:
1 edited

Legend:

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

    r122 r123  
    2424#include <DataPlot1D.h>
    2525#include <Picture.h>
     26#include <VisionFilter.h>
    2627#include <highgui.h>
    2728#include <fstream>
     
    118119                        case LogFormat::JPG:
    119120                                        IplImage *img=((cvimage*)data)->img;
    120                                         //dspSaveToJpeg(img,"toto");
     121                                        string filename=getFrameworkManager()->GetLogPath()+"/"+ObjectName()+"_"+std::to_string(data->DataTime())+".jpg";
     122                                        saveToJpeg(img,filename);
    121123                                break;
    122124                }
Note: See TracChangeset for help on using the changeset viewer.