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.

35 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. Figure~\ref{fig:pngImage} shows an example of image which was took by FLIR ONE PRO. The JPEG image is generated by OpenCV $3.3.0$, and image quality from $1$ to $99$.
  4. \begin{figure}[ht]
  5. \centering
  6. \includegraphics[width=0.6\columnwidth]{figures/real.png}
  7. \caption{PNG image, size = 46KB}
  8. \label{fig:pngImage}
  9. \end{figure}
  10. 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.
  11. \begin{figure}[ht]
  12. \centering
  13. \includegraphics[width=0.6\columnwidth]{figures/my4000.png}
  14. \caption{4KB Image by Proposed Method}
  15. \label{fig:4KMy}
  16. \end{figure}
  17. \begin{figure}[ht]
  18. \centering
  19. \includegraphics[width=0.6\columnwidth]{figures/quality3.jpg}
  20. \caption{4KB Image by JPEG}
  21. \label{fig:4KJpeg}
  22. \end{figure}
  23. 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.
  24. \begin{figure}[ht]
  25. \centering
  26. \includegraphics[width=\columnwidth]{figures/compareToJpeg.pdf}
  27. \caption{Proposed method and JPEG comparing}
  28. \label{fig:compareToJpeg}
  29. \end{figure}