DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Fri, 2017-11-24, 23:09

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed, 2004-12-22, 16:58 
Offline

Joined: Wed, 2004-12-22, 15:31
Posts: 1
Location: Bangalore, India
Hi All,

I am using dcmtk and DICOM Scope code to display multiple DICOM images (from the same series) in a tiled manner (4x4, 3x3, 2x2 etc.). I am basically trying to use the DICOMScope code (and using JNI to communicate with the dcmtk).

In doing so, the JVM is crashing. This is happening whenever I am trying to display more than one image for the first time.

It seems that the crash is occuring at findDisplayArea (). Has someone already faced such a problem? Any help in this regard would be great!

Thanks,
Indrajit

Following is the crash log:

Stack: [0x47388000,0x47408000), sp=0x47406530, free space=505k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libjInterface.so+0x185518] _ZN23DVPSDisplayedArea_PList17findDisplayedAreaEPKcm+0x2a
C [libjInterface.so+0x15b231] _ZN19DVPresentationState25getDisplayedAreaSelectionEv+0x4d
C [libjInterface.so+0x15b4bc] _ZN19DVPresentationState24getStandardDisplayedAreaERlS0_S0_S0_+0x12
C [libjInterface.so+0x1370fe] Java_J2Ci_jDVPresentationState_getDisplayedArea+0x6e
j J2Ci.jDVPresentationState.getDisplayedArea(LJ2Ci/jIntByRef;LJ2Ci/jIntByRef;LJ2Ci/jIntByRef;LJ2Ci/jIntByRef;)I+0
j viewer.presentation.PresentationStateGraphicsHandler.getDisplayArea()Lviewer/presentation/DisplayArea;+42
j viewer.presentation.PresentationStateGraphicsHandler.calculateFirstZoomValue()V+1
j viewer.presentation.PresentationStateGraphicsHandler.setScreenSize(Ljava/awt/Dimension;)V+6
j viewer.main.ScreenImageHandler.drawScreenImage(Ljava/awt/Graphics2D;)V+147
j viewer.gui.ImageCanvas.paintComponent(Ljava/awt/Graphics;)V+48
j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+260


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 2004-12-22, 17:44 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
The class DVInterface (which is also used as the main interface between the C++ and the Java part of DICOMscope) does only support a single image at a time. If you want to manage/display multiple images you have to enhance the code accordingly.


Top
 Profile  
 
PostPosted: Tue, 2008-08-05, 04:53 
Offline

Joined: Mon, 2008-07-07, 08:47
Posts: 5
I'm going to work on multiple images,
can anybody give an idea.
Should I enhance on dcmtk to display multi image , or enhance on Dicomscope?

IF you have other idea or source code, thanks so much

I appreciate which you all support

thank you

_________________
dragon


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2008-08-07, 11:18 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
You probably need to enhance both since the data handling is part of the DCMTK module "dcmpstat".


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2008-08-11, 03:32 
Offline

Joined: Mon, 2008-07-07, 08:47
Posts: 5
THank Jörg Riesmeier

So I need to learn more, cos I have no experience on dcmtk

thank you

_________________
dragon


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group