Python: flood filling of multidimensional image -


i have binary multidimensional image. , want implementation of flood fill give me next:

  1. list of connected regions (with adjacent pixels value true).

  2. for each region want bounding box , list of pixel coordinates of pixels interconnected region.

is implemented?

hell yeah! scipy.ndimage.measurements module helps!


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -