lsst-camera-visualization / frontend

Frontend
0 stars 0 forks source link

Ability to stretch a selected portion of an image. #13

Open jonthaler opened 7 years ago

jonthaler commented 7 years ago

See discussion here.

Use case: Examination of multi-amplifier CCD images before calibration (e.g., on hardware test stands.

When new CCDs arrive from the vendor for testing, the various amplifiers (each LSST CCD has 16) do not have gain or baseline calibration. The result is that the image will resemble a checkerboard, with some amplifier regions being very dark, and some very light. Visual examination of an amplifier for blemishes would be easier if its stretch could be adjusted without regard to what is happening with the other amplifiers.

jonthaler commented 7 years ago

Firefly does not support stretch of a region, so this is deferred for now.

jonthaler commented 7 years ago

Removed the wontfix label. We can implement this using Firefly's "Color Stretch" command. If we calculate the region's minimum and maximum pixel values in the Back End, we can pass these values to Firefly. The entire image will also be scaled (probably making it look bad), but the region of interest will look the way we want.