Changeset 1613 for trunk/psLib/src/image/psImageExtraction.h
- Timestamp:
- Aug 24, 2004, 2:04:01 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageExtraction.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageExtraction.h
r1606 r1613 10 10 * @author Robert DeSonia, MHPCC 11 11 * 12 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-08-2 3 22:36:03$12 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-25 00:04:01 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 62 62 psImage* image, ///< Parent image. 63 63 const char* section ///< Subsection in the form '[x1:x2,y1:y2]' 64 ); 65 66 /** Trim an image 67 * 68 * Trim the specified image in-place, which involves shuffling the pixels 69 * around in memory. The pixels in the region [x0:x1,y0:y1] (inclusive) 70 * shall consist the output image. 71 * 72 * N.b., An image that has a parent image will be orphaned from the parent 73 * upon trimming. Any children of the trimmed image will also be obliterated, 74 * i.e., freed from memory. 75 * 76 * @return psImage* trimmed image result 77 */ 78 psImage* psImageTrim( 79 psImage* image, ///< image to trim 80 int x0, ///< column of trim region's left boundary 81 int x1, ///< column of trim region's right boundary 82 int y0, ///< row of trim region's lower boundary 83 int y1 ///< row of trim region's upper boundary 64 84 ); 65 85
Note:
See TracChangeset
for help on using the changeset viewer.
