Changeset 344 for trunk/archive/pslib/include/psImage.h
- Timestamp:
- Mar 31, 2004, 5:01:04 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psImage.h (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psImage.h
r292 r344 22 22 psF32 **rows_f32; ///< pointers to psF32 data 23 23 psF64 **rows_f64; ///< pointers to psF64 data 24 psComplex **rows_complex; // !< pointers to psComplex data24 psComplex **rows_complex; ///< pointers to psComplex data 25 25 } rows; 26 26 psImage *parent; ///< parent, if a subimage … … 45 45 /// Create a subimage of the specified area. 46 46 psImage * 47 psImageSubset(psImage *out, // !< Subimage to return, or NULL47 psImageSubset(psImage *out, ///< Subimage to return, or NULL 48 48 const psImage *image, ///< parent image 49 49 int nx, ///< subimage width (<= image.nx - x0) … … 60 60 /** Destroy the pixels of the specified image */ 61 61 psImage * 62 psImageFreePixels(psImage *restrict image // !< Image whose pixels are to be freed62 psImageFreePixels(psImage *restrict image ///< Image whose pixels are to be freed 63 63 ); 64 64 … … 78 78 /// Extract pixels from rectlinear region to a vector. 79 79 psFloatArray * 80 psImageSlice(psFloatArray *out, // !< Vector to output, or NULL80 psImageSlice(psFloatArray *out, ///< Vector to output, or NULL 81 81 const psImage *input, ///< extract slice from this image 82 82 int x, ///< starting x coord of region to slice … … 90 90 /// Extract pixels along a line to a vector. 91 91 psFloatArray * 92 psImageCut(psFloatArray *out, // !< Vector to output, or NULL92 psImageCut(psFloatArray *out, ///< Vector to output, or NULL 93 93 const psImage *input, ///< extract cut from this image 94 94 float xs, ///< starting x coord of cut … … 102 102 /// Extract radial annulii data to a vector. 103 103 psFloatArray * 104 psImageRadialCut(psFloatArray *out, // !< Vector to output, or NULL104 psImageRadialCut(psFloatArray *out, ///< Vector to output, or NULL 105 105 const psImage *input, ///< extract profile from this image 106 106 float x, ///< center x coord of annulii … … 115 115 /// Extract a 2-d contour from an image at the given threshold. 116 116 psFloatArray * 117 psImageContour(psFloatArray *out, // !< Vector to output, or NULL117 psImageContour(psFloatArray *out, ///< Vector to output, or NULL 118 118 const psImage *input, ///< create contour for this image 119 119 float threshold, ///< contour image at this threshold … … 125 125 /// Rebin image to new scale. 126 126 psImage * 127 psImageRebin(psImage *out, // !< Image to output, or NULL127 psImageRebin(psImage *out, ///< Image to output, or NULL 128 128 const psImage *input, ///< rebin this image 129 129 float scale, ///< rebinning scale: doutput = scale*dinput … … 133 133 /// Rotate image by given angle. 134 134 psImage * 135 psImageRotate(psImage *out, // !< Image to output, or NULL135 psImageRotate(psImage *out, ///< Image to output, or NULL 136 136 const psImage *input, ///< rotate this image 137 137 float angle ///< rotate by this amount anti-clockwise (degrees) … … 141 141 /// Drop edge pixels, and set newly exposed pixels to 'exposed'. 142 142 psImage * 143 psImageShift(psImage *out, // !< Image to output, or NULL143 psImageShift(psImage *out, ///< Image to output, or NULL 144 144 const psImage *input, ///< shift this image 145 145 float dx, ///< shift by this amount in x … … 151 151 /// Edge pixels wrap to the other side (no values are lost). 152 152 psImage * 153 psImageRoll(psImage *out, // !< Image to output, or NULL153 psImageRoll(psImage *out, ///< Image to output, or NULL 154 154 const psImage *input, ///< roll this image 155 155 int dx, ///< roll this amount in x … … 249 249 /// Perform an FFT on the image. The output image type is psComplex. 250 250 psImage * 251 psImageFFT(psImage *output, // !< Output image251 psImageFFT(psImage *output, ///< Output image 252 252 const psImage *input, ///< image to FFT 253 253 int direction ///< FFT direction
Note:
See TracChangeset
for help on using the changeset viewer.
