Difference between revisions of "2xSaI"

From Sega Retro

(+img)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:2xsai.png|frame|right|Shot of a normal emulator (left) and a 2xSaI filter (right) shown in ''Sonic & Knuckles''' Mushroom Hill Zone.]]
+
{{RetroCDN}}
 +
 
 +
[[File:2xsai.png|thumb|right|Shot of a normal emulator (left) and a 2xSaI filter (right) shown in ''Sonic 2''<nowiki>'</nowiki>s Emerald Hill Zone.]]
 
'''2xSaI''' is a digital image processing algorithm for computer graphics. It doubles the images both horizontally and vertically, resulting in a new image with four times as many pixels as the original one. The additional pixels are generated by detecting patterns such as lines and edges and interpolating additional pixels on that basis using techniques such as anti-aliasing and Wu lines. For many types of computer graphics, this results in a sharper and clearer image than standard bilinear filtering.
 
'''2xSaI''' is a digital image processing algorithm for computer graphics. It doubles the images both horizontally and vertically, resulting in a new image with four times as many pixels as the original one. The additional pixels are generated by detecting patterns such as lines and edges and interpolating additional pixels on that basis using techniques such as anti-aliasing and Wu lines. For many types of computer graphics, this results in a sharper and clearer image than standard bilinear filtering.
  
The 2xSaI algorithm was inspired by the "Eagle" engine in the RetroFX library. It was designed by Derek Liauw Kie Fa, also known as Kreed, primarily for use in console and computer [[emulator]]s, and it has remained fairly popular in this niche. Many of the most popular emulators, including [[Gens]], [[VisualBoyAdvance]], and [[Kega Fusion]], offer this scaling algorithm as a feature.
+
The 2xSaI algorithm was inspired by the "Eagle" engine in the RetroFX library. It was designed by Derek Liauw Kie Fa, also known as Kreed, primarily for use in console and computer [[emulator]]s, and it has remained fairly popular in this niche. Many of the most popular emulators, including [[Gens]], [[Gens/GS]], [[VisualBoyAdvance]], and [[Kega Fusion]], offer this scaling algorithm as a feature.
  
 
Since Kreed released the source code under the GNU General Public License, it is freely available to anyone wishing to utilize it in an open source project. Developers wishing to use it in a non-open source project would be required to rewrite the algorithm without using any of Kreed's existing code.
 
Since Kreed released the source code under the GNU General Public License, it is freely available to anyone wishing to utilize it in an open source project. Developers wishing to use it in a non-open source project would be required to rewrite the algorithm without using any of Kreed's existing code.
Line 9: Line 11:
  
 
==External links==
 
==External links==
*[http://elektron.its.tudelft.nl/~dalikifa/ Kreed's 2xSaI homepage]
+
*[http://web.archive.org/web/20070307160526/http://elektron.its.tudelft.nl/~dalikifa/ Kreed's 2xSaI homepage] (archived: 2007-03-07 16:05)
*[http://bob.allegronetwork.com/projects.html Updated version of 2xSaI algorithm with 32bpp support]
+
*[https://web.archive.org/web/20131010055323/http://www.bob.allegronetwork.com/projects.html Updated version of 2xSaI algorithm with 32bpp support] (archived: 2013-10-10 05:53)
  
 
[[Category:Emulation]]
 
[[Category:Emulation]]

Latest revision as of 10:47, 26 September 2020

Retrocdn-round.svg
This file or page has been flagged for relocation to Retro CDN, the Wikimedia Commons-esque service for all Retro wikis. This message is for the benefit of Sega Retro wiki staff.
Shot of a normal emulator (left) and a 2xSaI filter (right) shown in Sonic 2's Emerald Hill Zone.

2xSaI is a digital image processing algorithm for computer graphics. It doubles the images both horizontally and vertically, resulting in a new image with four times as many pixels as the original one. The additional pixels are generated by detecting patterns such as lines and edges and interpolating additional pixels on that basis using techniques such as anti-aliasing and Wu lines. For many types of computer graphics, this results in a sharper and clearer image than standard bilinear filtering.

The 2xSaI algorithm was inspired by the "Eagle" engine in the RetroFX library. It was designed by Derek Liauw Kie Fa, also known as Kreed, primarily for use in console and computer emulators, and it has remained fairly popular in this niche. Many of the most popular emulators, including Gens, Gens/GS, VisualBoyAdvance, and Kega Fusion, offer this scaling algorithm as a feature.

Since Kreed released the source code under the GNU General Public License, it is freely available to anyone wishing to utilize it in an open source project. Developers wishing to use it in a non-open source project would be required to rewrite the algorithm without using any of Kreed's existing code.

Several slightly different versions of the scaling algorithm are available, and these are often referred to as "Super 2xSaI", "2xSaI", and "Super Eagle".

External links