Log in

View Full Version : RGB histogram function ?


poisondeathray
6th June 2018, 17:45
I searched but couldn't find a RGB histogram function . Is there one available for vapoursynth ?

Avisynth has a HistogramRGBLevels by -Vit-
http://avisynth.nl/index.php/Histograms_in_RGB_%26_CMY#HistogramRGBLevels_.2F_HistogramCMYLevels

Myrsloik
6th June 2018, 20:12
https://github.com/dubhater/vapoursynth-histogram <- this one is included in the vapoursynth installer

poisondeathray
6th June 2018, 21:42
https://github.com/dubhater/vapoursynth-histogram <- this one is included in the vapoursynth installer

It's actually YUV waveform, like the avisynth version of Histogram(). Which is what you would expect since:

Port of the Histogram() function from Avisynth.


Levels mode sort of works, but it looks off and the "colors" are not R,G,B

poisondeathray
7th June 2018, 06:30
Histogram("levels") only works in avs+ for RGB, not avs classic

For vpy - I guess the shape and distribution is still "usable" if you know the order is R,G,B top to bottom

Another useful way of displaying is histogramrgbparade() in avisynth, as an RGB parade

jackoneill
7th June 2018, 18:55
I fixed the RGB problem: https://github.com/dubhater/vapoursynth-histogram/releases/tag/v2

poisondeathray
7th June 2018, 20:19
I fixed the RGB problem: https://github.com/dubhater/vapoursynth-histogram/releases/tag/v2


thanks

lansing
21st October 2021, 09:03
Requesting a RGB parade and an option to only displays the histogram instead of frame + histogram. I want to implement this into vsedit2 and it doesn't need the frame.

lansing
23rd October 2021, 02:38
How do I build this project? What program do I need?

lansing
13th November 2021, 20:21
I released the VSAPI4 version on my fork. Seems like jackoneill hasn't been active on github for a while to update.
I changed the "classic" mode to output a normal waveform because the original one is unreadable. I don't know if it's the right move, so correct me if you have knowledge on this.

https://github.com/gundamftw/vapoursynth-histogram/releases

poisondeathray
22nd December 2021, 02:37
I released the VSAPI4 version on my fork. Seems like jackoneill hasn't been active on github for a while to update.
I changed the "classic" mode to output a normal waveform because the original one is unreadable. I don't know if it's the right move, so correct me if you have knowledge on this.

https://github.com/gundamftw/vapoursynth-histogram/releases

Thanks

Is it possible to update to 10bit, 12bit support ? similar to avs version ?