Prev: I want use imcrop as below, thank you for help very much!
Next: any tops on evaluating the two simulation outputs and observation?
From: Masoud on 15 May 2010 18:52 Hey all, I need to fit the best rectangle to an object. for my rectangle I can define 5 parameters (x,y,theta,L,W) where (x,y) is the center of the rectangle, theta is the angle of the rectangle and L and W are the Length and Width of the rectangle respectively. I need to optimize an energy function f(). the problem is that (x,y) can vary in a wide range. Do you know any optimization method that can optimize the function with these 5 parameters fast enough? If you know any similar problem like (Ellipse fitting, Circle fitting,...) I would be thankful if you give me some information about it. Thank you |