From: Reversible data hiding for binary images based on adaptive overlapping pattern
1: | Obtain D0 from B0 by the Eq. 1 |
2: | Set the value of L |
3: | Embed SD to D0 by the excluding mode, and produce D1 and LM1 |
4: | Compress LM1 to LM1C |
5: | Embed LM1C to D1 by excluding mode, get D2 and LM2 |
6: | Compress LM2 to LM2C |
7: | Embed LM2C to D2 by the including mode, get D3 |
8: | Obtain B3 from D3 by the inverse of Eq. 1 |