[gimp-help-2] Add Antialias (Enhance) filter
- From: Ulf-D. Ehlert <ulfehlert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-help-2] Add Antialias (Enhance) filter
- Date: Tue, 22 Jun 2010 18:51:31 +0000 (UTC)
commit c01a498feaa3546fbb4a7253910ea7c8f75594ee
Author: Ulf-D. Ehlert <ulfehlert svn gnome org>
Date: Tue Jun 22 19:14:02 2010 +0200
Add Antialias (Enhance) filter
images/C/filters/enhance/antialias-applied.png | Bin 0 -> 918 bytes
images/C/filters/enhance/antialias-orig.png | Bin 0 -> 808 bytes
src/appendix/bibliography.xml | 18 ++++
src/filters/enhance.xml | 1 +
src/filters/enhance/antialias.xml | 107 ++++++++++++++++++++++++
5 files changed, 126 insertions(+), 0 deletions(-)
---
diff --git a/images/C/filters/enhance/antialias-applied.png b/images/C/filters/enhance/antialias-applied.png
new file mode 100644
index 0000000..a6c8d55
Binary files /dev/null and b/images/C/filters/enhance/antialias-applied.png differ
diff --git a/images/C/filters/enhance/antialias-orig.png b/images/C/filters/enhance/antialias-orig.png
new file mode 100644
index 0000000..88751e8
Binary files /dev/null and b/images/C/filters/enhance/antialias-orig.png differ
diff --git a/src/appendix/bibliography.xml b/src/appendix/bibliography.xml
index 29502da..0bb0c9b 100644
--- a/src/appendix/bibliography.xml
+++ b/src/appendix/bibliography.xml
@@ -85,6 +85,15 @@
</ulink>
</releaseinfo>
</biblioentry>
+ <biblioentry id="bibliography-online-advancemame">
+ <abbrev>AdvanceMAME</abbrev>
+ <title>AdvanceMAME project</title>
+ <releaseinfo>
+ <ulink url="http://advancemame.sourceforge.net/">
+ http://advancemame.sourceforge.net/
+ </ulink>
+ </releaseinfo>
+ </biblioentry>
<biblioentry id="bibliography-online-apod">
<abbrev>APOD</abbrev>
<title>Astronomy Picture of the Day</title>
@@ -594,6 +603,15 @@
<ulink url="http://www.python.org">http://www.python.org</ulink>
</releaseinfo>
</biblioentry>
+ <biblioentry id="bibliography-online-scale2x">
+ <abbrev>SCALE2X</abbrev>
+ <title>Scale2x</title>
+ <releaseinfo>
+ <ulink url="http://scale2x.sourceforge.net/">
+ http://scale2x.sourceforge.net/
+ </ulink>
+ </releaseinfo>
+ </biblioentry>
<biblioentry id="bibliography-online-scribus">
<abbrev>SCRIBUS</abbrev>
<title>Scribus :: Open Source Desktop Publishing</title>
diff --git a/src/filters/enhance.xml b/src/filters/enhance.xml
index 80ddad9..c26e560 100644
--- a/src/filters/enhance.xml
+++ b/src/filters/enhance.xml
@@ -6,6 +6,7 @@
<title>Enhance Filters</title>
<xi:include href="enhance/introduction.xml"/>
+ <xi:include href="enhance/antialias.xml"/>
<xi:include href="enhance/deinterlace.xml"/>
<xi:include href="enhance/despeckle.xml"/>
<xi:include href="enhance/destripe.xml"/>
diff --git a/src/filters/enhance/antialias.xml b/src/filters/enhance/antialias.xml
new file mode 100644
index 0000000..5ea7bf8
--- /dev/null
+++ b/src/filters/enhance/antialias.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.docbook.org/xml/4.3/docbookx.dtd">
+
+<sect2 id="plug-in-antialias">
+ <title>Antialias</title>
+
+ <indexterm>
+ <primary>Filters</primary>
+ <secondary>Enhance</secondary>
+ <tertiary>Antialias</tertiary>
+ </indexterm>
+ <indexterm>
+ <primary>Antialias</primary>
+ </indexterm>
+
+ <sect3>
+ <title>Overview</title>
+ <para>
+ This filter reduces alias effects
+ (see <link linkend="glossary-antialiasing">Antialiasing</link>)
+ using the Scale3X edge-extrapolation algorithm.
+ </para>
+ <para>
+ Scale3X is derived from Scale2X, which is a graphics effect to increase
+ the size of small bitmaps guessing the missing pixels without
+ interpolating pixels and blurring the images.<footnote><para>
+ <xref linkend="bibliography-online-scale2x"/>.
+ </para></footnote>
+ Scale2X was originally developed to improve the quality of old Arcade
+ and PC games with a low video resolution played with video hardware like
+ TVs, Arcade monitors, PC monitors and LCD screens.<footnote><para>
+ <xref linkend="bibliography-online-advancemame"/>.
+ </para></footnote>
+ </para>
+ <!--
+ XXX: merge the following snippets if the <procedure> makes translating
+ too hard.
+ -->
+ <para>
+ The Antialias filter works as follows:
+ </para>
+ <procedure>
+ <para>For every pixel,</para>
+ <step>
+ <para>
+ the filter expands the original pixel in 9 (3x3) new pixels
+ according to the Scale3X algorithm, using the colors of the pixel
+ and its 8 adjacent pixels (extrapolation);
+ </para>
+ </step>
+ <step>
+ <para>
+ then the filter subsamples the new pixels to a weighted average
+ pixel.
+ </para>
+ </step>
+ </procedure>
+<!--
+ <para>
+ The Antialias filter works as follows: for every pixel, the filter
+ expands the original pixel in 9 (3x3) new pixels according to the
+ Scale3X algorithm, using the colors of the pixel and its 8 adjacent
+ pixels (extrapolation); then it subsamples the new pixels to a weighted
+ average pixel.
+ </para>
+-->
+ </sect3>
+
+ <sect3>
+ <title>Activating the filter</title>
+ <para>
+ You can find this filter through
+ <menuchoice>
+ <guimenu>Filters</guimenu>
+ <guisubmenu>Enhance</guisubmenu>
+ <guimenuitem>Antialias</guimenuitem>
+ </menuchoice>.
+ </para>
+ </sect3>
+
+ <sect3>
+ <title>Examples</title>
+ <para>
+ The following examples illustrate the effect on some patterns. The
+ small squares are one pixel in size (zoom 16:1).
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata format="PNG"
+ fileref="images/filters/enhance/antialias-orig.png"/>
+ </imageobject>
+ <caption>
+ <para>Original image (zoom 16:1)</para>
+ </caption>
+ </mediaobject>
+ <mediaobject>
+ <imageobject>
+ <imagedata format="PNG"
+ fileref="images/filters/enhance/antialias-applied.png"/>
+ </imageobject>
+ <caption>
+ <para><quote>Antialias</quote> applied (zoom 16:1)</para>
+ </caption>
+ </mediaobject>
+ </sect3>
+</sect2>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]