Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psImage.h File Reference


Detailed Description

Contains basic image definitions and operations.

This file defines the basic type for an image struct and functions useful in manupulating images.

Author:
Robert DeSonia, MHPCC

Ross Harman, MHPCC

Version:
Revision
1.49
Name
rel5_0
Date:
Date
2005/03/18 02:35:14
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psImage.h.

#include <complex.h>
#include "psType.h"
#include "psArray.h"

Include dependency graph for psImage.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  psImage
 Basic image data structure. More...
struct  psRegion
 Basic image region structure. More...

Defines

#define PIXEL_INTERPOLATE_FCN_PROTOTYPE(SUFFIX, RETURNTYPE)
#define PIXEL_INTERPOLATE_FCNS(MODE)

Typedefs

typedef psImage psImage
 Basic image data structure.

Enumerations

enum  psImageInterpolateMode { PS_INTERPOLATE_FLAT, PS_INTERPOLATE_BILINEAR, PS_INTERPOLATE_LANCZOS2, PS_INTERPOLATE_LANCZOS3, PS_INTERPOLATE_LANCZOS4, PS_INTERPOLATE_BILINEAR_VARIANCE, PS_INTERPOLATE_LANCZOS2_VARIANCE, PS_INTERPOLATE_LANCZOS3_VARIANCE, PS_INTERPOLATE_LANCZOS4_VARIANCE, PS_INTERPOLATE_NUM_MODES }
 enumeration of options in interpolation More...

Functions

psImage * psImageAlloc (psU32 numCols, psU32 numRows, const psElemType type)
 Create an image of the specified size and type.
psRegion * psRegionAlloc (psF32 x0, psF32 x1, psF32 y0, psF32 y1)
 Create a psRegion with the specified attributes.
psRegion * psRegionFromString (char *region)
 Create a psRegion with the attribute values given as a string.
char * psRegionToString (psRegion *region)
 Create a string of the standard IRAF form '[x0:x1,y0:y1]' from a psRegion.
psImage * psImageRecycle (psImage *old, psU32 numCols, psU32 numRows, const psElemType type)
 Resize a given image to the given size/type.
psImage * psImageCopy (psImage *output, const psImage *input, psElemType type)
 Makes a copy of a psImage.
psS32 psImageFreeChildren (psImage *image)
 Frees all children of a psImage.
psC64 psImagePixelInterpolate (const psImage *input, float x, float y, const psImage *mask, psU32 maskVal, psC64 unexposedValue, psImageInterpolateMode mode)
 Interpolate image pixel value given floating point coordinates.


Generated on Mon Apr 4 18:24:45 2005 for Pan-STARRS Foundation Library by  doxygen 1.3.9.1