无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(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ó)家法律
南召县| 五莲县| 高密市| 准格尔旗| 类乌齐县| 林西县| 景洪市| 长宁区| 岳阳县| 海丰县| 威信县| 定西市| 平潭县| 荥阳市| 宁阳县| 屯留县| 临猗县| 柳林县| 高清| 屯门区| 庄浪县| 福贡县| 自治县| 田东县| 岳阳市| 宣城市| 徐州市| 广平县| 平安县| 南充市| 武宁县| 和顺县| 青海省| 松溪县| 涿州市| 隆子县| 芦山县| 云霄县| 长阳| 开封市| 韶山市|