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

