Automatic dimensional characterisation of pottery