aleator / CV

Haskell wrappers and utilities for OpenCV machine vision library
http://hackage.haskell.org/package/CV
BSD 3-Clause "New" or "Revised" License
51 stars 13 forks source link

CV.Drawing.floodfill does not return the floodfilled area #43

Open mavavilj opened 11 years ago

mavavilj commented 11 years ago

Using the OpenCV Python API I was able to get the floodfilled area as the return value of floodfill (http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html#floodfill) This is not the case with the Haskell CV bindings.

What would be an equivalent solution in CV for finding/extracting an area (precisely, its bounding rectangle) found by floodfilling?