MarekKowalski/DeepAlignmentNetwork

some questions about GeneratePerturbations function

wqz960 opened this issue · 2 comments

HI ! Thanks for your codes! But i am confused in the GeneratePerturbation function. I am poor in math , can you provide me some information or paper to let me know how the perturbation generate? I have seen the other issue before, but the link is broken, can you provide it again! Thank you very much!

especially for bestfit function. Thank you !!!

Hi,

The bestfit function uses the method described in Appendix D of Introduction to Active ShapeModels.
The GeneratePerturbation function randomly samples translation, rotation and scaling and applies those transformations to a copy of initShape. Once that is done, the image is transformed so that the ground truth shape matches the transformed initShape.

Thanks to this, for each image we obtain a wide variety of different initializations.

Thanks,

Marek