Historical Map
1.0
Plugin for automatic extraction of old forest from historical map
|
Filter a raster with median and closing filter. More...
Public Member Functions | |
def | __init__ |
Filter a raster with median and closing filter.
Filter class to isolate the forest, delete dark lines and fonts from Historical Map
Input : inImage : image name to filter ('text.tif',str) outName : outname name of the filtered file (str) inShapeGrey : Size for the grey closing convolution matrix (odd number, int) inShapeMedian : Size for the median convolution matrix (odd number, int)
Output : Nothing except a raster file (outName)
Definition at line 37 of file function_historical_map.py.
def HistoricalMap.function_historical_map.historicalFilter.__init__ | ( | self, | |
inImage, | |||
outName, | |||
inShapeGrey, | |||
inShapeMedian, | |||
iterMedian | |||
) |
Definition at line 53 of file function_historical_map.py.