On Sep 30, 2009, at 6:43 AM, Chris Colbert wrote:
Lets say I have function that applies a homogeneous transformation
matrix to an Nx3 array of points using np.dot.
since the matrix is 4x4 I have to add a 4 column of ones to the array
so the function looks something like this:
def foo():
<
Lets say I have function that applies a homogeneous transformation
matrix to an Nx3 array of points using np.dot.
since the matrix is 4x4 I have to add a 4 column of ones to the array
so the function looks something like this:
def foo():
<--snip-->
pts = np.column_stack((Xquad, Yquad, Z