Changeset 124 in flair-src for trunk/lib/FlairVisionFilter/src/Sobel.cpp
- Timestamp:
- 01/12/17 10:39:23 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairVisionFilter/src/Sobel.cpp
r122 r124 34 34 try{ 35 35 cvimage::Type const &imageType=dynamic_cast<cvimage::Type const &>(parent->GetOutputDataType()); 36 if(imageType.GetFormat()==cvimage::Type::Format::G RAY) {36 if(imageType.GetFormat()==cvimage::Type::Format::Gray) { 37 37 output=new cvimage(this,imageType.GetWidth(),imageType.GetHeight(),imageType.GetFormat(),"sobel"); 38 38 } else { 39 Err("input image is not gr ey\n");39 Err("input image is not gray\n"); 40 40 } 41 41
Note:
See TracChangeset
for help on using the changeset viewer.