http://blog.csdn.net/orbit/article/category/830251/2

http://blog.csdn.net/tracing/article/details/1588869

http://blog.sina.com.cn/s/blog_7eb23c0701013yjg.html

队列实现四邻域种子填充也快的,替代递归,基于扫描线的话,节省内存的开销,减少点的访问次数,opencv中cvFloodFill就用扫描线填充法。