[4792] in java-interest
Re: Image question... (any FFT)
daemon@ATHENA.MIT.EDU (Vitaly Promislov)
Sun Jan 14 12:04:45 1996
Date: Sat, 13 Jan 96 17:08:55 ???
From: vitaly@diogen.asc.rssi.ru (Vitaly Promislov)
To: andyt@MIT.EDUT.sun.com
Cc: java-interest@java.sun.com
----- Begin Included Message -----
From daemon@java.sun.com Wed Jan 10 08:25:36 1996
From: Andrew (Rong Fong) Tian <andyt@MIT.EDU>
To: java-interest@java.sun.com
Subject: Image question...
Date: Tue, 09 Jan 1996 15:34:29 EST
Sender: owner-java-interest@java.sun.com
X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
Content-Length: 1245
Hi, I'm trying to implement a bunch of image processing methods(affine
transformation, warping, etc) with the Beta 2 image classes. I considered
writing them as subclasses of ImageFilter, along the line of CropImageFilter.
The problem I ran into was that the ImageFilter only allowed one direction
in terms of filtering the image. For example, if I want to scale an image,
the normal way would be to compute the new pixels by sampling the old
pixels. This requires the method to take as arguements the NEW pixels,
compute the old pixels, and modify the new pixels. But the filtering methods
in ImageFilter only take in the old pixels. This means that the new image
cannot have more pixels than the old image. Is there a way to further
generalize ImageFilter so that the filtering methods can be more flexible?
I'm also looking at just getting the actual pixels of the original image and
modify the pixels by hand, then recreate the image with MemoryImageSource.
But I can't figure out how to get the array of pixels from an image. Can
someone give me a hint?
I apologize if this isn't very clear...
Thanks,
Andy Tian
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com
----- End Included Message -----
Hi Andy
Are you going to implement any kind of FFT (Fourie Transform)
(1 or 2 D for image). I am working on image processing applet.
Vitaly
______________________________________________________________________
Vitaly Promislov
Astro Space Center, Russia e-mail: vitaly@diogen.asc.rssi.ru
fax: 095 333-23-78
Phone: 333-23-12
URL: http://diogen.asc.rssi.ru/Vitaly.html
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com