<div dir="ltr">Hi Ronald,<div><br></div><div>How many points are in your data sets?  When the crash occurs, are the points in one of the datasets colinear? coplanar?</div><div><br></div><div> - David<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 7, 2016 at 2:24 AM, Ronald van Duren <span dir="ltr"><<a href="mailto:ronaldvanduren@hotmail.com" target="_blank">ronaldvanduren@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>I want to create a point cloud by moving and rotating my depth sensor(Structure Sensor). I figured out ICP is probably the way to go since I can get a tranformation matrix which I can use to shift the sensors frame left, right up or down. Otherwise the points
 would be drawn on top of each other in static frame of 640x480. </p>
<p><br>
</p>
<p>After some time I got the vtkIterativeClosestPointTransform to work, I used the example provided by VTK. But the transformation matrix has weird data in it, sometimes it has several NaN values in it and the overal data in the matrix just doesn't seem right.
 My linear algebra skills are intermediate so I could be wrong. Also, when I move the sensor with a speed that is anything more than extremely slow a segfault is thrown. Because the source code is compiled I cannot trace down the segfault. </p>
<p><br>
</p>
<p>Any chance somebody knows what's wrong? <br>
</p>
<p><br>
</p>
<p>Thanks in advance!<br>
</p>
<p><br>
</p>
<p>Ronald van Duren.<br>
</p>
<p><br>
</p>
<p>Technical information:</p>
<p></p>
<ul>
<li><span style="font-size:12pt">​I use Android and specifically the NDK so everything is in C++.</span><br>
</li><li><span style="font-size:12pt">I use the compiled dynamic library for Android, Armeabi-v7a.</span></li><li>I use the Structure Sensor.<br>
</li><li>VTK version is 2.4.9.</li></ul></div></div></blockquote></div></div></div></div>