p_output_stream.open(ouput.c_str());
if (!p_output_stream.is_open())
std::cerr << "Error opening output file " << ouput << "!" << std::endl;
p_output_stream.open(ouput.c_str());
if (!p_output_stream.is_open())
std::cerr << "Error opening output file " << ouput << "!" << std::endl;
std::getline (p_images_stream, line);
if (line.empty() && p_images_stream.eof()) return -1;
img = cv::imread(line, CV_LOAD_IMAGE_COLOR);
std::getline (p_images_stream, line);
if (line.empty() && p_images_stream.eof()) return -1;
img = cv::imread(line, CV_LOAD_IMAGE_COLOR);