How to divide a rectangle into 4 regions?

1 次查看(过去 30 天)
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.
  7 个评论
joynob ahmed
joynob ahmed 2020-4-25
I didn't understand the function of coefficient and how you have determined the distance.Can you explain this?

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by