Fixed a bug in the bit depth variable chosen.
Now OpenCV 8 bits plugins work.