|
@ -36,13 +36,13 @@ to two categories. One is lay on back and the other is lay on side. Since the in |
|
|
data is very small, we use a neural network consist one 2D convolution layer, one |
|
|
data is very small, we use a neural network consist one 2D convolution layer, one |
|
|
2D max pooling, one flatten and one densely-connected layer. The possibility of |
|
|
2D max pooling, one flatten and one densely-connected layer. The possibility of |
|
|
output has a very large various just after turning over because the model cannot |
|
|
output has a very large various just after turning over because the model cannot |
|
|
distinguish the residual heat on bed and the person as Figure~\ref{fig:pose}(a) shown. This |
|
|
|
|
|
|
|
|
distinguish the residual heat on bed and the person as Figure~\ref{fig:residual_heat} shown. This |
|
|
situation will slowly disappear after one or two minutes. |
|
|
situation will slowly disappear after one or two minutes. |
|
|
|
|
|
|
|
|
To determination the pose, first we use a median filter with a window size of five |
|
|
To determination the pose, first we use a median filter with a window size of five |
|
|
to filter out the noise. Than, find the curve hull line of the upper bound and |
|
|
to filter out the noise. Than, find the curve hull line of the upper bound and |
|
|
lower bound of the data. Finally calculate the middle line of upper bound and lower bound. |
|
|
lower bound of the data. Finally calculate the middle line of upper bound and lower bound. |
|
|
Figure~\ref{fig:pose}(b) and (c) shows the data and these lines. |
|
|
|
|
|
|
|
|
Figure~\ref{fig:trend} shows the data and these lines. |
|
|
|
|
|
|
|
|
We divide every data into 10 second time windows. If the middle line of the time window |
|
|
We divide every data into 10 second time windows. If the middle line of the time window |
|
|
is at the top one fifth, it is a lay on back. If it is at the bottom one fifth, |
|
|
is at the top one fifth, it is a lay on back. If it is at the bottom one fifth, |
|
@ -52,15 +52,14 @@ there are three continuously same output. |
|
|
|
|
|
|
|
|
\begin{figure}[ht] |
|
|
\begin{figure}[ht] |
|
|
\centering |
|
|
\centering |
|
|
\subfloat[Residual heat on bed]{ |
|
|
|
|
|
\includegraphics[width=0.3\columnwidth]{figures/Lepton_residual_heat.bmp} |
|
|
|
|
|
} |
|
|
|
|
|
\subfloat[Enhanced Images after Background Calibration]{ |
|
|
|
|
|
\includegraphics[width=0.3\columnwidth]{figures/MinMax.pdf} |
|
|
|
|
|
} |
|
|
|
|
|
\subfloat[Enhanced Images after Background Calibration]{ |
|
|
|
|
|
\includegraphics[width=0.3\columnwidth]{figures/Mid.pdf} |
|
|
|
|
|
} |
|
|
|
|
|
\caption{Background subtraction.} |
|
|
|
|
|
\label{fig:pose} |
|
|
|
|
|
|
|
|
\minipage{0.3\columnwidth} |
|
|
|
|
|
\includegraphics[width=\linewidth]{figures/Lepton_residual_heat.png} |
|
|
|
|
|
\caption{Residual heat on bed.} |
|
|
|
|
|
\label{fig:residual_heat} |
|
|
|
|
|
\endminipage |
|
|
|
|
|
\minipage{0.65\columnwidth} |
|
|
|
|
|
\includegraphics[width=\linewidth]{figures/MinMax.pdf} |
|
|
|
|
|
\caption{Trend of pose.} |
|
|
|
|
|
\label{fig:trend} |
|
|
|
|
|
\endminipage |
|
|
\end{figure} |
|
|
\end{figure} |