最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

Halcon10-C語言數(shù)據(jù)處理

2023-07-02 11:37 作者:Halcom中國(guó)  | 我要投稿

#include "HalconC.h"




void print_parameter(Htuple tuple, char *kind)

{

? int? ?i,n;

??

? n = length_tuple(tuple);

? if (n > 0)

? {

? ? (void)printf("? %s => ",kind);

? ? for (i=0; i<n; i++)

? ? ? (void)printf("%s ",get_s(tuple,i));

? ? (void)printf("\n");

? }

}



void fetch_proc_info()

{

? Htuple? ? ?Name,Query;

? Htuple? ? ?P1,P2,P3,P4;

? int? ? ? ? i,num;

??

? /* request the names of all HALCON procedures */

? create_tuple(&Name,1);

? /* empty string matches everything */

? set_s(Name,"",0);? ? ? ? ? ? ? ?

? /* get all names */

? (void)T_get_operator_name(Name,&Query);?

? /* destroy input */

? destroy_tuple(Name);

??

? num = length_tuple(Query);??

? (void)printf("--------------------------\n");

? (void)printf("Number of procedures: %3d\n",num);

? (void)printf("--------------------------\n");

? for (i=0; i<num; i++)

? {

? ? /* current proc-name */

? ? (void)printf("Proc #%d: %s\n",i,get_s(Query,i));

? ??

? ? /* Subqueries */

? ? create_tuple(&Name,1);

? ? set_s(Name,get_s(Query,i),0);

? ? (void)T_get_param_names(Name,&P1,&P2,&P3,&P4);

? ? print_parameter(P1,"input image object");

? ? print_parameter(P2,"output image object");

? ? print_parameter(P3,"input control parameter");

? ? print_parameter(P4,"output control parameter");

? ? destroy_tuple(P1);??

? ? destroy_tuple(P2);

? ? destroy_tuple(P3);

? ? destroy_tuple(P4);

? ? destroy_tuple(Name);

? }

? destroy_tuple(Query);

}


Halcon10-C語言數(shù)據(jù)處理的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
满洲里市| 枝江市| 五寨县| 临沭县| 霍城县| 延吉市| 鄂尔多斯市| 洮南市| 儋州市| 萨嘎县| 吕梁市| 安吉县| 泰兴市| 海宁市| 周宁县| 晋江市| 万载县| 将乐县| 赣榆县| 吕梁市| 绥化市| 中阳县| 寻甸| 江川县| 个旧市| 崇州市| 华容县| 马鞍山市| 乌兰浩特市| 荣昌县| 南康市| 鄂托克旗| 枣庄市| 牙克石市| 沁水县| 米脂县| 崇义县| 温宿县| 长春市| 威宁| 华宁县|