matlab code for lsb matching embedding
ring pixel values. Unlike simple least significant bit (LSB) replacement, which directly replaces the least significant bit with message bits, LSB matching adjusts pixel values probabilistically to encode data, making the modifications less detectable