Want to use only a specific utility of this tool...

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

Want to use only a specific utility of this tool...

Nihar Dhruva
Hi all,

I have just recently joined this group. I need your help for a very specific
task.


I have already downloaded the source code of this tool and checked it. it's
working fine on my pc.

But now I want to modify the code of this tool and just want to make it as
an applet which just provides the utility of opening an .png image file and
"Zoom In" and "Zoom Out" features for that image. I am trying to study this
tool since long time, but as it contains too many classes, it's very
difficult to understand the things so soon. Can anyone guide me, what
modifications should I make to keep the part only of my desire and remove
the rest of the part ???

Please reply me as soon as possible,

Waiting for your possitive response,

-Nihar Dhruva
Reply | Threaded
Open this post in threaded view
|

Re: Want to use only a specific utility of this tool...

Sullivan, Michael J (College of Med.)
Nihar, One resource that might help is the class hierarchy diagram at:
http://rsb.info.nih.gov/ij/developer/diagram.html --- Mike

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Nihar Dhruva
Sent: Thursday, February 09, 2006 2:57 PM
To: [hidden email]
Subject: Want to use only a specific utility of this tool...

Hi all,

I have just recently joined this group. I need your help for a very
specific task.


I have already downloaded the source code of this tool and checked it.
it's working fine on my pc.

But now I want to modify the code of this tool and just want to make it
as an applet which just provides the utility of opening an .png image
file and "Zoom In" and "Zoom Out" features for that image. I am trying
to study this tool since long time, but as it contains too many classes,
it's very difficult to understand the things so soon. Can anyone guide
me, what modifications should I make to keep the part only of my desire
and remove the rest of the part ???

Please reply me as soon as possible,

Waiting for your possitive response,

-Nihar Dhruva
Reply | Threaded
Open this post in threaded view
|

Re: Want to use only a specific utility of this tool...

Nihar Dhruva
Thanks Mike for such a useful diagram, but still I a not that Clear with how
can I remove the rest of the utilities and keep only File Open, Zoom In, and
Zoom Out utilities...

can you guide me specifically for that part ? as I don't have to spend much
of the time on this tool, like which window, button etc... are which class,
and how are they interracting interoperably.

-Nihar

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of
Sullivan, Michael J (College of Med.)
Sent: Friday, February 10, 2006 2:24 AM
To: [hidden email]
Subject: Re: Want to use only a specific utility of this tool...


Nihar, One resource that might help is the class hierarchy diagram at:
http://rsb.info.nih.gov/ij/developer/diagram.html --- Mike
Reply | Threaded
Open this post in threaded view
|

Re: Want to use only a specific utility of this tool...

Sullivan, Michael J (College of Med.)
In reply to this post by Nihar Dhruva
 Nihar, what might be a better approach would be to develop a specific
user interface using a plugin to IJ (unless of course, you want to not
only make is simple to use but also PREVENT the user from being able to
access the other features of IJ.  I often develop plugins that use their
own simple graphical interface to open and run various IJ actions.

If that is the case you need to learn how to write plugins -- there are
tutorials in the developers section of the IJ website
(http://rsb.info.nih.gov/ij/developer/index.html).  It may be helpful to
be able to use (I know I find it so) a development tool such as JBuilder
from Borland (There is a free base-level version available). Also I have
seen some discussion of Eclipse and NetBeans (Which I think are also
graphical interface development tools) lately in this forum. If you have
developed any Java programs before the process would be fairly simple --
if not then it will take a moderate amount of effort.

I would be happy to help -- as much as I can -- you get started. ---
Mike

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Nihar Dhruva
Sent: Thursday, February 09, 2006 4:16 PM
To: [hidden email]
Subject: Re: Want to use only a specific utility of this tool...

Thanks Mike for such a useful diagram, but still I a not that Clear with
how can I remove the rest of the utilities and keep only File Open, Zoom
In, and Zoom Out utilities...

can you guide me specifically for that part ? as I don't have to spend
much of the time on this tool, like which window, button etc... are
which class, and how are they interracting interoperably.

-Nihar

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]]On Behalf Of
Sullivan, Michael J (College of Med.)
Sent: Friday, February 10, 2006 2:24 AM
To: [hidden email]
Subject: Re: Want to use only a specific utility of this tool...


Nihar, One resource that might help is the class hierarchy diagram at:
http://rsb.info.nih.gov/ij/developer/diagram.html --- Mike
Reply | Threaded
Open this post in threaded view
|

Re: Want to use only a specific utility of this tool...

Wayne Rasband
In reply to this post by Nihar Dhruva
> But now I want to modify the code of this tool and just want to make
> it as
> an applet which just provides the utility of opening an .png image
> file and
> "Zoom In" and "Zoom Out" features for that image. I am trying to study
> this
> tool since long time, but as it contains too many classes, it's very
> difficult to understand the things so soon. Can anyone guide me, what
> modifications should I make to keep the part only of my desire and
> remove
> the rest of the part ???

Have you looked the example applet at
<http://rsb.info.nih.gov/ij/ip-demo2/>?

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

Re: Want to use only a specific utility of this tool...

Jim Cant
I tried the example in the link below.  I clicked zoomIn a few times then zoomOut a few time.

zooming in worked fine but zooming out made the displayed image smaller, i.e., the window shrunk, rather than showing more of the image in the window.

Is the the expected behavior?

jim

Rasband Wayne wrote
> But now I want to modify the code of this tool and just want to make
...snip...
> the rest of the part ???

Have you looked the example applet at
<http://rsb.info.nih.gov/ij/ip-demo2/>?

-wayne