Skip to main content
. 2020 Jan 25;22(2):145. doi: 10.3390/e22020145
Algorithm 1: Embedding pseudocode
foreach AMBTCcompressed block biin T do
    if HmLm4then  /* non-embeddable block */
      Do nothing;
    else if bi is first embeddable block then
      embedding dictionary D number;
    else 
      foreach pixel xi in bi do
       find adjusting pixel values Pv in D;
       xi=xi+ Pv;
      end
    end
  end