sqtocbk converts from the scalar-quantizer format (SQ) used by scalar-quantization routines (see QccPackSQ(3) ) to the VQ-codebook format (CBK) used by vector-quantization routines. The resulting VQ codebook, cbkfile, contains one-dimensional codewords.