GenerateROIStatistics finished. Still need UnitTests.