astropy / astropy/regions

Regions describing masks

Open
#14 2 comments 1 reaction 0 assignees View on GitHub
core feature-request question wishlist
Dominant language
Python
Stars
65
Forks
64
Avg merge
2d 13h
Merged PRs (30d)
4

Description

It will sometimes be useful to represent pixel masks as regions. This should probably be implemented as a mask-to-polygon function with options for accuracy / contour smoothness. The most expensive polygon would have 2-3 points per pixel covering each corner, which is still cheap enough to be useful in some cases.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by surveying the existing mask and region representations in the repository, since the issue names no files or tests. Define how a mask-to-polygon function should expose accuracy and contour-smoothness options, including the maximum-detail case, and consider the conversion complete only when those behaviors are specified and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.