필터 지우기
필터 지우기

overlap 2 circles in a given data set

조회 수: 2 (최근 30일)
Chathu
Chathu 2016년 6월 10일
편집: Chathu 2016년 6월 14일
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
John BG
John BG 2016년 6월 14일
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 2016년 6월 14일
편집: Chathu 2016년 6월 14일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 3-D Scene Control에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by