• <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>

    如何推移照相機

    手把手教學。

    東西/原料

    • MATLAB
    • 電腦

    方式/步調

    1. 1

      號令行鍵入:

      load cape

      %加載圖像。

    2. 2

      號令行鍵入:

      image(X)

      %顯示圖像

    3. 3

      號令行鍵入:

      colormap(map)

      %顯示彩圖。

    4. 4

      號令行鍵入:

      axis image

      %規范圖形。

    5. 5

      號令行鍵入:

      camva(camva/2.5)

      %經由過程設置拍照機視角(利用 camva)進行放大。

    6. 6

      號令行鍵入:

      while 1

      [x,y] = ginput(1);

      if ~strcmp(get(gcf,'SelectionType'),'normal')

      break

      end

      ct = camtarget;

      dx = x - ct(1);

      dy = y - ct(2);

      camdolly(dx,dy,ct(3),'movetarget','data')

      drawnow

      end

      %利用 ginput 選擇拍照機方針和拍照機位置的 x 和 y 坐標。

      END
    • 發表于 2020-04-19 17:00
    • 閱讀 ( 653 )
    • 分類:其他類型

    你可能感興趣的文章

    相關問題

    0 條評論

    請先 登錄 后評論
    聯系我們:uytrv@hotmail.com 問答工具
  • <noscript id="ecgc0"><kbd id="ecgc0"></kbd></noscript>
    <menu id="ecgc0"></menu>
  • <tt id="ecgc0"></tt>
    久久久久精品国产麻豆