Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ImageJ

 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya i have to use imageJ library fro Image Processing
but with my own GUI.

can i do that and how?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:use ImageJ's ij.plugin.DICOM class directly
 
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 290
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i scroll the images
the ImagePlus is having the stack

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic