Generalization of HounsfieldToGrayscale functor into RescalingFunctor and consequences with DicomReader