cv::String dataPath = "/home/zx/ClionProjects/convertIndex/rgb/"; //"./rgbd_dataset_freiburg1_desk/rgb/"
    dataPath = dataPath ;
    vector<cv::String> imageNames;
    glob(dataPath,imageNames,false);

 文件路径用绝对路径