Sie sind auf Seite 1von 4

IMAGE CRYPTOGRAPHY BASED ON RGB PIXEL TRANSFORMATIONS

BATCH NO :8
2011105001

Akshaya.S

2011105010

Jey Varshini.V

2011105013

Manasa Krishna

OBJECTIVE :
To develop a cipher algorithm for encryption and decryption of image of size
m*n size by RGB pixel Transformations using Matlab.
DESCRIPTION:
Because of the increasing demand for information security, image encryption
decryption has become an important research area. Image security is of utmost
concern as web attacks have become more and more serious. Image encryption
decryption has applications in internet communication, multimedia systems, medical
imaging, telemedicine, military communication, etc. To make the data secure from
various attacks and for the integrity of data we must encrypt the data before it is
transmitted or stored.
In our Project, We have employed a two stage encryption process . The first stage
employs picture displacement technique(Block displacement) . The second stage
employs RGB pixel transposition.
ALGORITHM
STAGE 1 ENCRYPTION:
*First the size of the image is found.
*Now the image is split into a number of horizontal blocks. In our project we have
taken 10 blocks.
*Now each of the blocks is split into two and then swapped within the block. In order to
do this we have to separate the specific block from the rest of the blocks and once
swapping is done it is concatenated with the other blocks.
*Once this is done for all ten blocks, the count is decreased and the process is
repeated for 9 blocks and so on till count reaches one.

*The final image is the input to the vertical block displacement


*The same process is repeated by dividing the image into a number of vertical
blocks.Thus block displacement is performed on the given input image.
This process can be repeated any number of times according to the complexity
required. The displacement of blocks reduces the correlation between the adjacent
pixels and increases the entropy. This process results in a lower correlation and a
higher randomness when compared to existing algorithm and thus improving the
security level of the encrypted images.

STAGE 2 ENCRYPTION:
ALGORITHM :
* The images used will have their RGB colours extracted and we have three matrices
with the R,G and the B pixel values.
* The R,G,B matrices are then made into column matrices .
* This is then horizontally concatenated to form a single matrix . The size of the matrix
formed will be the total number of pixels X 3.
* This matrix is then transposed and then it is converted into a single row matrix.
* From this 3 separate single row matrices are extracted and each of these are
reshaped
* The reshaped matrices are then combined together to form the encrypted image.

Das könnte Ihnen auch gefallen