IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2019, 8:21:47 PM (7 years ago)
Author:
eugene
Message:

add reverse option for threshold; median filter for vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/medimage_commands.c

    r39457 r40623  
    149149int medimage_delete (int argc, char **argv) {
    150150
    151   int status;
     151  int N, status;
    152152  MedImageType *medimage;
     153
     154  int QUIET = FALSE;
     155  if ((N = get_argument (argc, argv, "-q"))) {
     156    QUIET = TRUE;
     157    remove_argument (N, &argc, argv);
     158  }
    153159
    154160  if (argc != 2) {
     
    159165  medimage = FindMedImage (argv[1]);
    160166  if (medimage == NULL) {
     167    if (QUIET) return TRUE;
    161168    gprint (GP_ERR, "medimage %s not found\n", argv[1]);
    162169    return FALSE;
Note: See TracChangeset for help on using the changeset viewer.