ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Removing Isolated Pixels
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Eric24

USA
23 Posts

Posted - Feb 09 2013 :  21:38:08  Show Profile  Reply
Using the RemoveIsolatedPixels function will (in my application) often remove "too many" pixels. It's only setting is how many adjoining pixels to remove. In my case, that value is 1, but I need to only remove that 1 pixel if there are no other pixels around the target pixel within a settable "buffer zone" (for example, if the isolated pixel has no other pixels within n pixels from it in any direction). Is this possible today?

If not, I'd like to put in a vote for this in a future release.

fab

1310 Posts

Posted - Feb 11 2013 :  00:28:29  Show Profile  Reply
At the moment it is not possible. However there is another method that could be useful: RemoveNoise. Have you tried it?
Using RemoveNoise you can specify number of iterations.
Go to Top of Page

Eric24

USA
23 Posts

Posted - Feb 11 2013 :  06:32:12  Show Profile  Reply
I'm familiar with RemoveNoise, but I don't think it helps the situation (in fact, it might make it worse); based on my experiments, increasing the number of iterations causes it to remove even more pixels. I'm trying to do almost the opposite--only remove "truly isolated pixels", like one black pixel with no other black pixels within 3 to 5 pixels in any direction.

Is this something you could see doing at some point, maybe with an extra optional parameter to RemoveIsolatedPixels?
Go to Top of Page

fab

1310 Posts

Posted - Feb 12 2013 :  10:20:38  Show Profile  Reply
Please post a sample image and what you need to remove, just to perform some tests.
Go to Top of Page

Eric24

USA
23 Posts

Posted - Feb 12 2013 :  14:04:59  Show Profile  Reply
Can I send you a sample document privately?
Go to Top of Page

w2m

USA
1990 Posts

Posted - Feb 12 2013 :  14:13:48  Show Profile  Reply
Send image to support@hicomponents.com

William Miller
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: