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

歡迎光臨散文網(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ó)家法律
郁南县| 长兴县| 马关县| 大石桥市| 昭平县| 徐汇区| 那坡县| 丁青县| 来宾市| 名山县| 禹城市| 雅安市| 开江县| 永和县| 芷江| 靖西县| 鹤庆县| 岑溪市| 永福县| 亚东县| 青龙| 石嘴山市| 辽中县| 抚松县| 南华县| 和田市| 宁晋县| 房山区| 通渭县| 海原县| 丰城市| 信宜市| 屏东市| 江城| 磐安县| 洛宁县| 四会市| 法库县| 临漳县| 垫江县| 迭部县|