Dear list,

I made a patch for the delogo filter. With this I can create a circular
or elliptic zone to apply the delogo algorithm. The borders are defined with
x,y,w,h parameter just like the rectangular area definition. To become
circular I added an additional parameter 'r'=0/1 defaulting to '0' i.e.
rectangular area definition.

I added a large comment to the function body describing the calculation
of the ellipse. Hope you don't mind.
The patch has been tested with 'make fate-rsync fate' and applies
clean to commit 957eb2323a924aa0b148927889eae581185c367b .

Please have a look and reply with critics, comments or suggestions.
I would be happy to have this one applied to the main branch.

best regards
Jörg


Jörg Habenicht (3):
  avfilter/delogo: add parameter to switch on circular delogo
  avfilter/delogo: added circular delogo algorithm description
  avfilter/delogo: added the circular delogo algorithm

 libavfilter/vf_delogo.c | 59 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 54 insertions(+), 5 deletions(-)

--
2.45.3

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to