Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, January 13, 2010 5:26:56 AM(UTC)
tteveris

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

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, January 14, 2010 12:47:47 AM(UTC)

Adam Boulad  
Guest

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)
tteveris

Groups: Registered
Posts: 32


Thanks, not sure why I did not think of that.
 
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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.080 seconds.