component-extract don't clip channel values
Current component-extract clips OODR channel values. It would be preferable to allow extracting channels without clipping OODR channel values.
Otherwise, for floating point images with OODR channel values, the channels are useless as masks, as the very areas one might want to mask out/most affect by one or another editing operation, have been clipped to 0 or 1.0 in the mask, removing all tonal variation in important parts of the mask:
Above image compares results before and after the patch, when making a Chroma mask to modify a high-chroma layer. Both masks were created by extracting the LCh C component, inverting, and then doing stretch-contrast:
- The highest chroma areas in the mask on the left were clipped to 1.0, turning to 0.0 upon inversion, making the mask produce artifacts in the final image.
- On the right, expected tonal variation in the high-chroma areas has been preserved, allowing the mask to actually be useful.
Note: the above image doesn't show the resulting artifacts, but they can be extremely obvious, or even worse, sometimes be subtle enough to not notice until later in the editing process. I can upload sample images if required.