nipy / mindboggle

Automated anatomical brain label/shape analysis software (+ website)
http://mindboggle.info
Other
145 stars 54 forks source link

Fundus vertices sometimes have more than two neighbors that are also fundus line vertices #32

Closed ohinds closed 10 years ago

ohinds commented 11 years ago

Seen at b46ffe3757f421c45c81672e3552e700991bd418, which I know is a couple weeks old. Let me know if there have been relevant changes since then and I'll try again.

I ran the mindboggle pipeline on Afterthought-1 (in /mnt/nfs-share/Mindboggle/subjects). The resulting left hemisphere fundi.vtk file indicates that the following vertices are all value '4': 75171, 75181, 75182

These vertices are also part of the same face.

binarybottle commented 10 years ago

I added the following lines to extract_fundi() to remove fundus vertices that cover triangles:

        #-----------------------------------------------------------------
        # Remove triangle faces if all three vertices in fundus:
        #-----------------------------------------------------------------
        Iremove = find_complete_faces(skeletons, faces)
        if Iremove:
            skeletons = list(frozenset(skeletons).difference(Iremove))

give it another try!

ohinds commented 10 years ago

Yup, looks good!

binarybottle commented 10 years ago

great!