Histogram equalization of a vector volume

Hi, is there a way to apply a histogram equalization on vector volumes just for display purposes? I wrote a code that performs it, but by altering the data array directly, and saving the original result when the user decides to “turn off” the equalization.

As an example of histogram equalization of a color image:

UCYQs

Any ideas would be appreciated.

Probably the easiest is just to clone the data and modify/display the clone and delete it when you are done. Like is done in the Surface Toolbox.

1 Like

Alright, I was researching the Simple Filters module, and thought it would be a way, but indeed, this solution you mentioned is something in the lines of what I am already doing and is working fine. Thanks Pieper.