Ignore:
Timestamp:
Aug 14, 2008, 8:34:44 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • blur.c: add an argument to the gaussian convolution to specify an angle. Of course since the kernel is no longer separable, it becomes awfully slow with large images. Here is a tileable brushed metal texture: # pipi pipi:random512x512 --wrap --blur 20x0r25 -o image.png
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/edd.c

    r2666 r2715  
    6262
    6363    /* Compute the fast error */
    64     tmp = pipi_gaussian_blur_ext(dither, sigma, sigma, 0.16, 0.26);
     64    tmp = pipi_gaussian_blur_ext(dither, sigma, sigma, 0.0, 0.16, 0.26);
    6565    e1 = pipi_measure_msd(gauss, tmp);
    6666    pipi_free(tmp);
     
    7272            for(dx = 0; dx <= Z; dx++)
    7373            {
    74                 tmp = pipi_gaussian_blur_ext(dither, sigma, sigma,
     74                tmp = pipi_gaussian_blur_ext(dither, sigma, sigma, 0.0,
    7575                                             fx + step * dx / Z,
    7676                                             fy + step * dy / Z);
Note: See TracChangeset for help on using the changeset viewer.