"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "skimage/segmentation/_slic.pyx" between
scikit-image-0.19.1.tar.gz and scikit-image-0.19.2.tar.gz

About: scikit-image is a collection of algorithms for image processing in Python.

_slic.pyx  (scikit-image-0.19.1):_slic.pyx  (scikit-image-0.19.2)
skipping to change at line 303 skipping to change at line 303
for y in range(height): for y in range(height):
for x in range(width): for x in range(width):
if segments[z, y, x] == mask_label: if segments[z, y, x] == mask_label:
continue continue
if connected_segments[z, y, x] > mask_label: if connected_segments[z, y, x] > mask_label:
continue continue
# find the component size # find the component size
adjacent = 0 adjacent = current_new_label
label = segments[z, y, x] label = segments[z, y, x]
connected_segments[z, y, x] = current_new_label connected_segments[z, y, x] = current_new_label
current_segment_size = 1 current_segment_size = 1
bfs_visited = 0 bfs_visited = 0
coord_list[bfs_visited, 0] = z coord_list[bfs_visited, 0] = z
coord_list[bfs_visited, 1] = y coord_list[bfs_visited, 1] = y
coord_list[bfs_visited, 2] = x coord_list[bfs_visited, 2] = x
#perform a breadth first search to find #perform a breadth first search to find
# the size of the connected component # the size of the connected component
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)