|
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 |
5d1508 |
絵の明るさのレンジを最大に広げます。\\
|
|
manongjohn |
5d1508 |
\par
|
|
manongjohn |
5d1508 |
暗いマスク用画像を明るくする等の自動的な level 補正をします。\\
|
|
manongjohn |
5d1508 |
\par
|
|
manongjohn |
5d1508 |
入力画像の最も暗い値と最も明るい値を元にして、数値として最\par
|
|
manongjohn |
5d1508 |
も暗い値(Out Min)と最も明るい値(Out Max)に明るさのレンジを\par
|
|
manongjohn |
5d1508 |
広げます。\par
|
|
manongjohn |
5d1508 |
-{-}> \textquotedbl Level Auto 図1 計算図\textquotedbl 参照\\
|
|
manongjohn |
5d1508 |
\par
|
|
manongjohn |
5d1508 |
RGBA チャンネル各々にレンジを広げるので、RGBA のバランスはと\par
|
|
manongjohn |
5d1508 |
りません。そのため色の付いた画像は色が変わることがあります\par
|
|
manongjohn |
5d1508 |
ので注意してください。\\
|
|
manongjohn |
5d1508 |
\par
|
|
manongjohn |
5d1508 |
結果をチェックするときは、サブカメラを使わないでください。\par
|
|
manongjohn |
5d1508 |
サブカメラは入力画像の範囲が違うため、入力画像の最暗値と最\par
|
|
manongjohn |
5d1508 |
明値が変わり、正確な処理ができません。\\
|
|
manongjohn |
5d1508 |
\\
|
|
manongjohn |
5d1508 |
-{-}- \ 入力 \ -{-}-\\
|
|
manongjohn |
5d1508 |
Source\par
|
|
manongjohn |
5d1508 |
処理をする画像を接続します。\\
|
|
manongjohn |
5d1508 |
\\
|
|
manongjohn |
5d1508 |
-{-}- \ 設定 \ -{-}-\\
|
|
manongjohn |
5d1508 |
In Min Shift\\
|
|
manongjohn |
5d1508 |
In Max Shift\par
|
|
manongjohn |
5d1508 |
入力画像 Pixel の最小値と最大値は、自動的に計算しますが、その\par
|
|
manongjohn |
5d1508 |
値に加算して調整します。\par
|
|
manongjohn |
5d1508 |
例えば一ヶ所だけ明るい Pixel があってそれを無視したいとき、\par
|
|
manongjohn |
5d1508 |
\textquotedbl In Max Shift\textquotedbl にマイナスを指定することでレンジをひろげます。\par
|
|
manongjohn |
5d1508 |
Pixel 値(8 or 16bits)をゼロから1の値として指定します。\par
|
|
manongjohn |
5d1508 |
最小は-1、最大は1です。\par
|
|
manongjohn |
5d1508 |
\noindent \hskip 7em Min \ \ \ \ \, 0\par
|
|
manongjohn |
5d1508 |
\noindent \hskip 7em Max \ \ \ \ -1\par
|
|
manongjohn |
5d1508 |
だと画面は真っ暗になります。\par
|
|
manongjohn |
5d1508 |
\noindent \hskip 7em Min \ \ \ \ \, 1\par
|
|
manongjohn |
5d1508 |
\noindent \hskip 7em Max \ \ \ \ \ 0\par
|
|
manongjohn |
5d1508 |
とすると、画面は真っ白になります。\par
|
|
manongjohn |
5d1508 |
0とすれば shift による調整はありません。\par
|
|
manongjohn |
5d1508 |
初期値は両方とも0です。\\
|
|
manongjohn |
5d1508 |
\\
|
|
manongjohn |
5d1508 |
Out Min
|
|
manongjohn |
5d1508 |
|
|
manongjohn |
5d1508 |
\newpage
|
|
manongjohn |
5d1508 |
|
|
manongjohn |
5d1508 |
\thispagestyle{empty}
|
|
manongjohn |
5d1508 |
|
|
manongjohn |
5d1508 |
\ \vspace{-0.2em}
|
|
manongjohn |
5d1508 |
\par
|
|
manongjohn |
5d1508 |
\noindent Out Max\par
|
|
manongjohn |
5d1508 |
出力画像の最も暗い値(最小値)と最も明るい値(最大値)を決定し\par
|
|
manongjohn |
5d1508 |
ます。\par
|
|
manongjohn |
5d1508 |
最小は0、最大は1です。\par
|
|
manongjohn |
5d1508 |
初期値は\par
|
|
manongjohn |
5d1508 |
\noindent \hskip 7em Out Min が0\par
|
|
manongjohn |
5d1508 |
\noindent \hskip 7em Out Max が1\par
|
|
manongjohn |
5d1508 |
です。\\
|
|
manongjohn |
5d1508 |
\\
|
|
manongjohn |
5d1508 |
Gamma\par
|
|
manongjohn |
5d1508 |
\textquotedbl Out Min\textquotedbl と\textquotedbl Out Max\textquotedbl の間で gamma 補正します。\par
|
|
manongjohn |
5d1508 |
0.1から1.0の間だと、画像が暗くなります。\par
|
|
manongjohn |
5d1508 |
1.0を指定すると補正しません。\par
|
|
manongjohn |
5d1508 |
1.0から10.0の間では、明るくなります。\par
|
|
manongjohn |
5d1508 |
初期値は1です。\\
|
|
manongjohn |
5d1508 |
\\
|
|
manongjohn |
5d1508 |
Level Auto 図1 \ \ 計算図
|
|
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}
|