Flow: add calls to create pyramids conditionally for cv >2.4.1
Merge pull request #65 from arturoc/bugfix-flowcvversion

Flow: add calls to create pyramids conditionally for cv >2.4.1