overlap 2 circles in a given data set

1 view (last 30 days)
Chathu
Chathu on 10 Jun 2016
Edited: Chathu on 14 Jun 2016
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
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
Chathu
Chathu on 14 Jun 2016
Edited: Chathu on 14 Jun 2016
Hi John, thanks for your response. Well, rather than cropping the image(unfortunately cropping will reduce the data which is not good for my purpose)can you remember the code for Rotating the image around an arbitrary point?

Sign in to comment.

Answers (0)

Categories

Find more on 3-D Scene Control in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!