-
Notifications
You must be signed in to change notification settings - Fork 0
Automatically Detecting Cloud Edges
Helen Burns edited this page Apr 22, 2024
·
4 revisions
Manually we can just measure the pixel height of using a program like Gimp or Inkscape, this isn't feasible to do for all 15000 images though! cloudtop_pixel_heights.py uses OpenCV to automatically find the cloud top edge.

Grey Scale with openCV

- Mask out the bottom 360 pixels as in every photo has the horizon above 360 pixel.
- Mask out pixels below a whiteness threshold of 115
- Blur out noise with Guassian blur


- Use OpenCV bounding box to box round the contours

