Fixed the input range for the mask noise filter
The input data is not passed correctly as output