I am using IMAQ Vision for Measurement studio in Visual Basic and I need use autothreshold function to handle my image. But the image type is signed 16-bit. So, how do I transfer image type from 16-bit to 8-bit on no serious distortion condition?
I wrote a quick VB example that should do the trick. It dynamically converts a signed 16 bit image (-32768 to 32767) into an unsigned 8 bit image (0 to 255). Let me know if you have any questions.