src/ccstruct/blobs.cpp
TBLOB *TBLOB::PolygonalCopy(bool allow_detailed_fx, C_BLOB *src) {
  auto *tblob = new TBLOB;
  ApproximateOutlineList(allow_detailed_fx, src->out_list(), false, &tblob->outlines);
  return tblob;
}
// Factory to build a TBLOB from a C_BLOB with polygonal approximation along
// the way. If allow_detailed_fx is true, the EDGEPTs in the returned TBLOB
// contain pointers to the input C_OUTLINEs that enable higher-resolution
// feature extraction that does not use the polygonal approximation.
Factory to build a TBLOB from a C_BLOB with polygonal approximation along
the way. If allow_detailed_fx is true, the EDGEPTs in the returned TBLOB
contain pointers to the input C_OUTLINEs that enable higher-resolution
feature extraction that does not use the polygonal approximation.
Factory to build a TBLOB from a C_BLOB with polygonal approximation along the way . If allow_detailed_fx is true the EDGEPTs in the returned TBLOB contain pointers to the input C_OUTLINEs that enable higher - resolution feature extraction that does not use the polygonal approximation .
TBLOB *TBLOB::PolygonalCopy(bool allow_detailed_fx, C_BLOB *src) {
  auto *tblob = new TBLOB;
  ApproximateOutlineList(allow_detailed_fx, src->out_list(), false, &tblob->outlines);
  return tblob;
}
TBLOB * TBLOB :: PolygonalCopy ( bool allow_detailed_fx , C_BLOB * src ) { auto * tblob = new TBLOB ; ApproximateOutlineList ( allow_detailed_fx , src -> out_list ( ) , false , & tblob -> outlines ) ; return tblob ; }
Factory to build a TBLOB from a C_BLOB with polygonal approximation along
the way.
Factory to build a TBLOB from a C_BLOB with polygonal approximation along the way .