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{graphicx}
manongjohn 5d1508
\graphicspath{{images/}}
manongjohn 5d1508
manongjohn 5d1508
\begin{document}
manongjohn 5d1508
manongjohn 5d1508
\thispagestyle{empty}
manongjohn 5d1508
manongjohn 5d1508
\Large
manongjohn 5d1508
\noindent \\
manongjohn 5d1508
Radial Blur Ino\medskip
manongjohn 5d1508
\par
manongjohn 5d1508
\normalsize
manongjohn d9b24b
Generate an average value Blur in a radial direction.\par
manongjohn 5d1508
It is also possible to add a twist to the direction (processing time will increase).\\
manongjohn 5d1508
\par
manongjohn d9b24b
First, it processes the Alpha channel if specified.\par
manongjohn d9b24b
Then, it processes the RGB pixels where the Alpha channel is not zero.\par
manongjohn d9b24b
When Alpha channel is not processed, it will mask the changes in the\par
manongjohn d9b24b
RGB image using the Alpha values. Therefore, the original image edges will remain.\\
manongjohn 5d1508
\\
manongjohn 5d1508
-{-}- \ Inputs \ -{-}-\\
manongjohn 5d1508
Source\par
manongjohn d9b24b
Connect the image to be processed.\\
manongjohn 5d1508
Reference\par
manongjohn d9b24b
Connect the reference image to assign the strength of the effect into each pixel.\\
manongjohn d9b24b
\\
manongjohn 5d1508
\\
manongjohn 5d1508
-{-}- \ Settings \ -{-}-\\
manongjohn 5d1508
Center\par
manongjohn d9b24b
Specify the center position from where to radiate.\par
manongjohn d9b24b
Origin is the center of the image to be processed. Not the center of the camera.\par
manongjohn 5d1508
The unit is millimeters.\par
manongjohn d9b24b
The default value is the center of the image at \textquotedbl 0.0 0.0\textquotedbl .\\
manongjohn 5d1508
\\
manongjohn 5d1508
Radius\par
manongjohn d9b24b
Specify a radius from the center that will not get blurred.\par
manongjohn 5d1508
The unit is millimeters.\par
manongjohn d9b24b
Value could be greater than or equal to 0.\par
manongjohn d9b24b
The default value is 0, which will cause blur in the whole image.\\
manongjohn 5d1508
\\
manongjohn 5d1508
Blur\par
manongjohn d9b24b
Allows to adjust the intensity of the blur.\par
manongjohn d9b24b
The strength of the blur is determined by the distance from the Center to each pixel.\par
manongjohn d9b24b
The calculation formula is: (Pixel\_Len - Radius) * (Blur / 100), where Pixel\_Len being\par 
manongjohn d9b24b
the distance of each pixel from the center.\par
manongjohn d9b24b
At the minimum value of 0, there will be no blur. The maximum value is 100.\par
manongjohn 5d1508
The default value is 1.
manongjohn 5d1508
manongjohn 5d1508
\newpage
manongjohn 5d1508
manongjohn 5d1508
\thispagestyle{empty}
manongjohn 5d1508
manongjohn 5d1508
\ \vspace{-0.2em}
manongjohn 5d1508
\par
manongjohn 5d1508
\noindent Twist\par
manongjohn d9b24b
Allows to add a twist.\par
manongjohn d9b24b
Define how many turns there will be from the Center to the reference distance.\par
manongjohn d9b24b
The reference distance is half the height of the resulting image.\par
manongjohn d9b24b
At the minimum value of 0, there will be no twist. The maximum value is 180.\\
manongjohn 5d1508
\\
manongjohn 5d1508
Alpha Rendering\par
manongjohn d9b24b
This option is valid only when there is an Alpha channel.\par
manongjohn d9b24b
When inactive, it masks the changes in the RGB values using the original Alpha\par 
manongjohn d9b24b
of the image.\par
manongjohn d9b24b
When active, the effect will be able to modify the Alpha channel, extending it\par 
manongjohn d9b24b
as necessary to reproduce the full span of the effect.\par
manongjohn d9b24b
The default setting is active.\\
manongjohn 5d1508
\\
manongjohn 5d1508
Anti Alias\par
manongjohn d9b24b
Allows to add an antialiasing process, in order to eliminate jagged edges.\par
manongjohn d9b24b
The result will become smoother, but it will take more time to process.\par
manongjohn 5d1508
The default setting is OFF.\par
manongjohn d9b24b
<processing examples="" reference="" time="">\par</processing>
manongjohn 5d1508
Width=2176 Height=1236 Center=0,0 Radius=0 Blur=3 Alpha=ON\par
manongjohn 5d1508
Shrink=1\par
manongjohn 5d1508
\noindent \hskip 7em Twist=0\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=OFF ~7sec\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=ON \, ~32sec\par
manongjohn 5d1508
\noindent \hskip 7em Twist=1-180\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=OFF ~19sec\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=ON \, ~780sec\par
manongjohn 5d1508
Shrink=3\par
manongjohn 5d1508
\noindent \hskip 7em Twist=0\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=OFF ~3sec\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=ON \, ~4sec\par
manongjohn 5d1508
\noindent \hskip 7em Twist=1-180\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=OFF ~4sec\par
manongjohn 5d1508
\noindent \hskip 10.5em Anti Alias=ON \, ~34sec\\
manongjohn 5d1508
\\
manongjohn 5d1508
Reference\par
manongjohn d9b24b
Choose how the Reference image values are used to set the strength of the effect\par 
manongjohn d9b24b
into each pixel.\par
manongjohn d9b24b
Choose from Red/Green/Blue/Alpha/Luminance.\par
manongjohn d9b24b
Choose Nothing to disable the effect.\par
manongjohn d9b24b
The default value is Red.
manongjohn 5d1508
manongjohn 5d1508
\newpage
manongjohn 5d1508
manongjohn 5d1508
\thispagestyle{empty}
manongjohn 5d1508
manongjohn 5d1508
\ \vspace{-0.2em}
manongjohn 5d1508
\par
manongjohn 5d1508
\noindent Radial Blur \ \ Reference Example
manongjohn 5d1508
manongjohn 5d1508
\large
manongjohn 5d1508
\noindent \begin{picture}(0,0)
manongjohn 5d1508
\put(170.5,-144.5){\includegraphics[width=13.3em]{RadialBlurInoOriginalImage}}
manongjohn 5d1508
\put(92.5,-343){\includegraphics[width=13.3em]{RadialBlurInoRadialBlur30AAOFF}}
manongjohn 5d1508
\put(314.5,-343){\includegraphics[width=13.3em]{RadialBlurInoRadialBlur30AAON}}
manongjohn 5d1508
\put(92.5,-486){\includegraphics[width=13.3em]{RadialBlurInoTwistBlur20Twist45AAOFF}}
manongjohn 5d1508
\put(314.5,-486){\includegraphics[width=13.3em]{RadialBlurInoTwistBlur20Twist45AAON}}
manongjohn 5d1508
\put(26,-50){\normalsize{Original Image}}
manongjohn 5d1508
\put(26,-67){\normalsize{(200x112pixel)}}
manongjohn 5d1508
\put(89,-221){\normalsize{Anti Alias \ \ OFF}}
manongjohn 5d1508
\put(311,-221){\normalsize{Anti Alias \ \ ON}}
manongjohn 5d1508
\put(26,-249){\normalsize{Radial}}
manongjohn 5d1508
\put(26,-267){\normalsize{(Blur 30)}}
manongjohn 5d1508
\put(26,-382){\normalsize{Twist}}
manongjohn 5d1508
\put(26,-400){\normalsize{(Blur 20}}
manongjohn 5d1508
\put(32,-418){\normalsize{Twist 45)}}
manongjohn 5d1508
\end{picture}\\[12.65em]
manongjohn 5d1508
manongjohn 5d1508
\end{document}