overlap 2 circles in a given data set
1 view (last 30 days)
Show older comments
Here is how one image(which consist of 3 circles) out of 15 images looks like. So my requirement is to keep already overlapped center of mid circle(eg:M_ref) as the pivot point and rotate the left_cirlce(eg: L_ref) with a given angle (eg:theta) in order to overlap the center of the left circles . Please note, (a) rot_angle (eg: theta) is already calculated by an earlier written formula. But 1st image: theta (1), 2nd image :theta (2), 3rd image: theta (3), likewise Theta varies in each image (b) Also make sure the pivot shd NOT be changed. How to get a final outcome of overlapped Middle and Left circle's centers?
4 Comments
John BG
on 14 Jun 2016
Chathu
When you supply a script cropping the portion of an image in the way you choose convenient, I will add the rotation as you asked.
I hope you understand that you have to decide the shape to rotate, and the link
contains a function that returns the cropped portion, that we are going to automate.
The cropping should include the big pivot circle, and the 1st feature that you want to rotate onto the 2nd feature.
Please use an example image and supply both the script cropping the image and the example image.
Regards
John
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!