This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes ImageJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "ImageJ" Watch "ImageJ" New topic
Author

ImageJ

Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Hi all
I'm planning to develop an DICOM Viewer application using the Swing and ImageJ.

Please give me some ideas. How i can do that, sorry i am not sure what to ask. so please let me know what i have to read. if you have any material or links, please give me.

i have tried to show one slice on the JPanel, its working fine. but for further i need to show all the slices on the Panel. What i have to for that?

Thanks in advance


-Chiru
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41024
    
  43
Unless you're planning to embed ImageJ in your app I'd use a dedicated DICOM library like http://santec.tudor.lu/project/optimage/dicom/start, or use ImageJ's ij.plugin.DICOM class directly.


Ping & DNS - my free Android networking tools app
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

ya i have to use imageJ library fro Image Processing
but with my own GUI.

can i do that and how?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41024
    
  43
Ulf Dittmer wrote:use ImageJ's ij.plugin.DICOM class directly
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Ulf

This DICOM.show() it will display image on ImageWindow which is an imageJ class for Viewing the images.

But how can i take that on my JPanel of JFrame, or is their any way

Thanks for reply
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41024
    
  43
What I meant was that the code in that class show show to open a DICOM image. There's code in the "run" method that will create both an ImagePlus and an ImageProcessor. From those, you can obtain the pixels that make up the image(s), and use them in any way you want (like for creating a BufferedImage for display in a Swing app, maybe).
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

Dear ulf,

I got that thank you.

the next i am trying to change the Image slice on JScrollBar,
What is the use of
<code>public void updatePosition(int c, int z, int t)</code> In ImagePlus class
can you explain this

thank you
Chiranjeevi Kanthraj
Ranch Hand

Joined: Feb 18, 2008
Posts: 289

How can i scroll the images
the ImagePlus is having the stack

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ImageJ
 
Similar Threads
Looking for image viewer applet. Please Help.
Java Advanced Imaging
Surprisingly Complex Images Generated From Very Simple Code
WindowWidth WindowLevel ImageJ
jsf panelGrid