/** @file  psImageUnbin.h
 *
 *  @brief Functions to unbin images
 *
 *  @author EAM, IfA
 *  @author Robert DeSonia, MHPCC
 *
 *  $Revision: 1.4 $ $Name: not supported by cvs2svn $
 *  $Date: 2007-03-27 02:43:22 $
 *  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
/// @{

// This needs to be considered more carefully
psImage *psImageUnbin (psImage *out,    //!< Output image
                       const psImage *in, //!< Input image
                       const psImageBinning *binning ///< binning definition
    );

double psImageUnbinPixel(const int ix, const int iy, //!< desired Unbinned point
                         const psImage *in, //!< binned image
			 const psImageBinning *binning ///< binning definition
                        );

/// @}
#endif
