Transform labels to 1:k.
The size of canonized is the same as ladles but every label is transformed to its corresponding 1:k. If labels does not span the support, specify the support explicitly as the 2nd argument.
labels : array_like
support : optional
Adapted from Matlab:
This is only a stub function. Implementation is still missing