highsmallxu/aforge

BlobCounter - support for simpliest image mode: bit format

Closed this issue · 6 comments

I suppose in this case the routine will be easier to implement as the image 
will have only black or white pixels (as shown in Photoshop CS6 - first image 
mode from all available). It would be great to have it for compatibility 
purposes.

I intend to use this library in my work project so it would be nice to have 
such feature.

Original issue reported on code.google.com by panthern...@gmail.com on 20 Nov 2013 at 6:56

Do you mean to support 1 bpp images?

Original comment by andrew.k...@gmail.com on 20 Nov 2013 at 8:17

Yes :)

Original comment by panthern...@gmail.com on 20 Nov 2013 at 9:36

What is the aim? Are you doing some image processing or some computer vision in 
real time? Hardly see benefit of 1bpp images in computer vision.

Original comment by andrew.k...@gmail.com on 20 Nov 2013 at 9:40

I'm working on the task of visual tags identification inside documents 
represented as scanned image files. Tags are black squares. By default i 
receive documents in 1bpp format. Honestly i don't know yet is it possible to 
convert bitness on-the-fly but i suppose that this is preformance and memory 
costly and in my solution  performance matters much.

If you can suggest smth that can help i'll be glad.

Original comment by panthern...@gmail.com on 20 Nov 2013 at 9:57

I would just convert 1bpp image to 8bpp.

Original comment by andrew.k...@gmail.com on 20 Nov 2013 at 9:58

Original comment by andrew.k...@gmail.com on 10 Dec 2013 at 12:07

  • Changed state: Rejected