LumiGuide / haskell-opencv

Haskell binding to OpenCV-3.x
Other
154 stars 44 forks source link

Add function for mapping over matrices #31

Open timjb opened 8 years ago

timjb commented 8 years ago

This would be useful for writing an example for watershed. (The values of the markers matrix in watershed are not colors, they are just integers representing regions in an image. To visualize th regions, we must map these integers to colors first.)

timjb commented 8 years ago

This is also needed for calling the grabCut function: it expects a mask matrix whose values have special meaning.