These Python scripts were created for the WS 2022/23 "Image Analysis for Mapping" course from the Cartography MSc. at the Technical University of Munich (TUM). They demonstrate different image analysis and processing techniques to extract information from images and use it in common mapping tasks.
image_analysis.py
: Main script that executes functions from modules below.basic_img_operations.py
: Functions for basic image operations such as loading, visualizing, splitting, merging, and inverting images.img_filters.py
: Functions for applying different image filters: box, binomial, median, Sobel, and Laplacian.morphology.py
: Functions for morphological operations: erosion, dilation, opening, closing.extraction_regions_edges.py
: Functions for extracting edges and regions using techniques like region growing, watershed transformation, mean shift segmentation, SLIC superpixels, Douglas-Peucker algorithm, and Hough transformation../images
: Directory containing sample images used in the project.src_mat.npy
: Sample matrix used in morphological operations.
- NumPy
- OpenCV
- Matplotlib
- Scikit-image