- Leaf Processing
- read in image of leaf
- convert image to rgb format
- separate nxm rgbs into a 64x64 grid
- calculate average rgb value of each grid, store into array
- for each pixel
- calculate average of 3x3 grid that pixel belongs to
- don't forget edge/corner cases!
- calculate the contrast between the pixel and the average, store value
- calculate average of 3x3 grid that pixel belongs to
- IF WE HAVE TIME: calculate best fit line of high contrast (find root vein)
- City Processing
- read in population density map
- convert image to readable format
- for each pixel
- reduce information in each pixel to population parameter
- put in new
- split into 64x64 grid
- calculate average of each grid
- find two highest
- connect in line sigment
- rotate that line segment to be vertical
- Comparison
- for each leaf
- compute fitness of each pixel
- compute overall fitness
- output best leaf!
- for each leaf
-
Notifications
You must be signed in to change notification settings - Fork 0
asavage1/Water-Irrigation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Contributors 2
-
-
36F1