public void saveCurrentBackground(){
  if (background.isPresent()) {
    savedBackground=Optional.of(background.get());
  }
}

public void saveCurrentBackground ( ) { if ( background . isPresent ( ) ) { savedBackground = Optional . of ( background . get ( ) ) ; } }
used to temporarily save the background before autocalibration
