• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DICOM

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
am new to DICOM..
i need some sample code on how to display dicom images using java..
can any one please help me how to do it...
is thier any sites available for dicom imaging codes...

thank you..

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may want to investigate the open source ImageJ application/library - it can read and display DICOM files.
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have displayed the dicom image successfully
now i want to compress the image..

what compression algorithm i can use for this?
could you please help me with any link or descriptions..

Thanks in advance..
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is their any best compression technique to compress dicom image without losing the details?
please help
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ranches..
i successfully wrote a program to display dicom images..and display the tag values in a table..
now i need to combine it both..
that is i need to get the image value and pass it as input file to the table class..
i tried as follows:





but am getting error as :

Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problem:
The method TableDemo1(File) is undefined for the type imagetable



can anyone please help....
i willl be very thankful to them...
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"TableDemo1(f)" is not a valid Java expression. If you want to create a new TableDemo1 object, then the proper syntax for that is "new TableDemo1(f)".
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oh thanks Ulf Dittmer...

it works well now..
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

i have developed program successfully to display dicom image and its header information....
the problem am facing here is i can successfully display elements and its sub item values.. but cant display another set of sub elements present in that sub item values
That is if displayed it is aligned normally without a tab space...

also i need to display these sub element values alone in a table...
here is my code which displays header information...


can anyone help....
thaks in advance...
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please can anyone help on the above post..
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

the problem am facing here is i can successfully display elements and its sub item values.. but cant display another set of sub elements present in that sub item values
That is if displayed it is aligned normally without a tab space...


What does the code do now? Can you post an example of its output as is, and an example of the output you'd like to get? Where do you think the problem is getting from one to the other?
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks ulf...

the output for the above code will be like this:


but i need to display as follows



Also i need the subitems output in the form of table ....
can you help with some idea or any change in code...

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At a quick glance those outputs look identical except for some white space; what's the functional difference?
 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no if you keenly notice you can see the difference at (0040,0008) [SQ]
in both the output that makes big difference.. also i need to append (0040,0008) and its subitems next to (0040,0007)....




 
Maya Naga
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i was developing a program that checks and display dcm files using netbeans...
but whenever i analyse a particular directory to display the dcm files in jtable am getting the below error:

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

this s my code..



can you please explain where is the problem and what to change?
thanks..
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which action causes this? Are you certain that the code properly disposes of all objects it no longer needs? Be sure to read the javadocs of all classes you use with respect to this.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im new to Dicom . Can Any one help me . Im using NETBEANS IDE for developing swing Standalone Application. What jar files i should use to work on dicom application.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
vivekkumar vijayan,

I'm not sure what you mean by "work on dicom application", but if you're looking for a library that can read DICOM files then I've mentioned one in my first post.
 
vivekkumar vijayan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ya thank for this information .. Im new to DICOM Please help me....

What is the purpose of this http://www.dcm4che.org/ and by using this dcm4che, how can i Get the dicom image from x-ray device and Store Dicom image into database server using java.

And also i want to know what is the use of JBOSS server in my application that get x-ray images from X-Ray machine and store it into database.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's keep this topic to DICOM, specifically. If you have question about other topics, please start a new thread in an appropriate forum. The product/library you mention would best fit into the "Other Open Source Projects" forum.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi im venkat...i want to know how to convert 2D to 3D dicom image
 
Oh the stink of it! Smell my tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic