Simplify and Mirror the 3D endocast (surface mesh)

Using Meshlab we can simplify the surface meshes to smaller files as well as create a mirrored image version of each endocast. We can also change the file type if necessary.

To simplify:
Open the endocast in Meshlab
- Click on Filters -> Remeshing, Simplification, and Reconstruction -> Quadratic Edge Collapse Decimation

Check the correct boxes so it looks like this:



For the endocasts I am choosing a target number of faces at ~30,000.

Save the simplified mesh as a .ply file:
Export mesh as... -> standard .ply file -> uncheck binary, check normals




To mirror the endocast:

1. load the original mesh (or keep up the newly simplified one)

2. Filters -> Normals, Curvature, and Orientation -> Transform: Flip and/or Swap axis
- a pop up window will appear, select the axis to mirror over (x-axis)
- use preview to make sure it is correct before hitting apply
- select Freeze Matrix option
- hit apply

All the "face normals" will be inverted so it will look inside out

3. reverse the face normals
- Filters -> Normals, Curvature, and Orientation -> Invert Faces Orientation -> apply


Export the mirrored and simplified endocasts

No comments:

Post a Comment