<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 3 дек. 2023 г., 11:41 Igor BEGHETTO via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry, I didn't have time to test anything and I don't know if I can see <br>
something on my screen because it is set/calibrated to sRGB only.<br>
I think the question could be,... would the changes for clipping in the <br>
plugins'code would be compatible with our old projects?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Well, I think it willbe hard to answer this without actual testing? I guess old projects ( I hope those changes only affect rgb(a) float projects) were build around this limitation in some way - because visual result of clipping is pure white area - something you hardly can miss. Now, more complex layer modes definitely should be affected - but not sure yet how normalization happened on video encode (where encoder  await 8-10 bit per channel integer data).</div><div dir="auto"><br></div><div dir="auto">So, only testing might tell .... </div><div dir="auto"><br></div><div dir="auto">But in general current situation is not pretty, input information can be lost irreversibly (even if only for exr/tiff) and internal calculations easily can go into "everything is unrecoverably white" territory ... {sure, you can just undo all effects, no input media is affected, but this is IMO bad surprize for anyone who come to cin-gg especially for floating-point workflow. I guess it was just  simplest/most speedy solution, that can be done at each pixel individually, instead of de/re-normalizing whole array, too bad it was discovered that late ....}</div><div dir="auto"><br></div><div dir="auto">I think there is possibility to creatively use even this - but I think we at very least should provide patches and big enough warning in project section of manual.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
IgorBeg<br>
<br>
<br>
Il 01/12/2023 21:59, Andrea paz via Cin ha scritto:<br>
> Thanks Andrew; you and I have already talked about this at length, I<br>
> hope there is someone knowledgeable enough to go through the Histogram<br>
> Bezier code to find out how to overcome the "0 - 1.0" range. Another<br>
> important (but probably even more complex) thing would be to be able<br>
> to get your patches to work for the X11-OpenGL driver as well, which I<br>
> think is the most widely used.<br>
><br>
> Speaking of patches, can I ask you the favor of creating a patch that<br>
> encapsulates the changes to histogram.C and color3way.C? A patch to be<br>
> installed with "git am ..." (with a .patch extension). I am doing a<br>
> lot of builds and it is tedious for me to edit the code manually.<br>
><br>
> Finally, a consideration. Without your patches the RGBA-FLOAT color<br>
> model is almost useless with plugins because it allows unclipped<br>
> calculations only for Gamma and Blue Banana. With your patches almost<br>
> all plugins work in floating point (even Videoscope, without the<br>
> "smooth" option); only HistEQ and Histogram Bezier remain excluded. So<br>
> I think your patches are an important addition to CinGG. Do you think<br>
> it's better to try to make an appimage with your patches so that<br>
> others can test them, or can we put them directly into git, since I've<br>
> done a lot of testing by now without the slightest problem?<br>
><br>
> Phyllis, what do you think? IgorBeg, Terje, Pierre and everyone else;<br>
> what do you think?<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>