bauerdavid/napari-nD-annotator

Change size settings for undisplayed dimensions for BB

Closed this issue · 1 comments

Currently when creating bounding boxes manually, the size for currently invisible dimensions (every other dimension besides the two displayed) are set to be the mean of the visible sizes. However, sometimes it is not suitable, for example if the resolution along z is very different than along x and y, or if the dataset contains "flat" objects.

It would be useful to make it possible to choose other options for determining bounding box sizes. One option should stay the same (average the visible sizes), but with the addition of a scaling parameter. (Instead of s_z = (s_x + s_y)/2 change it to s_z = a * (s_x + s_y)/2. a can be changed by the user.) Another option should be to set it to a constant.

Bounding boxes were moved to napari-bbox, and this issue was solved there.