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 1 of 1

Thread: Discrete Cosine transform(dct)

  1. #1
    Junior Member
    Join Date
    Mar 2012
    My Mood
    Thanked 0 Times in 0 Posts

    Default Discrete Cosine transform(dct)

    The algorithm to perform discrete cosine transform is
    break image into 8*8 block of pixels
    from left to right top to bottom subtract 128 from each block of pixels
    apply dct to each block
    the algorithm continues however I have a few questions
    1)how to break the image into 8*8 block of pixels.What is the meaning of this statement and how should i proceed about doing it?
    2)subtract 128 from what value?
    3)how to apply dct?
    Thank you
    Last edited by skillet; April 8th, 2012 at 12:09 AM.

Similar Threads

  1. sine cosine problem
    By dewet in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 10th, 2012, 07:09 PM
  2. help please with code for inverse radon transform
    By sc3105 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 29th, 2011, 11:17 PM
  3. Trouble with law of Cosine program
    By Delstateprogramer in forum What's Wrong With My Code?
    Replies: 3
    Last Post: October 26th, 2010, 06:07 PM
  4. how to transform an html file to a web site in java
    By nasi in forum Java Theory & Questions
    Replies: 9
    Last Post: March 28th, 2010, 11:06 PM
  5. cosine in java
    By etidd in forum Java Theory & Questions
    Replies: 4
    Last Post: January 22nd, 2010, 09:33 AM