View Single Post
Old 20th December 2021, 20:58   #12  |  Link
Blankmedia
Registered User
 
Join Date: Oct 2011
Location: Dans le nord
Posts: 65
Quote:
Originally Posted by anton_foy View Post
Well to simplify it and I may be wrong but wouldn't it be a good idea to filter the lines out first just using coloyuv(autogain=true) and the levels or mt_binarize to threshold down to isolate the black lines as much as possible? Then after this step do the edge detection thingy or what else is needed.
I dont know because Im not into cartoons like that but logically this is the approach I would use.
Yes, these are good ideas, but I' not very good playing with levels at least in this case.

It doesn't seem to work because other area of the image seem to fall in the same threshold.

Cartoon edges are tricky, because you need your mask to cover the whole edge vs the 2 edges of the dark line. Else when you filter you can get an empty line.


There migth be something to do with a sequence of logical merge to isolate properly only the edges and real dark areas (like kids air, space, etc).
Blankmedia is offline   Reply With Quote