Then my mistake is as follows:
See "IB_POINTF" has the following structure (defined in image processing library) :
Check the structure of "POINTF" are defined as follows (in OCIDI. H)
Project is my own in the use of company a 9 point calibration image library implementation, I feel this question is very simple question, but for the first time meet or a daze, when I was in c # is directly, because there are ready-made pointf can use in c #, hope to have one great god can give directions, thank you,
At that time to get my own the "POINT", converts cstrings this now, really spent some time,
CodePudding user response:
Ibps2 IB_POINT ibps1 [9], [9].for (int i=0; I<9. I++) {
Ibps1 [I]. DX=pDlg - & gt; PixlPoint [I]. X;
Ibps1 [I]. DY=pDlg - & gt; PixlPoint [I] y;
Ibps2 [I]. DX=pDlg - & gt; PhyPoint [I]. X;
Ibps2 [I]. DY=pDlg - & gt; PhyPoint [I] y;
}
Use the first oh ah in the function parameter
PDlg - & gt; PixlPoint replaced with ibps1,
PDlg - & gt; Replace for ibps2 PhyPoint
CodePudding user response: