How to divide a rectangle into 4 regions?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to find the boundary pixels lying on the lines connecting the center of the mass with the vertices. These four points make it possible to divide the boundary rectangle into four parts which are not the same length. In the next step i want to calculate the distance between the border rectangle and the image edge for each part of the borderline. I have attached the images on which I am working and what I want to do.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282008/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282009/image.png)
7 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!