What Haskell representation is recommended for 2D, unboxed pixel arrays with millions of pixels?

前端 未结 4 1752
时光取名叫无心
时光取名叫无心 2020-12-12 09:27

I want to tackle some image-processing problems in Haskell. I\'m working with both bitonal (bitmap) and color images with millions of pixels. I have a number of questions:

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-12 10:05

    Although, this doesn't exactly answer your question and isn't really even haskell as such, I would recommend taking a look at CV or CV-combinators libraries at hackage. They bind the many rather useful image processing and vision operators from the opencv-library and make working with machine vision problems much faster.

    It would be rather great if someone figures out how repa or some such array library could be directly used with opencv.

提交回复
热议问题