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.
Cluster Clear Plugin
in Plugins - Publishing ONLY!
Posted · Edited by The Number e
Plugin Update
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:
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