Open cmeyer opened 3 years ago
I think this should simply replace the current "Rebin" functionality. Right now, "Rebin" does (only) allow to rebin by an integer, but it requires the user to input the final height/width of the result. So if you want to bin by 2, you have to calculate how big your image will be. This works but is a bit awkward. So simply changing the UI of the exisiting Rebin should do it.
Initially should work in the datum dimensions; but eventually user should be able to choose which dimensions are being decimated. Also, consider implementing the general decimation algorithm (currently used in displays).