src/ccstruct/stepblob.cpp
int32_t C_BLOB::count_transitions( // area
    int32_t threshold              // on size
) {
  C_OUTLINE_IT it = &outlines; // outlines of blob
  int32_t total = 0;           // total area

  for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
    C_OUTLINE *outline = it.data();
    total += outline->count_transitions(threshold);
  }
  return total;
}
/**********************************************************************
 * C_BLOB::count_transitions
 *
 * Return the total x and y maxes and mins in the blob.
 * Chlid outlines are not counted.
 **********************************************************************/
:count_transitions
Return the total x and y maxes and mins in the blob.
Chlid outlines are not counted.
: count_transitions Return the total x and y maxes and mins in the blob . Chlid outlines are not counted .
int32_t C_BLOB::count_transitions( 
    int32_t threshold              
) {
  C_OUTLINE_IT it = &outlines; 
  int32_t total = 0;           
  for (it.mark_cycle_pt(); !it.cycled_list(); it.forward()) {
    C_OUTLINE *outline = it.data();
    total += outline->count_transitions(threshold);
  }
  return total;
}
int32_t C_BLOB :: count_transitions ( int32_t threshold ) { C_OUTLINE_IT it = & outlines ; int32_t total = 0 ; for ( it . mark_cycle_pt ( ) ; ! it . cycled_list ( ) ; it . forward ( ) ) { C_OUTLINE * outline = it . data ( ) ; total += outline -> count_transitions ( threshold ) ; } return total ; }
C_BLOB::count_transitions
 Return the total x and y maxes and mins in the blob.
C_BLOB :: count_transitions Return the total x and y maxes and mins in the blob .
// area // on size // outlines of blob // total area