Research Article

A Data Hiding Technique to Synchronously Embed Physiological Signals in H.264/AVC Encoded Video for Medicine Healthcare

Algorithm 1

Algorithm of our data hiding encoding technique.
Algorithm: Embed a sample.
Input: Data of the sample in bit-pairs according to (2).
Result: Embedded sample in a frame.
(1) for NewSample do
(2) curblock → current macroblock
(3) for MacroblockPartition do
(4) switch Mapping do
(5)   case 00: Quarter-Pixel Search Position =
(6)   case 01: Quarter-Pixel Search Position =
(7)   case 10: Quarter-Pixel Search Position =
(8)   case 11: Quarter-Pixel Search Position =
(9) end switch
(10)end for → until complete all partitions of the current macroblock
(11) end for → until complete all samples