source: www/study/index.html @ 1976

Last change on this file since 1976 was 1976, checked in by Sam Hocevar, 13 years ago
  • Prepare room for part 5, colour dithering.
File size: 3.4 KB
Line 
1<?php header("Content-Type: text/html; charset=utf-8"); ?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3       "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
4
5<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
6
7<head>
8   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9   <meta name="GENERATOR" content="vim" />
10   <meta name="Author" content="sam@zoy.org (Sam Hocevar)" />
11   <meta name="Description" content="Libcaca study" />
12   <meta name="Keywords" content="libcaca, ASCII, ASCII ART, console, text mode, ncurses, slang, AAlib, dithering, thresholding" />
13   <title>Libcaca study</title>
14   <link rel="icon" type="image/x-icon" href="/favicon.ico" />
15   <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
16   <link rel="stylesheet" type="text/css" href="/main.css" />
17</head>
18
19<body>
20
21<?php include($_SERVER["DOCUMENT_ROOT"]."/header.inc"); ?>
22
23<!--<div style="float: left;">
24   <a href=""></a>
25</div>-->
26<div style="float: right;">
27   <a href="part1.html">&gt;&gt;&gt; Colour quantisation</a>
28</div>
29
30<br style="clear: both;" />
31
32<h2> Libcaca study: the science behind colour ASCII art </h2>
33
34<p> This document is an attempt at extending the leverage of skilled
35resources by uncovering and addressing the challenges the industry faces
36today in the area of colour ASCII art generation. </p>
37
38<!-- not showing this line until the document is good enough
39<p> Seriously, guys. If you think that what libcaca does is easy, you either
40don’t know what you are talking about, or we want you in the team. </p> -->
41
42<p> Meet Lenna. She will guide us through this document, because the
43seriousness of a scientific document in the area of computer graphics can
44be measured by the number of times Lenna appears in it. </p>
45
46<p style="text-align: center;">
47  <img src="lenna256.png" width="256" height="256"
48       class="inline" alt="Lenna (256×256)" />
49  <img src="lenna256bw.png" width="256" height="256"
50       class="inline" alt="Lenna (256×256BW)" />
51  <img src="gradient256bw.png" width="32" height="256"
52       class="inline" alt="gradient" />
53</p>
54
55<h3> Foreword </h3>
56
57<p> This document makes a lot of assumptions, such as the fact that input
58images are made of pixels that have either one (gray level) or three (red,
59green and blue) values uniformly spread between 0 and 1 (with regards to
60human contrast perception). Real life is more complicated than that, but
61that is beyond the scope of this document for now. </p>
62
63<p> All the algorithms explained in this document can be found in
64the <tt><a href="study.py">study.py</a></tt> Python program. Just install
65the <tt>python-gd</tt> package on your favourite operating system and
66run the script. The original Lenna images were generated with the
67<tt><a href="lenna.py">lenna.py</a></tt> program from the original colour
68512×512 image. </p>
69
70<h3> Sections </h3>
71
72<ul>
73  <li> <a href="part1.html">1. Colour quantisation</a> </li>
74  <li> <a href="part2.html">2. Halftoning patterns</a> </li>
75  <li> <a href="part3.html">3. Error diffusion</a> </li>
76  <li> <a href="part4.html">4. Grayscale dithering</a> </li>
77  <li> <a href="part5.html">5. Colour dithering</a> </li>
78</ul>
79
80<!--<div style="float: left;">
81   <a href=""></a>
82</div>-->
83<div style="float: right;">
84   <a href="part1.html">&gt;&gt;&gt; 1. Colour quantisation</a>
85</div>
86
87<?php $rev = '$Id$';
88      include($_SERVER['DOCUMENT_ROOT'].'/footer.inc'); ?>
89
90</body>
91</html>
Note: See TracBrowser for help on using the repository browser.