Home | History | Annotate | Download | only in ops

Lines Matching refs:components

446   """Labels the connected components in a batch of images.
449 and all have the same non-zero value. The components using a squared
451 below, left, and right). Components across all images have consecutive ids 1
452 through n. Components are labeled according to the first pixel of the
463 Components with the same shape as `images`. False entries in `images` have
479 components = gen_image_ops.image_connected_components(images)
483 components_flat = array_ops.reshape(components, [-1])
504 components = array_ops.reshape(
505 array_ops.gather(new_ids, id_index), array_ops.shape(components))
507 return components[0, :, :]
509 return components