Details
- Tag
- v1.0.2
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
05ae44827169 | aterrier | Changes in openLogFile.m and plot.m to run plotSCase from another dir than… | Jan 16 2020 |
Author: Alexandre Terrier, EPFL-LBO
Last update: 2019-02-19
This repository contains Matlab codes to import anonymised clinical cases in a shoulder database (shoulderDB), and update this database with complementary clinical, radiological, morphological, or biomechanical data. This project is a collaboration between Laboratory of Biomechanical Orthopedics of the Ecole Polytechnique Federal de Lausanne (EPFL-LBO), the Orthopedic Service of the University Hospital of Lausanne (CHUV-OTR), and the Radiological Department of the University Hospital of Lausanne (CHUV-RAD).
Matlab codes are tested with version 2018a. A config.txt file can be add in the main directory to locate the shoulderDB, which should be mounted locally. The config file is described and used by function openConfigFile.
The import code is located in the sub-directory importSCase. Its description is detailed there. It currently only work for Windows.
The update of the shoulderDB is performed by the function measureSCase. This function should be run from current directory. The update function is based on the matlab class ShoulderCase.
How to call the function measureSCase:
Input arguments can be one or several among: {Empty,'GlenoidDensity', 'Update', '[NP][1-999]', '[NP]'} If there is no argument the function will measure every new case. The first 'N' or 'P' given as an argument will force the function to be executed on all the corresponding 'N' or 'P' cases. This will overwrite every other ShoulderCase argument '[NP][1-999]' given before. Examples: measureSCase('GlenoidDensity') is a valid instruction where every new case is measured including its glenoid density. measureSCase('P400','N520') is a valid instruction where the cases 'P400' and 'N520' are measured only if they have not already been measured yet (new cases). measureSCase('P400','N520','Update') is a valid instruction where the cases 'P400' and 'N520' are measured whether they have already been measured or not. measureSCase('GlenoidDensity','P400','N520','P','Update') is a valid instruction where all the 'P' cases are measured including their glenoid density only if they have not been measured yet (new P cases). measureSCase('GlenoidDensity','P400','N520','Update','P') is a valid instruction where all the 'P' cases are measured including their glenoid density whether they have been measured or not. measureSCase('Z1590','trollingArgumentLol') is a valid instruction which raises a warning about the arguments and will result in the same as executing measureSCase() i.e. every new case is calculated.
Currently, the analysis is limited to the graphical display of an entry (SCase) of the shoulderDB, with the function plotSCase.
It might still be organized as folder, well documented in a README