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

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

【机器视觉】 break算子

發(fā)布時(shí)間:2024/4/24 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【机器视觉】 break算子 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

00. 目錄

文章目錄

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

01. 概述

break - 結(jié)束循環(huán)執(zhí)行或跳出switch段。

02. 簽名

break( : : : )

03. 描述

break結(jié)束最近的for,while,或repeat…until循環(huán)。 另外,break語(yǔ)句用于離開(kāi)switch段,特別是在一個(gè)case分支的結(jié)尾處。 程序跳出,繼續(xù)在隨后的程序行中執(zhí)行(The program execution is continued at the program line following the corresponding block.)。

不在循環(huán)或switch段的break語(yǔ)句無(wú)效。

原文描述

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. 注意

無(wú)

05. 參數(shù)

無(wú)

06. 結(jié)果

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 機(jī)器視覺(jué)博客匯總
網(wǎng)址:https://dengjin.blog.csdn.net/article/details/116837497

總結(jié)

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

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。