denoise               package:EBImage               R Documentation

_B_l_u_r_r_i_n_g _i_m_a_g_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Blurs an image with ImageMagick functions.

_U_s_a_g_e:

       blur(x, r=0, s=0.5)
       gblur(x, r=0, s=0.5)

_A_r_g_u_m_e_n_t_s:

       x: An 'Image' object or an array.

       r: A numeric value for the radius of the pixel neighbourhood.
          The default value 0 enables automatic radius selection.

       s: The standard deviation of the Gaussian filter used for
          blurring. For reasonable results, 'r' must be larger than
          's'. 

_D_e_t_a_i_l_s:

     'blur' uses an unspecified separable kernel. 'gblur' uses a
     Gaussian kernel. The algorithms used by these ImageMagick
     functions are not well defined and hence, the usage of 'filter2'
     is preferable to 'blur' or 'gblur'.

_V_a_l_u_e:

     An 'Image' object or an array, containing the blurred version of
     'x'.

_A_u_t_h_o_r(_s):

     Oleg Sklyar, osklyar@ebi.ac.uk, 2005-2007

_R_e_f_e_r_e_n_c_e_s:

     _ImageMagick_: <URL: http://www.imagemagick.org>.

_S_e_e _A_l_s_o:

     'filter2'

_E_x_a_m_p_l_e_s:

        x = readImage(system.file("images", "lena.gif", package="EBImage"))
        if (interactive()) display(x)

        y = blur(x, r=3, s=2)
        if (interactive()) display(y, title='blur(x, r=3, s=2)')

        y = gblur(x, r=3, s=2)
        if (interactive()) display(y, title='gblur(x, r=3, s=2)')

