You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Field Boundary Detection Features to MapReader
Description
This feature request is to integrate a workflow for detecting field boundaries in historical maps into the MapReader open-source project. The workflow includes geospatial masking, text masking, combined masking, and Hough transform-based line detection.
Feature Details
Objective
Integrate a series of new functions into the mapreader->load->images.py subpackage to enable field boundary detection in historical maps.
Features to Add
Geospatial Masking:
Use OS Data Hub API for geospatial masking.
Split vector/raster data into manageable tiles.
Text Masking:
Implement text masking using existing outputs (or pre-generated text mask files) taking the BBbox for the mask.
Line Masking
Use cv2 to mask contour lines
Combined Masking:
Create a combined mask that integrates geospatial and text masking layers.
Export results as GeoTIFF and shapefiles.
Hough Transform for Line Detection:
Use probabilistic Hough Transform to extract linear features like boundaries.
Proposed Branching Strategy
Branch Name: feature/field-boundary-detection
Development Path:
Create a dev branch for integration.
Use smaller feature branches for modular development:
feature/geospatial-masking
feature/text-mask
feature/line-mask
feature/combined-mask
feature/hough-transform
Merge feature branches into dev.
Conduct testing before merging dev into main.
Tasks
Set up feature branch structure as described.
Set up Notebook with functions / classes
Test Notebook with sample data
Test on patches and images
Integrate geospatial masking functions into mapreader->load->images.py.
Integrate text masking functions into mapreader->load->images.py.
Add combined masking logic and exporting functions.
Add line detection functions using Hough Transform.
Add visualization utilities for overlaying features.
Add Field Boundary Detection Features to MapReader
Description
This feature request is to integrate a workflow for detecting field boundaries in historical maps into the MapReader open-source project. The workflow includes geospatial masking, text masking, combined masking, and Hough transform-based line detection.
Feature Details
Objective
Integrate a series of new functions into the
mapreader->load->images.py
subpackage to enable field boundary detection in historical maps.Features to Add
Geospatial Masking:
Text Masking:
Line Masking
Combined Masking:
Hough Transform for Line Detection:
Proposed Branching Strategy
feature/field-boundary-detection
dev
branch for integration.feature/geospatial-masking
feature/text-mask
feature/line-mask
feature/combined-mask
feature/hough-transform
dev
.dev
intomain
.Tasks
mapreader->load->images.py
.mapreader->load->images.py
.References
geospatial_masking.py
historic_wall_inference.py
The text was updated successfully, but these errors were encountered: