overlap 2 circles in a given data set

1 visualización (últimos 30 días)
Chathu
Chathu el 10 de Jun. de 2016
Editada: Chathu el 14 de Jun. de 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 comentarios
John BG
John BG el 14 de Jun. de 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 el 14 de Jun. de 2016
Editada: Chathu el 14 de Jun. de 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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by