ilastik / volumina

Volume Slicing and Editing
http://ilastik.org
Other
32 stars 65 forks source link

Set tilewidth automatically for 2D and 3D data #280

Closed k-dominik closed 3 years ago

k-dominik commented 3 years ago

I cannot believe that we did not have an issue about this open @akreshuk, but I couldn't find one. With this PR we add a new preference key "tileWidth3D" which will be used to set tile width for 3D data. The preference key "tileWidth" remains and will be used for 2D data. Defaults are 256 for 3D, 512 for 2D. I also moved responsibility for the preference handling from ImageScene2D to VolumeEditorWidget.

Added the setFocus so this PR actually closes an issue ;) fixes ilastik/ilastik#2260

akreshuk commented 3 years ago

Hallelujah!