Skip to content

Commit cc6ec0a

Browse files
committed
construct_DLT use dummy/clump not dupN/splitdim/clump
1 parent 1f21e4c commit cc6ec0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/PDL/Transform.pd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3997,7 +3997,7 @@ sub construct_DLT {
39973997
# Mapping: xp_last * (P_j * x) - xp_j * (P_last * x) = 0
39983998
# Fill coefficients for the j-th row of P
39993999
my $mult = $pts_dst_h->slice(-1) * $pts_src_h;
4000-
block_rotate($A, $src_dim) .= dupN($mult, $dst_dim-1)->splitdim(0,$src_dim)->clump(1,2);
4000+
block_rotate($A, $src_dim) .= $mult->dummy(1,$dst_dim-1)->clump(1,2);
40014001
# Fill coefficients for the last row of P
40024002
$A = $A->append(-outer($pts_src_h, $pts_dst_h->slice(":-2"))->clump(1,2));
40034003
($A, $T_src, $T_dst);

0 commit comments

Comments
 (0)