File:Recursive Flood Fill 8 (aka).gif
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Recursive_Flood_Fill_8_(aka).gif (144 × 144 pixels, file size: 3 KB, MIME type: image/gif, looped, 40 frames, 15 s)
File information
Structured data
Captions
Description | Recursive Flood Fill 8 (aka).gif
English: This image shows the running recursive flood fill algorithm with eight directions. This animation has been generated using the Perl script below.
Deutsch: Dieses Bild zeigt den Ablauf des Floodfill-Algorithmus mit acht Richtungen. Die Animation wurde mit untenstehender Perl-Funktion erzeugt.
Français : Cette image illustre l'exécution récursive de l'algorithme de remplissage par diffusion dans sa variante 8-connexe. Cette animation a été générée à l'aide du script Perl ci-dessous.
...
sub FloodFill8
{
my ($x, $y) = @_;
if ($im->getPixel ($x, $y) == $colfill)
{
$im->setPixel ($x, $y, $colpen);
WriteImage ();
FloodFill8 ($x, $y+1);
FloodFill8 ($x, $y-1);
FloodFill8 ($x+1, $y);
FloodFill8 ($x-1, $y);
FloodFill8 ($x+1, $y+1);
FloodFill8 ($x+1, $y-1);
FloodFill8 ($x-1, $y+1);
FloodFill8 ($x-1, $y-1);
}
}
...
|
Please help translating the description into more languages. Thanks a lot! If you want a license with the conditions of your choice, please email me to negotiate terms. best new image |
---|---|---|
Date |
27 December 2005 | |
Source |
Own work | |
Author |
André Karwath aka Aka | |
Permission (Reusing this file) |
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic license.
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:18, 27 December 2005 | 144 × 144 (3 KB) | Aka (talk | contribs) |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on cs.wikibooks.org
- Usage on de.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on fa.wikipedia.org
- Usage on hu.wikipedia.org
- Usage on kk.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on nl.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on tr.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on zh.wikipedia.org
Structured data
Items portrayed in this file
depicts
Hidden categories: