%\documentclass{article}

\documentclass{svjour3}                     % onecolumn (standard format)
%\documentclass[natbib,smallextended]{svjour3}       

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{setspace}
\begin{document}
Ba \documentclass{svjour3}        kar nemikonad!
\begin{sidewaystable}
   \centering
%\captionsetup{font=scriptsize}

\caption{The number of training and test samples, classification accuracies in percentage for PaviaU data set with  extracted bands. Overal Accuracy(OA), Average Accuracy(AA), Kappa coefficent and class-specific Accuracies}
\label{PaviaUPC}

\scalebox{0.66}{
\begin{tabular}{|c|c|c|c|c|c|c|c|}
\hline
\multirow{2}{*}{Class} & \multicolumn{2}{c|}{sample} & \multirow{2}{*}{SVM} & SVM+HMRF & \multicolumn{3}{c|}{SVM+LBMHMRF} \\ \cline{2-3} \cline{5-8} 
                       & \#Train       & \#Test      &                      & \#PC=1   & \#PC=2    & \#PC=3    & \#PC=4   \\ \hline
Asphalt                & 331           & 6300        & 93.4                 & 92.23    & 95.74     & 93.55     & 96.08    \\ \hline
Meadows                & 932           & 17717       & 98                   & 97.58    & 98.97     & 98.09     & 99.07    \\ \hline
Gravel                 & 104           & 1995        & 75.46                & 78.6     & 88.12     & 79.38     & 82.2     \\ \hline
Trees                  & 153           & 2911        & 93.85                & 77.76    & 93.19     & 92.18     & 92.83    \\ \hline
Meta sheets            & 67            & 1278        & 99.29                & 84.64    & 86.93     & 80.79     & 80.54    \\ \hline
Bare soil              & 251           & 4778        & 83.51                & 94.39    & 98.11     & 98.97     & 96.73    \\ \hline
Bitumen                & 66            & 1264        & 83.14                & 93.34    & 98.63     & 98.7      & 97.44    \\ \hline
Bricks                 & 184           & 3498        & 89.33                & 97.91    & 97.69     & 97.58     & 96.11    \\ \hline
Shadows                & 47            & 900         & 99.85                & 99.93    & 99.93     & 100       & 100      \\ \hline
\multicolumn{3}{|c|}{OA}                             & 93.05                & 93.56    & 96.94     & 95.62     & 96.19    \\ \hline
\multicolumn{3}{|c|}{AA}                             & 90.65                & 90.71    & 95.26     & 93.25     & 93.44    \\ \hline
\multicolumn{3}{|c|}{Kappa}                          & 90.73                & 91.43    & 95.94     & 94.19     & 94.93    \\ \hline
\end{tabular}
}
\end{sidewaystable}







\end{document}