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.55
Name
rel6_0
Date:
Date
2005/06/09 21:20:20
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psImage.h.

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

Include dependency graph for psImage.h:

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

Go to the source code of this file.

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

psImagepsImageAlloc (psU32 numCols, psU32 numRows, const psElemType type)
 Create an image of the specified size and type.
psRegion psRegionSet (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.
psImagepsImageRecycle (psImage *old, psU32 numCols, psU32 numRows, const psElemType type)
 Resize a given image to the given size/type.
bool p_psImageCopyToRawBuffer (void *buffer, const psImage *input, psElemType type)
 Copy an image to a new buffer.
psS32 psImageFreeChildren (psImage *image)
 Frees all children of a psImage.
psF64 p_psImageGetElementF64 (psImage *image, int col, int row)
 get an element of an image as a psF64.
bool p_psImagePrint (FILE *f, psImage *a, char *name)
 print image pixel values.
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 Wed Jun 15 11:01:01 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1