Code covered by the BSD License
-
dcmserver_connection(dcmaet,d...
[imaVOL dcminfo] = dcmserver_connection(dcmaet,dcmaec,dcmhost,dcmport)
-
[handle]=progbar(varargin)
progbar.m: general purpose progress bar for MATLAB
-
dcmserver_change_sortordering...
function dcmserver_change_sortordering(sorting_ID)
-
dcmserver_getseriesinfo(dcmSt...
function dcmserver_getseriesinfo(dcmStudyListVal)
-
dcmserver_localtest
function dcmserver_localtest
-
dcmserver_remotetest(dcmaet,d...
function dcmserver_test(dcmaet,dcmaec,dcmhost,dcmport)
-
loaddcm(FileNames,dir_path)
function [imaVOL, scaninfo, dcminfo] = loaddcm(FileNames,dir_path)
-
View all files
DICOM server connection
by Laszlo Balkay
06 Apr 2010
This script connects to a DICOM server and transfer the a dicom series to the MATLAB workspace
|
Watch this File
|
| File Information |
| Description |
DCMSERVER_CONNECTION enables to connect to a DICOM server and creates a list
of the available DICOM studies and the related series. These lists will
be shown up on a GUI and the user can select the DICOM series to transfer
the corresponding DICOM slices. At the end of the transfer the
DCMSERVER_CONNECTION creates a 3D array image volume (imaVOL) including
the dcm slices and a structure (dcminfo) containing the the dicom header
info relating to the dicom series.
All functionality are based on the "DICOM Toolkit" (http://dicom.offis.de/dcmtk.php.en),
thus you need to properly configure your computer (as DICOM client) and
the required DICOM server, as well. (see the help of dcmserver_connection.m).
Inputs:
dcmaet - calling AE title
dcmaec - called AE title of peer
dcmhost - hostname of DICOM peer
dcmport - tcp/ip port number of peer
Outputs:
imaVOL - 3D array of the transferred dcm slices
dcminfo - dicom header structure relating to
the last image slice
Starting the transfer:
1. run the "dcm_server_local_start.bat" script (see the help of dcmserver_connection.m).
2. check the local DICOM server status using the "dcmserver_localtest.m"
(optional, see the related help of dcmserver_localtest.m)
3. check the remote DICOM server status using the "dcmserver_remotetest.m"
(optional, see the related help of dcmserver_remotetest.m)
4. start the dcmserver_connection function
Example:
dcmaet = 'MATLAB';
dcmaec = 'PET-CT_HOST031';
dcmport = '104';
dcmhost = '192.168.114.2';
[imaVOL dcminfo]=dcmserver_connection(dcmaet,dcmaec,dcmhost,dcmport);
For proper Installation and Configuration see the help of the “dcmserver_connection.m” file.
|
| Required Products |
Image Processing Toolbox
|
| MATLAB release |
MATLAB 7.8 (R2009a)
|
| Other requirements |
It has been tested on Windows XP |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com