Please try to replace these 14 lines to
```
Mat source;
```
+ in the `for` loop
```
TEST_CYCLE()
{
  image0.convertTo(source, imdepth);
  startTimer();
  numpix = cv::floodFill(source, pseed, newval, &prect, loVal, upVal, flags);
}
```