1 | initial version |
I found the solution as following:
If someone has any idea how I could manage the in-reading of an 16 bit unsigned int into java without using an char-Array, please tell me. The transformation is done with the following code:
img16u.convertTo(imgtmp, CvType.CV_8UC3, (double) 255.0
/ (maxVal - minVal), (double) -minVal * 255.
/ (maxVal - minVal));
Regards, reem