form.makeFormVariable("Threshold Diff",scene_change_thresh_diff,0.1f,1.0f,true,"","Difference of peak thresholds. Lowering it makes detection more sensitive");
form.makeFormVariable("Threshold Diff",scene_change_thresh_diff,0.1f,1.0f,true,"","Difference of peak thresholds. Lowering it makes detection more sensitive");
});
});
dialog->nanogui([&](cv::v4d::FormHelper&form){
menu->nanogui([&](cv::v4d::FormHelper&form){
form.makeDialog(8,16,"Display");
form.makeDialog(8,16,"Display");
form.makeGroup("Display");
form.makeGroup("Display");
form.makeFormVariable("Show FPS",show_fps,"Enable or disable the On-screen FPS display");
form.makeFormVariable("Show FPS",show_fps,"Enable or disable the On-screen FPS display");
form.makeFormVariable("Scale",scale,"Scale the frame buffer to the window size")->set_callback([=](constbool&s){
form.makeFormVariable("Scale",scale,"Scale the frame buffer to the window size")->set_callback([=](constbool&s){