docs: add image registration example
registration: document all external functions