applet code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

applet code

Rodrigo Heffner
Hi everyone!

Today I was searching for a solution to image manipulation on Java
when I entered this site:
http://homepage.mac.com/kieranmaher/digrad/java/rbs.html
This applet is just what I need to use on my system. I've searched for
the code of it within the source files, but didn't find exactly where
the functions like Invert, Rotate, Smooth (and so on) are.

Can anyone give me a hand?

Thanks for the help!

--
*************************************
Rodrigo Heffner Mendes Bezerra
*************************************
Reply | Threaded
Open this post in threaded view
|

Re: applet code

Wayne Rasband
> Hi everyone!
>
> Today I was searching for a solution to image manipulation on Java
> when I entered this site:
> http://homepage.mac.com/kieranmaher/digrad/java/rbs.html
> This applet is just what I need to use on my system. I've searched for
> the code of it within the source files, but didn't find exactly where
> the functions like Invert, Rotate, Smooth (and so on) are.

This applet is basically the same as the one at

    http://rsb.info.nih.gov/ij/ip-demo1/

which includes Java source code. The invert(), rotate(), smooth() etc.
methods used by these applets are in ImageJ's ImageProcessor class

    http://rsb.info.nih.gov/ij/source/ij/process/ImageProcessor.java

and its subclasses, such as ByteProcessor

    http://rsb.info.nih.gov/ij/source/ij/process/ByteProcessor.java

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: applet code

Rodrigo Heffner
Thanks for the help so far, Wayne!

Actually I work with a BufferedImage, and I was hoping to adapt your
functions to my app, but I'm taking a look and your source code is
HARD! Let me remember that I'm an intern still.

Could you give me any tips about that? I also don't think I can use
applets on my app.

Thanks for everything and congrats for all that!!

On Fri, Jun 6, 2008 at 3:44 PM, Wayne Rasband <[hidden email]> wrote:

>> Hi everyone!
>>
>> Today I was searching for a solution to image manipulation on Java
>> when I entered this site:
>> http://homepage.mac.com/kieranmaher/digrad/java/rbs.html
>> This applet is just what I need to use on my system. I've searched for
>> the code of it within the source files, but didn't find exactly where
>> the functions like Invert, Rotate, Smooth (and so on) are.
>
> This applet is basically the same as the one at
>
>   http://rsb.info.nih.gov/ij/ip-demo1/
>
> which includes Java source code. The invert(), rotate(), smooth() etc.
> methods used by these applets are in ImageJ's ImageProcessor class
>
>   http://rsb.info.nih.gov/ij/source/ij/process/ImageProcessor.java
>
> and its subclasses, such as ByteProcessor
>
>   http://rsb.info.nih.gov/ij/source/ij/process/ByteProcessor.java
>
> -wayne
>



--
*************************************
Rodrigo Heffner Mendes Bezerra
*************************************