Comments (6)
The original paper does not mention the potential orientation error of the initial inertia axis, so, in order to find which parts of the femur is anterior or posterior, we look to the closest point to the bounding rectangle on the cross section, assuming this point is posterior. When you look for point P2 we know that it must lie on this side of the cross section. @modenaxe do you want me to comment the whole function, or are you already working on a alternative version ?
from msk-staple.
I realised the non-directionality of the inertial axes was an issue, but could not properly understand the rest of the implementation. Maybe have a look at the function I was working on at this link. If you can add some comments would really help me. You can easily find the section because I marked it to rewrite it. If I understand it then I am happy to keep it! Thanks @renaultJB !
from msk-staple.
by the was @renaultJB , the Miranda Femur function does work properly - so it was correct.
from msk-staple.
I have added some comments and made minor code change to clarify the method. One thing that differ with the method of the original paper is proper polygon or polyhedra to axis intersection is not implemented. As in my test dataset the resolution of the mesh was quite high (~0.5mm) I didn't implemented intersection point identification functions but just identification of the closest point on the polyhedra (mesh/triangulation) to a given axis. I think this method gives good results as long as the mesh is sufficiently fine and present triangles of similar size.
from msk-staple.
Awesome! Maybe write a note on the function reporting this same comment, so if someone else uses it he/she will know that we are aware of the issue
from msk-staple.
Using Miranda's code received from the Authors.
from msk-staple.
Related Issues (20)
- [OpenSim 4.2] Test STAPLE with recently released OpenSim 4.2
- Pelvis mass&inertia don't get scaled in scaleMassProps.m HOT 4
- [STAPLE/BCS] Feet have wrong BC HOT 1
- [GIBOC-core] TriFillPlanarHoles.m throws error if mesh has no holes HOT 2
- [STAPLE/Foot] add chopart's transverse tarsal joint
- [STAPLE/Foot] add tarso-metatarsal joint
- [CFF file] add citation file
- Inversion of tibial CS when using the TLEM2 bone dataset HOT 3
- Beginner in STAPLE HOT 2
- articular surfaces of femur and acetabulum cartilages HOT 13
- [STAPLE/Foot] fitQuadriTalus confuses right and left sides HOT 1
- [STAPLE/bone_datasets] inconsistent names of bone mat files substructure
- [createOpenSimModelJoints.m] an incomplete joint is always required for upd ground connection
- [STAPLE/Algorithms] some algorithms are not documented at all
- [STAPLE] create folder of user settings for joint def
- [Doc] add table with fields of JCS and BCS structures to README or docs HOT 1
- [STAPLE/preprocessing] minimum workflow for raw geometry cleaning and sanity checks
- [STAPLE/JointDefinitions] Modenese2018 throws error if Tibia is not present
- [ROADMAP] STAPLE 0.1 (first stable release) HOT 2
- [DOCS] Automating documentation at pushing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msk-staple.