<https://forums.getpaint.net/topic/31843-hsv-eraser/>
<http://schema.org/text>
"This is a plugin intended to help remove the backgrounds from images. I wasn't sure where to put it, but decided to make it an Adjustment.\n \n\n\n\t \n \n\n\n\tThe controls are:\n \n\n\n\t \n \n\n\n\tMatch Color is normally the color to be erased, but it can optionally be the color to keep. It can be either the User Match Color, or the Primary or Secondary Color.\n \n\n\n\tUser Match Color is the Match Color when User Match Color is specified.\n \n\n\n\tHue Tolerance determines how closely the pixel's hue must match the Match Color's hue.\n \n\n\n\tSaturation Tolerance determines how closely the pixel's saturation must match the Match Color's saturation.\n \n\n\n\tValue Tolerance determines how closely the pixel's value must match the Match Color's value.\n \n\n\n\tRGB Tolerance specifies the maximum allowed Euclidean distance between the pixel's RGB color and the Match Color's RGB color.\n \n\n\n\tGray Upper Limit (S×V) specifies the threshold for product of the saturation and value below which the Match Color or pixel's color will be classified as gray. Gray does not match any hue except gray, unless the Gray Matches All Hues option is selected.\n \n\n\n\tPortion of Non-Erased Color to Preserve determines how much of the \"non-erased\" color should remain in the pixel. The color and alpha of the pixel are adjusted to account for the degree to which the pixel color matches the Match Color. Specifically (assuming the Match Color is being erased), the color is adjusted so that the alpha is as small as possible while keeping the same color if the pixel is alpha-blended into a Match Color background layer. This can be used to achieve a softer edge. Though its not really intended to be used when the Erase Non-Matching Pixels option is selected, it does work. The erased pixels will all be the Match Color, with appropriate alphas. The value can range from 0, to entirely erase the matching pixel, to 1, to preserve as much of the pixel's color as possible. Normally, it will probably be either 0 or 1.\n \n\n\n\tGray Matches All Hues specifies that colors classified as gray match all hues.\n \n\n\n\tErase Non-Matching Pixels specifies that matching pixels are kept and non-matching pixels are erased.\n \n\n\n\t \n \n\n\n\tHere is the source:\n \n\n\n\t\n\n\t\n\t\t\n\t\t\t \n\t\t\n\t\n\n\n\n\t \n \n\n\n\tHere is the icon: \n \n\n\n\t \n \n\n\n\tHere is the plugin: HsvEraser.zip\n \n\n\n\t \n \n\n\n\tI will happily consider any suggestions to make the interface clearer. I will also appreciate any spelling corrections.\n \n\n\n\t \n \n\n\n\tEDIT: Fixed several bugs. Changed some of the wording in the interface. Added the RGB Tolerance.  Changed the version to 1.1.\n "
<https://forums.getpaint.net/topic/31843-hsv-eraser/?tab=comments#comment-426908>