nion-software / nionswift

Nion Swift is open source scientific image processing software integrating hardware control, data acquisition, visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on Windows, Linux, and macOS.
http://nion.com/swift
GNU General Public License v3.0
44 stars 33 forks source link

Improve options for integral zoom scaling in raster image display #112

Open cmeyer opened 6 years ago

cmeyer commented 6 years ago

From Niklas December 21 2017:

8 zooming in and out. This is about speed and proper binning. The continuous zooming very often gives stripe effects, as the eye is very good at picking out minor changes in a smooth gradient. Making the zooming be much stickier towards integral factors would make this much better. As Swift has a hard time keeping up with the data rate we should implement pre-binning in the data sources, if Swift is going to only display binned by 2 data then it should be able to stream at four times the frame rate if the camera/superscan provided properly binned data for display purposes to Swift.

Brow71189 commented 4 years ago

Also: Using the +/- keys after being in an integer zoom "state" (e.g. after having pressed "1" or "2") should continue zooming from that zoom level on and not reset the display and apply the zoom after that.