Azzera filtri
Azzera filtri

overlap 2 circles in a given data set

2 visualizzazioni (ultimi 30 giorni)
Chathu
Chathu il 10 Giu 2016
Modificato: Chathu il 14 Giu 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 Commenti
John BG
John BG il 14 Giu 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 il 14 Giu 2016
Modificato: Chathu il 14 Giu 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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su 3-D Scene Control in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by