Last change
on this file since 177 was
37,
checked in by (none), 15 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
322 bytes
|
Line | |
---|
1 | function x = vgg_get_homg(x)
|
---|
2 | % h = vgg_get_homg(p)
|
---|
3 | %
|
---|
4 | % Convert a set of non-homogeneous points into homogeneous points
|
---|
5 | % Points are stored as column vectors, stacked horizontally, e.g.
|
---|
6 | % [x0 x1 x2 x3 ... xn ;
|
---|
7 | % y0 y1 y2 y3 ... yn]
|
---|
8 |
|
---|
9 | % Modified by TW
|
---|
10 |
|
---|
11 | if isempty(x)
|
---|
12 | return
|
---|
13 | end
|
---|
14 |
|
---|
15 | x(end+1,:) = 1;
|
---|
16 |
|
---|
17 | return
|
---|
Note: See
TracBrowser
for help on using the repository browser.