This patent application is generally related to watermarking and
steganography. In one implementation, a method of embedding auxiliary
information within original data is provided. The original data is
divided into a series of groups, with each group in the series of groups
associated with a value. The method includes: investigating a first group
to determine a presence of a local masking opportunity; and if there
exists a presence of a local masking opportunity with the first group,
embedding data by setting a value of one or more groups in a neighborhood
of the first group, including the first group, in accordance with a value
associated with at least a portion of the auxiliary data. Other
implementations and embodiments are provided as well.