Master Thesis - Hochschule Bonn-Rhein-Sieg
Master Thesis - Hochschule Bonn-Rhein-Sieg
Master Thesis - Hochschule Bonn-Rhein-Sieg
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5. Algorithms <strong>Master</strong> <strong>Thesis</strong> Björn Ostermann page 79 of 126<br />
After the outline algorithm is finished, the outlined region has to be filled. This is achieved by the<br />
algorithm depicted in Figure 56.<br />
a)<br />
b) c)<br />
Figure 56: Filling principle<br />
The algorithm starts, working on a temporary array, by filling every pixel that is between two outline<br />
pixels of one row and has outlined or filled pixels in the row above. In Figure 56a the light blue pixels<br />
would be filled, because they have a blue-white outline on the left and right and outlined or filled<br />
pixels above.<br />
The pixels would not be filled, if not every pixel above was outlined or filled (see Figure 56b) or if<br />
there was no outline to the left and right (see Figure 56c).