When we load an image using get_dask_stack() in bioio, the dimension of the image (ndim) is always 6, regardless of the actual number of dimensions in the image. This results in each point coordinate containing 6 values. We want to make sure that ndim and point coordinates have the correct dimension number.
When we load an image using get_dask_stack() in bioio, the dimension of the image (ndim) is always 6, regardless of the actual number of dimensions in the image. This results in each point coordinate containing 6 values. We want to make sure that ndim and point coordinates have the correct dimension number.
We need to ignore empty dimensions