astropy / imageutils

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

Add downsample function #5

Closed cdeil closed 10 years ago

cdeil commented 10 years ago

In addition to #2 we should probably add a dedicated downsample function to imageutils because it's faster (see Cython implementation in photutils for 2D and timings).

Note that the photutils function only works for 2D and doesn't work with WCS.

(PS: I'm not convinced we need a special function for this ... it could be a "fast path" for a special case of the more general block_reduce function from #2.

astrofrog commented 10 years ago

This is already done, closing

cdeil commented 10 years ago

The current downsample and upsample functions don't handle WCS ... I think they should.

astrofrog commented 10 years ago

@cdeil - ok, let's create a new issue for that - do you want to do it?

astrofrog commented 10 years ago

@cdeil - new issue: https://github.com/astropy/imageutils/issues/32