DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Tue, 2017-04-25, 15:36

All times are UTC + 1 hour




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Fri, 2010-02-12, 19:56 
Offline

Joined: Tue, 2009-09-22, 12:57
Posts: 18
Location: DKFZ Heidelberg
If your experience with the dcmtk user community indicates that these simplified sequence items access points are not required or helpful they can be dropped.


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2010-02-15, 10:16 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
Quote:
The mid level API in my opinion serves two purposes. One ist to provide simplified access to data content regardless of where it is located. In other words to simplify the appearance of the object to the programmer. [...] The nameing tells you what you can expect to get, no matter where it is located in the internal data structures. [...] The second purpose is a logical grouping of information and a processing of information to calculate derived information frequently used. An expample for that would be the scaling of dose pixel values into units of gray. [...] For example by providing a constructor for any of the IODs taking a filename or a dcmdataset and to extract the structures and image values into a data structure easily transferable to other tools and libraries for further processing, like visualization.

I agree to all of the above.

With regard to the sequence helper functions in the medium-level API: I don't think that getItemFromExposureSequence(index) is easier to use than getExposureSequence[index] or getExposureSequence().getItem(index) - it's just another notation and that is the reason why I wrote that it would be a simple replication. Of course, in case of deeply nested sequences it might be useful to provide such helper functions for the medium-level API. However, the naming of the functions should be derived from their semantics and not directly from the data elements (sequences) where the information is stored.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

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