removed unused constructor
added tests for  ReplaceValueOpImage and FillConstantOpImage
reduced memory consumption when possible
considered integer data
(cherry picked from commit f718771)