[Solved] Region Growing - CodeProject
www.codeproject.com › questions › 139100Jan 13, 2011 · Solution 1. Accept Solution Reject Solution. Hi, I think your code is not far from being correct, I made a few changes and it works fine ;) A few remarks: - minq and maxq are hardcoded, maybe they should be calculated values. - when you increment your variable p you add an offset of 3 on each line, resulting in the wrong areas being marked.