1 | initial version |
int is 2bite or 4bite, I think,,, try to use char or uchar
uchar[] Matarray = new uchar[F.width()*F.height()];
2 | No.2 Revision |
int is 2bite or 4bite, I think,,, try to use char or uchar
uchar[] Matarray = new uchar[F.width()*F.height()];
p.p. if F is grayscale matrix, Can't you use F.data for the native function ?