Ignore:
Timestamp:
Aug 21, 2008, 12:00:06 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • median.c: add a median filter. Highly unoptimised for now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/src/pipi.c

    r2742 r2744  
    7171                return EXIT_FAILURE;
    7272            if(pipi_command(ctx, "boxblur", argv[1]) != 0)
     73                return EXIT_FAILURE;
     74            argv++;
     75        }
     76        else if(!strcmp(argv[0], "--median"))
     77        {
     78            if(argv[1] == NULL)
     79                return EXIT_FAILURE;
     80            if(pipi_command(ctx, "median", argv[1]) != 0)
    7381                return EXIT_FAILURE;
    7482            argv++;
Note: See TracChangeset for help on using the changeset viewer.