Client-side image enhancements that can be used to adjust the contrast within grayscale images.
previous tools "had a range slider that controlled dynamic range to cut out high-end or low-end of pixels. Had 2 sliders to control min, max, and center of range."
<FeComponentTransfer> filter for SVG should help with this using a type='linear with a slope and intercept to adjust the low white and high black points. With this linear slope you should be able to condense the the range of the white/black pixels.
This component could help: https://github.com/Kitware/UPennContrast/blob/master/src/components/ImageViewer.vue
This was designed for more complicated higher bit imagery but I believe the basics are in there for the remapping of the low and high points of an image.
See discussion notes: https://www.notion.so/Meeting-Notes-286fa21b125142e098c08006464f9780#178add01f7c74bb8ba7ed9d565b1b8da
Client-side image enhancements that can be used to adjust the contrast within grayscale images.
previous tools "had a range slider that controlled dynamic range to cut out high-end or low-end of pixels. Had 2 sliders to control min, max, and center of range."
<FeComponentTransfer>filter for SVG should help with this using atype='linearwith aslopeandinterceptto adjust the low white and high black points. With this linear slope you should be able to condense the the range of the white/black pixels.This component could help: https://github.com/Kitware/UPennContrast/blob/master/src/components/ImageViewer.vue
This was designed for more complicated higher bit imagery but I believe the basics are in there for the remapping of the low and high points of an image.
See discussion notes: https://www.notion.so/Meeting-Notes-286fa21b125142e098c08006464f9780#178add01f7c74bb8ba7ed9d565b1b8da