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

Possible to fit with only shape model #101

Open
Junkern opened this issue Dec 21, 2016 · 4 comments
Open

Possible to fit with only shape model #101

Junkern opened this issue Dec 21, 2016 · 4 comments

Comments

@Junkern
Copy link

Junkern commented Dec 21, 2016

I have been looking through the menpofit documentation. And, apparently, all the different fitters combine different models (e.g. for the AAM: shape model, motion model, appearance model). So, they are not only fitting based on the shape, but also on the color? Am I correct in assuming that?

So, my question is: Is there a fitter only working on the shape model, hence only taking the shape into account? Is it possible to work only with shapes, but not with textures?

Many thanks!

@patricksnape
Copy link
Contributor

Just out of interest, how would you expect that to work? How would you fit an image without inspecting the pixel values?

@Junkern
Copy link
Author

Junkern commented Dec 22, 2016

I think I expressed myself a bit wrong.
I cannot fit without inspecting the pixel values, you are right about that.

However, for the training of the model, I do not want to take the appearance into account, only the landmarks from the .pts file.
(If I spin this further, the cost function for the fitting then would not take the appearance into account, because the model does not have an appearance.) I hope this makes sense :D

@nontas
Copy link
Member

nontas commented Dec 22, 2016

I am still a bit confused. Could you please give a specific example of such cost function?

@patricksnape
Copy link
Contributor

patricksnape commented Dec 22, 2016

Even if you have a shape model, you need some cost function that minimises some error? What error can you minimise/probability can you maximise that involves an image but doesn't take into account it's appearance? Maybe if you describe what you want to use this for we can better help you formulate your desired cost function.

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

3 participants