Image Processing Reference
In-Depth Information
t + 1
Ta b l e 7 . 4 Proposed eight cells for the cellular automata with XOR local rule: Cell [ X ]
=
t
t
Cell [ X
]
(XOR) Cell [ X +
]
1
1
Cell Number Input Value (time t )
0
Sum of all singular values of the Original Image (Red Matrix)
1
Mean of all singular values of the Original Image (Red Matrix)
2
Sum of all right singular vectors of the Original Image (Red Matrix)
3
Mean of all Eigenvectors Numbers of Red Matrix of the Original Image
4
Sum of all Eigenvalues Numbers of Green Matrix of the Original Image
5
Mean of all Eigenvalues Numbers of Green Matrix of the Original Image
6
Sum of all Eigenvectors Numbers of Green Matrix of the Original Image
7
Mean of all Eigenvectors Numbers of Green Matrix of the Original Image
The embedding algorithm into LSB of eight pixels of the Blue layer of the input
image will be as follows:
Data Embedding Algorithm
Input: RGB image to apply data embedding to it for forgery protection.
Output: .PNG RGB image file.
Step1: Open the original image and get the corresponding Red, Green and Blue
matrices form of that. We know that a matrix is the certain underlying object of each
digital image.
Step2: Calculate Eigenvalues and Eigenvectors of the Red Matrix and create the
array list as the input values of the cellular automata.
Step3: Calculate Eigenvalues and Eigenvectors of the Green Matrix and create
the array list as the input values of the cellular automata.
Step 4: Zero padding to apply the rule to the boundaries.
Step5: Perform the cellular automata rule according to the Table 7.4. This rule
performs on the array list to create a Secret key. (This step describes in detail in the
following section: Forgery Detection Algorithm)
Step6: Convert the Secret key to the binary representation.
Step7: Select the first eight pixels in Blue Layer (Blue Matrix) and embed the
binary sequences of Secret key into the LSB of each pixel.
The forgery detection algorithm will be as follows:
Forgery Detection Algorithm
Input: .PNG image that contains a Secret key.
Output: Digital image forgery detection alarm.
Step1: Open the .PNG input image and make digital image matrix.
Step2: initial integer variable SecretValue to zero.
Step3: initial integer variable EigenVsArrayValue to zero.
Step4: Calculate Eigenvalues and Eigenvectors of the Red Matrix.
Step5: Calculate Eigenvalues and Eigenvectors of the Green Matrix.
 
Search WWH ::




Custom Search