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

Add a --reasonable-deafults (or similar) flag #24

Open
hanslovsky opened this issue Jul 18, 2019 · 2 comments
Open

Add a --reasonable-deafults (or similar) flag #24

hanslovsky opened this issue Jul 18, 2019 · 2 comments
Labels
enhancement New feature or request feature request Request to add feature

Comments

@hanslovsky
Copy link
Contributor

This flag should use reasonable default values for down sampling factors and number of scale levels, and label multiset type precision based on input meta data such as dimensions and resolution. Explicitly set arguments should override defaults.

@hanslovsky hanslovsky added enhancement New feature or request feature request Request to add feature labels Jul 18, 2019
@hanslovsky
Copy link
Contributor Author

cc @uschmidt83

@hanslovsky
Copy link
Contributor Author

This is wrt to the new PainteraConvert class introduced in #33

This could probably be handled with an optional --num-mipmap-levels (or similar) option:

  1. If not provided, simply use the scales provided by --scale
  2. If provided and smaller than or equal to the number of scales provided with --scale: Fall back to scales provided by --scale
  3. If provided and larger than the number of scales provided with --scale (that includes no --scale was provided at all): Fill up the missing scale levels with some heuristic based on the resolution, e.g. get as close to isotropic resolution with anisotropic downsampling factors (twos and ones), then isotropically downsample with factor of 2

This would also need to be considered for container-local and dataset-local options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Request to add feature
Projects
None yet
Development

No branches or pull requests

1 participant