<div dir="ltr">The best thing would be to compute a "smooth" enveolope around the outermost vertices and just take everything inside. I fear this is not as easy to get as it sounds ...<br><div class="gmail_extra">
Anyways, on closer inspection, the actual amount of vertices disjoint by th gaps is neglegible. I might not suffer enough to look into it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Alex, have we ever thought about adding some set logic to labels? I'm thinking of overloading the minus operator for example.<br>
</div><div class="gmail_extra"><div class="gmail_quote"><br class="">-D<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Aug 18, 2014 at 5:47 PM, Alexandre Gramfort <span dir="ltr"><<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank">alexandre.gramfort@telecom-paristech.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">hi,<br>
<br>
you could "smooth" the label (although we should have named it<br>
dilate). The current code in stc_to_label could maybe help.<br>
<br>
HTH<br>
Alex<br>
<div><div class="h5"><br>
<br>
On Sat, Aug 16, 2014 at 10:13 PM, Denis-Alexander Engemann<br>
<<a href="mailto:denis.engemann@gmail.com">denis.engemann@gmail.com</a>> wrote:<br>
> Dear list,<br>
><br>
> for a recent analysis I'm assembling a big label (using operator overloading<br>
> np.sum(labels)) based on the Brodmann PALS B12 parcelation.<br>
> As a result, some gaps remain between adjacent labels.<br>
> E.g. see: <a href="https://www.dropbox.com/s/rzzzcz1tv1k75si/label_check_lat.png" target="_blank">https://www.dropbox.com/s/rzzzcz1tv1k75si/label_check_lat.png</a><br>
><br>
> I'm wondering about the easisest way to fill these gaps (code-based).<br>
><br>
> Best,<br>
> Denis<br>
><br>
</div></div>> _______________________________________________<br>
> Mne_analysis mailing list<br>
> <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
> <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
><br>
><br>
> The information in this e-mail is intended only for the person to whom it is<br>
> addressed. If you believe this e-mail was sent to you in error and the<br>
> e-mail<br>
> contains patient information, please contact the Partners Compliance<br>
> HelpLine at<br>
> <a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in<br>
> error<br>
> but does not contain patient information, please contact the sender and<br>
> properly<br>
> dispose of the e-mail.<br>
><br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</blockquote></div><br></div></div>