Welcome![Sign In][Sign Up]
Location:
Downloads Other resource
Title: dsakf Download
 Description: % file name: randlsbget. M % programmer: yu bo Writing time: 2007.6.25 Function: this function will complete the secret information that is hidden Example: result= (scover.jpg, 56, secret. TXT, 2001) % parameter description: % output is the image after the information is hidden % len_total is the length of the secret information The % goalfile is the extracted secret information file The % key is the key of the random interval function % result is the information extracted The function result = randlsbget (output, len_total goalfile, key) Ste_cover = imread (output) Ste_cover = double (ste_cover) % determine whether embedded information is too large [m, n] = size (ste_cover) FRR = fopen (goalfile, a) The % p is used as the information embedding bit counter to write the information sequence back to the text file P = 1 The random interval function is called to select the pixels [the row, col] = randinterval (ste_cover len_toal, key) For I = : len_toal If bitand (ste_cover (row (I), col (I)), 1) = = 1 Fwrite (FRR, 1, bit1) The result (p, 1) The else Fwrite (FRR, 0, bit1) The result (p, 1) = 0 The end If p = = len_total break The end P = p + 1 The end Fclose (FRR)
 Downloaders recently: [More information of uploader yubojinliang]
 To Search: LSB
File list (Check if you may need any files):

CodeBus www.codebus.net