sjlim70 / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

BlobCounter - support for simpliest image mode: bit format #371

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Do you mean to support 1 bpp images?

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

GoogleCodeExporter commented 8 years ago
Yes :)

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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
I would just convert 1bpp image to 8bpp.

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

GoogleCodeExporter commented 8 years ago

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