Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2005

Tip: Looking for answers? Try searching our database.

Problem in processing JPEG image

Thread view: 
Amar More - 13 Jan 2005 06:56 GMT
hell all,
    I am working on a project in which I am using JPEG image
processing.
In this, I am first extracting the pixels using BuferredImage.getRGB()
method.
After that I am doing some processing on those pixels and then
creating the new image back from those pixels (from array say
'Array').
     The problem comes here.  Whenever I am creating the new JPEG
image from those pixels, the image is getting created and saved
properly and displayed properly also.  But when I am again trying to
get the pixels of this image and trying to compare them with the
previous 'Array' they are not matching.  Ideally they should match,
because I am not chainging them while creating the image.
     Can anyone help me in solving this problem/
Andrey Kuznetsov - 13 Jan 2005 12:04 GMT
>     I am working on a project in which I am using JPEG image
> processing.
[quoted text clipped - 10 lines]
> because I am not chainging them while creating the image.
>      Can anyone help me in solving this problem/

jpeg is lossy format, you should work in frequency domain (without
dequantisation).

Signature

Andrey Kuznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities

Andrey Kuznetsov - 13 Jan 2005 12:41 GMT
>>     I am working on a project in which I am using JPEG image
>> processing.
[quoted text clipped - 13 lines]
> jpeg is lossy format, you should work in frequency domain (without
> dequantisation).

or choose another format like png

Signature

Andrey Kuznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.