<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">Does interp2 works by using the triangulation ?</div><div dir="ltr"><br></div><div dir="ltr">S.</div><div dir="ltr"><br><blockquote type="cite">Le 21 nov. 2020 à 22:56, P M <p.muehlmann@gmail.com> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Dear All,</div><div><br></div><div>I am trying to map an image onto a 3D surface.</div><div>The image contains reference points, which with known 2D pixel coordinates.</div><div>The 3D equivalent of these reference points is as well known.<br></div><div></div><div>The 3D shape is represented by a set of X-Y-Z coordinates.<br></div><div><br></div><div>For mapping the image onto a delaunay-triangulated surface I found following function:</div><div><br></div><div>"imremap"...which - as far as I understand - should do what I want.<br></div><div><br></div><div> now: "imremap" uses "interp2"...and unfortunately both functions are in octave.</div><div><br></div><div><br></div><div>imremap: <a href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/searchcode.com/codesearch/view/9585363/">https://searchcode.com/codesearch/view/9585363/</a></div><div><br></div><div>interp2: <a href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/searchcode.com/codesearch/view/20327397/">https://searchcode.com/codesearch/view/20327397/</a></div><div><br></div><div><br></div><div></div><div>Converting the functions to Scilab seems to become an elephant, especially for interp2.</div><div><br></div><div>If one could avoid "interp2" , then "imremap" could be possible relatively easy converted to Scilab.</div><div><br></div><div>Any ideas which Scilab function would work like interp2?</div><div><br></div><div>Thank you,</div><div>Philipp<br></div></div>
<span>_______________________________________________</span><br><span>users mailing list</span><br><span>users@lists.scilab.org</span><br><span>https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users</span><br></div></blockquote></body></html>