Research Article

Data-Hiding Scheme Using Multidirectional Pixel-Value Differencing on Colour Images

Algorithm 2

Embedding algorithm.
The embedding algorithm of Shiv and Arup’s scheme is as follows.
Step 1: Separate RGB colour image into R, G, B channel
Step 2: Create two pairs (R, G) and (G, B)
Step 3: Compute and for the threshold: , .
Step 4: Perform Steps 5 through 7. If the threshold is less than the sum of and .
Step 5: Apply the PVD scheme to generate and on two pairs
Step 6: Calculate the average value of and to generate :
Step 7: Calculate , using ,
Step 8: Repeat Steps 1 through 7 for all pixels