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
- 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.
Windows only now.
it would be very nice to replace all backslashes '\' with forward slashes, or even better, the filesep() function.
on top of that; please get rid of nargchk and replace it by narginchck and nargoutchk
I am trying to use the script but I get this error and I don't know why.
Error using sprintf
Function is not defined for 'matlab.ui.Figure' inputs.
Error in CROIEditor/createwindow (line 14)
set(this.guifig, 'Tag', ['EsmeFigures', sprintf('%.f', this.guifig)]);
Error in CROIEditor (line 107)
Error in EsmeProcess (line 49)
Extracting the zip and setting the path, the program hangs upon execution (following the Readme file): MATLAB R2016a reports "Busy" indefinitely after several warnings about deprecated NARGCHK, much longer than the readme file's stated "few seconds". Installing it through the Add-Ons menu, it opened after a few seconds (with the same warning, "NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK instead.").
Thank you for the additional code to read; it appears to have many comments as well to guide comprehension.
The program hangs upon execution (following the Readme file): MATLAB R2016a reports "Busy" indefinitely after several warnings about deprecated NARGCHK, much longer than the readme file's stated "few seconds".
Nonetheless, thank you for the additional code to read; it appears to have many comments as well to guide comprehension.
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
1. Correct some minor errors.
1. Correct some minor errors.
Add 3D cross-section image viewing to the InfoEditor
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.
Inspired by: GetDrives, Rapid lossless data compression of numerical or string variables, boxcount, findjobj - find java handles of Matlab graphic objects, INI Config, Lacunarity of a binary image, Interactive DICOM 3D Viewer, Recursive directory listing - Enhanced RDIR, Enhanced Dicom Viewer, subtightplot
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.