00001 /** @file psImageUnbin.h 00002 * 00003 * @brief Functions to determine the image background 00004 * 00005 * @author EAM, IfA 00006 * 00007 * $Revision: 1.4 $ $Name: $ 00008 * $Date: 2007/01/23 22:47:23 $ 00009 * Copyright 2004-2005 IfA, University of Hawaii 00010 */ 00011 00012 #ifndef PS_IMAGE_BACKGROUND_H 00013 #define PS_IMAGE_BACKGROUND_H 00014 00015 /// @addtogroup ImageOps Image Operations 00016 /// @{ 00017 00018 #include "psStats.h" 00019 #include "psImage.h" 00020 #include "psType.h" 00021 00022 // Get the background for an image 00023 bool psImageBackground(psStats *stats, // desired measurement and options 00024 const psImage *image, // Image for which to get the background 00025 const psImage *mask, // Mask image 00026 psMaskType maskValue, // Mask pixels which this mask value 00027 psRandom *rng // Random number generator (for pixel selection) 00028 ); 00029 00030 /// @} 00031 #endif // #ifndef PS_IMAGE_BACKGROUND_H
1.5.1