#ifndef PS_IMAGE_UNBIN_H
#define PS_IMAGE_UNBIN_H

#include "psImage.h"

// This needs to be considered more carefully
psImage *psImageUnbin (psImage *out,    //!< Output image
                       const psImage *in, //!< Input image
                       int DX, int DY,  //!< Scaling factors in x and y
                       int dx, int dy   //!< Overhang
                      );
double psImageUnbinPixel(const int ix, const int iy, //!< desired Unbinned point
                         const psImage *in, //!< binned image
                         const int DX, const int DY,  //!< Scaling factors in x and y
                         const int dx, const int dy   //!< Overhang
                        );

#endif
