Comments (10)
@mauigna06 I tried it. When it does work it looks fantastic but I found it to be a bit unpredictable in instances. There seems to be a relationship between the size (dimensions) of the plane and the mirrored plane (on the fibula). So these planes intersect with each other in unpredictable ways and cut segments alone its path creating segments that are useless.
This is how it looks when it goes wrong.
When it cuts nicely it looks very good and ready for 3D printing with no big errors.
from slicerbonereconstructionplanner.
The transform formula was corrected on the last commit (so it probably won't position the fibula planes that way anymore). But there is a problem in your planning (because of how the module is made). The planes should be placed with the normal pointing to to the posterior (posterior-right) direction (aproximatelly). Please look how the normals are positioned on the example I shared you above. Also note what planes should be positioned first.
from slicerbonereconstructionplanner.
I'm happy that you can use the module. That means the GUI is intuitive enough.
You are right that one click plane creation would solve this kind of problems. I think it should be the next thing we work on
from slicerbonereconstructionplanner.
Very nice work @mauigna06. We should talk so that I can introduce you to the approach that we developed for computing transforms for image-guided therapy applications (based on decomposing all transforms to trivially simple transforms between well-defined coordinate systems). Let me know what times would work for you on Dec 26 or later.
from slicerbonereconstructionplanner.
This is done in the last commit. Segmentations of mandible and fibula should be provided for the module to work.
Now cutted bones can be 3D printed to check if module is working right
from slicerbonereconstructionplanner.
This will be awesome, now you just need to transform the bone segments to the mandible to have a preview of the final bone reconstruction.
from slicerbonereconstructionplanner.
Can you share slicerScene examples that give you such errors?
Maybe the unpredictable behaviour happens because of the planes normals position. Here is an example picture of how the planes should be positioned in an axial view:
The first plane is the distal one, the second one is the middle one and the third one is the mesial one (each normal is the blue vector). I'm not sure if this solutions the problem but let me know
from slicerbonereconstructionplanner.
Currently, it is hard to place the planes correctly, but with the single-click add, the planes will be placed approximately corectly and you will just need to do slight manual adjustments.
from slicerbonereconstructionplanner.
Please find the scenes. first is after creating the planes and without been applied and the second is after applied.
https://drive.google.com/file/d/1BvT5d0VYgnddn3qzfkrTcHblNTTe42C2/view?usp=sharing
https://drive.google.com/file/d/1ED89dtTUgfT8Dy55MMPtrF6MzvNcZfKx/view?usp=sharing
I saved the first scene before applying anything with the hope of trying out different combinations. However, when I load it and try to apply it (with modifications or without any modifications) I get the following error.
from slicerbonereconstructionplanner.
I figure out the problem with my plane placement. It is because I was not paying attention to the origin of the plane. As the transformation updates with the change of origin and this was the problem. Is it possible to make the origin of the plane constraint on to the mandibular curve so only the direction information is passed on the transform and the origin of the transformed planes on the fibul constrained on to the fibula line? This would prevent the weird cutting plane generation. And i guess it would solve the problem with direction as well
from slicerbonereconstructionplanner.
Related Issues (20)
- make miterBoxes and biggerMiterBoxes have a slightly different color
- Instrument to hold the fibula pieces together
- BRP for mandibular reconstruction with iliac bone HOT 5
- To do list, perspective from the project first issues HOT 2
- mandible model gets visible after each "Update of the planning" HOT 1
- Assisted selection of fibula flap donor side HOT 4
- again test the workflow instructions completely on latest stable release 5.6.1
- Fix surgical guide bases creation step documentation
- Add fancy surgical simulation
- Fix tests not working in Slicer 5.6.2
- Custom titanium plate with Blender, copy workflow?
- Create better screw fixation holes HOT 1
- Can generic mandible and fibula models be used for accurate reconstruction?
- Allow deep circumflex Iliac artery flap (DCIA)
- Ability to reformat the slice view without switching to the reformat module. (So the curve can be drawn properly) HOT 1
- Update the Readme.md
- Test entire workflow manually on Stable and Preview releases HOT 4
- Automatically create fibula line from fibula segmentation
- Automatically create guideBaseCocoon when creating fibula/mandible models HOT 1
- improve 3D objects tree view
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 slicerbonereconstructionplanner.