Changeset 148 in flair-src for trunk/lib/FlairVisionFilter
- Timestamp:
- Feb 28, 2017, 4:18:13 PM (8 years ago)
- Location:
- trunk/lib/FlairVisionFilter/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairVisionFilter/src/HoughLines.cpp
r124 r148 50 50 desc->SetElementName(3,0,"line_detected"); 51 51 output=new cvmatrix(this,desc,floatType,name); 52 delete desc; 52 53 53 54 try{ -
trunk/lib/FlairVisionFilter/src/OpticalFlowSpeed.cpp
r143 r148 27 27 OpticalFlowSpeed::OpticalFlowSpeed(const IODevice* parent,string name) : IODevice(parent,name) 28 28 { 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; 33 34 34 35 AddDataToLog(output);
Note:
See TracChangeset
for help on using the changeset viewer.