Hi Ryan,
I'm not aware of any code that does this but I don't think coding it
from scratch should be too difficult. Python has the tools you need to
read in medical images e.g. DICOM then you could perform a cell
deletion strategy to on a UnitSquare/UnitCube type mesh to get your
final result. There may well be better ways!
One alternative approach would be to use CGAL's mesh generation tools.
Here you provide an implicit function that tells CGAL whether you are
inside or outside your domain (based on the binary masks perhaps) it
should do the rest automatically. This would give you better boundary
representation than the approach you're suggesting where the
stair-casing effect can cause issues.
Cheers,
Jack S. Hale
Jack Hale
> --
> You received this message because you are subscribed to the Google Groups
> "fenics-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
fenics-suppor...@googlegroups.com.
> To post to this group, send email to
fenics-...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/fenics-support/01749acc-bc4d-4e75-9b41-c9f0c3d973c6%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.