.. _FloodFill: How to fill an image ********************** Goal ===== In this tutorial you will learn how to: * Use the :flood_fill:`FloodFill <>` OpenCV function Cool Theory ============ .. note:: The explanation below belongs to the book **Learning OpenCV** by Bradski and Kaehler. Code ====== This tutorial code's is shown lines below. You can also download it from `here `_ .. code-block:: cpp Explanation ============= Results ========