Fix typo error
Add raster history
Add history option
Filter segments smaller than a number of pixels