• David Gobbi's avatar
    If a SetInterpolator() is used, then clamp the results. · a4d1bea8
    David Gobbi authored
    This fixes a numerical overflow issue.  The code skips the clamping step
    for linear and NN interpolation for better performance, but for high-order
    interpolation, it needs to clamp the result to the range of the output
    scalar type.  A bug caused it to incorrectly skip the clamping if a high
    order interpolator was set with SetInterpolator(), but only for the
    "PermuteExecute" code path that is used for rotations that are precise
    multiples of 90 degrees.
    a4d1bea8
Name
Last commit
Last update
..
Color Loading commit data...
Core Loading commit data...
Fourier Loading commit data...
General Loading commit data...
Hybrid Loading commit data...
Math Loading commit data...
Morphological Loading commit data...
Sources Loading commit data...
Statistics Loading commit data...
Stencil Loading commit data...