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)')

