[Haskell-cafe] bitmap examples
C K Kashyap
ckkashyap at gmail.com
Wed Aug 25 01:37:54 EDT 2010
I am looking for an example of dealing with a 2dim mem region with O1
access time in pure haskell (pure as in whatever comes with haskell
On Tue, Aug 24, 2010 at 11:59 PM, Anthony Cowley <acowley at seas.upenn.edu> wrote:
> On Tue, Aug 24, 2010 at 11:02 AM, Raluca-Elena Podiuc
> <ralucaelena1985 at gmail.com> wrote:
>> I am trying to build a mini framework for image processing but I can find
>> any examples about that (bitmap processing ). Does anybody know were can I
>> find some tutorials or samples about that ?
> Noam Lewis's HOpenCV package on hackage
> <http://hackage.haskell.org/package/HOpenCV> is a great way to get
> started using OpenCV for image processing.
> My own fork of this project <http://github.com/acowley/HOpenCV> adds
> static checking of color and pixel depth, more OpenCV functionality,
> and interoperation with Data.Vector.Storable. However, it should
> definitely be classified as experimental as I'm still exploring how I
> want things to work. I am using it for real-time video processing in
> an active research project, though, so it is getting regularly
> exercised. An example program included in the repository is,
>> import AI.CV.OpenCV.HighCV
>> main = toFile "closed.png" . erode 8 . dilate 8 =<< fromFileGray "input.png"
> I've made some effort to provide reasonable haddock documentation, so
> I recommend building that (cabal haddock) and consulting it to find
> your way around.
> As I mentioned, it is all still very rough, but feel free to give it a
> try if it seems to do what you need. If you're looking to start your
> own effort from scratch, I think Data.Vector.Storable is nice way to
> mix Haskell and C.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe