ito::dataObjectFuncs::medianValue changes original matrix values

Issue #86 resolved
M. Gronle created an issue

This issue was moved from https://bitbucket.org/itom/plugins/issues/6/filter-medianvalue-changed-the-input-image:

If a continuous dataObject is passed as argument to ito::dataObjectFuncs::medianValue, the original values of the given input object are used as temporary buffer and are therefore changed after the call.

Comments (1)

  1. M. Gronle reporter

    Fix in ito::dObjHelper::medianValue and ito::dObjHelper::medianValueFunc: always creates a temporary data copy of the input data, which is used for sorting the values. fixes issue 86.

    → <<cset 63b9655e2750>>

  2. Log in to comment