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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 5 of 5

Thread: Image Reconstruction

  1. #1
    Junior Member waichalabhishek's Avatar
    Join Date
    Aug 2011
    Location
    India
    Posts
    4
    My Mood
    Bitchy
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Reconstruction

    Hi there!
    Im looking forward to do program that will reconstruct my image as a JPEG image from a text file which stores pixel details of a image(a JPEG image).
    I tried doing it with "java.awt.image.BufferedImage" , but I cannot get exact image ,as that of my original.
    Which other classes can i use for exact image reconstruction?


  2. #2
    Junior Member Mrc0d3r's Avatar
    Join Date
    Jun 2011
    Location
    TCP/IP Layer 3
    Posts
    25
    My Mood
    Bored
    Thanks
    0
    Thanked 6 Times in 5 Posts

    Default Re: Image Reconstruction

    Refer this.

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Image Reconstruction

    image from a text file which stores pixel details of a image
    How was the text file created? Can you explain how the "text" characters in the file were created from the binary bytes in an image?

  4. #4
    Junior Member waichalabhishek's Avatar
    Join Date
    Aug 2011
    Location
    India
    Posts
    4
    My Mood
    Bitchy
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Image Reconstruction

    I actually stored the RGB values in decimal (ie 0-255 range) format and then used the same for reconstruction!
    but the results im getting, create a image whose pixels have a changed values.Also the change in these values is very minor(For eg 203 will be 206;also variation not being constant).

  5. #5
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Image Reconstruction

    Without specifics, there is no way to suggest how to fix your problem.
    Can you post the code that creates the text file and the code that reads the text file and trys to recreate the image.

Similar Threads

  1. Replies: 1
    Last Post: August 18th, 2011, 06:48 AM
  2. Replies: 2
    Last Post: February 14th, 2011, 05:36 PM
  3. Blur Image
    By psrkiran in forum Algorithms & Recursion
    Replies: 10
    Last Post: December 31st, 2009, 07:57 AM
  4. Pixel Alteration in an image/image rotation
    By bguy in forum Java Theory & Questions
    Replies: 3
    Last Post: November 1st, 2009, 10:50 AM
  5. How images stores in awt.Image class?
    By BharatT in forum AWT / Java Swing
    Replies: 0
    Last Post: February 24th, 2009, 05:10 AM

Tags for this Thread