napari / napari

napari: a fast, interactive, multi-dimensional image viewer for python
https://napari.org
BSD 3-Clause "New" or "Revised" License
2.07k stars 410 forks source link

GUI element to set layer transforms (scale/ translate) #3975

Open sofroniewn opened 2 years ago

sofroniewn commented 2 years ago

🚀 Feature

Layer transforms - in particular scale and translate should be settable via GUI elements

Motivation

GUI users want to be able to set layer scale and translate too.

Pitch

There should be some dialog, combobox/ textbox? that allows the properties of the layer transforms to be set. these include scale and translate, but could also include rotation, shear, or a full affine

Alternatives

These are only settable via the API, which limits GUI users

Additional context

Curious which layer transform properties need to be exposed? Is it just scale/ translate - or also rotation, shear, affine etc. What do @jni @andy-sweet @JoOkuma and others think?

Maybe this is something @isabela-pf can begin some design work for and then @ppwadhwa could implement when we have a design