Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Plot/Image analysis %of colored area(grid)
#1
Hello,

For a project I plotted a neighboorhood with matplotlib. I used filled polygons.

I would like to create a script wich divide the area in smaller square and analyse each square. If the square is full (A building) then the square coordinates will be added to a list, if the square is blank (empty), nothing happend and if the square have a part colored and a part blank, the square is replaced by a filled square and its cooridinates are saved in the list if the colored part represente more than 50% of the original square area,else the square is replaced with a blank one.
The aim of this script is to create a "square" neighboorhood and to have datas to recreate this square with Python or another software
I'm looking for a command/script abble to analyse and give the proportion of the colored area in output.
Thanks

İmage
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Image Analysis for Measurement of Total leaf Area teamaqua 1 1,320 Aug-27-2017, 12:05 PM
Last Post: Larz60+

Forum Jump:


Users browsing this thread: 1 Guest(s)