IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2005, 4:29:44 PM (21 years ago)
Author:
desonia
Message:

removed psImageIO functions.

Location:
trunk/psLib/src/mathtypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mathtypes/psImage.c

    r3977 r4128  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-05-19 05:18:20 $
     11 *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-06-07 02:29:44 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    352352
    353353    return numFreed;
     354}
     355
     356bool p_psImagePrint (FILE *f, psImage *a, char *name)
     357{
     358
     359    fprintf (f, "matrix: %s\n", name);
     360
     361    for (int j = 0; j < a[0].numRows; j++) {
     362        for (int i = 0; i < a[0].numCols; i++) {
     363            fprintf (f, "%f  ", p_psImageGetElementF64(a, i, j));
     364        }
     365        fprintf (f, "\n");
     366    }
     367    fprintf (f, "\n");
     368    return (true);
    354369}
    355370
  • trunk/psLib/src/mathtypes/psImage.h

    r3990 r4128  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-05-19 23:57:37 $
     13 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-06-07 02:29:44 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    176176);
    177177
     178/** print image pixel values.
     179 *
     180 *  @return bool    TRUE is successful, otherwise FALSE.
     181 */
     182bool p_psImagePrint(
     183    FILE *f,                           ///< Destination stream
     184    psImage *a,                        ///< image to print
     185    char *name                         ///< name of the image (for title)
     186);
     187
    178188/** Interpolate image pixel value given floating point coordinates.
    179189 *
Note: See TracChangeset for help on using the changeset viewer.