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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Zara Khan
Zara Khan il 18 Feb 2018
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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by