555
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.3 KiB

  1. \section{Performance Evaluation}
  2. \label{sec:eval}
  3. To evaluate the effectiveness of the proposed method, we did the different ratios of compressing on a thermal data by our method compared to JPEG image using different quality and png image, a lossless bit map image. We set the camera at the ceiling and view direction is perpendicular to the ground, and the thermal data size is $480 \times 640$ pixels. The JPEG image is generated by OpenCV $3.3.0$ which is using libjpeg version 9 13-Jan-2013, and image quality from $1$ to $99$.
  4. Figure~\ref{fig:4KMy} and Figure~\ref{fig:4KJpeg} show the different of JPEG and our method. JPEG image id generated by image quality level $3$, and thermal data of our method does $1390$ rounds of separate and compressed by Huffman Coding. In this case, Huffman Coding can reduce $39\%$ of compressed data size.
  5. \begin{figure}[ht]
  6. \begin{minipage}[b]{0.45\linewidth}
  7. \centering
  8. \includegraphics[width=\linewidth]{figures/my4000.png}
  9. \caption{Data compressed by Proposed Method (4KB)}
  10. \label{fig:4KMy}
  11. \end{minipage}
  12. \hspace{0.05\linewidth}
  13. \begin{minipage}[b]{0.45\linewidth}
  14. \centering
  15. \includegraphics[width=\linewidth]{figures/quality3.jpg}
  16. \caption{Data compressed by JPEG (4KB)}
  17. \label{fig:4KJpeg}
  18. \end{minipage}
  19. \end{figure}
  20. Figure~\ref{fig:compareToJpeg} shows that the size of file can reduce more than $50\%$ compared to JPEG image when both have $0.5\% (0.18^\circ C)$ of root-mean-square error. Our method has $82\%$ less error rate when the compressed data size is $4KB$. The percentage of file size is compared to PNG image.
  21. \begin{figure}[ht]
  22. \centering
  23. \includegraphics[width=\columnwidth]{figures/compareToJpeg.pdf}
  24. \caption{Proposed method and JPEG comparing}
  25. \label{fig:compareToJpeg}
  26. \end{figure}
  27. The computing time of a $480 \times 640$ thermal data on Raspberry Pi 3 is:
  28. \subsubsection{Date Structure Initialize}
  29. 0.233997 second.
  30. \subsubsection{Thermal Data Loading}
  31. 1.268126 second.
  32. \subsubsection{Regions dividing}
  33. About 4.6 microsecond per separation. Figure~\ref{fig:computeTime} shows the computation time of Region dividing.
  34. Total time is about 1.5 second.
  35. \begin{figure}[ht]
  36. \centering
  37. \includegraphics[width=\columnwidth]{figures/computeTime.pdf}
  38. \caption{Computation Time of Regions Dividing}
  39. \label{fig:computeTime}
  40. \end{figure}