a little example code for ncurses
saving and loading depth_image_threshold_