Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

extract hiden text from image

조회 수: 1 (최근 30일)
Yusuf lamah
Yusuf lamah 2020년 2월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
what the problem in this program to extract hiden text
s = imread('D:\desrt.jpg');
%s= getimage('D:\LSB\stegImage17.jpg');
%c = getframe(handles.axes1);
height = size(s,1);
width = size(s,2);
m = 800;
k = 1
if(k<=m)
LSB = mod(double(s(i,j)), 2);
s(i,j)=s(i,j)+LSB+b(k);
k=k+1;
end
binaryVector = b;
binValues = [ 128 64 32 16 8 4 2 1 ];
binaryVector = binaryVector(:);
if mod(length(binaryVector),8) ~= 0
error('Length of binary vector must be a multiple of 8.');
end
binMatrix = reshape(binaryVector,8,100);
display(binMatrix);
textString = char(binValues*binMatrix);
disp(textString);
  댓글 수: 1
Adam Danz
Adam Danz 2020년 2월 17일
If you edit the question and format the code using the [>] button, you'll increase the likelihood of getting a response.

답변 (0개)

태그

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by