Skip to content

Commit

Permalink
BUG: Double scaling introduced in refactoring
Browse files Browse the repository at this point in the history
The moving marginal pdf was double scaled by the normalization factor.

During the previous refactorings the scaling was decoupled from
the computations for the fixed and marginal computations, but
was not removed from the subsequent marginal computation.

Printf trace dumps of every variable value before and after
April 10, 2020 changes.
  • Loading branch information
hjmjohnson authored and thewtex committed May 6, 2020
1 parent e747b0a commit 355c6cb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ MattesMutualInformationImageToImageMetricv4<TFixedImage,
{
currMarginalBin += *colptr;
}
currMarginalBin *= normalizationFactor;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c40bf186ebd70003837afc65d999f8f1
1fa40e8d13e22f06fefb518a9115acbd

This file was deleted.

0 comments on commit 355c6cb

Please sign in to comment.