add 8UC1 support