This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Limited RGB 16-235
#1
Hello,

can someone show me the correct settings for clipping RGB to "Limited RGB 16-235"? It should be exactly 16-235.

Is this correct? What else to look for?

   

Thank you!
Reply
#2
Looking at the histogram should help. Smile (since you use: Avisynth: Filtering->Avisynth->Misc->Preview->Show Histogram)
Haven't used Avisynth for a while, and I usually don't have to hard clip content, but the settings look fine to me.
You could probably alternatively use something like:
LoadPlugin("PATH TO Hybrid\64bit\Avisynth\avisynthPlugins\mvtools2.dll")
clp = clp.ConvertToPlanarRGB()
# split the channels
r = mt_lut(clp.ShowRed(),  expr="x 16 max 235 min") # everything below 16 will be 16, everything above 235 will be 235
g = mt_lut(clp.ShowGreen(), expr="x 16 max 235 min") # everything below 16 will be 16, everything above 235 will be 235
b = mt_lut(clp.ShowBlue(),  expr="x 16 max 235 min") # everything below 16 will be 16, everything above 235 will be 235
# merge the channels
MergeRGB(r, g, b)
# convert back to interleaved RGB
ConvertToRGB24(matrix="PC.601")
in a custom section.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)