Currently the DNNROI does data-preprocessing, inference and post processing. Inference is done via TorchService.
Refactor DNNROI such that DNNROI is agnostic to the data model. Pre-processing steps like downsampling and post-processing steps like upsampling should be done by a separate interface.
Look at issue #22 for the design discussion of these interfaces.
Look at issue #19 for the Data model standardization.