Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

3.9.  Border Average

Revision History
Revision $Revision: 1.17 $ 2006-11-01 j.h

3.9.1.  Overview

You can find this filter through Filters->Colors->Border Average.

This plug-in calculates the most often used color in a specified border of the the active layer or selection, allowing a specified range to not be exact. The calculated color becomes the foreground color in the Toolbox. This filter is interesting when you have to find a Web page color background that differs as little as possible from your image border. The action of this filter is not registered in Undo History and can't be deleted with Ctrl+Z.

3.9.2.  Options

Figure 11.34.  Options of the “Border Average Filter

Options of the Border Average Filter
Border Size

You can set there the border Thickness in pixels.

Number of Colors

You can set there the Bucket Size, i.e a number of color levels added to, or subtracted from, every RGB channel (1 - 256), making the calculated color tending to gray.

Examples illustrating the “Border Average” border:

Figure 11.35.  Original image

Original image

Original image: colors are pure Red (255;0;0), pure Green (0;255;0) and pure Blue (0;0;255).

Figure 11.36.  Number of Colors” is set to 4:

Number of Colors is set to 4:

The green color has been choosed by the filter because it is the most frequent on the image border. The Number of Colors set to 4 has subtracted 4 levels from the Green Channel and distributed to the other both channels. The resulting color became the foreground color of the Toolbox.

Figure 11.37.  Number of Colors” is set to 128:

Number of Colors is set to 128:

Result on the Foreground color of the Toolbox and values of this color.


 
 
  Published under the terms of the GNU General Public License Design by Interspire