edit gen_grid.py to get an array of bounding boxes stored as .gpkg file Input the height and weight of the boxes, specify the geometries to clip.
- Loads and then crops the entire scene.
- Performs thresholding using suitable VIs
- Them perform morphological opening to smooth out the mask
- Splits the rasters into rows of height equal to the height of the box then determines the column midpoint of the vegetation to determine the midpoint of the boxes.
- Saves it in a .gpkg file