Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Compression Methods #6

Open
cj-mclaughlin opened this issue Nov 15, 2021 · 1 comment
Open

Map Compression Methods #6

cj-mclaughlin opened this issue Nov 15, 2021 · 1 comment
Assignees

Comments

@cj-mclaughlin
Copy link
Collaborator

List of methods to investigate for compressing maps before transfer:

(Focus is initially on reducing file-size; but it would be especially beneficial if merging could be done on the compressed representaton)

Lossless:

  • Encoded Stream Mapping:
    • Encode map as a sequence of bytes, in patterns of (num_cells, cell_transition_symbol), e.g. 24 'U' 10 'F' represents 24 unknown cells followed by 10 free cells.
  • Region QuadTree:
    • Recursively divides image into four quadrants, terminating when a full quadrant is either completely free, occupied, or unknown. This should be more robust than the encoded stream mapping, and has the benefit of being able to compute IoU from quadtrees alone (which may be useful for map merge order), but may take longer to compress/decompress.
    • Read more here

Lossy:

@tylerferrara
Copy link
Contributor

The DAG strategy is super flexible, and can benefit from hashing QuadTrees. This is a much smarter strategy than recursively cutting the map into 4ths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants