Last change
on this file since 402 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
274 bytes
|
Rev | Line | |
---|
[2] | 1 | function U = xyhomproj (T)
|
---|
| 2 | % given a 4xn matrix T result of a perspective 3D projection
|
---|
| 3 | % determine 2xn matrix U by diving first 2 rows of T by 4th row
|
---|
| 4 | % thus normalizing the homogenerous coordinate to 1
|
---|
| 5 | U(1,:)=T(1,:) ./ T(4,:);
|
---|
| 6 | U(2,:)=T(2,:) ./ T(4,:);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.