Changeset 157 in flair-src for trunk/lib/FlairVisionFilter
- Timestamp:
- Mar 4, 2017, 3:29:18 PM (8 years ago)
- Location:
- trunk/lib/FlairVisionFilter/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairVisionFilter/src/CvtColor.cpp
r124 r157 37 37 Err("conversion not supported\n"); 38 38 } 39 40 SetIsReady(true); 39 41 } 40 42 -
trunk/lib/FlairVisionFilter/src/HoughLines.cpp
r148 r157 56 56 if(imageType.GetFormat()!=cvimage::Type::Format::Gray) { 57 57 Err("input image is not gray\n"); 58 return; 58 59 } 59 60 } catch(std::bad_cast& bc) { 60 61 Err("io type mismatch\n"); 62 return; 61 63 } 64 65 SetIsReady(true); 62 66 } 63 67 -
trunk/lib/FlairVisionFilter/src/ImgThreshold.cpp
r124 r157 36 36 } else { 37 37 Err("input image is not gray\n"); 38 return; 38 39 } 39 40 } catch(std::bad_cast& bc) { 40 41 Err("io type mismatch\n"); 42 return; 41 43 } 44 SetIsReady(true); 42 45 } 43 46 -
trunk/lib/FlairVisionFilter/src/OpticalFlow.cpp
r144 r157 48 48 pyr=NULL; 49 49 pyr_old=NULL; 50 return; 50 51 } 51 52 … … 63 64 found_feature=(char *)cvAlloc(max_features->Value()*sizeof(char)); 64 65 feature_error=(unsigned int *)cvAlloc(max_features->Value()*sizeof(unsigned int)); 66 67 SetIsReady(true); 65 68 } 66 69 -
trunk/lib/FlairVisionFilter/src/OpticalFlowSpeed.cpp
r148 r157 34 34 35 35 AddDataToLog(output); 36 37 SetIsReady(true); 36 38 } 37 39 -
trunk/lib/FlairVisionFilter/src/Sobel.cpp
r124 r157 38 38 } else { 39 39 Err("input image is not gray\n"); 40 return; 40 41 } 41 42 42 43 } catch(std::bad_cast& bc) { 43 44 Err("io type mismatch\n"); 45 return; 44 46 } 47 SetIsReady(true); 45 48 } 46 49
Note:
See TracChangeset
for help on using the changeset viewer.