* Modified CVT to avoid float conversion if not required.
* Converted bilinear and nearest neighbour resize code to unsigned char to avoid unnecessary conversion to float.