Search
Find your data in the assignment '00data: Your data' in the submission system; the image daliborka_01.jpg, coordinates of 3D points x and their projections u, and point index vector ix. The data can be loaded e.g.
daliborka_01.jpg
x
u
ix
load( 'daliborka_01-ux.mat' ); % loads all variables from the file into the workspace img = imread( 'daliborka_01.jpg' );
image( img ); hold on; % without this, the next drawing command would clear the figure plot( u(1,:), u(2,:), '.' ); hold off axis equal
subfig
plot3( x(1,:), x(2,:), x(3,:) ) axis equal
Q
[Q points_sel err_max err_points Q_all] = estimate_Q( u, x, ix )
points_sel
err_max
err_points
Q_all
log10()
02_Q_maxerr.pdf
fig2pdf.m
'b.
'y.
'ro
02_Q_projections.pdf
02_Q_projections_errors.pdf
02_Q_pointerr.pdf
(Note: do not forget to create figure titles and describe axes where appropriate.)
Upload an archive containing the following files:
estimate_Q.m
hw02.m
Note: The required files must be in the root directory of the archive.