谁知道这段MATLAB讲什么

来源:百度知道 编辑:UC知道 时间:2024/06/13 23:27:01
if dct_block(4,3) - dct_block(5,2) < k
dct_block(4,3)=dct_block(4,3)+(k/2);
dct_block(5,2)=dct_block(5,2)-(k/2);
end
end

% transform block back into spatial domain
watermarked_image(y:y+blocksize-1,x:x+blocksize-1)=idct2(dct_block);
% move on to next block. At and of row move to next row
if (x+blocksize) >= Nc
x=1;
y=y+blocksize;
else
x=x+blocksize;
end
end

% convert to uint8 and write the watermarked image out to a file
watermarked_image_int=uint8(watermarked_image);
imwrite(watermarked_image_int,'dct1_watermarked.bmp','bmp');

% display processing time
elapsed_time=cputime-start_time,

% display psnr of watermarked image
psnr=psnr(cover_object,watermarked_image), %%这里修改一下

% display watermarked image
figure(1)
im

参考盗墓的分南北两派,南派就是我爷爷那派,擅长洛阳铲探土,一只鼻子就能断定深浅朝代,现在很多小说里描写动不动就洛阳铲,其实北派是不用洛阳铲的,他们精于对陵墓位置、结构的准确判断,就是所谓的寻龙点穴,