From 742eabf4ea649b29810c5b570627c19911832ebc Mon Sep 17 00:00:00 2001 From: Seth P Date: Fri, 14 Jul 2023 17:27:46 -0400 Subject: [PATCH] common: remove all usages of cv::String (#1028) --- libs/MVS/SemiGlobalMatcher.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libs/MVS/SemiGlobalMatcher.cpp b/libs/MVS/SemiGlobalMatcher.cpp index 2b0757921..33da89f06 100644 --- a/libs/MVS/SemiGlobalMatcher.cpp +++ b/libs/MVS/SemiGlobalMatcher.cpp @@ -49,7 +49,7 @@ using namespace STEREO; #ifdef _USE_FILTER_DEMO #include "opencv2/ximgproc/disparity_filter.hpp" -const cv::String keys = +const String keys = "{help h usage ? | | print this message }" "{GT |None | optional ground-truth disparity (MPI-Sintel or Middlebury format) }" "{dst_path |None | optional path to save the resulting filtered disparity map }" @@ -93,12 +93,12 @@ int disparityFiltering(cv::Mat left, cv::Mat right, int argc, const LPCSTR* argv return 0; } - cv::String GT_path = parser.get("GT"); - cv::String dst_path = parser.get("dst_path"); - cv::String dst_raw_path = parser.get("dst_raw_path"); - cv::String dst_conf_path = parser.get("dst_conf_path"); - cv::String algo = parser.get("algorithm"); - cv::String filter = parser.get("filter"); + String GT_path = parser.get("GT"); + String dst_path = parser.get("dst_path"); + String dst_raw_path = parser.get("dst_raw_path"); + String dst_conf_path = parser.get("dst_conf_path"); + String algo = parser.get("algorithm"); + String filter = parser.get("filter"); bool no_display = parser.has("no-display"); bool no_downscale = parser.has("no-downscale"); int max_disp = parser.get("max_disparity");