Mirror tiles at borders if adjacent tiles are missing

Abierto
#48 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Empieza leyendo robosat/tiles.py alrededor de las líneas 143-156, donde los bordes se ensamblan a partir de teselas adyacentes. Traza cómo los vecinos que faltan producen actualmente un borde negro y haz que el comportamiento del borde refleje la imagen cuando esas teselas estén ausentes. Se considera terminado cuando las teselas adyacentes que faltan ya no crean píxeles de borde negros durante la predicción de segmentación.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

At the moment we predict the tile segmentation probabilities by adding a border to the tile. The idea is to do prediction on the larger images to get masks and then crop out the original mask.

This border is made up of (e.g. 32) pixels from the eight adjacent tiles:

x x x
x o x
x x x

Predicting on tile o means we add a small border band from all x tiles.

halfdone
composite

There are two cases when adjacent tiles may not be present:

  • hard negative mining on a randomly sampled set of tiles
  • predicting at the border of the dataset (e.g. predicting on multiple tifs)

When there are adjacent tiles missing we currently have a black border. This can lead to false predictions. We should instead mirror the image at the border when there are no adjacent tiles. This will reduce or eliminate the tile border problems when there are tiles missing.

Task

  • Mirror image at border when adjacent tile is missing; here
Lenguaje dominante
Python
Estrellas
2.1k
Forks
384
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mapbox/robosat

Todos los issues de mapbox/robosat

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.