fillHull               package:EBImage               R Documentation

_F_i_l_l _h_o_l_e_s _i_n _o_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Fill holes in objects.

_U_s_a_g_e:

       fillHull(x)

_A_r_g_u_m_e_n_t_s:

       x: An 'Image' object or an array.

_D_e_t_a_i_l_s:

     'fillHull' fills holes in the objects defined in 'x', where
     objects are sets of pixels with the same unique integer value.

_V_a_l_u_e:

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

_A_u_t_h_o_r(_s):

     Gregoire Pau, Oleg Sklyar; 2007

_S_e_e _A_l_s_o:

     'bwlabel'

_E_x_a_m_p_l_e_s:

       x = readImage(system.file('images', 'nuclei.tif', package='EBImage'))
       if (interactive()) display(x)

       y = thresh(x, 10, 10, 0.05)
       if (interactive()) display(y, title='Cell nuclei')

       y = fillHull(y)
       if (interactive()) display(y, title='Cell nuclei without holes')

