\hypertarget{group__appCNNConvertImageNet}{\section{app\-C\-N\-N\-Convert\-Image\-Net}
\label{group__appCNNConvertImageNet}\index{app\-C\-N\-N\-Convert\-Image\-Net@{app\-C\-N\-N\-Convert\-Image\-Net}}
}


Image\-Net 2012 database conversion applications.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{group__appCNNConvertImageNet_ga0ddf1224851353fc92bfbff6f499fa97}{main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em Convert Image\-Net database to have uniform size 256$\ast$256. \end{DoxyCompactList}\item 
int \hyperlink{group__appCNNConvertImageNet_gaba75894d23fa50425573b885ed26de88}{app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle} (char $\ast$$\ast$names, int $\ast$labels, int n)
\begin{DoxyCompactList}\small\item\em Shuffle the images. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Image\-Net 2012 database conversion applications. 

\subsection{Function Documentation}
\hypertarget{group__appCNNConvertImageNet_gaba75894d23fa50425573b885ed26de88}{\index{app\-C\-N\-N\-Convert\-Image\-Net@{app\-C\-N\-N\-Convert\-Image\-Net}!app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle@{app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle}}
\index{app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle@{app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle}!appCNNConvertImageNet@{app\-C\-N\-N\-Convert\-Image\-Net}}
\subsubsection[{app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle}]{\setlength{\rightskip}{0pt plus 5cm}int app\-C\-N\-N\-Convert\-Image\-Net\-Shuffle (
\begin{DoxyParamCaption}
\item[{char $\ast$$\ast$}]{names, }
\item[{int $\ast$}]{labels, }
\item[{int}]{n}
\end{DoxyParamCaption}
)}}\label{group__appCNNConvertImageNet_gaba75894d23fa50425573b885ed26de88}


Shuffle the images. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em names} & Image name array \\
\hline
\mbox{\tt in}  & {\em labels} & Image label array \\
\hline
\mbox{\tt in}  & {\em n} & Array size \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Error code 
\end{DoxyReturn}
\hypertarget{group__appCNNConvertImageNet_ga0ddf1224851353fc92bfbff6f499fa97}{\index{app\-C\-N\-N\-Convert\-Image\-Net@{app\-C\-N\-N\-Convert\-Image\-Net}!main@{main}}
\index{main@{main}!appCNNConvertImageNet@{app\-C\-N\-N\-Convert\-Image\-Net}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}\label{group__appCNNConvertImageNet_ga0ddf1224851353fc92bfbff6f499fa97}


Convert Image\-Net database to have uniform size 256$\ast$256. 

argv\mbox{[}0\mbox{]} = program name argv\mbox{[}1\mbox{]} = original training image folder argv\mbox{[}2\mbox{]} = original training label file argv\mbox{[}3\mbox{]} = converted training image folder argv\mbox{[}4\mbox{]} = original testing image folder argv\mbox{[}5\mbox{]} = original testing label file argv\mbox{[}6\mbox{]} = converted testing image folder argv\mbox{[}7\mbox{]} = training image number (optional) argv\mbox{[}8\mbox{]} = testing image number (optional) \begin{DoxyReturn}{Returns}
Error code 
\end{DoxyReturn}
