imshow and 2d interpolation

Hi everybody, I am trying to perform interpolation on 2d

    > data ( irregular or not) and I am wondering if there is a
    > way to get the interpolated results which are obtained with
    > the imshow command. This would allow a very complete
    > interpolation command with many options. The available
    > functions ( griddata, interp2d..) only provides few
    > possibilities for the interpolation process.

They are not readily exposed (but with a little work can be accessed
using the existing framework) but I could write some helper methods to
make them more easily usable.

What are your typical use cases. You do want to turn 2D grayscale
into interpolated 2D grayscale, or 2D->interpolated RGB[A] or RGBA ->
interpolated RGBA?

The 2nd and 3rd cases can mostly be done with the existing tools,
though some helper methods would facilitate it.

JDH

John Hunter wrote:

    > Hi everybody, I am trying to perform interpolation on 2d
    > data ( irregular or not) and I am wondering if there is a
    > way to get the interpolated results which are obtained with
    > the imshow command. This would allow a very complete
    > interpolation command with many options. The available
    > functions ( griddata, interp2d..) only provides few
    > possibilities for the interpolation process.

They are not readily exposed (but with a little work can be accessed
using the existing framework) but I could write some helper methods to
make them more easily usable.

What are your typical use cases. You do want to turn 2D grayscale
into interpolated 2D grayscale, or 2D->interpolated RGB[A] or RGBA ->
interpolated RGBA?

The 2nd and 3rd cases can mostly be done with the existing tools,
though some helper methods would facilitate it.

JDH
  
There's also the scipy.ndimage (http://www.scipy.org/SciPyPackages/Ndimage - see the Interpolate section).

-Jeff

···

--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328