Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some questions about GeneratePerturbations function #47

Open
wqz960 opened this issue Jan 27, 2019 · 2 comments
Open

some questions about GeneratePerturbations function #47

wqz960 opened this issue Jan 27, 2019 · 2 comments

Comments

@wqz960
Copy link

wqz960 commented Jan 27, 2019

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!

@wqz960
Copy link
Author

wqz960 commented Jan 27, 2019

especially for bestfit function. Thank you !!!

@MarekKowalski
Copy link
Owner

MarekKowalski commented Jan 30, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants