cipher in iamge using matlab code

2 ビュー (過去 30 日間)
mays afif
mays afif 2015 年 4 月 4 日
コメント済み: Image Analyst 2015 年 4 月 4 日
hi for everyone in this site. pleas i need help in matlab ... i am work to cipher text in matlab using cipher algorithms. but i need to read image and convert it to binary number such as (255 ---- will be 11111111) and so on and when i convert it to binary will be used xor operation with key >>>

回答 (1 件)

Geoff Hayes
Geoff Hayes 2015 年 4 月 4 日
mays - you don't need to convert the image into binary. Just use the MATLAB bit wise operations to manipulate the pixels of the image.
  2 件のコメント
mays afif
mays afif 2015 年 4 月 4 日
thank you Geoff.... i have key in (binary) and i need cipher image by add image to key by XOR ... i didn't understand your explain... such as i have image (64 x 64 ) as name=A and key = K how can i ciphering image
thank you very much
i'm sorry for bothering
Image Analyst
Image Analyst 2015 年 4 月 4 日
binaryString = dec2bin(yourImage(row, column))

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by