Changeset 1605 for trunk/psLib/test/image/tst_psImageManip.c
- Timestamp:
- Aug 19, 2004, 4:55:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageManip.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageManip.c
r1509 r1605 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-08- 12 03:11:08$8 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-08-20 02:55:42 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 788 788 789 789 stats.options = PS_STAT_SAMPLE_MEAN; 790 out = psImageRebin(NULL,in, 4,&stats);790 out = psImageRebin(NULL,in,NULL,0,4,&stats); 791 791 792 792 if (out == NULL) { … … 816 816 817 817 stats.options = PS_STAT_MAX; 818 out2 = psImageRebin(out,in, 3,&stats);818 out2 = psImageRebin(out,in,NULL,0,3,&stats); 819 819 820 820 // Verify the returned psImage structure is equal to the input parameter … … 853 853 // doesn't stop, if the input parameter input is null. 854 854 855 out2 = psImageRebin(NULL,NULL, 1,&stats);855 out2 = psImageRebin(NULL,NULL,NULL,0,1,&stats); 856 856 857 857 if (out2 != NULL) { … … 864 864 // doesn't stop, if the input parameter scale is less than or equal to zero. 865 865 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error."); 866 out2 = psImageRebin(NULL,in, 0,&stats);866 out2 = psImageRebin(NULL,in,NULL,0,0,&stats); 867 867 868 868 if (out2 != NULL) { … … 875 875 // doesn't stop, if the input parameter stats is null. 876 876 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error."); 877 out2 = psImageRebin(NULL,in, 1,NULL);877 out2 = psImageRebin(NULL,in,NULL,0,1,NULL); 878 878 879 879 if (out2 != NULL) { … … 889 889 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error."); 890 890 stats.options = 0; 891 out2 = psImageRebin(NULL,in, 1,&stats);891 out2 = psImageRebin(NULL,in,NULL,0,1,&stats); 892 892 893 893 if (out2 != NULL) { … … 899 899 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error."); 900 900 stats.options = PS_STAT_USE_RANGE; 901 out2 = psImageRebin(NULL,in, 1,&stats);901 out2 = psImageRebin(NULL,in,NULL,0,1,&stats); 902 902 903 903 if (out2 != NULL) { … … 912 912 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error."); 913 913 stats.options = PS_STAT_SAMPLE_MEAN + PS_STAT_MAX; 914 out2 = psImageRebin(NULL,in, 1,&stats);914 out2 = psImageRebin(NULL,in,NULL,0,1,&stats); 915 915 916 916 if (out2 != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.
