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: need java code for Wavelet-based Color Histogram,please help

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

    Unhappy need java code for Wavelet-based Color Histogram,please help

    Step1: Extract the Red, Green, and Blue Components from an image.
    Step2: Decompose each Red, Green, Blue Component using Haar Wavelet transformation at 1st
    level to get approximate
    coefficient and vertical, horizontal detail coefficients.
    Step3: Combine approximate coefficient of Red, Green, and Blue Component.
    Step4: Similarly combine the horizontal and vertical coefficients of Red, Green, and Blue Component.
    Step5: Assign the weights 0.003 to approximate coefficients, 0.001 to horizontal and 0.001 to vertical coefficients
    (experimentally observed values).
    Step6: Convert the approximate, horizontal and vertical coefficients into HSV plane.
    Step7: Color quantization is carried out using color histogram by assigning 8 level each to hue, saturation and value to give a
    quantized HSV space with 8x8x8=512 histogram bins.
    Step8: The normalized histogram is obtained by dividing with the total number of pixels.
    Step9: Repeat step1 to step8 on an image in the database.
    Step 10: Apply K-means algorithm to obtain group of cluster of feature vectors.
    Step 11: Then hierarchical index will be firstly established by Hierarchical clustering algorithm on the results of previous
    step, and then retrieval will be done based on the indexing. We use the Euclidean distance formula as similarity

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

    Default Re: need java code for Wavelet-based Color Histogram,please help

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

    We don't give code, but we'll help you with yours. What have you tried? Post what you've done and then ask specific questions about your code.

Similar Threads

  1. Histogram java problem
    By supernowlin in forum What's Wrong With My Code?
    Replies: 4
    Last Post: April 4th, 2014, 11:29 AM
  2. Replies: 1
    Last Post: May 15th, 2013, 08:47 AM
  3. global color histogram
    By larbie in forum Java Theory & Questions
    Replies: 6
    Last Post: February 28th, 2013, 03:13 PM
  4. Histogram Java Program
    By djl1990 in forum What's Wrong With My Code?
    Replies: 17
    Last Post: October 24th, 2011, 06:47 AM
  5. text color changer based on words/ word classification by color
    By knoxy5467 in forum Java Theory & Questions
    Replies: 25
    Last Post: June 15th, 2011, 07:52 AM