Jump to content

Cluster Clear Plugin


Recommended Posts

I made this plugin to get rid of random ink blots on scanned pages.

There are two modes, one builds clusters of pixels outside tolerance of the secondary color, the other builds clusters of pixels within tolerance of the primary color. If the cluster is within the size thresholds, it is painted over with the secondary color.

It's found under Effects/Noise

Download: 

ClusterClearEffect.zip

 

Example pics:

gOmMsXr.png

KyHYcx5.png

nM3YBhp.png

RbN2BRW.png

The source code is available here:

https://github.com/edwardx999/PaintDotNetClusterClear

This is my first plugin (my first C# project, in fact) so it's not very advanced yet.

If you have any suggestions please tell.

Also, I couldn't find the formula Paint.Net uses to calculate tolerance, so if you know it, please tell me.

 

7/16/17

Added Clustering Modes and Linked Sliders

 

7/15/17

Initial Release

 

Link to post
Share on other sites

Welcome to the forum, 2.7182818 etc.:)

 

Good idea for a plugin, thanks for sharing.

Suggestions:
State that it is found under Effects/Object (though it works on opaque Secondary color backgrounds).
You could link the max and min sliders tooexample code

 

Red ochre Plugin pack............................................................... Diabolical Drawings

 

PdnForumSig2.jpg

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...