Last change
on this file since 37 was
37,
checked in by (none), 14 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
337 bytes
|
Rev | Line | |
---|
[37] | 1 | function pd = vgg_decondition_2d(p,C);
|
---|
| 2 | % function pd = vgg_decondition_2d(p,C);
|
---|
| 3 | %
|
---|
| 4 | % Decondition a set of 2D homogeneous or nonhomogeneous points using (original) conditioner C
|
---|
| 5 |
|
---|
| 6 | [r,c] = size(p);
|
---|
| 7 | if r == 2
|
---|
| 8 | pd = vgg_get_nonhomg(inv(C) * vgg_get_homg(p));
|
---|
| 9 | elseif r == 3
|
---|
| 10 | pd = inv(C) * p;
|
---|
| 11 | else
|
---|
| 12 | error ('rows != 2 or 3');
|
---|
| 13 | end
|
---|
Note: See
TracBrowser
for help on using the repository browser.