What algorithms are used for segmentation and classification of non solid regions in an image?
If you have enough data, you can train a segmentation net example for a specific group of data (i.e. trees). Single DNN with multiple output branches can easily segment &amp; classify the data that you are searching for.