Research Article

High-Capacity Data Hiding Method Based on Two Subgroup Pixels-Value Adjustment Using Encoding Function

Algorithm 2

Embedding example of MPA.
Input 4 adjacent pixels and nk+2 = 14 binary secret data s.
Output 4 stego-pixels .
Step 1. Divide 4 adjacent pixels into two groups and .
Step 2. Transform s into decimal .
Step 3. Construct the to get and .
Step 4. Bring and into Equation 2 to calculate , .
Step 5. Calculate by Algorithm 1.
Step 6. is obtained by embedding into in the following steps.
,
  transform to , ,
  for , , , ,
  for , ,
 get .
Step 7. Bring into Algorithm 1 to calculate and get the difference D between and by .
,
  transform to , ,
  for , , ,
  for , ,
 get .
Step 8. Merge and to get .