manongjohn 5d1508
\documentclass[a4paper,12pt]{article}
manongjohn 5d1508
\usepackage[a4paper, total={180mm, 272mm}]{geometry}
manongjohn 5d1508
manongjohn 5d1508
\usepackage{fontspec}
manongjohn 5d1508
\setmainfont[Path=fonts/, Extension=.ttf]{ipaexm}
manongjohn 5d1508
manongjohn 5d1508
\setlength\parindent{3.5em}
manongjohn 5d1508
\setlength\parskip{0em}
manongjohn 5d1508
\renewcommand{\baselinestretch}{1.247}
manongjohn 5d1508
manongjohn 5d1508
\usepackage{eepic}
manongjohn 5d1508
manongjohn 5d1508
\usepackage{tikz}
manongjohn 5d1508
manongjohn 5d1508
\begin{document}
manongjohn 5d1508
manongjohn 5d1508
\thispagestyle{empty}
manongjohn 5d1508
manongjohn 5d1508
\Large
manongjohn 5d1508
\noindent \\
manongjohn 5d1508
Level Auto Ino\medskip
manongjohn 5d1508
\par
manongjohn 5d1508
\normalsize
manongjohn d9b24b
Spread the brightness range of the picture.\\
manongjohn 5d1508
\par
manongjohn d9b24b
It performs an automatic level correction, useful for increasing the image\par 
luz paz 67b4e9
brightness and contrast.\\
manongjohn 5d1508
\par
manongjohn d9b24b
Based on the brightest and darkest values of the input image, the brightness\par 
manongjohn d9b24b
range is expanded to the darkest (Out Min) and brightest (Out Max) values.\par
manongjohn d9b24b
-{-}> See Figure 1: \textquotedbl Auto Levels - Calculation Diagram\textquotedbl\\
manongjohn 5d1508
\par
manongjohn 5d1508
Since it expands the range of each RGBA channel, it does not take into account\par
manongjohn 5d1508
the RGBA\textquotesingle s balance. Therefore please note that it may change colors, in a colored\par
manongjohn 5d1508
image.\\
manongjohn 5d1508
\par
manongjohn d9b24b
When checking the results, sub-camera must not be used.\par
manongjohn d9b24b
Since the sub-camera input image range is different, its darkest and brightest\par 
manongjohn d9b24b
values are different of those of the input image, and will give different results.\\
manongjohn 5d1508
\\
manongjohn 5d1508
-{-}- \ Inputs \ -{-}-\\
manongjohn 5d1508
Source\par
manongjohn d9b24b
Connect the image to be processed.\\
manongjohn 5d1508
\\
manongjohn 5d1508
-{-}- \ Settings \ -{-}-\\
manongjohn 5d1508
In Min Shift\\
manongjohn 5d1508
In Max Shift\par
manongjohn d9b24b
The minimum and maximum values of the input image pixels are automatically\par calculated and adjusted by adding to their values.\par
manongjohn d9b24b
For example, if there is only one bright pixel that needs to be ignored,\par
manongjohn d9b24b
it is possible to spread the range by specifying a negative value for\par 
manongjohn d9b24b
\textquotedbl In Max Shift\textquotedbl \ .\par
manongjohn d9b24b
Pixel values (8 or 16 bits) are specified ranging from 0 to 1.\par
manongjohn 5d1508
Minimum value is -1, maximum value is 1.\par
manongjohn 5d1508
\noindent \hskip 7em Min \ \ \ \ \, 0\par
manongjohn 5d1508
\noindent \hskip 7em Max \ \ \ \ -1\par
manongjohn 5d1508
These values will make the screen become black.\par
manongjohn 5d1508
\noindent \hskip 7em Min \ \ \ \ \, 1\par
manongjohn 5d1508
\noindent \hskip 7em Max \ \ \ \ \ 0\par
manongjohn d9b24b
These values will make the screen become white.\par
manongjohn d9b24b
If both values are set to 0, there will be no adjustment by shift.\par
manongjohn 5d1508
The default values for both are 0.\\
manongjohn 5d1508
manongjohn 5d1508
\newpage
manongjohn 5d1508
manongjohn 5d1508
\ \vspace{-0.2em}
manongjohn d9b24b
manongjohn 5d1508
\par
manongjohn d9b24b
\noindent Out Min\par
manongjohn 5d1508
\noindent Out Max\par
manongjohn d9b24b
Determines the darkest (Out Min) and the brightest (Out Max) values of the output\par
manongjohn d9b24b
image.\par
manongjohn 5d1508
Minimum value is 0, maximum value is 1.\par
manongjohn d9b24b
The defaults values are\par
manongjohn d9b24b
\noindent \hskip 7em Out Min: 0\par
manongjohn d9b24b
\noindent \hskip 7em Out Max: 1\\
manongjohn 5d1508
\\
manongjohn 5d1508
Gamma\par
manongjohn d9b24b
Perform gamma correction between \textquotedbl Out Min\textquotedbl \ and \textquotedbl Out Max\textquotedbl .\par
manongjohn d9b24b
A value between 0.1 and 1.0, will make the image become darker.\par
manongjohn d9b24b
When the value is 1.0, no correction will be performed.\par
manongjohn 5d1508
A value between 1.0 and 10.0, will make the image become brighter.\par
manongjohn 5d1508
The default value is 1.\\
manongjohn 5d1508
\\
manongjohn d9b24b
Figure 1: Auto Levels - Calculation Diagram
manongjohn 5d1508
manongjohn 5d1508
\large
manongjohn 5d1508
\noindent \begin{picture}(0,0)
manongjohn 5d1508
\linethickness{0.01em}
manongjohn 5d1508
\put(18.5,-94){\line(0,-1){81}}
manongjohn 5d1508
\put(18.5,-94){\line(-2,-3){4}}
manongjohn 5d1508
\put(18.5,-94){\line(2,-3){4}}
manongjohn 5d1508
\put(18.5,-175){\line(-2,3){4}}
manongjohn 5d1508
\put(18.5,-175){\line(2,3){4}}
manongjohn 5d1508
manongjohn 5d1508
\put(114,-22){\line(0,-1){199}}
manongjohn 5d1508
\put(256,-22){\line(0,-1){199}}
manongjohn 5d1508
\put(85,-51){\line(1,0){199}}
manongjohn 5d1508
\put(85,-193){\line(1,0){199}}
manongjohn 5d1508
manongjohn 5d1508
\put(101,-7){\small{IN}}
manongjohn 5d1508
\put(233,-7){\small{OUT}}
manongjohn 5d1508
\put(290,-51){\small{1}}
manongjohn 5d1508
\put(290,-193){\small{0}}
manongjohn 5d1508
\put(72,-91){\small{max}}
manongjohn 5d1508
\put(258,-69){\small{max}}
manongjohn 5d1508
\put(116,-105){\small{max\_shift}}
manongjohn 5d1508
\put(116,-176){\small{min\_shift}}
manongjohn 5d1508
\put(72,-188){\small{min}}
manongjohn 5d1508
\put(258,-188){\small{min}}
manongjohn 5d1508
\end{picture}\\[3em]
manongjohn 5d1508
manongjohn 5d1508
\noindent \hskip 3.8em \begin{tikzpicture}[line width=3pt]
manongjohn 5d1508
\draw[line cap=round] (1.6,-0.75) -- (1.9,-0.93) -- (1.6,-1.11);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (0,-0.93) -- (1.9,-0.93);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (8.65,0) -- (8.95,-0.18) -- (8.65,-0.36);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (7.1,-0.18) -- (8.95,-0.18);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (1.6,-3.6) -- (1.9,-3.78) -- (1.6,-3.96);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (0,-3.78) -- (1.9,-3.78);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (8.65,-3.6) -- (8.95,-3.78) -- (8.65,-3.96);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (7.1,-3.78) -- (8.85,-3.78);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (1.86,-1.54) -- (2.04,-1.84) -- (2.22,-1.54);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (2.04,-1) -- (2.04,-1.84);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (1.86,-3.2) -- (2.04,-2.9) -- (2.22,-3.2);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (2.04,-2.9) -- (2.04,-3.74);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (6.58,-0.14) -- (6.92,-0.21) -- (6.7,-0.49);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (2.04,-1.9) -- (6.92,-0.21);
manongjohn 5d1508
manongjohn 5d1508
\draw[line cap=round] (6.65,-3.52) -- (6.92,-3.75) -- (6.58,-3.87);
manongjohn 5d1508
\draw[dashed,dash pattern=on 0.75pt off 0.75pt] (2.04,-2.79) -- (6.92,-3.75);
manongjohn 5d1508
manongjohn 5d1508
\end{tikzpicture}
manongjohn 5d1508
manongjohn 5d1508
\end{document}