this is for holding javascript data
Martin Coath edited section_Methods_subsection_Algorithm_For__.tex
about 8 years ago
Commit id: 6a9329736afda976c8486d5134614ec75f409cca
deletions | additions
diff --git a/section_Methods_subsection_Algorithm_For__.tex b/section_Methods_subsection_Algorithm_For__.tex
index 1c54bbb..cc64d40 100644
--- a/section_Methods_subsection_Algorithm_For__.tex
+++ b/section_Methods_subsection_Algorithm_For__.tex
...
For results derived from monochrome images each pixel is defined by three values; two coordinates $i$ and $j$, and a single value $k$ that is the value of the pixel on the gray-scale from 0 (black) to 1 (white). Images are processed on a pixel-by-pixel basis and the \textsc{skv} value of each pixels is calculated thus:
\begin{enumerate}
\item the number of pixels $m$ corresponding to half the required window size $w$ is calculated: $m = \mathrm{floor}(\frac{w}{2})$
\item
thus hence the working window size is $n = 2 \cdot m+1$
even when this differs from $w$ by one
\item assemble the vector $\vec{k}_{j}$ of values for a horizontal window of $n$ contiguous pixels $k_{[i,j-m \: : \: i,j \: : \: i,j+m]}$
\item repeat with $\vec{k}_{i}$, a vector of values for a vertical window of $n$ pixels $k_{[i-m,j \: : \: i,j \: : \: i+m,j]}$
\item both vectors are normalized, so they can be treated as distributions, and the Skewness $\gamma$ of each distribution, \textit{i.e.} the asymmetry in the gray-scale values in both direction, is calculated, $\gamma_j$ and $\gamma_i$