kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
88 stars 31 forks source link

Napari UI: Add model widget only takes two decimal in resolution #226

Closed qin-yu closed 4 months ago

qin-yu commented 4 months ago

E.g. if I have voxel size [0.28, 0.06500000162500004, 0.06500000162500004] or at least [0.28, 0.065, 0.065], I can only put 0.06 or 0.07 for Y and X.

image

qin-yu commented 4 months ago

According to https://github.com/hci-unihd/plant-seg?tab=readme-ov-file#pre-trained-networks, step size 0.0001 should work for all existing models, i.e. to have 3 significant figures in resolutions of future models, I believe 4 decimal places should be enough, but let's use 0.00001 just in case.