Changeset 41963
- Timestamp:
- Dec 21, 2021, 1:52:49 PM (5 years ago)
- Location:
- branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/Makefile
r41891 r41963 78 78 $(SRC)/imsmooth.2d.$(ARCH).o \ 79 79 $(SRC)/imconvolve.$(ARCH).o \ 80 $(SRC)/imresample.$(ARCH).o \ 81 $(SRC)/imcollapse.$(ARCH).o \ 80 82 $(SRC)/integrate.$(ARCH).o \ 81 83 $(SRC)/interpolate.$(ARCH).o \ -
branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/cut.c
r41341 r41963 96 96 if (argc != 9) { 97 97 gprint (GP_ERR, "USAGE: cut <buffer> <X vector> <Y vector> <X|Y> sx sy nx ny\n"); 98 gprint (GP_ERR, " extract a vector in the X or Y direction based on the pixel values in window\n"); 98 99 return (FALSE); 99 100 } -
branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/imcut.c
r33662 r41963 9 9 float *V; 10 10 11 if (argc != 8) { 12 gprint (GP_ERR, "USAGE: cut <buffer> <X vector> <Y vector> xs ys xe ye\n"); 13 return (FALSE); 14 } 11 if (argc != 8) goto usage; 15 12 16 13 if ((buf = SelectBuffer (argv[1], OLDBUFFER, TRUE)) == NULL) goto missed; … … 51 48 52 49 usage: 53 gprint (GP_ERR, "USAGE: circstats <buffer> x y radius\n"); 50 gprint (GP_ERR, "USAGE: imcut <buffer> <X vector> <Y vector> xs ys xe ye\n"); 51 gprint (GP_ERR, " extract pixels along the line from (xs,ys) to (xe,ye)\n"); 52 gprint (GP_ERR, " (see also imvector)\n"); 54 53 return (FALSE); 55 54 -
branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/init.c
r41891 r41963 18 18 int clear PROTO((int, char **)); 19 19 int clip PROTO((int, char **)); 20 int imclip PROTO((int, char **));21 20 int close_device PROTO((int, char **)); 22 21 int concat PROTO((int, char **)); … … 61 60 int hermitian2d PROTO((int, char **)); 62 61 int idxread PROTO((int, char **)); 62 int imclip PROTO((int, char **)); 63 63 int imcut PROTO((int, char **)); 64 64 int imhist PROTO((int, char **)); … … 68 68 int imsmooth_2d PROTO((int, char **)); 69 69 int imconvolve PROTO((int, char **)); 70 int imresample PROTO((int, char **)); 71 int imcollapse PROTO((int, char **)); 70 72 int integrate PROTO((int, char **)); 71 73 int interpolate PROTO((int, char **)); … … 266 268 {1, "imclip", imclip, "clip values in an image to be within a range"}, 267 269 {1, "imcut", imcut, "linear image cut between arbitrary coords"}, 270 {1, "imresample", imresample, "extract arbitrary window from image"}, 271 {1, "imcollapse", imcollapse, "collapse to histogram along axis"}, 268 272 {1, "imhistogram", imhist, "histogram of an image region"}, 269 273 {1, "impeaks", impeaks, "find peaks in an image (return vectors)"}, -
branches/eam_branches/ipp-20211108/Ohana/src/opihi/cmd.data/medacc.c
r20936 r41963 10 10 if ((argc != 6) && (argc != 7)) { 11 11 gprint (GP_ERR, "USAGE: medacc <value> <vector> <key> start end [delta]\n"); 12 gprint (GP_ERR, " value and key are vectors of the same length\n"); 13 gprint (GP_ERR, " the output vector bins correspond to values ranging from start to end in steps of delta (default 1)\n"); 14 gprint (GP_ERR, " for a given output bin, all input values for which the key matches the output bin are averaged\n"); 15 12 16 return (FALSE); 13 17 }
Note:
See TracChangeset
for help on using the changeset viewer.
