日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【机器视觉】 break算子

發布時間:2024/4/24 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【机器视觉】 break算子 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

00. 目錄

文章目錄

    • 00. 目錄
    • 01. 概述
    • 02. 簽名
    • 03. 描述
    • 04. 注意
    • 05. 參數
    • 06. 結果
    • 07. 附錄

01. 概述

break - 結束循環執行或跳出switch段。

02. 簽名

break( : : : )

03. 描述

break結束最近的for,while,或repeat…until循環。 另外,break語句用于離開switch段,特別是在一個case分支的結尾處。 程序跳出,繼續在隨后的程序行中執行(The program execution is continued at the program line following the corresponding block.)。

不在循環或switch段的break語句無效。

原文描述

break terminates the smallest enclosing for, while, or repeat…until loop. In addition, the break statement is used to leave a switch block, in particular at the end of a case branch. The program execution is continued at the program line following the corresponding block.

break statements that are not enclosed by a loop or switch block are invalid.

04. 注意

05. 參數

06. 結果

break(作為算子)總是返回2(H_MSG_TRUE)。

HDevelop例程

two_camera_calibration.hdev Perform high precision mosaicking using a special calibration object
switch_case.hdev Use switch/case statement for a multiway branch
hand_eye_stationarycam_grasp_nut.hdev Calculate pose for grasping a nut based on results of hand-eye calibration for a stationary camera
camera_calibration_external.hdev Measure positions on a caliper rule using camera calibration
3d_matching_clamps.hdev Recognize 3D objects in images using a 3D DXF model

程序示例

read_image (Image, 'monkey') threshold (Image, Region, 160, 180) connection (Region, Regions) Number := |Regions| AllRegionsValid := 1 * check if for all regions area <=30 for i := 1 to Number by 1select_obj (Regions, ObjectSelected, i)area_center (ObjectSelected, Area, Row, Column)if (Area > 30)AllRegionsValid := 0breakendif endfor

07. 附錄

7.1 機器視覺博客匯總
網址:https://dengjin.blog.csdn.net/article/details/116837497

總結

以上是生活随笔為你收集整理的【机器视觉】 break算子的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。