[FFmpeg-devel] [PATCH 2/2] libavfilter/vf_colorconstancy.c : Adding weighted greyedge

Yatendra Singh yatendra1999luffy at gmail.com
Wed Jul 1 13:12:22 EEST 2020


>
> If you are setting initial estimation to normal white, does it make any
>> difference to do a chromatic adaptation?
>>
>  I was trying to reproduce the same values as the official code in matlab
> and hence this was done.
>  It might provide a very minor improvement in speed but having an estimate
> beforehand might help converge faster.
>  I would update the next patch with chromatic adaptation.
>
 Sorry, I kind of misread this part while replying earlier.
 I was following the algorithm which was laid out in the paper which does
chromatic adaptation as the first step in the loop.
 So according to the algorithm it first performs correction based on the
initial estimate and then calculates the weights and new value of estimated
light.

>


More information about the ffmpeg-devel mailing list