Home > toolbox > test > generate_scene_and_motion.m

generate_scene_and_motion

PURPOSE ^

GENERATE_SCENE_AND_MOTION generates a synthetic scene and camera motion.

SYNOPSIS ^

function [K T w X x vis] = generate_scene_and_motion( m, min_n, max_n, depth )

DESCRIPTION ^

 GENERATE_SCENE_AND_MOTION generates a synthetic scene and camera motion.

 Input:
       m - number of frames
       min_n - minimum number of features to track in a frame
       max_n - maximum number of features to track in a frame
       depth - mean depth of points to generate at a certain frame

 Output:
       K - camera calibration parameters (4xm)
       T - camera translation            (3xm)
       w - camera rotation               (3xm)
       X - 3d location of points         (4xn)
       x - image points                  (3xnxm)
       vis - visibility map              (nxm)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 24-Nov-2009 02:34:47 by m2html © 2003