Code covered by the BSD License  

Highlights from
Dicom Operator - EsmeProcess

4.5 | 2 ratings Rate this file 57 Downloads (last 30 days) File Size: 2.73 MB File ID: #43397 Version: 1.5
image thumbnail

Dicom Operator - EsmeProcess


Jun Li (view profile)


06 Sep 2013 (Updated )

EsmeProcess functions dicom image operation including viewing, drawing, writing and statistic.

| Watch this File

File Information

EsmeProcess: The main program is functioning dicom operation with drawing/painting multiple Region Of Interest (ROI) on a given dicom image, saving/retrieving the results into/from the dicom header, computing various statistic required, and viewing 3D images. All the imroi tools (freehand, circle, rectangle, polygon) are used to define ROI region(s) with a sophisticated binary operation between them. The statistical functions include bar, plot and boxplot. Further functions are provided:
          - Save the ROI/painting into dicom header; save the image, statistic, mask and ROI in .dicom, .png, .mask and .xlsx formats correspondingly.
          - Read the ROI/painting from header and paint to the dicom image; also load.mask.
          - Expand the ROI based on the size defined in the option file.
          - Apply the ROI to other images within the same dicom series either directly or by loading a .mask.
          - Calculate the mean, deviation and percentiles of aggregated ROI and display by plot, bar or boxplot in Statistic Menu. The aggregated ROI is computed based on an interactive binary operation. Each shape's histogram can be shown by right-click menu.
          - Load and configure the parameters. For example, the text object can be switched off by setting 'roitexton' parameter to zero in Options.
          - View, edit, anonymize and recover dicoms and headers
          - View cross-section of 3D Images by scrolling up/down mouse wheel

Generated Information:
                    - Binary mask (.mask).
                    - Region Of Interest (.xlsx).
                    - Statistic of ROI (.png).
                    - Dicom images with painting history (.dicom).

This program is also a good example for people who intend to use some undocumented tools such as uitree, recent files menu and listbox context menu etc.


Get Drives, Rapid Lossless Data Compression Of Numerical Or String Variables, Boxcount, Find J Obj Find Java Handles Of Matlab Graphic Objects, Ini Config, Lacunarity Of A Binary Image, Interactive Dicom 3 D Viewer, Recursive Directory Listing Enhanced Rdir, Enhanced Dicom Viewer, and Subtightplot inspired this file.

Required Products Image Acquisition Toolbox
Image Processing Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Parallel Computing Toolbox (Optional) Need Excel supported
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
14 Aug 2014 John Spartan


It's a very useful script for my work. However I have a question about fractal abundance, what does that mean? I don't fully understand what's the concept behind this word...
Could you explain it to me please?

Thank you very much

13 Feb 2014 Jun Li

Jun Li (view profile)

13 Sep 2013 1.2

A text object and ui context menu are created from each corresponding shape. The text object can be switched off by setting 'roitexton' parameter to zero in Options. Ui context menu supports histogram etc for each individual shape.

06 Dec 2013 1.3

Add 3D cross-section image viewing to the InfoEditor

07 Jan 2014 1.4

1. Correct some minor errors.
2. Improve 3D viewer.
3. Include a Readme.txt for installation at root, and include a 1-3D fractal analysis directory with commands (will have further development).

07 Mar 2014 1.5

1. Correct some minor errors.
2. Set automatic windowing in the main figure, parameterized by windowxp and windowyp in config.ini
3. Create contrast slider and brightness slider in InfoEditor related to transverse etc. directions.

Contact us