waveform-computing / rastools

Tools for working with synchrotron scans
http://www.waveform.org.uk/rastools/
2 stars 1 forks source link

Add multi-layer vieweing and export #19

Closed waveform80 closed 11 years ago

waveform80 commented 11 years ago

Add a new MDI window type to rasviewer which allows users to combine up to three channels in a single image, i.e. one data channel for red, another for green, another for blue. Each channel must be capable of having separate percentile limiting, but should also allow percentile limits to be set across all channels.

Color-map becomes irrelevant for such windows and all other options (crop, interpolation, etc.) remain as they were for single layer windows.

If possible, implementation should allow switching between single and multi-layer window styles, but if it proves easier to demand re-opening the data file then that's not a huge problem.

rasextract should also be updated to permit this style of image generation (is it easier to construct a new tool for this and make most of rasextract a parent class? Not sure...)

waveform80 commented 11 years ago

Imported from trac issue 19. Created by dave on 2012-07-20T17:27:11, last modified: 2012-09-08T22:40:56

waveform80 commented 11 years ago

Trac comment by dave on 2012-07-21 20:16:54:

First attempt at an implementation in r146:150

waveform80 commented 11 years ago

Trac comment by dave on 2012-07-21 23:26:05:

rasviewer interface is basically finished, but rasextract remains to be done. As part of this we'll need a way of specifying three different percentile/value ranges:

waveform80 commented 11 years ago

Trac comment by dave on 2012-09-08 22:40:56:

Completed (for rasextract) in r174 with the introduction of the --layers option. This isn't quite as flexible as the rasviewer implementation in that different percentiles cannot be used for different channels, but that's a pretty specialized usage which would require a GUI to determine the percentiles in the first place (in other words, this is my justification for "good enough").