lsb substitution tohide the data in another data

1 Ansicht (letzte 30 Tage)
vasantha malairamar
vasantha malairamar am 1 Apr. 2017
Beantwortet: Walter Roberson am 1 Apr. 2017
Enter the no of LSB bits to be subsituted- 5 Error using bitcmp ASSUMEDTYPE must be an integer type name.
Error in Steg (line 15) S = uint8(bitor(bitand(x,bitcmp(2^n-1,8)),bitshift(y,n-8))); %Stego

Antworten (1)

Walter Roberson
Walter Roberson am 1 Apr. 2017
bitcmp cannot be used to complement only one bit: it does all of the bits at the same time.
You can bitset to set a bit to bitcmp of an extracted bit.

Community Treasure Hunt

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

Start Hunting!

Translated by