image_intops.h

00001 
00002 /*---------------------------------------------------------------------------
00003                                     E.S.O.
00004  ----------------------------------------------------------------------------
00005    File name    :   image_intops.h
00006    Author       :   Nicolas Devillard
00007    Created on   :   September 1999
00008    Language     :   ANSI C
00009                     Part of ECLIPSE library for Adonis
00010    Description  :   image integer operations
00011                     This family of operations are just moving pixels
00012                     around without modifying the values themselves.
00013                     All operations happen "in place", i.e. they modify
00014                     their image argument.
00015  *--------------------------------------------------------------------------*/
00016 
00017 /*
00018 
00019     $Id: image_intops.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $
00020     $Author: amodigli $
00021     $Date: 2003/09/03 12:50:47 $
00022     $Revision: 1.1 $
00023 
00024 */
00025 
00026 #ifndef _IMAGE_INTOPS_H_
00027 #define _IMAGE_INTOPS_H_
00028 
00029 /*---------------------------------------------------------------------------
00030                                 Includes
00031  ---------------------------------------------------------------------------*/
00032 
00033 #include "local_types.h"
00034 #include "image_handling.h"
00035 
00036 /*---------------------------------------------------------------------------
00037                         Function ANSI C prototypes
00038  ---------------------------------------------------------------------------*/
00039 
00040 
00041 /*---------------------------------------------------------------------------
00042    Function :   turn_image()
00043    In       :   image to turn, how to turn it
00044    Out      :   int 0 if Ok, -1 otherwise
00045    Job      :   turn an image by integer half turns
00046    Notice   :   orientation is one of the following angles: 
00047                  90 to turn 90 degrees counterclockwise
00048                 180 to turn the image 180 degrees
00049                 -90 to turn the image clockwise
00050  ---------------------------------------------------------------------------*/
00051 
00052 int turn_image(
00053     OneImage    *   image_in,
00054     int             orientation
00055 );
00056 
00057 
00058 /*---------------------------------------------------------------------------
00059    Function :   image_diagonal_symmetry()
00060    In       :   1 allocated image, int giving which diagonal to use
00061    Out      :   int 0 if Ok, -1 otherwise
00062    Job      :   perform a symmetry around a diagonal in the input
00063                 image. Provide 1 for symmetry around y=x and -1
00064                 for symmetry around y=-x.
00065                 y=x is the diagonal from lower-left corner to upper right
00066                 y=-x is the diagonal from upper-left to lower right.
00067    Notice   :   input image is modified
00068  ---------------------------------------------------------------------------*/
00069 
00070 int image_diagonal_symmetry(
00071     OneImage    *   in,
00072     int             diagonal
00073 );
00074 
00075 
00076 /*----------------------------------------------------------------------------
00077  * Function :   shift_image_int_circular()
00078  * In       :   1 image, x_shift, y_shift
00079  * Out      :   1 newly allocated image
00080  * Job      :   shift an image in x and y directions 
00081  *              
00082  * Notice   : 
00083  *--------------------------------------------------------------------------*/
00084 
00085 OneImage *
00086 shift_image_int_circular(
00087         OneImage    *   inimage,
00088         int             x_shift,
00089         int             y_shift) ;
00090 
00091 #endif

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