Closed dishmint closed 1 year ago
Or, grayscale the image and put that gsc value in one of the channels.
to keep the original image in one of the channels, and use the others to observe the propagation of the filter.
An ArcaneProcess
takes the pixel and applies the filter to all channels.
Might need to refactor ArcaneProcess
that takes in a pixel, then internally can decide how to process the channels. Not sure how it would work with built-in filters like BLUR
, maybe this is where mask()
would be useful?
What I really want is an overlay, so I can see the filter propagation on top of the original image.
Otherwise showing the filter on a single channel wouldn't actually demonstrate the affect on the whole image.
Originally posted by @dishmint in https://github.com/dishmint/ArcanePropagation/issues/42#issuecomment-1329868189
Choose which channels to apply filtering to. r,g,b or a.