?? clipline.html
字號:
<html><head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1"> <title>Contents.m</title><link rel="stylesheet" type="text/css" href="../stpr.css"></head><body><table border=0 width="100%" cellpadding=0 cellspacing=0><tr valign="baseline"><td valign="baseline" class="function"><b class="function">CLIPLINE</b><td valign="baseline" align="right" class="function"><a href="../visual/index.html" target="mdsdir"><img border = 0 src="../up.gif"></a></table> <p><b>clips line into given window.</b></p> <hr><div class='code'><code><span class=help></span><br><span class=help> <span class=help_field>Synopsis:</span></span><br><span class=help> [x1,y1,x2,y2,inside] = clipline(W,b,window)</span><br><span class=help></span><br><span class=help> <span class=help_field>Description:</span></span><br><span class=help> This function returns 2d points (x1,y1) and (x2,y2) </span><br><span class=help> of a line segment given by line</span><br><span class=help> W'*x + b = 0</span><br><span class=help></span><br><span class=help> clipped to the given window.</span><br><span class=help></span><br><span class=help> <span class=help_field>Input:</span></span><br><span class=help> W [2x1] Normal of line.</span><br><span class=help> b [1x1] Line threshold.</span><br><span class=help> window [4x1] Contains [left right top bottom].</span><br><span class=help></span><br><span class=help> <span class=help_field>Output:</span></span><br><span class=help> x1 [1x1], y1 [1x1] The first point of line segment.</span><br><span class=help> x2 [1x1], y2 [1x1] The second point of line segment.</span><br><span class=help> inside [1x1] 1 if line W'*x+b=0 intersects the window. </span><br><span class=help> </span><br><span class=help> <span class=help_field>Example:</span></span><br><span class=help> figure; hold on;</span><br><span class=help> axis([-1 1 -1 1]);</span><br><span class=help> window = 0.5*axis;</span><br><span class=help> [x1,y1,x2,y2]=clipline([-1;1],0,window);</span><br><span class=help> plot([x1 x2],[y1 y2]);</span><br><span class=help></span><br></code></div> <hr> <b>Source:</b> <a href= "../visual/list/clipline.html">clipline.m</a> <p><b class="info_field">About: </b> Statistical Pattern Recognition Toolbox<br> (C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac<br> <a href="http://www.cvut.cz">Czech Technical University Prague</a><br> <a href="http://www.feld.cvut.cz">Faculty of Electrical Engineering</a><br> <a href="http://cmp.felk.cvut.cz">Center for Machine Perception</a><br> <p><b class="info_field">Modifications: </b> <br> 30-apr-2004, VF<br></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -