TheJacksonLaboratory / dask_relabeling

A relabeling tool for tiled segmentation with Dask
MIT License
10 stars 1 forks source link

Changes ndims parameter for spatial_dims for clarity #6

Closed fercer closed 4 months ago

fercer commented 4 months ago

In this PR the parameter name ndims is changed for spatial_dims. This is a clarification of the expected value as the number of spatial dimensions of the array (X, Y, Z, etc...), and not the number of axes in the array such as color channels, time, etc.

This should make 2D segmentation with spatial_dims=2, and 3D segmentation with spatial_dims=3 work properly regardless of the number of other axes in the array.