I am processing grayscale image that has 16 bits per pixel. So the grayscale level is not longer confined within 0-255. I noticed ippiComputeThreshold_Otsu() only has option for _8u_C1R, and its threshold pointer is also a Ipp8u pointer. So I guess a Ipp8u threshold value really cannot perform correct segmentation for a 16 bit level grayscale image.
So my question really is: is there a 16 bit version Otsu method? Or, can I do some trick to convert my 16 bit grayscale image to a 8 bit version, then use ippiComputeThreshold_Otsu_8u_C1R() to get the threshold, then project the threshold proportionally to a 16 bit version? Or I have to develop my own Otsu?
Any suggestion is appreciated. Thanks.