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.

38 lines
1.8 KiB

  1. \section{Performance Evaluation}
  2. \label{sec:eval}
  3. To evaluate the effectiveness of the proposed method, we do the different ratios of compressing on a thermal image by our method compare 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 image size is $480 \times 640$ pixels. The JPEG image is generated by OpenCV $3.3.0$, 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 image of our method does $1390$ rounds of separate and compressed by Huffman Coding. In this case, Huffman Coding can reduce $39\%$ of our image size.
  5. \begin{figure}[ht]
  6. \centering
  7. \includegraphics[width=0.6\columnwidth]{figures/my4000.png}
  8. \caption{4KB Image by Proposed Method}
  9. \label{fig:4KMy}
  10. \end{figure}
  11. \begin{figure}[ht]
  12. \centering
  13. \includegraphics[width=0.6\columnwidth]{figures/quality3.jpg}
  14. \caption{4KB Image by JPEG}
  15. \label{fig:4KJpeg}
  16. \end{figure}
  17. Figure~\ref{fig:compareToJpeg} shows that the size of file can reduce more than $50\%$ compare 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 both size are $4KB$ image. The percentage of file size is compare to PNG image.
  18. \begin{figure}[ht]
  19. \centering
  20. \includegraphics[width=\columnwidth]{figures/compareToJpeg.pdf}
  21. \caption{Proposed method and JPEG comparing}
  22. \label{fig:compareToJpeg}
  23. \end{figure}
  24. The computing time on Raspberry Pi 3 is:
  25. \subsubsection{Date Structure Initialize}
  26. XXX.XXX second.
  27. \subsubsection{Image Loading}
  28. XXX.XXX second.
  29. \subsubsection{Region Separation}
  30. XXX.XXX second. (a chart)