/** @file  psImageUnbin.h
 *
 *  @brief Functions to unbin images
 *
 *  @author EAM, IfA
 *  @author Robert DeSonia, MHPCC
 *
 *  $Revision: 1.3 $ $Name: not supported by cvs2svn $
 *  $Date: 2007-01-23 22:47:23 $
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
 */

#ifndef PS_IMAGE_UNBIN_H
#define PS_IMAGE_UNBIN_H

/// @addtogroup ImageOps Image Operations
/// @{

#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
