Dividing the Image into 8 equal parts and calculate number of pixels under the line

3 次查看(过去 30 天)
I have lena image in Matlab. First I need to find the centroid C, then divide the image into 8 equal parts and then calculate the number of pixels under each line. I can calculate the centroid of the image but from that how can I divide the image into equal number of parts as shown below. Please, anyone help me.
Thanks

回答(1 个)

Image Analyst
Image Analyst 2015-4-18

Community Treasure Hunt

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

Start Hunting!

Translated by