rmObjects              package:EBImage              R Documentation

_O_b_j_e_c_t _r_e_m_o_v_a_l

_D_e_s_c_r_i_p_t_i_o_n:

     The 'rmObjects' functions deletes objects indexed by a list of
     integer vectors (indexes) from an image with indexed objects.
     'reenumerate' re-enumerates all objects in an IndexedImage from 0
     - background to the actual number of objects.

_U_s_a_g_e:

       ## S4 methods for signatures 'x=IndexedImage,index=numeric'
       ## and 'x=IndexedImage,index=list'
       rmObjects(x, index, ...)

       ## S4 method for signature 'IndexedImage':
       reenumerate(x, ...)

_A_r_g_u_m_e_n_t_s:

       x: An object of 'IndexedImage'. 

   index: A numeric (integer) vector of indexes of objects to remove in
          the frame if 'x' contains one frame only. For multiple
          frames, a list of such vectors.

     ...: Reserved. 

_V_a_l_u_e:

     An image of 'IndexedImage'.

_A_u_t_h_o_r(_s):

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

_S_e_e _A_l_s_o:

     ' IndexedImage, watershed, getFeatures, paintObjects '

_E_x_a_m_p_l_e_s:

       ## see example(drawtext)

