Introduction - If you have any usage issues, please Google them yourself
Turn, matlab (border extraction, chain code generation, differential chain code generation and the frequency of vector generation procedure) has the rotation invariance of the chain code