archip

Stray pixel remover

14 posts in this topic

UPDATED 08-06-13 : Now effect is applied only to the selection. The plugin is now in the Object Menu.

 

 

This plugin delete small island of pixel
 

 

When I use the magic wand, some pixels aren't deleted. The plugin delete them if they are surrounded by transparent pixel. : sMSe2t0.png

 

 

It has two parameters :

- radius threshold : Delete island up to this size.

- alpha threshold : A pixel will be considered transparent up to this value. 


 

Original PDN 3.5.11 version: StrayPixelRemover.zip

 

@toe_head2001 has recompiled this plugin to make it compatible with PDN 4.0+. Use this version in prefrence to the one above: StrayPixelRemoverPDN4.zip

2

Share this post


Link to post
Share on other sites

I would like to try this out, but for some reason my browser (both IE10 & Chrome) and my Avast internet security won't permit me to download the file ?

0

Share this post


Link to post
Share on other sites

PS: I can't upload DLL files so you have to rename the "StrayPixelRemover.txt" to "StrayPixelRemover.dll".

Zip them. A lot more people understand ZIP files than changing extensions, especially since Windows hides extensions by default.
1

Share this post


Link to post
Share on other sites

This is looking interesting. Do you need to make a - selection - surrounding the stray pixel(s) or will this auto remove them for you?

0

Share this post


Link to post
Share on other sites

It will auto remove if it finds a pixel to be surrounded by transparent pixels.  Making a selection will constrain the effect within the selection bounds.

 

@archip:  I'm going to take issue with the menu placement.  Misc?  To me, that's less than helpful.  Why not place it in the Object menu?  (as this operates on tiny pixel objects).

0

Share this post


Link to post
Share on other sites

It will auto remove if it finds a pixel to be surrounded by transparent pixels.  Making a selection will constrain the effect within the selection bounds.

Thank you EER. 

0

Share this post


Link to post
Share on other sites

For now, the effect is applied to the entire image, I'll change this when I find how. I'll also change the menu placement.

 

If you have suggestion post them and I'll see what I can do.

0

Share this post


Link to post
Share on other sites

Is there any way to target pixels that are surrounded on three sides by transparency? To clear up little outcroppings and such.

0

Share this post


Link to post
Share on other sites

I have tried installing this on Windows 10 and Windows 7 and in both in crashes paint.

0

Share this post


Link to post
Share on other sites
19 hours ago, Allan said:

I have tried installing this on Windows 10 and Windows 7 and in both in crashes paint.

 

I've updated the effect using the original source code provided by @archip in the first post.

 

Fixes:

- No longer crashes

- Faster and more efficient

- Works properly on non-rectangular selections

 

StrayPixelRemover.zip

5

Share this post


Link to post
Share on other sites

I came back to this thread to confirm the crash and probable incompatibility with PDN 4.

Thank you toe_head. You fixed it in the time it took me to test it!

0

Share this post


Link to post
Share on other sites

Thanks for the update toe_head. I've added your zip file to the first post.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now