LEADTOOLS Support
Imaging
Imaging SDK Questions
L_SetBitmapRgnMagicWand - Can I limit the area it searchs
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, January 13, 2010 5:26:56 AM(UTC)
Groups: Registered
Posts: 32
Can I limit the area that L_SetBitmapRgnMagicWand() searches ? I have a gray scale image and using L_SetBitmapRgnMagicWand() to find a certain area. I do not want to process the entire image.
Thanks in advance
Tony
#2
Posted
:
Thursday, January 14, 2010 12:47:47 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Tony,
You can use the L_SetBitmapRgnRect with the L_RGN_SET flag to create a rectangle region that will represent the 'allowed' area, then use the L_SetBitmapRgnMagicWand with L_RGN_AND. This will create a region of the mutual area of both regions.
#3
Posted
:
Friday, January 15, 2010 8:44:58 AM(UTC)
Groups: Registered
Posts: 32
Thanks, not sure why I did not think of that.
LEADTOOLS Support
Imaging
Imaging SDK Questions
L_SetBitmapRgnMagicWand - Can I limit the area it searchs
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.