diff --git a/ShoulderCase/@Humerus/loadSlicerLandmarks.m b/ShoulderCase/@Humerus/loadSlicerLandmarks.m new file mode 100644 index 0000000..33251ed --- /dev/null +++ b/ShoulderCase/@Humerus/loadSlicerLandmarks.m @@ -0,0 +1,7 @@ +function loadSlicerLandmarks(obj) + landmarksFilename = fullfile(... + obj.shoulder.SCase.dataSlicerPath,... + "HH_landmarks.mrk.json"); + fileData = jsondecode(fileread(landmarksFilename)); + obj.landmarks = [fileData.markups.controlPoints.position]'; +end \ No newline at end of file