Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: embedding a watermark using 2d arrays.

  1. #1
    Junior Member
    Join Date
    Oct 2014
    Thanked 0 Times in 0 Posts

    Question embedding a watermark using 2d arrays.

    I have 2d array LL2 extracted from 2-level DWT of an image and a binarized watermark W in a 2D array (only 0s and 255s). (watermark W is split into 4 equal parts as W1, W2, W3 n W4) And I want to embed the watermark according to the following method. But I cant seem to understand how to implement it.

    "Embedding. The LL2 is split into blocks, and block size can be used as key K2, such as 44 blocks.
    We selected a pair of coefficients block (i, j) and block (p, q) to embed watermark. Take the parameter
    i, j, p,q as the key K3, K4, K5 and6. Here assign value i = j = 2 , p = q =3 .Watermark W1 was
    embedded into LL2 as follows:
    When the watermark information is 0, we judged whether block (2, 2) <block (3, 3),if not, exchange the
    coefficient value; When the watermark information is 1, we judged whether block (2, 2) ≥block (3, 3),if
    not, exchange the coefficient value. "

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: embedding a watermark using 2d arrays.

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

Similar Threads

  1. Embedding an image in textbox
    By Skywola in forum Java Theory & Questions
    Replies: 4
    Last Post: March 4th, 2014, 06:53 PM
  2. Help with embedding database
    By MrT in forum JDBC & Databases
    Replies: 5
    Last Post: November 26th, 2011, 07:32 AM
  3. Embedding Java application into external client
    By 1372586 in forum Java Networking
    Replies: 3
    Last Post: November 3rd, 2011, 08:57 AM
  4. Embedding a hyperlink within a JFrame
    By KiwiProg in forum AWT / Java Swing
    Replies: 1
    Last Post: January 3rd, 2011, 12:19 AM
  5. Embedding images in a matrix.
    By Aims_ in forum Java Theory & Questions
    Replies: 1
    Last Post: September 11th, 2009, 02:37 PM

Tags for this Thread