The invention discloses a
map matching and forward and reverse projection wide
remote sensing image segmentation and sample automatic generation method. The method comprises the following steps: step 1, taking an original image,
metadata and coastline vector data as an input triple; data cleaning and normalization are carried out through an image preprocessing module; entering a geometric correction and registration module to generate a corrected image with an Alpha channel; 2, performing spatial indexing and matching on the coastline vector data and the corrected image; using a
mask generation
algorithm to automatically align and rasterize the vector data, and constructing a final true value
mask of pixel-level alignment; 3, initializing a
reverse mapping grid through a coordinate transformation
processing module; calculating a nonlinear mapping relation from geographic coordinates to original sensor pixel coordinates by using a coordinate inverse transformation calculation module; and through
resampling processing, accurately backfilling the semantic tag to an original image space, and outputting a final inverse transformation
mask. According to the invention, high precision is ensured, and meanwhile, the
order of magnitude of
processing speed is improved.