Update mainwindow.cpp

Added functions for camera parameters.