[Master Index] [Index for export/lyngby]

lyngby_img_regident

(export/lyngby/lyngby_img_regident.m)


Function Synopsis

[R,sizes] = lyngby_img_regident(V)

Help text

 lyngby_img_regindent - Region identification

       function  [R, sizes] = lyngby_img_regident(V)

       Input:  V       Binary image with values in {0,1}
      
       Output: R       Labeled image
               sizes   Number of elements in region
  
       This function computes a list of connected regions (clusters)
       by labelling all pixels by a region number, ie., so-called
       region identification (coloring or labelling).

       The regions in R is sorted so that the largest cluster has the
       label=1, the second largest label=2, ... The Non-labeled region
       is returned with zero.

       The number of regions is max(R) or length(sizes).

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF