Value Substitution

Description

The function looks for a specific value in the provided second dataset (e.g. a mask image) and substitutes it with a given value.