calibrate - '); CAMERA_VIEW_WIDTH_M = input('\nHow wide is...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function calibrate() % CALIBRATE % ********* % This function asks the user for and stores the height and width of the % camera's view, in centimeters, so that examine.m can output data in % real-world units. % clc c % Print a banner. banner = sprintf('\nMEAM 147: Introduction to Mechanics Lab\nUniversity of Pennsylvania\nProfessor K. J. Kuchenbecker\n\n'); disp(banner); clear banner; d CAMERA_VIEW_HEIGHT_M = input('How tall is the camera''s view, in meters?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: '); CAMERA_VIEW_WIDTH_M = input('\nHow wide is the camera''s view, in meters? '); CAMERA_FRAME_RATE_FPS = input('\nAt what speed is the camera capturing video, in frames per second? '); disp(sprintf('\nThese camera calibration parameters will be saved until\nyou next run the calibrate command.\n')) r save camera_calibration.mat CAMERA_VIEW_HEIGHT_M CAMERA_VIEW_WIDTH_M CAMERA_FRAME_RATE_FPS;...
View Full Document

Ask a homework question - tutors are online