Internal change
PiperOrigin-RevId: 485396135
This commit is contained in:
parent
6e0397b226
commit
700971de70
|
@ -1323,10 +1323,9 @@ void MotionBox::GetSpatialGaussWeights(const MotionBoxState& box_state,
|
|||
const float space_sigma_x = std::max(
|
||||
options_.spatial_sigma(), box_state.inlier_width() * inv_box_domain.x() *
|
||||
0.5f * box_state.prior_weight() / 1.65f);
|
||||
const float space_sigma_y = options_.spatial_sigma();
|
||||
std::max(options_.spatial_sigma(), box_state.inlier_height() *
|
||||
inv_box_domain.y() * 0.5f *
|
||||
box_state.prior_weight() / 1.65f);
|
||||
const float space_sigma_y = std::max(
|
||||
options_.spatial_sigma(), box_state.inlier_height() * inv_box_domain.y() *
|
||||
0.5f * box_state.prior_weight() / 1.65f);
|
||||
|
||||
*spatial_gauss_x = -0.5f / (space_sigma_x * space_sigma_x);
|
||||
*spatial_gauss_y = -0.5f / (space_sigma_y * space_sigma_y);
|
||||
|
|
Loading…
Reference in New Issue
Block a user