Code covered by the BSD License

### Highlights from Visual Cryptography

4.55556
4.6 | 9 ratings Rate this file 21 Downloads (last 30 days) File Size: 24.8 KB File ID: #24981 Version: 1.2

# Visual Cryptography

by

### Athi (view profile)

10 Aug 2009 (Updated )

Generation of two-out-of-two Visual Cryptography Scheme shares.

File Information
Description

This program generates a two-out-of-two Visual Cryptography Scheme shares. The input image for this program should be a binary image. The shares and the overlapping result of the shares are written as output. The Shares (1 & 2) can be printed in separate transparent sheets and overlapping them reveals the secret image.

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
01 Mar 2016 manal rezz

### manal rezz (view profile)

26 Nov 2015 Nikesh Tanwer

### Nikesh Tanwer (view profile)

05 Aug 2015 ashwathy dev

### ashwathy dev (view profile)

Sir What is the difference in the effect of 4 shares and 6 shares.

Comment only
05 Mar 2014 ANUSREE

### ANUSREE (view profile)

sir how to apply vcs to color face images.. relpy me fast sir

Comment only
05 Mar 2014 ANUSREE

### ANUSREE (view profile)

sir how to apply vcs to color face images.. rely me fast sir

20 Oct 2013 draj

### draj (view profile)

19 Apr 2013 dipjit

### dipjit (view profile)

19 Apr 2013 dipjit

### dipjit (view profile)

what is the meaning of the code portion"
pixShare=generateShare(s1a,s1b);
share1((a),(2*b-1):(2*b))=pixShare(1,1:2);
share2((a),(2*b-1):(2*b))=pixShare(2,1:2);"
and is the pixShare is a variable which is userdefined or it is a function from matlab library.

Comment only
17 Sep 2012 Huynh Tu

### Huynh Tu (view profile)

02 May 2012 STEVEN

### STEVEN (view profile)

24 Apr 2012 ambika poojary

### ambika poojary (view profile)

I want code for 2 out 3 sheme sharing visual cryptography,can you explain the code u used in 2outof 2 scheme, the line is share1((a),(2*b-1):(2*b))=pixShare(1,1:2); pls?

Comment only

I have the same question as how to generate the same shares for colour images.

Comment only
26 Nov 2011 sander

### sander (view profile)

sir how to generate the same shares for colour images. shares of red green and blue. den combining them to get colour visual cryptography

Comment only
17 Oct 2010 Gopi Subramanian

### Gopi Subramanian (view profile)

Why pixel expansion 2 is used?. Comments not enough.
Open source is way the technology free to learn, not just code.
- Freedom Software

Comment only
21 Aug 2010 priya anthony

### priya anthony (view profile)

Hi Athi
It is quite interesting could u tell me how to do it for 3 out of 3 scheme

12 Aug 2009 Christopher

### Christopher (view profile)

Quite Interesting. Its working for my own images.