This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, April 21, 2008 6:54:15 AM(UTC)
Groups: Registered
Posts: 37
Hi,
we would like to recognize filled colour circles of a certain size on our documents. I know it is kinda possible to detect "circles" aka holes using the L_HolePunchRemoveBitmap function. This works however only on black and white images.
Does the leadtools kit provide any more general function to achieve this? But not too general like L_CorrelationBitmap ? :)
regards
#2
Posted
:
Monday, April 21, 2008 8:47:45 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
I'm sorry, but L_CorrelationBitmap is the best function we have to accomplish the goal you have described.
The only workaround I can think of is to use some kind of function like L_IntensityDetectBitmap and then L_ColorResBitmap to convert your image (or a copy of it) to 1bpp, then use the L_HolePunchRemoveBitmap on it. You can choose to leave the image unchanged and then only return the region of where it was planning on filling with white, then apply that region to your original color image. If you've set your intensity detect parameters correctly, and your colored circles aren't too different from their background, this may work.
#3
Posted
:
Wednesday, April 23, 2008 5:50:52 AM(UTC)
Groups: Registered
Posts: 37
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.