<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # `image`— 機器視覺 ## 函數 ``` image.rgb_to_lab(rgb_tuple) ``` > LAB格式的元組 *參數:* * rgb_tuple(r, g, b)對應的LAB格式的元組(l, a, b) *返回:* * 返回RGB888格式的元組`rgb_tuple`(r, g, b)對應的LAB格式的元組(l, a, b)。 注解 RGB888是指紅、綠、藍各8位(0-255)。在LAB中,L的取值范圍為0-100,a/b 的取值范圍為-128到127。 ``` image.lab_to_rgb(lab_tuple) ``` > LAB格式對應的RGB888格式的元組 *參數:* * lab_tuple(l, a, b)對應的RGB888格式的元組(r, g, b) *返回:* * 返回LAB格式的元組`lab_tuple`(l, a, b)對應的RGB888格式的元組(r, g, b)。 注解 RGB888是指紅、綠、藍各8位(0-255)。在LAB中,L的取值范圍為0-100,a/b 的取值范圍為-128到127。 ``` image.rgb_to_grayscale(rgb_tuple) ``` > RGB888格式的元組 *參數:* * rgb_tuple(r, g, b)對應的灰度值 *返回:* * 返回RGB888格式的元組`rgb_tuple`(r, g, b)對應的灰度值。 注解 RGB888是指紅、綠、藍各8位(0-255)。灰度值取值于0-255。 ``` image.grayscale_to_rgb(g_value) ``` > 灰度值 *參數:* * g_value對應的RGB888格式的元組(r, g, b) *返回:* * 返回灰度值`g_value`對應的RGB888格式的元組(r, g, b)。 注解 RGB888是指紅、綠、藍各8位(0-255)。灰度值取值于0-255。 ``` image.load_decriptor(path) ``` 從磁盤上加載一個描述符對象(descriptor object). `path`是描述符文件保存的路徑。 ``` image.save_descriptor(path,descriptor) ``` 保存描述符對象?`descriptor`?到磁盤。 `path`是描述符文件保存的路徑。 ``` image.match_descriptor(descritor0,descriptor1[,threshold=70[,filter_outliers=False]]) ``` 對于LBP描述符來說,這個函數返回的是一個體現兩個描述符之間區別的整數。這一距離測度尤為必要。這個距離是對相似度的一個度量。這個測度值越接近0,LBPF特征點匹配得就越好。 對于ORB描述符來說,這個函數返回的是kptmatch對象。見上。 > `threshold`是用來為ORB鍵點過濾不明確匹配服務的。 一個較低的`threshold`值將緊扣關鍵點匹配算法。`threshold`?值位于0-100 (int)。默認值為70。 `filter_outliers`?是用來為ORB鍵點過濾異常值服務的。 特征點允許用戶提高`threshold`值。默認設置為False。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看