In HObject halcon HTuple initialization state and two data structures (C #)

1 hObject hObject = null;

Represents hobject is no object, the object does not exist. In halcon operator, the only as an output variable (i.e., out position), it will be given as input variables.

2、HObject hobject;

HOperatorSet.GenEmptyObj(out hobject)

Represents hobject is an object, the object exists, the object is empty. In halcon operator may be used as input variables and output variables.

3、HTuple htuple=null;

Represents htuple is no object, the object does not exist. In halcon operator may be used as input variables and output variables.

4、HTuple htuple = new HTuple();

Represents htuple is an object, the object exists, the object is empty. In halcon operator may be used as input variables and output variables.

 

Guess you like

Origin www.cnblogs.com/QuincyYi/p/12396957.html