:1002-6886(2008)02-0067-03LSBMATLAB(,550003):(1980),,,,::2008-1-2:,,LSB,MATLAB7.0:LSBMATLABDigitalWatermarkingBasedonLSBandImplementationofMATLABHUANGFangyuanAbstract:DigitalWatermarkingisakindofadvancedtechnologyofinformationhidingappearedinrecentyears.Weprovidedsomenewwaysofcopyrightprotectionforthemultimediainformationwiththistechnology.Inthispaper,weintroduceddigitalwatermarkingtechnologyprinciples,characteristicsandclassificationfirstly,thendiscussedtheprincipleofdigitalwatermarkingbasedonLSB,andsimulatedthealgorithmwithMATLAB7.0finally.Keywords:watermark;imformationhiding;LSB;MATLAB0,,,,,,,,,LSB,MATLAB7.01,,,,,1994shcnydel,,,,,2,,,,,1,21,,76,,,,,,3,,,:,,,()//,,,,,,UniDreamMarkingTechnologiesPhotoWatermark,,,,,,4LSB4.1LSBLSBLeastSingificantBit,LSB:LSB,,,256,2568,,,,3256831,256,,,,2,40,,,,,4.2LSBLSB,,,1,1/8,1/4,,,,,,0,MATLAB7.0MATLABMathWorks,MATLABLSB,C256256,256,8620082MATLABbitset()0,0bitset(A,bit)A0,bit00,:bitset(A,1):w_i(ii,jj)=bitset(w_i(ii,jj),1,w(ii,jj)),w_i,1,2,,w5,,MATLAB(guida_2.bmp,gear.bmp,lsb_w.bmp)[C,map]=imread(gear.bmp);[m,map1]=imread(guida_2.bmp);Mc=size(C,1);Nc=size(C,2);Mm=size(m,1);Nm=size(m,2);w_i=C;forii=1:Mcforjj=1:Ncw_i(ii,jj)=bitset(w_i(ii,jj),1,m(ii,jj));endendimwrite(w_i,lsb_w.bmp,bmp);figure(1)imshow(w_i,[])title()figure(2)imshow(C,[])title()figure(3)imshow(m,[])title()LSB,,,,LSB,,,,LSB,,,5,,,,LSB,,,1VanSchyndelR.G.,TirkelA.Z.,OsbrneC.F.1ADigitalWatermark[J]1Proc.IEEEInternationalConferenceonImageProcessing,Austin,Texas,USA,1994,vol.2,pp:86-902WolfgangR.B.andDelpE.J.1AWatermarkforDigitalImages[J]1Proc.IEEEInt.ConferenceonImageProcessing,Lausanne,Switzerland,1996,vol.3,pp:21922223.MATLAB7.0[M]1:,20064.[M]1:,20065.[M]1:,20056,.[J]1,2000.5(26):972997,.[J]1,1998.9(21):1012103(51),,,(),,1,.[M]()1:,19992,.[M]():,19973,,.[M]().:,20024,,.[M]().:,19985.SolidWorks:()[M]().:,200396