-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.html
145 lines (125 loc) · 6.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="author" content="Dejan D. M. Milosavljevic">
<link rel="icon" href="../favicon.ico" type="image/ico">
<title>Color</title>
</head>
<body>
<h1 align="center">Color</h1>
<dl>
<dt><h3>TOC</h3></dt>
<dd>
<ul>
<li><a href="#Description">Description</a></li>
<li><a href="#Install">Install</a></li>
<li><a href="#API">API</a></li>
<li><a href="#Using">Using</a></li>
<li><a href="#Examples">Examples</a></li>
<li><a href="#Glossary">Glossary</a></li>
<li><a href="#FAQ">FAQ</a></li>
<li><a href="#Links">Links</a></li>
</ul>
</dd>
<dt><h3><a name="Description">Description</a></h3></dt>
<dd>Library thats implement <i>color</i>. </dd>
<dt><h3><a name="Install"></a>Install</a></h3></dt>
<dd>
<ol>
<li>Clone the project from github. Use <i>master</i> branch.
<br>Examples:
<ul>
<li>Windows : <code>git clone https://github.com/dmilos/color.git c:\my-work-folder\my-git-folder\color</code></li>
<li>Linux : <code>git clone https://github.com/dmilos/color.git /home/my-user-name/my-work-folder/my-git-folder/color</code></li>
</ul>
</li>
<li>Optional: Copy <code>src</code> folder in some for your suitable place.<br>
If you want to use directly from place where you clone color project you may skip this step.
</li>
<li>Optional: Put <code>src</code> in your path.<br> If you copy <code>src</code> in someplace that is already in your path then skip this step.</li>
<li>Optional: <a href="faq.html#too_much">Reduce file count</a>.</li>
</ol>
Done!<br>
</dd>
<dt><h3><a name="API">API</a></h3></dt>
<dd>
Starting points:
<ul>
<ul><a href="./ns/namespaces.html">Namespaces.</a></ul>
<ul><a href="./color.html">Color models or the purpose of this library. </a></ul>
<ul><a href="./format.html"><b>Color formats or how model will be presented in memory.</b></a></ul>
<ul><a href="./model.html">Class <code>model</code>. </a></ul>
<ul><a href="./operators.html">Operators. </a></ul>
<ul><a href="./macro.html">Macros.</a></ul>
<ul><a href="./file.html">Files to #include.</a></ul>
<!-- <ul><a href="./mc.html">memory consumption.</a></ul>
<ul><a href="./bound.html">Bounds for categories ( model+format pair).</a></ul> -->
</ul>
</dd>
<dt><h3><a name="Using">Using</a></h3></dt>
<dd>
Include <code>color.hpp</code> situated in src/color directory.<br><br>
Here is "Hello World" example:
<blockquote><code><pre>
#include <iostream>
#include <iomanip>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
color::rgb<double> r;
r = ::color::constant::lavender_type{};
std::cout << "Red: " << r[0] << ", Green: " << r[1] << ", Blue: " << r[2] << std::endl;
return EXIT_SUCCESS;
}
</pre></code></blockquote>
</dd>
<dt><h3><a name="Examples" >Examples</a></h3></dt>
<dd>
In the root of the project there is folder <code>example</code>.<br> It's contain <i>one-file-example</i>s e.g all examples are in form that do not need additional file to be compiled i.e self-sufficient examples.<br>
<code>make_all.sh</code> will compile all examples by using <code>g++</code>.
<!-- TODO less-than-1k -->
</dd>
<dt><h3><a name="Glossary">Glossary</a></h3></dt>
<dd>
<a href="./glossary.html">Glossary</a>
</dd>
<dt><h3><a name="FAQ">FAQ</a></h3></dt>
<dd>
<a href="./faq.html">Frequently Asked Questions</a>
</dd>
<dt><h3><a name="Links">Links</a></h3></dt>
<dd>
<ul>
<li><a href="https://en.wikipedia.org/wiki/YDbDr">https://en.wikipedia.org/wiki/YDbDr</a></li>
<li><a href="https://en.wikipedia.org/wiki/YPbPr">https://en.wikipedia.org/wiki/YPbPr</a></li>
<li><a href="https://en.wikipedia.org/wiki/YUV">https://en.wikipedia.org/wiki/YUV</a></li>
<li><a href="https://github.com/ibireme/yy_color_convertor">https://github.com/ibireme/yy_color_convertor</a></li>
<li><a href="http://discoverybiz.net/enu0/faq/faq_YUV_YCbCr_YPbPr.html">http://discoverybiz.net/enu0/faq/faq_YUV_YCbCr_YPbPr.html</a></li>
<li><a href="http://www.brucelindbloom.com/index.html">http://www.brucelindbloom.com/index.html</a></li>
<li><a href="http://colorizer.org/">http://colorizer.org/</a></li>
<li>
YCbCr - Non constan liminance - <br>
<a href="https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2020-2-201510-I!!PDF-E.pdf">https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2020-2-201510-I!!PDF-E.pdf</a>
</li>
<ul>
</dd>
</dl>
<hr />
<div align="center" style="border: solid 1px #7f7f7f;">
<a href="./index.html" title="Index" >index</a> <a href="./bound.html">bound</a> <a href="./color.html">color</a>
<a href="./faq.html" title="FAQ" >FAQ</a> <a href="./format.html">Format</a> <a href="./glossary.html">Glossary</a>
<a href="./macro.html" title="Macros" >Macros</a> <a href="./mc.html">Memory consumption</a> <a href="./model.html">Model</a>
<a href="./operators.html"title="Operators" >Operators</a>
<div>
Namespaces:
<a href="../ns/akin.html">akin</a> <a href="../ns/category.html">category</a> <a href="../ns/check.html">check</a>
<a href="../ns/compare.html">compare </a> <a href="../ns/constant.html">constants</a> <a href="../ns/fix.html">fix</a>
<a href="../ns/get.html">get</a> <a href="../ns/make.html">make</a> <a href="../ns/namespaces.html">Name spaces</a>
<a href="../ns/operations.html">operations</a> <a href="../ns/place.html">place</a> <a href="../ns/set.html">set</a>
<a href="../ns/trait.html">trait</a> <a href="../ns/type.html">type</a>
</div>
</div>
<hr />
</body>
</html>