http://opencv-java-tutorials.readthedocs.io/en/latest/_images/07-02.png