astropy / imageutils

Image processing utilities for Astropy (No longer maintained)
https://imageutils.readthedocs.org/
9 stars 17 forks source link

Refactor image scaling infrastructure #23

Closed astrofrog closed 9 years ago

astrofrog commented 9 years ago

As mentioned in https://github.com/astropy/imageutils/pull/17, Ginga, APLpy, and Glue each have their own class-based image stretching/scaling framework, but it would be nice to have a common generalized one here instead.

I would be happy to look into how to bring the different solutions together. I think this would be important to get right before we propose to merge into astropy 1.0.dev.

cc @ejeschke @ChrisBeaumont @cdeil @larrybradley

astrofrog commented 9 years ago

I like @ejeschke's approach of separating the scaling and the stretching, so I'll see if there is a way to do this and then have some kind of wrapper class that can behave like the APLpy Normalize class.

astrofrog commented 9 years ago

@ejeschke @ChrisBeaumont @cdeil @larrybradley - see https://github.com/astropy/imageutils/pull/24 for a suggested implementation.