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 dynspread transfer function #123

Merged
merged 1 commit into from
Mar 25, 2016
Merged

Add dynspread transfer function #123

merged 1 commit into from
Mar 25, 2016

Conversation

jcrist
Copy link
Collaborator

@jcrist jcrist commented Mar 24, 2016

dynspread dynamically spreads pixels in an image based on a density heuristic. This is useful for maintaining visibility of points when zooming in.

The heuristic is defined as the normalized mean number of non-empty adjacent pixels for each non-empty pixel. This gives a simple to compute tuning parameter in [0, 1].

`dynspread` dynamically spreads pixels in an image based on a density
heuristic. This is useful for maintaining visibility of points when
zooming in.
@jbednar
Copy link
Member

jbednar commented Mar 25, 2016

This looks great to me; just what I was imagining! No method like this will ever be perfect, but it seems to work well in both sparse and dense regions. I'll merge it now and we can tweak it over time. Thanks!

@jbednar jbednar merged commit 53daa92 into holoviz:master Mar 25, 2016
@jcrist jcrist deleted the dynspread branch March 25, 2016 05:10
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

Successfully merging this pull request may close these issues.

2 participants