Changeset 148 in flair-src for trunk/lib/FlairVisionFilter/src


Ignore:
Timestamp:
02/28/17 16:18:13 (5 years ago)
Author:
Sanahuja Guillaume
Message:

m

Location:
trunk/lib/FlairVisionFilter/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairVisionFilter/src/HoughLines.cpp

    r124 r148  
    5050    desc->SetElementName(3,0,"line_detected");
    5151    output=new cvmatrix(this,desc,floatType,name);
     52    delete desc;
    5253
    5354    try{
  • trunk/lib/FlairVisionFilter/src/OpticalFlowSpeed.cpp

    r143 r148  
    2727OpticalFlowSpeed::OpticalFlowSpeed(const IODevice* parent,string name) : IODevice(parent,name)
    2828{
    29     cvmatrix_descriptor* desc=new cvmatrix_descriptor(2,1);
    30     desc->SetElementName(0,0,"vx");
    31         desc->SetElementName(1,0,"vy");
    32     output=new cvmatrix(this,desc,floatType,name);
     29  cvmatrix_descriptor* desc=new cvmatrix_descriptor(2,1);
     30  desc->SetElementName(0,0,"vx");
     31  desc->SetElementName(1,0,"vy");
     32  output=new cvmatrix(this,desc,floatType,name);
     33  delete desc;
    3334
    3435        AddDataToLog(output);
Note: See TracChangeset for help on using the changeset viewer.