Commit 1a15596f authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed build warning in GDAL support module

parent 95ecdc3a
......@@ -140,35 +140,6 @@ int gdal2opencv( const GDALDataType& gdalType, const int& channels ){
return -1;
}
std::string GetOpenCVTypeName( const int& type ){
switch(type){
case CV_8UC1:
return "CV_8UC1";
case CV_8UC3:
return "CV_8UC3";
case CV_8UC4:
return "CV_8UC4";
case CV_16UC1:
return "CV_16UC1";
case CV_16UC3:
return "CV_16UC3";
case CV_16UC4:
return "CV_16UC4";
case CV_16SC1:
return "CV_16SC1";
case CV_16SC3:
return "CV_16SC3";
case CV_16SC4:
return "CV_16SC4";
default:
return "Unknown";
}
return "Unknown";
}
/**
* GDAL Decoder Constructor
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment