(std::vector<float>& x_pos,                                                 std::vector<float>& y_pos,                                                 std::vector<float>& val) { // Check the image   if (!