cube_handling.h

00001 
00002 /*----------------------------------------------------------------------------
00003    
00004    File name    :   cube_handling.h
00005    Author       :   Nicolas Devillard
00006    Created on   :   Aug 03, 1995
00007    Description  :   handling of cubes in working area (memory or disk)
00008 
00009  ---------------------------------------------------------------------------*/
00010 /*
00011  $Id: cube_handling.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $
00012  $Author: amodigli $
00013  $Date: 2003/09/03 12:50:47 $
00014  $Revision: 1.1 $
00015  */
00016 
00017 #ifndef _CUBE_HANDLING_H_
00018 #define _CUBE_HANDLING_H_
00019 
00020 
00021 /*---------------------------------------------------------------------------
00022                                 Includes
00023  ---------------------------------------------------------------------------*/
00024 
00025 #include <stdio.h>
00026 #include <math.h>
00027 #include <limits.h>
00028 
00029 #include "cube_defs.h"
00030 #include "image_handling.h"
00031 #include "conversions.h"
00032 #include "file_handling.h"
00033 #include "simple.h"
00034 #include "cube_load.h"
00035 #include "cube_save.h"
00036 
00037 
00038 /*---------------------------------------------------------------------------
00039                         Function ANSI C prototypes
00040  ---------------------------------------------------------------------------*/
00041 
00042 
00043 /*-------------------------------------------------------------------------*/
00058 /*--------------------------------------------------------------------------*/
00059 
00060 /* <python> */
00061 OneCube *
00062 new_cube(
00063     int     lx,
00064     int     ly,
00065     int     n_im
00066 ) ;
00067 /* </python> */
00068 
00069 
00070 /*-------------------------------------------------------------------------*/
00092 /*--------------------------------------------------------------------------*/
00093 
00094 /* <python> */
00095 OneCube *
00096 promote_image_to_cube(
00097     OneImage    *   candidate
00098 ) ;
00099 /* </python> */
00100 
00101 
00102 
00103 /*-------------------------------------------------------------------------*/
00124 /*--------------------------------------------------------------------------*/
00125  
00126  
00127 /* <python> */
00128 OneCube * list_make_cube(OneImage ** list, int np);
00129 /* </python> */
00130 
00131 
00132 /*-------------------------------------------------------------------------*/
00142 /*--------------------------------------------------------------------------*/
00143 /* <python> */
00144 OneCube *
00145 copy_cube(
00146     OneCube *src_cube
00147 ) ;
00148 /* </python> */
00149 
00150 
00151 /*-------------------------------------------------------------------------*/
00165 /*--------------------------------------------------------------------------*/
00166 
00167 /* <python> */
00168 void
00169 destroy_cube(    
00170     OneCube * to_destroy
00171 ) ;
00172 /* </python> */
00173 
00174 
00175 
00176 /*-------------------------------------------------------------------------*/
00192 /*--------------------------------------------------------------------------*/
00193 
00194 /* <python> */
00195 void destroy_cube_shallow(OneCube * d);
00196 /* </python> */
00197 
00198 /*-------------------------------------------------------------------------*/
00216 /*--------------------------------------------------------------------------*/
00217 
00218 /* <python> */
00219 OneImage *
00220 get_reference_to_plane (
00221   OneCube    *  cube,
00222   int        plane
00223 ) ;
00224 /* </python> */
00225 
00226 
00227 /*-------------------------------------------------------------------------*/
00243 /*--------------------------------------------------------------------------*/
00244 
00245 /* <python> */
00246 int
00247 get_number_of_planes (
00248   OneCube    *  cube
00249 ) ;
00250 /* </python> */
00251 
00252 
00253 
00254 /*-------------------------------------------------------------------------*/
00280 /*--------------------------------------------------------------------------*/
00281  
00282 /* <python> */
00283 int cube_set_pixeldepth(OneCube * cu, int depth);
00284 /* </python> */
00285 
00286 
00287 
00288 /*-------------------------------------------------------------------------*/
00306 /*--------------------------------------------------------------------------*/
00307  
00308 /* <python> */
00309 int cube_reject_planes(OneCube ** rej, int * valid);
00310 /* </python> */
00311 
00312 
00313 
00314 #endif

Generated on Wed Oct 26 13:08:51 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001