Currently mitkPixelBasedParameterFitImageGenerator.cpp uses a helper function StoreResultImages. This function could be also used to simplify the code of mitkROIBasedParameterFitImageGenerator.
Thus move the function to mitkParameterFitImageGeneratorBase and use it in both sub classes.