Normalizing a grayscale image

Howdy! I’ve got a shader generating a grayscale texture, and I’d like to normalize it: [url]https://en.wikipedia.org/wiki/Normalization_(image_processing)[/url]

This is a really simple calculation: just subtract the minimum pixel value, and multiply by 255 / (max - min). The issue is that the min/max changes at each frame, and so I can’t use the static Range feature on the Level TOP.

Does this feature exist somewhere in another TOP? If not, I suppose I can write a shader for it, but will it need to be a Compute shader to calculate the global min/max? Thank you!

Problem solved: you can use the Analyze TOP to grab min/max!