Closed astrofrog closed 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.
@ejeschke @ChrisBeaumont @cdeil @larrybradley - see https://github.com/astropy/imageutils/pull/24 for a suggested implementation.
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