Skip to content

Commit 235e251

Browse files
add description to vffd
1 parent 70e9299 commit 235e251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygem/vffd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ def adjust_control_points(self, src_pts):
9191
self.mask[:, :, :, i] = mask_bak[:, :, :, i].copy()
9292
self.weight_matrix = np.eye(np.sum(self.mask.astype(int)))
9393
self.fixval = self.fun(
94-
self.ffd(src_pts)) + self.vweight[i] * (diffvolume)
94+
self.ffd(src_pts)) + self.vweight[i] * (diffvolume) #in this way the constraint is enforced in three steps (one per every dim)
9595
super().adjust_control_points(src_pts)

0 commit comments

Comments
 (0)