Log in

View Full Version : Brightness histogram shader?


shae
24th April 2016, 17:41
Can anyone suggest a shader to show pixel brightness distribution?

I assume it's possible with a shader, and specifically in MPC-HC.

Shiandow
24th April 2016, 18:40
This is not possible with a shader.

shae
19th May 2016, 02:32
Is there documentation on what shaders exactly MPC-HC implements?

I think this is similar to what I'm looking for, at least the stats collection part, but it's supposedly a compute shader:
http://tomhammersley.blogspot.com/2013/05/image-histogram-construction-in-dx11.html

vivan
19th May 2016, 06:04
It supports HLSL pixel shaders, with one sampler (input image) and few input register/variables (image/pitch size and pixel coordinates) that outputs one image pixel.

shae
12th June 2016, 16:19
Thanks. I guess ffdshow will be the simplest solution.