I have created rasters showing different types of vegetation (bushes, trees, open land) with help from lidar data. Now I'm looking for a method to turn these images into polygons.
I'm using a Mac and preferably QGIS, GDAL, GRASS etc. I do have the possibility to use Windows but I'd prefer staying in Mac OS X.
Here is the source image:
Blue (with some red) means trees and red is bushes. White is open land.
And this image (drawn by hand) is kind of what I'd like to achieve:
r.neighbors some but I'm not satisfied.
Update: I have now tried Majority and it looks better. But the narrow part in the south east part is not being included. I guess those dots are not in "majority". How could I make them being included? It's like if I need minority but not extreme minority...
See image below (note that I have only included bushes, the red color from the original image):