Skip to content

Client Side Image Enhancement #1197

@subdavis

Description

@subdavis

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions