How to divide a binary image into equal sized square considering major and minor axis as x axis or y axis?

조회 수: 1 (최근 30일)
I have a binary image,specially a hand gesture. whatever the orientation will be we have to bring back to them into vertical orientation. That I have been done. I also have drawn major and minor axis through centroid. Now my next work is to consider only upper portion of the centroid . Consider the major/minor axis as one of the axis and take a square from first quadrant and also take same size of square from second quadrant too.When considering the square the axis portion need to be considered in one of the wall of the square. and then consider them as separate image. Again divide each of the image into 4 equal halves. I am attaching some pictures here that will give the proper idea of what I need actually.
  댓글 수: 3
Zara Khan
Zara Khan 2018년 2월 18일
I only know about major axis,minor axis and centroid. Major and minor axis has been drawn already in first figure. Now I have to take equal size square from both side like I have shown in step1. I dont know about the length of the red lines that is what I have to find out. After doing the step now gain I have divide each of the square into 4 equal parts like I have shown in step2 figure. Here I also dont know the length of blue line. What I want actually that I have tried to shown by drawing some lines over the image object.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by