PIPER
1.0.1
|
The anatomyDB library contains knowledge on the human body anatomy. More...
The anatomyDB library contains knowledge on the human body anatomy.
The following picture presents how the data is organized in the library :
make_entity_mycf.py
script. The obtain data is stored in the entity_mycf_doNotEdit.csv
file.
.csv files contains information that cannot be retrieved from MyCF. This includes synonyms for entity names, anatomical landmarks, anatomical frames,...create.sql
script is used at compile time to produce the sqlite database file.The core of the anatomyDB library is a set of functions which wrap SQL queries. In addition to the standard C++ library, several wrappers for other target languages are provided.
Octave (http://www.octave.org) is an open source alternative to Matlab, and is compatible with it up to a certain level. AnatomyDB functions can be used in octave as shown below :
output :
C1 synonyms: ans = { [1,1] = Atlas [2,1] = C1 } Bony parts of pelvis: ans = { [1,1] = Coccyx [2,1] = Left_hip_bone [3,1] = Right_hip_bone [4,1] = Sacrum } Right_anterior_superior_iliac_spine in Kepple1997: ans = RASIS Landmarks defined in Kepple1997: ans = { [1,1] = RASIS [2,1] = LASIS [3,1] = RPSIS [4,1] = LPSIS [5,1] = RHJCPEL [6,1] = LHJCPEL [7,1] = RAIIS [8,1] = LAIIS ... } Fill landmarks coordinates: ff = { FrameFactory, ptr = 0x7f3d62ffbf40 computeFrame (method) instance (static method) isFrameRegistered (method) landmark (method) registeredFrameList (method) } Available frames in factory: ans = { [1,1] = C1_C2_arch [2,1] = C1_Skull ... [25,1] = Left_calcaneus_ankle [26,1] = Left_carpal_radiocarpal [27,1] = Left_clavicle_acromioclavicular [28,1] = Left_clavicle_sternoclavicular ... [38,1] = Left_ulna_humeroulnar [39,1] = Pelvis_left_hip [40,1] = Pelvis_right_hip [41,1] = Right_calcaneus_ankle [42,1] = Right_carpal_radiocarpal [43,1] = Right_clavicle_acromioclavicular [44,1] = Right_clavicle_sternoclavicular [45,1] = Right_femur_hip [46,1] = Right_femur_knee [47,1] = Right_humerus_glenohumeral [48,1] = Right_humerus_humeroulnar [49,1] = Right_radius_radiocarpal ... } Left_scapula_glenohumeral frame: ans = 1 2 3 0 0 0 1 Left_femur_hip frame cannot be computed (missing landmarks): error: Error while computating frame Left_femur_hip Unknown landmark: Medial_epicondyle_of_left_femur (Medial_epicondyle_of_left_femur) (SWIG_RuntimeError)