gui - first version.
Todo:
- plot structures
- calculate moments
- calculate mindose, maxdose, dvh etc.
Renamed files to avoid errors in Matlab
Loading dosecubes. Changed title of the popup window.
Add functionality for plotting structures.
Plot title is printed independently of structures.
Some idiotproof improvements.
Some comments and redundant code deleted.
Now the script creates path: patientID/Modality instead of patientID/Study/Modality. I just commented a few lines so it can be easily changed if needed. As a final goal I would see a parameter that you pass to the function and that directs what is the created path. Maybe sth like: compileData(boolean patientID, boolean Study, boolean Series, boolean Modality). Another thing is that compileData function should be implemented to DicomTamerGUI.
Added one 'if' check to the code. Check if there are any slices in the structure. For some dicoms there was a strucutre defined in StructureSetROISequence but the structure was missing in ROIContourSequence.
Added more structure checkboxes. There are plans containing over 30 structures.
Fixed problem of nonmonotonic zcoordinates in dicomstructures.
Bug in calculate.m fixed. There was bug in calculating indicator_mask. After completion of the script only last slice of the structure was stored in the indicator_mask.
gitignore added
Some bugfixing
dosecubes xyzVectors are saved to structure_dosecubes.mat from now on
added my data directory as a default path. Lazy and bad way to do it.
xy labels were wrong. Now it is ok.
Added tags to some gui buttons
Sometimes not all defined structures are contoured. This fix prevent bugs connected with this. Structures checkbox names were renamed in gui.
A few functions renamed