crackplot              package:crackrec              R Documentation

_c_r_a_c_k_p_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     Adds detected crackpaths and lines which connect the start and end
     points of the paths to an image.

_U_s_a_g_e:

     crackplot(crackpaths,cracks,cex.points=0.3,lwd.lines=2,col.points="red",
     col.lines="yellow") 

_A_r_g_u_m_e_n_t_s:

crackpaths: Output crackpaths of crackrec: list of matrices with two
          rows.

  cracks: Output cracks of crackrec: matrix with 6 rows and column
          number  coinciding with the numbers of list elements of
          crackpaths where the last four columns contain the cordinates
          of the start and end points of the cracks.

cex.points: Size of the plotted points of crackpaths.

lwd.lines: Size of the plotted lines connecting start and end points 
          of the cracks.

col.points: Color of the plotted points of crackpaths.

col.lines: Color of the plotted lines connecting start and end points 
          of the cracks.

_A_u_t_h_o_r(_s):

     Christine Mueller cmueller@mathematik.uni-kassel.de

_S_e_e _A_l_s_o:

     'rbmp', 'threshold.msi', 'shadow.remove', 'medianfilter',
     'crackrec'

_E_x_a_m_p_l_e_s:

     ## Not run: 
     mx<-rbmp("image.bmp")
     result<-crackrec(mx)
     image(1:dim(mx)[[1]],1:dim(mx)[[2]], mx, col=gray((1:32)/32))
     crackplot(result$crackpaths, result$cracks)
     ## End(Not run)

