fingerdemo/fingerdemo.cpp
int runsavedcalib()
{
  auto modelfile = setpath + "FingerData/finger-model.yaml";
  cout << "Loading saved calibration data: " << modelfile << endl;

  // Load PhotometricStereo algorithm from settings file
  // Run pstereo algorithm on scan
  try {
    auto pstereo = gs::LoadPhotometricStereo(modelfile);
    runpstereo(pstereo.get());
  } catch (gs::Exception& e) {
    cout << "Exception: " << e.error() << endl;
  }

  return 0;
}
/*
 * This function shows how to load a saved calibration and compute 3D for a scan
 */
This function shows how to load a saved calibration and compute 3D for a scan
This function shows how to load a saved calibration and compute 3D for a scan
int runsavedcalib()
{
  auto modelfile = setpath + "FingerData/finger-model.yaml";
  cout << "Loading saved calibration data: " << modelfile << endl;
  try {
    auto pstereo = gs::LoadPhotometricStereo(modelfile);
    runpstereo(pstereo.get());
  } catch (gs::Exception& e) {
    cout << "Exception: " << e.error() << endl;
  }
  return 0;
}
int runsavedcalib ( ) { auto modelfile = setpath + " " ; cout << " " << modelfile << endl ; try { auto pstereo = gs :: LoadPhotometricStereo ( modelfile ) ; runpstereo ( pstereo . get ( ) ) ; } catch ( gs :: Exception & e ) { cout << " " << e . error ( ) << endl ; } return 0 ; }
This function shows how to load a saved calibration and compute 3D for a scan
This function shows how to load a saved calibration and compute 3D for a scan
// Load PhotometricStereo algorithm from settings file
 // Run pstereo algorithm on scan
