<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="ES">Dear FieldTrip Community,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES"><o:p> </o:p></span></p>
<p class="MsoNormal">I am trying to localize NIRS optodes using a 3D structure sensor (specifically Structure Sensor Mark II, https://structure.io/structure-sensor). I have been following the FieldTrip scanner tutorial, which seems to work with most of my scans
 (20 scans in total), but not for a subset (7 scans). When I try to load the data for this subset of scans, I get an error in the refine function:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error using refine (line 72)<o:p></o:p></p>
<p class="MsoNormal">invalid size of texture<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Error in ft_read_headshape (line 1030)<o:p></o:p></p>
<p class="MsoNormal">        [shape.pos, shape.tri, texture] = refine(shape.pos, shape.tri,...<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Searching through the discussion list, I saw that someone run into a similar error about a year ago, which was caused by the assumptions that FieldTrip makes about the content of the obj-file. It seems that this issue had been solved, so
 I wonder whether this is due to a similar or new issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using fieldtrip-20210629 and jpg as image file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help would be much appreciated. Thanks in advance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Sara  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span lang="ES" style="font-size:10.0pt">-- <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="ES" style="font-size:10.0pt">Sara Sanchez-Alonso, Ph.D.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Postdoctoral Associate<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><a href="https://llamblab.haskins.yale.edu/"><span style="color:#0563C1">Language Learning and Multisensory Brain Lab</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><a href="https://haskinslabs.org/"><span style="color:#0563C1">Haskins Laboratories</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">300 George Street, Suite 900<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">New Haven CT, 06511</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>