MATLAB Answers


Translation and objective function F

Asked by Guzbak
on 25 May 2013

Hello. I don't know how to solve this assignment.

I have these points reference = [10 10; 20 30]; template = [20 20; 40 30];

and I must translate the points from the landmarks from reference picture to template picture. Then I have to find F by using the translated points from the reference picture..

When I translate, I get two points and then I can't find F, because the reference coordinates doesn't match F.

Translation: a = (1/4)*sum(reference); b = (1/4)*sum(template); translation = b-a;

And how do I find F from here?

  1 Comment

You haven't defined F or shown what you're doing to perform the translation.

Log in to comment.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Win prizes and improve your MATLAB skills

Play today