PoissonRecon: Can't understand the function : NonLinearUpdateWeightContribution
I saw some poly functions in “NonLinearUpdateWeightContribution”
int i, j, k;
TreeOctNode::Neighbors& neighbors = neighborKey.setNeighbors(node);
double x, dxdy, dx[DIMENSION][3];
double width;
Point3D<Real> center;
Real w;
node->centerAndWidth(center, w);
width = w;
for (i = 0; i < DIMENSION; i++)
{
x = (center.coords[i] - position.coords[i] - width) / width;
dx[i][0] = 1.125 + 1.500 * x + 0.500 * x * x;
x = (center.coords[i] - position.coords[i]) / width;
dx[i][1] = 0.750 - x * x;
dx[i][2] = 1.0 - dx[i][1] - dx[i][0];
}
and I don`t know what does x ,dxdy anddx mean , can you explain thanks
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (9 by maintainers)
“splat” refers to the process of distributing the value(s) of a sample to discrete nodes. For example, using first-order B-splines, if the sample falls within a cell, you could distribute the value to the four corners of the cells using weights (that sum to one) defined through bilinear interpolation.